System and method for third-party application activity data collection
Through the use of structured communication and associated templates between the website construction system and third-party applications, the problem of limited display and functional complexity of third-party applications is solved, and seamless integration and multi-party integration of third-party applications and contained web pages are realized. Working together improves system flexibility and user experience.
Patent Information
- Application Number
- CN202010671229.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2013-12-04
- Filing Date
- 2014-12-04
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2034-12-04
AI Technical Summary
There are limitations in the integration of existing website construction systems and third-party applications. The display of third-party applications is limited to a single rectangular area and cannot interact with other components included in the web page, resulting in functional complexity and visual disharmony, and multiple third-party applications. There is a lack of standardized cooperation methods between applications.
By implementing a structured two-way communication channel between the website construction system and third-party applications, transmitting layout, style and additional information, using the communication center and updater to dynamically adjust the display of third-party applications, and supporting the collaborative work of multiple third-party applications, And provide more flexible integration solutions through associated templates and API wrappers.
It achieves seamless integration of third-party applications and included web pages, dynamically adjusts the layout and style of third-party applications, supports the collaborative work of multiple third-party applications, and improves functional complexity and visual consistency.
Smart Images

Figure CN111859128B_ABST
Abstract
Description
[0001] This application is a divisional application of the patent application with the same name as application number 201480074482.3 filed on December 4, 2014. Technical Field
[0002] The present invention relates to online applications and in particular to their use with included third party applications.
[0003] CROSS-REFERENCE TO RELATED APPLICATIONS
[0004] This application claims the benefit of U.S. Provisional Patent Application No. 61 / 911,485, filed December 4, 2013, which is hereby incorporated by reference in its entirety. Background Art
[0005] There are many commercially available website building systems and other interactive application building tools that can be used to create and edit websites and other online applications. End users can access such websites using client software on a variety of different platforms, such as conventional personal computers, smart phones, tablet computers, and other desktop or mobile devices.
[0006] These website construction systems can have different configurations, for example, a fully online website construction system, which is hosted on one or more servers connected to the Internet and accessed using Internet communication protocols such as Hypertext Transfer Protocol (HTTP). These website construction systems are created, edited, and deployed directly online through the server.
[0007] Website building systems can also be partially online or even sometimes completely offline. For partially online systems, website creation is performed locally on the user's machine and later uploaded to one or more central servers for deployment. Once uploaded, these website building systems will operate in the same manner as fully online website building systems.
[0008] The website building system has an internal data architecture to organize data and elements within the system. The architecture may be different from the external view of the site in question that the user sees, and may also be different from the way a typical Hypertext Markup Language (HTML) page is sent to a browser. For example, the internal data architecture may contain additional properties for each element on the page (creator, creation time, access permissions, links to templates, etc.), which are necessary for editing and maintaining sites within the website building system, but are not visible from the outside to the end user (or even to some editing users). A site based on the typical architecture of a website building system may include pages containing components (e.g., shape components, graphic components, text components, single-page and multi-page containers containing mini-pages, etc.).
[0009] A widget can be contentless, such as a star, which has no internal content (but it has color, size, position, and some other properties); or it can have internal content, such as a text segment widget, whose internal content includes the displayed text as well as font, format, and layout information. This content can naturally vary from one instance of a text segment widget to another.
[0010] Designers using such website building systems can design new creations from scratch (starting from a blank screen), or can rely on predefined application templates created by the designer himself or the system creator or by a team of designers. Website building systems can support templates that can be just a collection of parts, a complete page (or mini-page), or even a collection of pages and a complete website.
[0011] When an application template is provided, the designer is able to customize it at will - adding, removing or modifying all elements of the template to create his or her version of the template. This customization can be achieved by creating a modified version of the template that is different and separate from the template. Alternatively, the website building system can apply customizations through an inheritance class mechanism that maintains a connection to the original template and thus reflects subsequent changes made to the template.
[0012] The website building system can also be extended with third-party applications and components embedded therein. Such third-party applications can be included in the website building system design environment, or can be purchased separately (or otherwise obtained) through multiple distribution agencies, such as from an application store (AppStore) integrated into the website building system, or from a separate, web-based or independent application warehouse (or AppStore) operated by a website building system (WBS) provider or another entity. Third-party applications can also be obtained directly from third-party application suppliers (with or without AppStore) - this will provide the actual installation module, or activation or access code.
[0013] Third-party applications can include any combination of front-end (display) elements and back-end business elements (which are not part of the visual website display). Third-party applications can be completely back-end business (i.e., do not include display elements), completely front-end (i.e., only activated in the context of website use), or a combination of both.
[0014] The backend business elements of the third party application may include functionality such as database communications, external update options, etc. For example, a blogging third party application may include a backend business element that allows updates to be received from non-human sources (e.g., RSS news feeds from major news services), as well as from human resources not associated with the website (e.g., a standalone smartphone application that allows blog entries to be submitted).
[0015] The visual elements of a third-party application can be integrated into the containing website in a variety of ways. A widget-type third-party application can be embedded as a component in a website page, while a section-type third-party application can be added to the website as one or more additional pages.
[0016] In addition, third-party applications (widgets and sections) can be single-page third-party applications or multi-page third-party applications (which have internal mini-pages represented as internal URL structures). The system can implement any or all of the four possible combinations (widgets or sections, single page or multi-page).
[0017] Multi-page third-party applications typically provide a default "landing" mini-page, which may be a start page, a specific internal mini-page (e.g., recent blog entries in a blogging third-party application), a mini-page selection screen, or some other mini-page.
[0018] The use of third-party applications in a website based on the website construction system is achieved through third-party application instances. The website construction system can support multiple uses of third-party applications at multiple levels, such as allowing a single third-party application instance throughout the website; allowing multiple instances of third-party applications to be created in the website (but no more than one instance of any given third-party application); and allowing multiple instances of multiple third-party applications to be created, but no more than one instance per given page. It is also possible to allow multiple instances of each page component third-party application, but not a section third-party application, and to allow multiple instances of multiple third-party applications to be created without limiting the number, diversity, or location of third-party application instances.
[0019] A third-party application instance may have instance-specific content. For example, an electronics store third-party application may have a product database associated with a specific instance that is different from product databases associated with other instances of the same electronics store third-party application (on the same site or other sites).
[0020] For the purpose of discussion, a website page (or mini-page) containing a third-party application and its mini-pages or components (i.e., "wrapper pages") are known as included web pages and are the main site for the entire website. The integrated page shown to the user (including the main page and the embedded TPA mini-page / component) will be referred to as a combined page. For section-type third-party applications, the "virtual page" containing the third-party application will serve as the included web page.
[0021] The third-party application is usually deployed on the website construction system provider server, on the third-party application provider server, on an external (fourth-party) server, or any combination thereof. The third-party application may also include components that actually run on the end-user machine, for example, a statically installed browser extension or a dynamically running JavaScript component running within the website construction system client-side code, such as the currently referenced Figure 1 shown.
[0022] The website building system provider's server acts as a contact point for the end user and responds to requests (possibly connecting to the third-party application provider's server to receive the requested information). For example, when video streaming is required, the website building system can (as needed) create a direct connection between the client computer and the third-party application provider's server.
[0023] The included third-party application instances can have their own internal content, similar to the way that regular components include internal content. The third-party application can be independent of the website construction system and independent of the use of the current reference Figure 2 The website building system shown manages the content while generating the website. Multiple third-party application instances (single or multiple third-party applications) can have shared content, for example, two electronic store instances in two separate website pages can refer to the same product database.
[0024] Output from included third-party applications can be integrated into the including web page in a number of ways, for example:
[0025] Server-side processing: In the current reference Figure 3 In the alternative shown, the third party application [a] (including design and display elements) and the user-specific third party application [b] are combined by the third party application server code [c] running on the server [d] of the third party application provider. They are sent to the website construction system server code [f] via the communication medium [e], which combines them with the web page information [g] and sends them for display at the user client site [h].
[0026] Client-side processing: In the current reference Figure 4In the alternative shown, the third-party application [a] (including design and display elements) and the user-specific third-party application [b] are merged by the third-party application server code [c] running on the server [d] of the third-party application provider. They are sent to the client-side processing component [h] via the communication medium [e]. The website construction system server code [f] sends the web page information [g] to the client-side processing component [h]. The client-side processing component [h] performs the merging of the two sources of information and presents the unified application to the browser (or other client agent) [i].
[0027] The iFrame contains: In the current reference Figure 5 In the alternative shown, the third-party application [a] (including design and display elements) and the user-specific third-party application [b] are combined by the third-party application server code [c] running on the server [d] of the third-party application supplier. They are sent to the browser-based application [h] running in the user agent (e.g., web browser) [i] via the communication medium [e]. The website construction system server code [f] sends the included web page information [g] to the browser-based application [h]. The included web page serves as a web page containing one or more iframe instructions, which includes content from the third-party application server [d]. Additional and alternative methods can also be applied. Summary of the invention
[0028] According to a preferred embodiment of the present invention, a system is provided that is implemented on a website via a client / server system, the client / server system having at least one processor for processing instructions defining the system. The system comprises: at least one center for coordinating at least one activity message between the website and at least one third-party application, wherein the at least one activity message has a standardized format. The system also comprises an activity coordinator for listening to the at least one activity message and adding at least data extracted from the at least one message to a stream associated with at least one of an identified contact and an anonymous contact, and wherein at least one of the identified contact and the anonymous contact is a user of the website. The system also comprises a contact coordinator for retrieving and analyzing contact-related information from the stream and enriching the previously saved information of the contact; and at least one database for storing the activity stream and the contact-related information for use by the website and the contact.
[0029] In addition, according to a preferred embodiment of the present invention, the at least one center includes at least one of the following: a router and a tracker, used to route and track the at least one active message between the website and the at least one third-party application; a private policy enforcer, used to enforce privacy policies between the website and the at least one third-party application; a converter and an adapter, used to apply at least one pre-specified message conversion and content adaptation rule between the website and the at least one third-party application; a private data agent, used to implement at least one of a private data agent and a private data substitute, and used to enforce user permission field restrictions between the website and the at least one third-party application; and a verifier and a signer, used to verify the signature of the at least one active message using the input key of the at least one third-party application to convert the external ID associated with the at least one active message to the internal website ID, and used to sign the output of the at least one active message using the output key of the at least one third-party application.
[0030] In addition, according to a preferred embodiment of the present invention, the activity coordinator includes at least one of the following: a stream creator, used to identify the contact associated with the at least one activity message, and to create the data stream when no associated contact exists; a stream merger, used to merge data from the at least one activity message into an existing stream, and to merge data from at least two of the activity streams into a single stream; and a log creator, used to record activity data from the activity stream into the at least one database.
[0031] In addition, according to a preferred embodiment of the present invention, the contact coordinator includes at least one of the following: a data extractor for extracting contact-related information from at least one of the at least one active message, the stream, other contacts and an external source; a data merger for merging at least two contact information records, wherein the records are associated with the same identified contact, and for merging the extracted contact-related information into the contact-related information of an existing contact according to a predefined merging rule; a contact processor for creating at least one of an identifiable new contact and an anonymous contact, and for tracking contact activities during a session of the website; and a data and permission processor for handling privacy protection and permission of the extracted contact-related information.
[0032] Additionally, in accordance with a preferred embodiment of the present invention, the router and tracker support routing the at least one activity message using the at least one third-party application-specified listening query.
[0033] Furthermore, in accordance with a preferred embodiment of the present invention, the stream merger comprises an activity-to-stream merger to merge the data into the stream associated with the identified contact, and a stream-to-stream merger to merge at least two separate streams into a single stream.
[0034] Furthermore, according to a preferred embodiment of the present invention, the stream-to-stream merger includes at least one of a horizontal stream merger and a vertical stream merger, the horizontal stream merger being used to merge the at least two separate streams according to the identified common contact, and the vertical stream merger being used to merge a stream created for an anonymous contact and a stream associated with a registered contact user when connecting the anonymous contact and the registered contact user for login or registration.
[0035] In addition, according to a preferred embodiment of the present invention, the data merger includes at least one of the following: a contact identifier for at least one of the following: locating the same primary ID field value in at least two of the contact information records, locating the same primary key field value when normalized in at least two of the contact information records, identifying a site user using a web tracker, identifying a site user using a site login for a registered user, and identifying a site user by using a social login for a site user using an account associated with a social network. The data merger also includes a union for unionizing contact information using at least one of language, grammar, text analysis, and consultation with external data sources and services; a conflict resolver for resolving conflicts between contact records according to predefined rules; a list value creator for creating a list value field to define a net precedence between the contact records; a horizontal contact merger for merging two unrelated contacts due to a detected common primary ID; and a vertical contact merger for merging an anonymous contact and a contact associated with a registered user when connecting an anonymous contact and a registered user's login or registration.
[0036] Additionally, according to a preferred embodiment of the present invention, the horizontal contact merger includes a virtual merger for maintaining at least two contact records as separate and linking them together so as to mark them as representing the same contact.
[0037] Furthermore, according to a preferred embodiment of the present invention, the vertical contact merger includes a virtual merger for maintaining anonymous contacts and contacts associated with registered users as separate and linking them together so as to mark them as representing the same contact.
[0038] Furthermore, in accordance with a preferred embodiment of the present invention, the user permission field is at least one of determined by the website and determined by the website owner.
[0039] Furthermore, according to a preferred embodiment of the present invention, the standardized format is at least one of: defined by a predefined scheme, inheritance, a callback link, encoded and defined by the at least one third-party application, or based on an external formal industrial or de facto standard.
[0040] According to a preferred embodiment of the present invention, a method is provided that is implemented on a website via a client / server system, the client / server system having at least one processor for processing instructions defining the method. The method includes: coordinating at least one activity message between the website and at least one third-party application, wherein the at least one activity message has a standardized format; listening to the at least one activity message, and at least adding data extracted from the at least one message to a stream associated with at least one of an identified contact and an anonymous contact, and wherein at least one of the contact and the anonymous contact is a user of the website. The method also includes retrieving and analyzing contact-related information from the stream, and enriching the contact's previously saved information; and storing the activity stream and the contact-related information for use by the website and the contact.
[0041] In addition, according to a preferred embodiment of the present invention, the coordination includes at least one of the following: routing and tracking the at least one active message between the website and the at least one third-party application; enforcing a privacy policy between the website and the at least one third-party application; applying at least one pre-specified message conversion and content adaptation rule between the website and the at least one third-party application; implementing at least one of private data proxy and private data substitution, and enforcing user permission field restrictions between the website and the at least one third-party application; and verifying the signature of the at least one active message using the input key of the at least one third-party application, converting the external ID associated with the at least one active message with the internal website ID, and signing the output of the at least one active message using the output key of the at least one third-party application.
[0042] In addition, according to a preferred embodiment of the present invention, the listening and the at least adding include at least one of the following: identifying the contact associated with the at least one active message and creating the data stream when no associated contact exists; merging data from the at least one active message into an existing stream and merging data from at least two of the active streams into a single stream; and recording active data from the active stream into the at least one database.
[0043] Furthermore, according to a preferred embodiment of the present invention, the retrieval and analysis includes at least one of the following: extracting contact-related information from at least one of the at least one active message, the stream, other contacts, and external sources; merging at least two contact information records, wherein the records are associated with the same identified contact, and merging the extracted contact-related information into contact-related information of an existing contact according to a predefined merging rule. The retrieval and analysis also includes creating at least one of an identifiable new contact and an anonymous contact, and tracking contact activity during a session of the website; and handling privacy protection and permissions for the extracted contact-related information.
[0044] Furthermore, in accordance with a preferred embodiment of the present invention, the routing and tracking supports routing the at least one activity message using the at least one third-party application-specified listening query.
[0045] Additionally in accordance with a preferred embodiment of the present invention, said merging comprises merging said data into said stream associated with said identified contact, and merging at least two separate streams into a single stream.
[0046] Furthermore, according to a preferred embodiment of the present invention, merging the data into the stream associated with the identified contact and merging at least two separate streams into a single stream includes at least one of a horizontal merge that merges the at least two separate streams according to the identified common contact, and a vertical merge that merges a stream created for an anonymous contact and a stream associated with a registered contact user when connecting the anonymous contact and the registered contact user's login or registration.
[0047] In addition, according to a preferred embodiment of the present invention, the merging of at least two contact information records includes at least one of the following: locating the same primary ID field value in at least two of the contact information records, locating the same primary key field value when normalized in at least two of the contact information records, identifying the site user using a web tracker, identifying the site user using a site login for a registered user, and identifying the site user by using a social login for the site user using an account associated with a social network. The merging of at least two contact information records also includes: combining contact information using at least one of language, grammar, text analysis, and consultation with external data sources and services; resolving conflicts between contact records according to predefined rules; creating a list value field to define a net precedence between the contact records; horizontally merging two unrelated contacts due to a detected common primary ID; and vertically merging an anonymous contact and a contact associated with a registered user when connecting an anonymous contact and a registered user's login or registration.
[0048] Furthermore, according to a preferred embodiment of the present invention, the horizontal merging includes a virtual merging to maintain at least two contact records as separate and link them together so as to mark them as representing the same contact.
[0049] Furthermore, according to a preferred embodiment of the present invention, the vertical merging includes a virtual merging to maintain anonymous contacts and contacts associated with registered users as separate and link them together so as to mark them as representing the same contact.
[0050] Additionally, in accordance with a preferred embodiment of the present invention, the user permission field is at least one of determined by the website and determined by the website owner.
[0051] Furthermore, according to a preferred embodiment of the present invention, the standardized format is at least one of: defined by a predefined scheme, inheritance, a callback link, encoded and defined by the at least one third-party application, or based on an external formal industrial or de facto standard. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The subject matter relating to the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification. However, the organization and method of operation, together with objects, features, and advantages thereof may be understood by reference to the following detailed description when read in conjunction with the accompanying drawings, in which:
[0053] Figure 1 It is a schematic diagram of the deployment configuration between the website construction system and third-party applications;
[0054] Figure 2 It is a schematic diagram of the internal content management of third-party applications;
[0055] Figure 3 is a schematic diagram of processing a third-party application included in a web page through a server side;
[0056] Figure 4 is a schematic diagram of processing a third-party application included in a web page through a client side;
[0057] Figure 5 is a schematic diagram of a third-party application included in a containing web page via iframe inclusion;
[0058] Figure 6 is a schematic diagram of existing and non-optimal third-party application displays during page layout changes;
[0059] Fig. 7A and 7B is a schematic diagram of a system for integrating a website building system with one or more third-party applications constructed and operated in accordance with the present invention;
[0060] Figure 8 is a schematic diagram of the document object model compared to the component model;
[0061] Fig. 9 It is a schematic diagram of a sample multi-blog third-party application;
[0062] Fig.10 It is a schematic diagram of a sample modular sales third-party application;
[0063] Fig.11A and 11B are schematic diagrams of different implementations of a communication center constructed and operated in accordance with the present invention;
[0064] Fig. 11C is constructed and operated in accordance with the present invention Fig.11A and 11B A schematic diagram of components of a communication center;
[0065] Fig.12 is constructed and operated according to the present invention by Fig.11A and 11B A schematic diagram of a communication translation scenario performed by a communication center;
[0066] Fig.13 is a schematic diagram of a web page containing a third party application having an associated template constructed and operative in accordance with the present invention; and
[0067] Fig.14 is a schematic diagram of a web page including a third party application having an associated template within a mini-page constructed and operative in accordance with the present invention;
[0068] Fig.15 is a schematic diagram of a system for coordinating and collecting data from various messages exchanged between a website building system and one or more embedded third-party applications, constructed and operative in accordance with the present invention;
[0069] Fig.16A , 16B , 16C and 16D are constructed and operated in accordance with the present invention Fig.15 A schematic diagram of the components of the system;
[0070] Fig.17 is a schematic diagram of a sample graphical user interface displaying an activity stream associated with a contact, constructed and operative in accordance with the present invention;
[0071] Fig.18 is a schematic diagram of the third-party application activity messaging on the client side and the server side; and
[0072] Fig.19 is a diagram of the login / logout process during a user's website session.
[0073] It will be appreciated that, for simplicity and clarity of illustration, the elements shown in the figures need not be drawn to scale. For example, for clarity, the size of some elements may be enlarged relative to other elements. In addition, reference numerals may be repeated in the figures to indicate corresponding or similar elements when deemed appropriate. DETAILED DESCRIPTION
[0074] In the following specific embodiments, a plurality of specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be appreciated by those skilled in the art that the present invention may be practiced without these specific details. In other examples, known methods, processes and components are not described in detail to avoid obscuring the present invention.
[0075] Applicants have recognized that current approaches have a number of limitations in the manner in which third party applications are typically integrated into website building systems, and the manner in which the integrated third party applications and website building systems interact with each other.
[0076] These limitations include that the third-party application display is limited to a single rectangular area within the containing web page, which is contained within the iframe. They also include the ability of the third-party application to control its own window size and position, as well as visual elements outside the actual third-party application display window (e.g., a dedicated display frame around the third-party application window).
[0077] Third-party applications may have their own display styles (color schemes, fonts, character sizes, etc.) These styles may be fine for some included web pages, but may be visually problematic or jarring for other included web pages.
[0078] Another limitation is the rigidity of the third-party application display from the perspective of the containing site. If the site must be visually modified (e.g., due to deployment to a platform with a different screen size or due to dynamic layout events), the containing web page may be required to change the size of the window allocated to the third-party application. In this case, the third-party application display will be clipped and require scrolling to a different sub-area in the third-party application via a scroll bar. Now refer to Figure 6 , which shows an example of what happens when a containing web page [a] is resized, the area allocated to an e-store third-party application [b] is reduced, and the "Buy" button [c] and the contents of the shopping cart [d] cannot be seen at the same time - requiring multiple scrolling actions to complete the purchase and making it less likely that the purchase will actually be completed.
[0079] It is understood that third-party applications cannot interact with other components within the containing web page, and such interaction is sometimes required to implement complex functions. In particular, it is not possible for third-party applications to perform differently depending on the type and content of components in the containing web page. An example of this is a website that streams online cooking procedures. A user wants to watch his movie in the background, with a smaller area of his screen dedicated to a news feed and weather updates (e.g., a live stream from CNN) in another area of his screen. He may want to automatically pause his learned session when the weather forecast for the area where he lives starts.
[0080] There is also no clear, standard way for multiple third-party applications to work with each other, especially when they are provided by different vendors. Therefore, there is no clear way for designers to combine multiple third-party applications from different vendors. An example of this might be an e-commerce website that runs a module from a third-party ordering system and a different module from a shipping system. It is desirable to order supplies based on a shipping schedule, etc.
[0081] Applicants have recognized that this integration can be achieved by using structured bidirectional communication channels between the website building system and the third-party application instances contained therein, and between different third-party application instances implemented in the same contained page. These channels can also transmit information about layout, style, and additional information.
[0082] It is understood that the following discussion focuses on the iframe inclusion method, which is a preferred method built-in and integrated into modern browsers, which does not require the creation of special integration code. Iframe inclusion also provides browser support for encapsulation and sandboxing, as well as inherent protection from hacker techniques such as cross-site scripting attacks that can be employed by malicious third-party applications.
[0083] Reference now Fig. 7A and 7B , which shows a system 100 for integrating a website construction system and one or more third-party applications according to the present invention. Fig. 7A shows the system 100 in the design stage, while Figure 7B 1 shows the system 100 in operation. Fig. 7AAs shown, the system 100 includes a client 10, a website construction system 30 installed on a website construction system (WBS) server 20, and one or more third-party applications 40 installed on one or more third-party application servers 50. The website construction system 30 includes a WBS coordinator 21, an application library 22, a WBS-side TPA property form 23, a third-party application (TPA) coordinator 24, and an AppStore 25 (which may include a searcher 26). The client 10 includes a page composer 12 and a client-side view of the TPA property form 23. In some embodiments, the client 10 may also include a client-side view of the AppStore 25. The page composer 12 includes a linker 13, which will be described in more detail below. The third-party server 50 includes a third-party application 40, an external TPA coordinator 51, and a TPA database 52, which stores third-party application 40 components, templates, etc. for use. Note that the system 100 may include multiple third-party servers 50 of multiple third-party application 40 suppliers.
[0084] It will be appreciated that the TPA property form 23 may be invoked when specifying properties for a given instance of a third party application 40. It will also be appreciated that when invoked, the TPA property form 23 may appear on the client 10 as a client-side view of the TPA property form 23. It will also be appreciated that an offline embodiment may have its property form as part of the installed client software and therefore will not have its TPA property form 23 or its library.
[0085] It is understood that a designer or end user 5 sitting at the client 10 can create website pages and interactions (intermediate pages and internal pages) using the page composer 12 to create his website (or any other online application). The designer 5 can select a component, template, etc. that is part of the website construction system 30 stored in the application library 22 via the WBS coordinator 21. The designer 5 can also create a web page 203 containing a third-party application 40 instance embedded from a third-party application 40, which is already purchased in advance and its templates, components, etc. can be stored on the application library 22. In an alternative embodiment, the purchased templates, components, etc. can be stored on the TPA database 52 and accessed via an external TPA coordinator 51. In another embodiment, third-party application 40 templates, components, etc. can be purchased via the AppStore 25 as needed. The property form 23 can be specified by the designer 5 and saves information about the purchased third-party application 40 instance, such as licenses, installation instructions, payments, etc., as described in more detail below. The designer 5 may also use the linker 13 to manually specify any communication channels between the included third-party applications 40 (if desired). It will also be appreciated that the linker 13 also allows the designer 5 to specify any specific communication connections and rules between the included web page being constructed and the included third-party application 40 instance (e.g., the movie and CNN news report shown together as described above). It will be appreciated that the links created by the linker 13 may be modified through the website trial period.
[0086] It is understandable that the designer 5 can obtain the third-party application 40 through a channel outside the AppStore 25, such as an external AppStore operated by a supplier or external party of the third-party application 40. In this case, when the third-party application 40 is first installed on a website created by the designer 5 through the website construction system 30, the website construction system 30 can register the third-party application 40 and its configuration data.
[0087] It will be appreciated that in order for the linker 13 to provide the ability to establish a possible communication channel, the third-party application 40 needs to be able to correctly identify and recognize the components (with which it will potentially communicate) within the containing web page 203 - including other third-party application 40 instances. For components based on associated templates (described in more detail below), the identification is performed in advance by the provider of the third-party application 40. The components in the associated templates may be given specific reference IDs, and these IDs may be used by the third-party application 40 when communicating therewith.
[0088] It can also be understood that for multiple third-party applications 40 (described in more detail below), that is, a single third-party application 40 on multiple iframes, the multiple parties can automatically know how to communicate with each other.
[0089] For included website page components that are not included in the associated template (as will be described in more detail below), the third-party application 40 may include a list of required (mandatory or optional) included web page 203 components that should be present so that it can function. The list may be stored in the library form 23 and include a unique ID, description, and component details (e.g., must be a text component that will be used as a blog conversation tag). The list may be specified in the third-party application 40 entering the AppStore 25, and the designer 5 may use the linker 13 to specify the components (fields) in the included web page 203 that the composite third-party application 40 requires. It will be appreciated that when creating a third-party application 40 instance, the website construction system 30 may dynamically create the missing included web page 203 components and may allow the designer 5 to move, resize, and then fully specify them.
[0090] Alternatively, the website construction system 30 may expose all or part of the components of the included web page 203 to the third-party application 40 included in the included web page 203. It will be appreciated that this may be a component model rather than a document object model (DOM) of the included web page 203. The included web page 203 DOM may be more complex and detailed than the component model, because the actual included web page 203 may contain a variety of HTML elements (hidden and visible) that are part of the infrastructure of the website construction system 30 or that support the included web page 203 components. The component model may therefore be simpler.
[0091] Reference now Figure 8 , which shows how a text widget [a] is implemented using multiple HTML constructs (e.g., a closed div tag [b], an inner div tag [c], a frame "mini widget" [d1], ... [d5], etc.). The DOM model [e] for containing the web page 203 may contain a separate DOM tree node for each of these sub-elements. Widget [f] is simpler, containing only a single widget node [g].
[0092] It will be appreciated that the system 100 may also support selective component exposure - the designer 5 may specify via the linker 13 which components should be exposed to the third party application 40, and only those components (possibly including the "include path" leading to them) may be included in the simplified component model visible to the third party application 40. The specification may be performed by explicitly marking the included components, by their type or any other website building system 30 attribute. The third party application 40 may then traverse the containing web page 203 component model and locate the required components.
[0093] It will also be appreciated that a link between the included web page 203 and the third party application 40 instance may also be automatically created, e.g., a broadcast link, in which the third party application 40 may send communications during runtime to record specific events. The communications may be optional or mandatory (i.e., the third party application 40 may not function or be installed unless there is a matching third party application 40 that has been linked to receive such messages). For example, a third party application 40 may broadcast message packets about the activities it performs, and any installed recording third party applications 40 may receive these information packets.
[0094] The newly created web page, now complete with setup, may be stored in the application library 22 (via the WBS coordinator 21) to be called at runtime, as described in more detail below.
[0095] Now return to reference Figure 7B In this embodiment, the components are Fig. 7A 1 is the same as that of the client 10 except for the elements of the client 10. During runtime, the client 10 includes a viewer 201 to display the included web page 203. It will be appreciated that the viewer 201 may include multiple viewing ports 202, each of which displays a different instance of the third-party application 40 (an instance derived from one or more third-party applications 40). The client 10 also includes a communication center 205 to facilitate communication and provide a back channel between the included web page 203 and any third-party application 40, which is hosted together with any communication required between the hosted third-party applications 40 without any connection to the relevant included web page 203. The functionality of the center 205 will be described in more detail below.
[0096] It will be appreciated that the center 205 can be implemented on the client 10, because the web page 203 and any third-party application 40 are interactive parts of the visible website, and their communication should be delayed by the client-server round trip. In an alternative embodiment, the center 205 can be implemented on the website construction system server 20 in the case where the third-party application server 40 needs to exchange a large amount of data and preferably will not be routed through the client 10.
[0097] It is understood that the communication center 205 can support different combinations of communication between the website construction system 30 and one or more third-party applications 40 and between multiple third-party applications 40. For example, the center 205 can enable the third-party application 40 to request the website construction system 30 to switch to another page of the main site. The communication center 205 can also enable the third-party application 40 to request to re-adjust the size of the window that may affect the containing page component. This can be done through dynamic layout processing, which will be described in more detail below. Alternatively, if it is necessary to accommodate changes in the display, the containing web page 203 can request (for example) that the third-party application 40 switch to a different version. It is understood that this 2-way communication can also start between the third-party application 40 component and the website construction system 30 component related to the third-party application 40, which displays additional information and the communication between the elements of the multi-party third-party application 40 and the modular third-party application, as described above.
[0098] It is also understood that the system 100 can also be implemented using online and offline website construction systems 30, and it can also use any combination of hosting methods, such as client-side components, website construction system 30 supplier servers, third-party application 40 supplier servers, and other fourth-party servers. It is understood that for the offline embodiment described above, a server can still be required to implement the system 100.
[0099] The system 100 may also be hosted on a different set of servers (not operated by the website building system provider), such as a private site hosting arrangement for a larger organization.
[0100] The system 100 may also support third party application 40 instance inclusion options from the third party application 40, as described above. However, the system 100 may also support a subset of these options, or may place constraints on the third party application 40 instance inclusion probabilities.
[0101] The system 100 can also implement a multi-party third-party application 40. The multi-party third-party application 40 can include multiple display areas, each of which is handled by a separate iframe. These areas can also (as needed) cooperate through the communication center 205, as described in more detail below.
[0102] Reference now Fig. 9, which shows an example of a multi-party third-party application 40. As shown, a blog third-party application [a] obtained from the AppStore [b] is placed in the containing web page 203 [c]. The blog third-party application [a] includes the following three areas: a blog entry area [d], a tag cloud area [e], and a news update area [f]. It is understood that the multi-party third-party application can use its multiple areas in a variety of ways, including concurrent resident parts of a single application as in the above blog example or as many optional resident parts of a single application, multiple areas are always visible, and multiple areas are optional and only displayed when needed. The display of optional areas can be controlled by the third-party application 40 or by the designer 5 (deciding how to configure the third-party application when including the third-party application). The display can also be controlled as a supporting function area, such as a configuration or additional dialogue area; or as an alternative display for multiple versions of the third-party application (for example, having smaller and larger versions of the third-party application, or having portrait and landscape versions of the third-party application).
[0103] It is understandable that the above functions can be implemented by using an iframe displayed for the third-party application 40 element, thereby increasing the encapsulation and security advantages based on the iframe architecture.
[0104] It is also understood that the implementation of multiple third-party applications 40 requires the third-party application 40 (inside its iframe) to control the display of each iframe (e.g., its visibility, size, and position). It is also understood that the communication center 205 can support this display, as described in more detail below.
[0105] It will also be appreciated that even when a multi-party third-party application 40 (visually) includes multiple components and areas, it is still considered a single third-party application 40 in terms of purchase (e.g., in the AppStore 25), installation, configuration, etc.
[0106] In existing systems, each third-party application 40 can be treated as a separate entity, and any cooperation between two third-party applications 40 (from the same vendor or other cooperating vendors) is developed on a case-by-case basis. It is understood that the system 100 also supports modular third-party applications 40, which include multiple cooperating sub-modules that can be purchased and installed separately.
[0107] Reference now Fig.10, which shows how a modular sales management third-party application [a] includes the following sub-modules: CRM module [b], lead management module [c], and e-commerce module [d]. A single third-party application supplier can provide all required third-party application modules. Alternatively, the third-party application supplier can provide a subset of the third-party application 40 modules (and functions) and allow the designer to purchase / install supplementary third-party application modules from the same or additional third-party application suppliers. It will be understood that multiple third-party applications are obtained and installed as a single third-party application from a single supplier, which only occurs to occupy multiple screen areas. The modular third-party application includes multiple modules that can be obtained and installed separately, and can include modules from multiple third-party application suppliers. In order to provide the ability to integrate multiple third-party application modules from multiple suppliers, each third-party application module must provide a list of interfaces / functions it obtains and interfaces / functions it provides. For example, this can be achieved by using a list of interface names and interface parameter specifications based on a hierarchical dot-separated naming convention (e.g., My_CRM_TRA.NewClient.GetInfo).
[0108] The third party application 40 module can specify the required interfaces as mandatory (i.e., the module does not work without them) or as optional (i.e., the module can work, but may provide reduced or modified functionality). Therefore, the parameters provided for each interface are: interface unique name; interface description - displayed to the designer 5 so that he or she can know (for example) what function is handled by the missing interface; mandatory / optional status; interface parameter list and type. It will be appreciated that each third party application module still resides in a single iframe (or set of iframes). The operation of the interfaces is based on communication channels described in more detail below.
[0109] It is understood that third-party application 40 modules can be assembled during the website design phase. The website construction system 30 can resolve interface references when adding additional third-party application 40 modules - new third-party application 40 modules resolve existing required interfaces, but may add new (unresolved) required interfaces.
[0110] It is understandable that the designer 5 can edit and run a complete website, but the mandatory (or optional) interface is still unresolved. However, the designer 5 may not publish the created website until all mandatory interfaces are resolved, and prompt when trying to make the function request center 205 activate a third-party application module of a mandatory interface that has not yet been resolved.
[0111] It will also be appreciated that AppStore 25 may include a searcher 26 that attempts to locate a third-party application module that solves the required third-party application module interface. Searcher 26 may search for a specific third-party application module or all third-party application modules based on an unresolved interface. Searcher 26 may also search for currently unresolved interfaces or even search for resolved interfaces, and search for mandatory, optional, or both types of interfaces. It will be appreciated that searcher 26 may also be limited to solving unresolved interfaces for specific third-party applications, and may be specific third-party application suppliers. Searcher 26 may perform a first-level search (i.e., modules that satisfy the currently unresolved interface) or a multi-level search (i.e., performing a repeated search), and may also search for modules that satisfy the unresolved interface added when considering third-party application modules found by a previous search cycle.
[0112] The system 100 can use the interface description to provide information to the designer 5 about the importance of some missing interfaces. The center 205 can provide interface conversion between incompatible third-party applications that still need to communicate. This can be achieved by an adapter module added by the website construction system 30 provider or by an external party adapting a given required interface to a different format.
[0113] System 100 can also be applied to offline application editing systems, which use the Internet (or any other network connection) and use non-browser client-side software to view the created online applications. Such systems do not need to use the specific technologies used by conventional network infrastructure (e.g., IP communications, HTTP, HTML, etc.).
[0114] It will be appreciated that standard cross-domain communication methods known in the art may be used to facilitate cross-domain communication. These methods may include:
[0115] HTML5 PostMessage : This is a standard HTML5 feature that can be used to provide secure cross-domain messaging. Using HTML5 Window.Postmessage, messages can be securely sent between windows, iframes, and the main HTML document, even when residing in different domains. Postmessage provides tools for the sending iframe to specify the domain to send the message to, and for the receiving iframe to verify the domain the message was sent from.
[0116] The URL fragment identifier of the message :This method relies on using a URL fragment identifier to send a message from one endpoint to another. The data is encoded in plain text and added (as a fragment identifier) to the URL used to call a service on the target terminal domain or a hidden iframe within the target terminal iframe. The fragment identifier is then decoded by code in the target service or iframe.
[0117] Dedicated communication network services : The website construction system 30 provides a private network hosted on the website construction system server 20. Various communication endpoints are connected to the server - to send messages or check for waiting messages. This can be achieved via methods known in the art, such as the pre-HTML5 Comet set of technologies, HTML5-based WebSocket, or any other queuing, polling, server push or similar technology.
[0118] HTML5 Local Storage HTML5 provides a structured local storage facility that can be used to store queued messages. However, local storage can only be accessed through web content belonging to the same domain as the storage iframe. Solutions have been developed in the art, for example, the underlying technology used by the Meebo XAuth product (now Google), where a small server provides support for creating the required intermediate iframe that allows access to domain-specific local storage from a foreign domain-based iframe.
[0119] HTML5 local file system access API : Similar to using local storage as described above, a cross-iframe communication channel can be constructed using local files on the user agent's local storage accessed through the HTML5 file access APIs (File API, FileWriter API, and FileReader API). However, it should be noted that the sandboxed local file system created by the HTML5 file system access API is still private origin, and therefore requires an intermediate iframe / server component to bridge the same origin restrictions.
[0120] Dedicated browser plugins : A dedicated browser (or other user agent) plug-in can be created to manage cross-iframe message queues. This plug-in will be installed by (all levels of) users of the website construction system 30, and will provide necessary services to the main website construction system 30 pages of all iframes.
[0121] It is understood that the communication center 205 can be used as a proxy for all iframe communications using any of the above-discussed transmission methods. It is also understood that the center 205 is fully aware of the included web page 203 structure and third-party application 40 details provided by the third-party application 40 supplier and stored in the attribute form 23. The third-party application 40 can also have different parameters (as described above) when it is included in different applications and used for different included instances in the same application. Such parameters can include a unique instance name, which can be used for smart addressing (as described in more detail below). It is also understood that the center 205 can also know additional third-party application 40 details that are not stored in the attribute form 23.
[0122] It will also be appreciated that the hub 205 can also facilitate intelligent addressing and identification, verify the origin of communications, enforce communication policies, resolve third-party application 40 incompatibility issues, and also redirect to components from third-party applications 40. The hub 205 can also enable dynamic updating of layouts in third-party applications 40 based on changes made to the containing web pages 203, as described in more detail below.
[0123] Reference now Fig.11A and 11B , which shows different implementation embodiments of the center 205, and reference Fig. 11C , which illustrates the functions of its different elements.
[0124] The center 205 may include an intelligent identifier and addresser 310, an origin validator 320, a communication policy enforcer 330, a protocol converter 340, a redirector 350, a dynamic layout updater 360, a configuration manager 370, a universal updater 380, and a managed application programming interface API wrapper 390. The functions of these elements will be described in more detail below. It is understood that all functions are applicable to all cross-domain communication channels, such as a third-party application 40 to a website construction system 30 channel and a third-party application 40 to another third-party application 40 channel.
[0125] Now refer to Fig.11A An exemplary embodiment of the hub 205 is shown through an intermediate iframe [a] that uses an internal communication application programming interface (API) to contact the website building system 30. In this way, messages [c] sent from, for example, TPA [d] to TPA [e] (which use communication API modules [f] and [g], respectively) can be analyzed, verified, or modified in a manner that applies proprietary knowledge.
[0126] In the current reference Fig. 11B The alternative embodiment shown in does not use an intermediate iframe, but uses cross-domain communication in one or both communication API modules [a] and [b] (embedded in third-party applications [c] and [d], respectively). Modules [a] and [b] interact directly with the website construction system 30 to receive proprietary knowledge and process it when processing communication messages [f]. The disadvantages of this embodiment (compared to Fig.11A The described embodiment is comparatively) in that an objective amount of website construction system 30 level information can be processed within a module contained in a third-party application, and this information can be accessed (or even modified) by a malicious third-party application.
[0127] As mentioned above, in all the cross-communication methods described above in this document, iframe addressing is based on the origin of the iframe, including the source domain, protocol and port, that is, direct third-party application 40 addressing is used when sending messages (to specify the recipient) and when receiving messages (according to the sender name provided to the recipient). In addition, message sending requires the sender to specify the target iframe window (using JavaScript's document.getElementById("...").contentWindow call or any other method). Therefore, in the prior art, each third-party application 40 must contain all and specific details (including domains, protocols, ports and iframe IDs) with which any other third-party application 40 can communicate.
[0128] It will be appreciated that this type of direct addressing may not be conveniently used in the context of the system 100. Even though the designer 5 may integrate third-party applications 40 from multiple non-coordinated third-party application 40 suppliers, the third-party application 40 supplier may supply a third-party application 40 hosted in a given domain, but subsequently move it to a different domain or subdomain. The third-party application 40 supplier may change the protocol or port used to contact any given third-party application. The designer 5 may be required to modify the design of the web page 203 containing the third-party application 40. All of this may occur within a third-party application 40 used in a website operated and accessed by multiple users. In addition, a single web page 203 may include multiple instances of a third-party application 40, which may serve multiple functions. For example, a single page in a product support website contains two chat third-party application 40 instances—one for user-user and forums, and another for talking to the supplier's customer service staff when available.
[0129] It is understood that the smart identifier and addresser 310 can be fully aware of the structure of the web page 203 and the details of the third-party application 40 (such as provided to the website construction system 30 by the third-party application 40 supplier). The smart identifier and addresser 310 can provide each other with addressing of the source or target third-party application 40 using any of the following: a unique name of the third-party application 40 (such as registered in the AppStore25); a third-party application 40 instance description ID added to each third-party application 40 instance within the web page 203, thereby allowing addressing of multiple instances of the same third-party application 40; a universal identifier for the required third-party application type / category (for example, "I want to send messages to <x>The smart identifier and addresser 310 can also use version identification, for example: "I want to send the transaction to any event record third-party application 40 instance in the containing web page 203"). This identifier can also describe the specific service that should be supported by the third-party application 40. <x>Send to count packet <y>, but only if it is a version <z>hour".
[0130] It will be appreciated that during runtime, third-party applications 40 communicate only with the hub 205 and therefore only need to know the direct address of the hub 205, without knowing any other third-party applications 40. This one-way address can be provided by the website construction system 30 to the third-party application 40 provider through a communication API wrapper (e.g., Fig.11A The communication modules f and g shown in FIG. Fig. 11B The communication modules a and b) shown are encapsulated. The calling third-party application 40 can provide the application-aware third-party application 40 descriptive address (as described above), and the smart identifier and addresser 310 can convert it into a direct third-party application 40 address and route it. In this way, the third-party application 40 does not need to maintain a table of the absolute addresses of all possible third-party applications 40 that communicate with it.
[0131] It will be appreciated that message origin verification is critical, otherwise the receiving third-party application 40 may receive messages from a hostile third-party application 40. Because all communications can occur via the hub 205, the origin verifier 320 can check the authenticity of all messages coming in from third-party applications. The origin verifier 320 can also provide additional information that can be added to the message and can be used for additional verification. It will be appreciated that because each third-party application 40 included in the AppStore 25 and used by the system 100 is registered with the website building system 30, the hub 205 can verify that the unique origin ID included in the message by the website building system 30 matches the message origin (domain, port, etc.).
[0132] The third party application 40 can define a general communication policy, which can depend on external information, contain web page 203 information, etc. The communication policy enforcer 330 can ensure that the communication policy in question is enforced without having to deal with non-composite communications. For example, in a classified information processing website, a third party application can be marked with a classification level field in its profile. A third party application 40 that provides a backend event logging database that is certified as a classification level X can define a policy, whereby events with a classification level greater than X are not accepted for registration. In this case, the communication policy enforcer 330 can perform the required preliminary filtering and highly prevent the classified messages from even reaching lower classified applications.
[0133] It is understandable that the designer 5 may wish to include two (or more) third-party applications that can cooperate in the same created website, but may not be able to do so due to some protocol compatibility issues. Fig.12 As shown, the electronic store third-party application [a] may be able to send a purchase order message to a fulfillment and shipping third-party application, such as a third-party application [b] (provided by a different supplier). However, the information provided by the third-party application [a] may not include some fields required by the third-party application [b]. This situation is usually solved by the third-party application supplier of the third-party application involved, but in some cases, this solution is not feasible (for example, one of the two third-party applications is not currently updated for some reason). The protocol converter 340 can convert the relevant message from [a] to [b] (for example, by providing additional required fields). This conversion can be performed by the protocol converter 340, or it may involve some interaction with the embedded website and the included web page 203 (for example, when additional information is required).
[0134] It will also be appreciated that a third party application 40 may have some capabilities that require sending or receiving messages from another third party application 40 (e.g., an e-store / fulfillment third party application 40 pair as described above). However, in some cases, a portion of the solution may be lost, and in the above example, it may occur that there is no matching or appropriate fulfillment third party application 40. In this case, the redirector 350 can allow the designer 5 to specify that a given message can be routed to or routed from a contained web page 203 component, and that matching capabilities can be resolved by the contained web page 203 component and the functionality that the component can provide. This can allow a complete website to be constructed without requiring the construction of a dedicated third party application 40. Therefore, things can be published to the website construction system 30 component, which can record the things to a database, and the database can later be used (by a separate program) to perform offline fulfillment and shipping.
[0135] The third party application 40 may provide multiple configurations with different capabilities, utilizing the same code base but with different enabled functions. For example, the third party application 40 may provide basic functionality through a free version, and provide additional functionality through a purchased premium version, multiple paid versions, or additional purchased third party application 40 features.
[0136] It will be appreciated that the system 100 may include website building system 30 based management of the third party application 40 purchase status per user (or indeed per designer). It will also be appreciated that designers may all be registered website building system 30 users, and the website building system 30 may therefore manage a database of third party application 40 purchases per designer 5. This information may be stored in the property sheet 23 during the engagement phase by the TPA coordinator 24 and during runtime by the configuration manager 370. For example, a third party application 40 may send a version query message to a website building system 30 client side component. The website building system 30 client side component may consult with the library 22 or with its local cached copy, and return a response message to the third party application 40 with information about the capabilities it should provide.
[0137] In an alternative embodiment, the website construction system 30 may provide the third-party application 40 with the required third-party application 40 configuration information, such as encrypted iframe parameters, via an alternative channel without a previous query message.
[0138] As discussed above, the third-party application 40 can communicate directly with a particular containing web page 203 component. The third-party application 40 can identify the component with which to communicate in a variety of ways: directly for a component based on an associated template (described in more detail below); through an access ID explicitly provided to the particular containing web page 203 component by the designer 5; by traversing a (possibly selected) component model provided to the third-party application 40 by the containing web page 203.
[0139] It will be appreciated that during runtime, the updater 380 can implement messages and responses between the component containing the web page 203 and the third-party application 40. For example, the third-party application 40 can affect or query the visual and display properties of the component containing the web page 203 (e.g., its position, size, color, transparency, etc.). The updater 380 can also enable the third-party application 40 to read or write the content of the component containing the web page 203, and can also allow the third-party application 40 to instruct the component that performs media functions, for example, to publish a given audio or video clip to the media player component, or to ask it to pause playback for a given period of time.
[0140] Updater 380 also facilitates website construction system 30 components to specify the type of access they allow third-party applications 40 to have - similar to the access permission bits or access control list (ACL) functions that protect files in modern operating systems. Such permissions can be defined for each component so that they are applied to all third-party applications 40 from a specific supplier or to a specific third-party application 40. For example, a third-party application 40 can be allowed to access a text field that contains a portion of a web page 203 outside the third-party application 40. This text field can be used to edit blog entries for a blog third-party application 40, providing more screen space than provided within the blog third-party application 40 area itself. It is understood that for a third-party application 40 embedded in a specific mini-page in a plurality of page containers, the website construction system 30 can limit the third-party application 40's access to the components in the specific mini-page alone.
[0141] It is understood that the updater 380 can also allow the third-party application 40 to affect the site global elements. This can include getting and setting properties such as the current page in the site, the current mini-page in the container containing the third-party application 40, and the page history. The updater 380 can also filter or limit such requests.
[0142] The updater 380 can also enable the website building system 30 to influence the style and display of the third-party application 40. The updater 380 can implement calls by which the website building system 30 can provide formatting and style guidelines to the third-party application 40. These can include properties such as: color and color scheme, font, character size, transparency, animation and special effects (e.g., blur). In particular, the color scheme can include a general color scheme (e.g., use the x color described below), or as an advanced color (e.g., use color x for text and color y for frames).
[0143] It will be appreciated that a preferred method of expressing complex style information is to use Cascading Style Sheets (CSS), which can express a combination of multiple style directives, including fonts, sizes, colors, etc. The updater 380 can send such CSS-based messages to the third-party application 40. The style sheet can be generic in nature, or include specific style names defined by the third-party application 40, so that the website construction system 30 can provide better guidance to the third-party application 40 (e.g., the style sheet can refer to a specific third-party application 40 element and provide guidance for it).
[0144] The third-party application 40 can then use these guidelines to create its own look and feel and better fit with the included web page 203. This is especially important for third-party applications 40 that are included in the same site or visible from multiple included web pages 203 in the same site (multi-port inclusion as described above). Multiple included pages may adopt different color schemes or general designs. The third-party application 40 can use the information provided to it through these style messages and adapt its own display colors and style to better fit each included page and avoid displaying a discordant color scheme or look and feel compared to the included page.
[0145] It is understood that the dynamic layout updater 360 can enable the website construction system 30 / third-party application 40 or the third-party application 40 and the secondary third-party application to cooperate to handle display changes caused by dynamic layout events. The website construction system 30 can change the size and position of the components in the page to prevent the page design from being in the event of changing some components in the page. These dynamic component events can include, for example: viewing the website on screens with different sizes; rotating the display device between portrait and landscape modes; changing the size or position of some components and changing the content of given components (in a way that requires them to change their size). Dynamic layout events can also include component updates caused by server-based content updates (for example, in component display information from a data feed), or component updates caused by content changes of another concurrent user of the same website. It is also understood that dynamic layout events can occur in the design environment as well as the runtime environment. In particular, some components and third-party applications 40 can allow component content changes or size / position changes during runtime (i.e., by end users) rather than just by designers.
[0146] It is also understood that dynamic layout events can also be caused by third-party applications 40. For example, an electronics store third-party application 40 can request a size change when a user moves from a product catalog view to a shopping cart view (with a different size). As another example, a product catalog third-party application 40 can include an option for product prominence, which can cause them to display a larger catalog page including more content. A third example is a multi-region third-party application 40, which can start or stop displaying additional regions.
[0147] Existing systems usually return the current reference Figure 6 The pop-up window shown hides other page components by clipping the third-party application display, adding scroll bars to it, or simply adjusting its size to handle this situation (if it occurs). The dynamic layout updater 360 can implement cooperative dynamic components, in which the website construction system 30 and the third-party application 40 cooperate to perform dynamic layout and maintain the basic design of the web page 203. The function of dynamic layout is further described in U.S. Patent Application 13 / 771,119, which was filed on February 20, 2013 and designated as a common assignee of the present invention. However, even in a cooperative dynamic component support system, the dynamic layout mechanism included in the web page 203 does not have full control over the internal layout of the third-party application 40. In addition, the website construction system 30 widgets can be designed so that they can be resized to any arbitrary size (within a given range), but the third-party application 40 cannot support arbitrary resizing. The third-party application 40 can, for example, provide any combination of the following items: multiple display configurations with different sizes (for example, showing more or less details); the ability to resize some of its internal components, and the ability to display some of its internal text components using multiple font sizes.
[0148] The third-party application 40 still provides a limited number of possible display sizes, and may have a whole range of possible sizes. Therefore, the [containing web page 203 → third-party application 40] resize request can be resolved by the third-party application 40 switching to the nearest possible size, or by providing a list of possible third-party application 40 sizes (and allowing the website construction system 30 to select an appropriate one to use).
[0149] The dynamic layout updater 360 can implement the [including web page 203 → third-party application 40] cooperative dynamic layout using the following sequence:
[0150] For example, a third-party application 40 embedded in the containing web page 203 does not need to be resized to a given desired size (columns, X1*Y1 pixels). The dynamic layout updater 360 can send a message to the third-party application 40 requesting the third-party application 40 to resize its content to a given desired size (X1*Y1). The third-party application 40 can be resized to the size - by using an alternative display configuration, internal resizing, internal dynamic layout processing, or any other means. It is also understood that the containing web page 203 can resize the external iframe window containing the third-party application 40 to the new size (X1*Y1).
[0151] It is also understood that the third party application 40 may only allow resizing to a limited set of possible sizes (eg, a specific user interface configuration). Therefore, the dynamic layout updater 360 may use the following alternative algorithm that allows the third party application 40 to provide a set of possible sizes.
[0152] The containing web page 203 is resized, and the dynamic layout updater 360 sends a message to the third-party application 40 requesting the third-party application 40 to resize its content to a given desired size (X1*Y1). The third-party application 40 can then determine the nearest possible size (e.g., X2*Y2 pixels), and resize accordingly by using an alternative display configuration, internal resizing, internal dynamic layout processing, or any other means. The updater 380 then sends a response message to the containing web page 203 confirming the resizing, and provides the actual new size (X2*Y2). The containing web page 203 can resize the external iframe window containing the third-party application 40 to the actual new size (X2*Y2). The containing web page 203 can continue the dynamic layout processing based on the actual new size (X2*Y2).
[0153] It is understood that another embodiment is also applicable, especially when there are multiple third-party applications 40 (or multiple third-party applications 40 in multiple regions) in the inclusion web page 203. In this embodiment, the inclusion web page 203 can query the embedded third-party applications 40 to obtain a list of display sizes so that they can try to optimize the look and feel considering multiple options for multiple third-party applications 40. This embodiment is also relevant in the case where the third-party application 40 is displayed on multiple regions.
[0154] The included web page 203 may perform dynamic layout processing and discover that one or more third-party applications 40 (TPA[1] to TPA[n]) are embedded within the included web page 203 and should be resized using the following algorithm:
[0155] Loop on i from 1 to n:
[0156] For each TPA[i]determine
[0157] The minimal size Xmin[i]*Ymin[i];
[0158] The maximal size Xman[i]*Ymanx[i];
[0159] The optimal size Xopt[i]*Yopt[i];
[0160] The dynamic layout updater 360 may send a message to TPA[i] detailing the above min / max / opt sizes and requesting information about possible third party application 40 sizes.
[0161] The third party application 40 may provide a set of possible size options to the dynamic updater 380, which may assume Xposs[i][j]*Yposs[i][j].
[0162] Based on the Xposs[][] / Yposs[][] information collected above, the containing web page 203 can calculate a solution for the dynamic layout calculation by using, for example, a comprehensive evaluation of all possible third-party application size combinations, linear programming techniques, or any other technique used by the dynamic layout algorithm.
[0163] Store the results in Xfinal[i] / Yfinal[i] for all TPAs.
[0164] Loop on i from 1 to n:
[0165] The containing web page 203 may then send a resize message along with Xfinal[i] / Yfinal[i] to TPA[i];
[0166] The containing web page 203 resizes the outer iframe window containing TPA[i] to Xfinal[i] / Yfinal[i];
[0167] Based on the actual new size, the containing web page 203 continues the dynamic layout process.
[0168] It is understood that dynamic layout processing may generally require moving the third-party application 40 and not just resizing it. However, the third-party application 40 should remain unchanged in its exact position within the frame containing the web page 203.
[0169] As discussed above, the third-party application 40 also needs to change its display window size from time to time. Because the size of the window displaying the iframe is managed by the hosting page (i.e., the containing web page 203), the third-party application 40 window size change must be performed by the containing web page 203 - the third-party application 40 requests the change of the window size from the containing web page 203 (via the dynamic layout updater 360).
[0170] It is also understood that the third-party application 40 may also request (via the dynamic layout updater 360) to change its position within the containing web page 203. This may not affect the third-party application 40 internally (as a size change would), but requires a display change within the containing web page 203. The dynamic layout updater 360 may integrate this request with the dynamic layout. The containing web page 203 may activate the dynamic layout updater 360 to change the third-party application 40 window size (and possibly its position), and confirm the size and position changes back to the third-party application 40.
[0171] It will be appreciated that the hub 205 may also implement additional third-party application 40 category-specific or third-party application-specific messages by which the website construction system 30 itself, a specific included website 203, or a secondary third-party application 40 may affect a third-party application 40. For example, a blog third-party application 40 may define an input message that may post a new blog entry, or a new conversation about a current blog entry. Such a message may be used by the included web page 203 (e.g., as a posting of a blog entry from a larger edit field outside of the third-party application area). It may also be used for higher-level application-to-application links, for example, allowing a supporting third-party application to post a blog entry to a blog third-party application.
[0172] It will be appreciated that third-party applications 40 often require a variety of complex services—either for internal use by the third-party application 40, or for downstream use by the designer using the third-party application 40 at their site. Such services may include user management, billing, and shipping management. The website building system 30 provider may not be able to provide such services as part of the website building system (e.g., due to technical or business considerations). In addition, these services may not be suitable for being independently "packaged" as a third-party application 40. In addition, the third-party application 40 provider may need the option to provide multiple such services to the designer using the third-party application 40 (e.g., multiple third-party billing APIs), and allow the designer 5 to select the appropriate one for its use.
[0173] For example, Paypal can be provided in the website construction system 30 TM The API is hosted and can be used directly by third-party applications 40 or provided by third-party applications 40 to designers 5 to use it. Third-party applications 40 can also provide their own set of options (i.e., use a specific billing type, such as one-time, recurring, or revenue sharing) and implement these options by calling the hosted Paypal API.
[0174] Thus, a designer 5 utilizing the website construction system 30 can develop a specific offering (e.g., an electronic store that sells songs) that uses pre-billing. The designer 5 can avoid negotiating a specific settlement or wholesale contract with the billing API provider by using a hosted billing API—either directly or through a third-party application 40 that provides an additional level (or layer) of abstraction. In this case, the website construction system 30 can become a reseller for the hosted API provider.
[0175] The managed API wrapper 390 can facilitate this communication between the different parts of the system (e.g., the website building system 30, the managed API code, and the included third-party applications 40). It is understood that the API wrapper layer and the actual API implementation can reside in the website building system 30 itself or in another third-party application 40. The third-party application 40 provider (or designer 5) can use the managed API through the managed API wrapper 390 without knowing how the actual underlying API is implemented.
[0176] In alternative and supplementary embodiments of the present invention, the applicant also recognizes that the intelligent integration between the website construction system 30 and one or more third-party applications 40 can also be achieved by using an integrated model in which additional website construction system templates and components are associated with third-party applications at the level of the AppStore 25 and with related third-party application instances. The third-party application 40 can also communicate with these components (as well as unassociated components) to exchange data and control messages. As described above, the third-party application area 40 within the web page 203 is a separate iframe whose content is hosted in a separate domain (third-party application provider or other)-different from the domain of the hosting main site. Therefore, communication between different iframes is subject to the browser's "same origin policy" and requires the use of the technology described above.
[0177] Existing systems implement third-party applications 40 as monolithic, rigid objects that are contained within the containing web page 203 but do not affect the look and feel of the containing web page 203. The third-party 40 instance is placed in a (usually rectangular) area and performs all of its activities within that area.
[0178] Applicants also recognize that, according to embodiments of the present invention, this concept can be extended by associating (optionally) additional website building system 30 templates with third-party applications 40 (referred to as associated templates). It is also understood that this association can be performed during the development and publication of the third-party application 40, and can be presented to the designer 5 as part of the third-party application 40 selection / purchase process (from the AppStore 25) and the creation of a third-party application 40 instance. The TPA coordinator 24 can retrieve the template associated with the third-party application 40 (as part of the application library managed by the AppStore 25 or provided by the third-party application 40 supplier), and can store the template in the library 22 for subsequent use, as described above.
[0179] It will be appreciated that the system 100 may support exposing a third party application 40 with multiple associated templates - allowing the designer 5 to select the template that is most appropriate for their use.
[0180] It will be appreciated that when an instance of a third-party application 40 is created in any included web page 203 , the components in the associated template may be merged with the included web page 203 and may be displayed with any other components in the included web page 203 .
[0181] Reference now Fig.13 , which shows an example of the use of associated templates according to an embodiment of the present invention. As shown, a third-party application [a] is placed in AppStore [b] together with an associated template [c] including components [d] and [e]. It can also be understood that when the third-party application [a] is included in the web page 203 [f], the third-party application [a] can be displayed in its designated area [g] within the page [f], and instances [d'] and [e'] of components [d] and [e] can be displayed on the page [f] together with existing components [h] and [j].
[0182] It will be appreciated that the system 100 may support a variety of ways in which associated template component instances (e.g., [d'] and [e'] described above) may be placed within the containing web page 203[f]. These may include: absolute placement (i.e., utilizing the size and position specified in the associated template [c] for the original [d] and [e]); target-relative placement (i.e., adjusting the size and position of the new instances [d'] and [e'] to the containing web page 203[f]); and third-party application 40 relative placement (i.e., picking the size and position of the new instances [d'] and [e'] relative to the size and position for the third-party application instance [g] within the containing web page 203[f]. Determining a particular placement method may be based on settings included with the associated template [c], possibly allowing the designer 5 to override it.
[0183] It is also understood that the designer 5 may modify instances in [f] of components [d] and [e] inherited from template [c]. The changes may only apply to [d] and [e] used in [f] (and possibly inherited from pages of the website building system 30 that supports inheritance between pages), but may not affect the "original" template [c] associated with the third-party application [a] in AppStore [b].
[0184] It will be appreciated that the changes to the [d] and [e] instances described above may include, among other things, assigning specific content (text, images, etc.) to the field instances and general property changes. It will also be appreciated that if the third-party application 40 is included in a mini-page, then the associated template is applied to the specific mini-page that includes the third-party application 40, as now referenced. Fig.14 As shown, the third-party application 40 is contained in the mini-page [x], so components [d] and [e] are added to [x], but not to the additional mini-pages [y] and [z] of the same multi-page container [g].
[0185] It will also be appreciated that, for a section-type mini-page, the associated template (if any) is applied to the virtual (and empty) containing web page 203 that is created to contain the third-party application 40 .
[0186] In an alternative embodiment, a pre-created associated template may be applied to a newly created page or mini-page that is "parallel" to the included containing web page 203. The newly created page or mini-page may be initialized with a template and then modified as needed.
[0187] The website building system 30 may also allow multi-port inclusion, in which the same third-party application 40 instance is visible from multiple pages of the main site and "resides" in the multiple pages. This is different from multiple inclusions of a given third-party application 40 in the main site, which creates multiple instances of the third-party application 40. The (instance-specific) third-party application 40 content is therefore shared between multiple views of the same multi-port third-party application 40.
[0188] In such multi-port inclusion, the associated template may be applied individually to each of the pages and mini-pages to which the third-party application 40 is added.
[0189] As described above, system 100 can provide a 2-way communication link between third-party applications 40 and components included in web page 203. It will be appreciated that this includes included web page 203 components resulting from incorporating associated templates from third-party applications, as well as templates that are unrelated to any such associated templates.
[0190] Therefore, it can be understood that third-party application 40 suppliers can generally create multiple templates associated with the third-party application 40 produced by the supplier. In addition to the actual distributed templates (i.e., associated with the currently distributed third-party application version), these templates can also include testing, development and other templates.
[0191] As described above, third-party applications 40 may be distributed through the AppStore 25, and may also be distributed through unrelated alternative channels or managed by the website construction system 30 provider. However, the associated templates distributed with the third-party applications 40 may be highly related to and coupled with the application library 22 because they are built using components, base templates, and other elements managed by the website construction system 30.
[0192] Furthermore, the website building system 30 elements under such separately distributed associated templates may have to be modified or deleted, which may "break" the associated templates. To address this problem, the system 100 may implement these associated templates in a separate area (perhaps per third-party application 40 provider) within the application library 22. The website building system 30 may manage these templates in the same manner as other website building system 30 templates.
[0193] It can also be understood that a unique ID (development ID) for each created peony can be provided to the third-party application 40 supplier, and this ID can be used during the third-party application 40 development and testing process. Once the third-party application 40 is to be published / distributed, the third-party application 40 supplier can be required to apply for and receive a replacement unique ID (publishing ID), and the ID can be referenced in the published third-party application 40. Once the publication ID is provided, a separate locked template copy is created. This is a copy that is referenced by the third-party application 40 and used when creating an instance of the third-party application 40. In this way, the third-party application 40 supplier cannot mistakenly modify the template associated with the "live" third-party application 40 (being included by the designer), and the referential integrity is retained. In addition, the system 100 can cross-reference the relationship between such a locked template and the root component and the base template. For example, when the website construction system 30 component or the base template contained in such a locked template is modified (and such modification may destroy the template or the third-party application 40 in some way), this cross-reference can be used to provide a warning to the website construction system 30 staff.
[0194] Thus, system 100 can provide a two-way communication channel between third-party applications 40, components within included web pages 203, and website construction system 30. Included web page 203 components can be based on templates associated with third-party applications, based on other website construction system 30 templates, or not associated with any template.
[0195] As discussed above, the communication center 205 can facilitate communications and can provide a back channel between the included web page and any third party application 40. Applicants have also recognized that data moving forward and backward between the included web page and any third party application 40 would be useful once collected, processed and integrated.
[0196] For example, a website owner needs to manage each of its site user groups or members, which are different from the registered user base of the associated website construction system 30. Website users can be registered or unregistered (anonymous), and the website can provide different levels of capabilities to different levels of users. In addition, users can usually provide personal or contact information (even anonymous users), for example, data in a contact form, when they activate instant messaging software to communicate with the site owner, or when they connect to a social network as part of working with the site. It is understood that this information can be directly entered into the created site, or can be available as part of interacting with a third-party application 40 embedded in the site.
[0197] It will also be appreciated that this information may be unorganized, irrelevant, potentially contradictory, and many times not saved at all. For example, a single given user may enter his personal email on a contact form (operated directly by the site) and, in the same session, enter his work email on a separate subscription form (operated by a third-party application 40).
[0198] Furthermore, that "floating" information may include different permissions for its use. For example, a user who fills in an email address in a given form fully expects to receive the email-based subscriptions they subscribe to and possibly related email newsletters. On the other hand, a user who provides an email address as a registration ID may not wish to receive any emails at his registered address except those related to his account handling, security alerts, etc.
[0199] Reference now Fig.15 , which shows a system 200 for coordinating and collecting data from different messages exchanged between a website building system 30 and one or more embedded third-party applications 40. The system 200 includes a client center 210 installed in a client 220, and a server center 230 installed in a server 260, a contact coordinator 240, an activity coordinator 250, a contact database 245, and an activity stream database 255. It can be understood that the centers 210 and 230 can facilitate communication between the website building system 30 and multiple third-party applications 40 installed on the server 270, as well as communication between different third-party applications 40 associated with the center 205 as described above. The contact database 245 and the activity stream database 255 can store contact / activity information as well as information extracted from the message stream, as described in more detail below.
[0200] Reference now Fig.16A and Fig. 16B , Fig.16A The components of the client center 210 are shown, and Fig. 16B Elements of a server hub 230, a contact coordinator 240, and an activity coordinator 250 are shown. The client hub 210 includes a router 211, a converter and adapter 212, and a privacy policy enforcer 213. The server hub 230 includes a router and tracker 231, a converter and adapter 232, a privacy policy enforcer 233, a private data agent 234, and a verifier and signer 235. The contact coordinator 240 includes a data extractor 241, a contact blow-up 242, a data pre-merger 243, and a data and permission processor 244. The activity coordinator 250 includes a flow creator 251, a flow pre-merger 252, and a record creator 253. The functions of these elements will be described in more detail below.
[0201] Reference now Fig. 16C and Fig.16D , Fig. 16C shows the elements of 252 before the stream is merged, while Fig.16D Elements of the data pre-merge 243 are shown. The stream merger 252 includes an activity-to-stream merger 261 and a stream-to-stream merger 262. The stream-to-stream merger 262 also includes a horizontal stream merger 263 and a vertical stream merger 264. The data pre-merge 243 includes a contact identifier 272, a union 273, a contradiction resolver 274, a list value creator 275, a vertical contact merger 276, and a horizontal contact merger 277. The horizontal contact merger 277 also includes a virtual horizontal merger 278. The vertical contact merger 276 also includes a virtual vertical merger 279. The functions of these elements will be described in more detail below.
[0202] It will be appreciated that the system 200 may support messaging between the system 200 and a plurality of third-party applications 40 while providing a variety of capabilities, including organization of active messages via streams, storage of active message history, multi-level active message delivery, utilization of sideband channels for active messages, active message conversion and content adaptation, active message verification and signing, and dynamic active message routing utilizing listener queries as described in detail below.
[0203] In addition, the system 200 can extract user-related information and merge it - combining information from multiple sources and information already existing in the system 200. This can be done by combining rules that reconcile different and potentially contradictory information. This combined information can be stored in the contact database 245. This information can also include a usage permission field that controls the permitted use of the collected information, as described in more detail below.
[0204] In an alternative embodiment of the present invention, the client center 210 and the server center 230 can be used alone to communicate with multiple third-party applications 40 installed on the server 270. It can be understood that in the case of using only the client center 210, the contact coordinator 240, the activity coordinator 250 and the databases 245 and 255 can be installed locally in the relevant client.
[0205] It will also be appreciated that the system 200 may include other components that may allow third-party applications 40 to manage user contact activities (e.g., mass emailing of newsletters) while enforcing usage restrictions set by the users themselves. Such components may even isolate user private data from third-party applications 40—so that third-party applications 40 may perform their actions without actually accessing private user data. For example, this capability may be implemented through a private data proxy 234, as described in more detail below.
[0206] It will also be appreciated that the contact database 245 may be specific to each site. However, the website building system 30 may define a meta-site / projection level that encompasses a collection of websites (owned by the same site owner) and allows for the specification of contacts to be stored, processed, and consolidated at the meta-site level rather than at the individual site level. Other site elements (e.g., included third-party applications 40) may also be defined at the meta-site rather than at the site level. In addition to meta-site support, the system 200 also generally does not share contacts (except as described below), or integrate contact information between different sites or different site owners (so that data provided by a given end-user to one site is not leaked to another site).
[0207] As described above, the system 200 can support multiple interactions between the website construction system 30 and one or more third-party applications 40. Such interactions can be pre-defined activities, such as purchasing, adding items to a shopping cart, filling in contact information, etc. The third-party application 40 can specify which activities it supports, and other third-party applications 40 can "listen" for specific activities and take action when receiving the activities and their associated information. It will be appreciated that the list of activities listened to for a given third-party application 40 can be explicitly set to one or more activities, or can be determined by the activities of the listening query, as described in more detail below.
[0208] It will be appreciated that each activity can be considered a message and each message can include an activity data structure. Activity data structures are predefined data types, but can be defined by inheritance between them and by third-party applications 40 having the option to extend them by adding fields. They can be system specific or can be based on or include standardized data structures. They can also be encoded in some way, such as XML, JSON data, or using a binary object encoding scheme.
[0209] The activity data structure may also include a third party application 40 provided in a "description" field. This is a description of the activity based on the third party application 40 (which may be more detailed than what the website construction system 30 knows). For example, a VOIP communication third party application 40 may provide an activity description text of "Call John Smith at 999-555-1234-01:15".
[0210] The activity data structure may also include a callback link, e.g., "More Information," which returns the activity data structure. This may be used to provide additional substantive information, e.g., for an e-commerce activity data structure: full order tracking information, order history, etc.; for a chat activity data structure: full chat transcript; and for a phone activity data structure: recorded phone call. Thus, a sample full activity data structure may contain the following fields: creation timestamp; activity type; activity source (third party application 40 / component ID); activity stream ID; activity type specific information (depending on the activity type); creation site ID; site member database ID; site page ID / URL where the activity occurred; activity description provided by third party application 40; more information link used by third party application 40 and captured user details, etc.
[0211] The activity coordinator 250 may be viewed as a recording element and may receive delivery messages from the hub 230. The stream creator 251 may create an initial stream that may be viewed as a record or link-like structure and the stream merger 252 may add any additional input activities to it, each stream being unique to a contact. It will be appreciated that the stream creator 251 may not create a new stream for each individual activity contained in a different message. It will also be appreciated that the activities contained in a stream may be out of order (e.g., a third party application 40 may delay reporting an activity). The stream merger 252 may merge streams during operation when they belong to the same single contact and the record creator 253 may save a record file on the activity stream database 255 of all previously created activity streams.
[0212] As mentioned above about Fig. 16C As discussed, the stream merger 252 includes an activity-to-stream merger 261 and a stream-to-stream merger 262. The activity-to-stream merger 261 can associate an activity with a stream associated with an identified contact, and the stream-to-stream merger 262 can convert two separate streams into a single stream. The horizontal stream merger 263 can merge two unrelated streams into a detected common initial ID, while the vertical stream merger 264 can merge a stream created for an anonymous contact and a stream associated with a registered user, which can connect the two when logged in or registered. It is understood that the stream merger 252 can access previously created streams from the activity stream database 255 when necessary.
[0213] For example, an anonymous user populates a contact form in a site. Stream creator 251 may create a new activity stream (with ID "anon 1"), and contact processor 242 may create a new contact (with ID "anon 1", as described in more detail below). The same user may then chat with the site owner. Stream merger 252 may then merge that activity into the "anon 1" activity stream, and update contact "anon 1" (as described in more detail below). A user using a different browser may then populate a scheduling form. Because it is not associated with the original user, stream creator 251 may create a new activity stream with ID "anon 2", and contact processor 242 may create a new contact with ID "anon 2".
[0214] The user then purchases something from the site. The stream merger 252 merges the new activity into the "anon 2" activity stream and updates the contact "anon 2" (eg, with a "customer" tag).
[0215] A user using another browser registers with the site. When registering, all users receive a "user x" ID from the site's member processor. At this point, the stream creator 251 can create a new activity stream (with ID "user x"), and the contact processor 242 can create a new contact (with the same ID "user x").
[0216] Later, the user returns from another browser and chats with the site owner. When the site does not have a cookie, the flow creator 251 can create yet another new flow ID "anon 3", and the contact processor 242 can create a new contact "anon 3".
[0217] Now, the user logs into the website. At this point, there is a contact with an ID of "anon 3" and an ID of "user x". Data pre-merger 243 can merge the contact "anon 3" into "user x" so that both the login activity in the "user x" stream and the login activity of the contact "user x" point to the activity streams "user x" and "anon 3". Stream merger 252 can merge any additional actions performed by the user in this session into the "user x" activity stream. Log creator 253 can record all activity data from the stream and save a copy of the log in activity database 255.
[0218] It will be appreciated that the site owner may access the history of activity streams for a given contact through the associated user interface provided by the website building system 30, as now referenced. Fig.17 As shown. For a single contact "DaniBronstein", the history of his website can be easily accessed. It is also understood that the website construction system 30 or the third-party application 40 can also provide an API to access the log information. It is also understood that the activity log can be used for optimization, user interface improvement, advertising targeting, etc.
[0219] It will also be appreciated that, in parallel, the contact coordinator 240 may collect information from data provided by the activity stream (messages) to build a contact profile for the user in question. The data extractor 241 may extract data from the activity messages and streams, and the data merger 243 may merge relevant data to a specific contact, whose details are stored and accessible from the contact database 245. The contact processor 242 may create new contacts, handle site user identities, anonymous users, etc., and the data and permission processor 244 may handle privacy protection and permission related data. As discussed above, the data merger 243 may include a horizontal contact merger 277 and a vertical contact merger 276. The horizontal contact merger 277 may merge two unrelated contacts due to a detected common primary ID, and the vertical contact merger 276 may merge anonymous contacts and contacts associated with a registered user, both of which may be connected when logged in or registered. The horizontal contact merger 277 may also include a virtual horizontal merger 278 to maintain two contacts as separate, but link them together so that they can be marked as representing the same contact - with or without merging actual contact information. The vertical contact merger 276 may also include a vertical virtual merger 279 to maintain anonymous contacts and contacts associated with registered users separate, but link them together so that they are marked as representing the same contact - with or without merging actual contact information. The data merger 243 may also merge contact information (typically extracted by the data extractor 241) into existing contacts. It will also be appreciated that the contact identifier 272 may utilize a web tracker to track user identities and may identify contacts that should be merged, as discussed further below.
[0220] Return to reference Fig.15 , 16A 16B, the messaging may be performed on the client 220, the server 260, or both. It will be appreciated that the third party application 40 typically has a client-side element as well as a server-side element, or at least a server-side connection to a third party application 40 provider server 270. The hub 210 may process any messages between the client 220 and the third party application 40, and 230 between the server 260 and the third party application 40. It will be appreciated that data received by the hub 210 may be processed and forwarded to the hub 230 for further processing, as described in more detail below.
[0221] Reference now Fig.18 , which shows a messaging scenario between different platforms. A user client machine X can connect to a website building system 30 on a server Y. The website building system 30 can be implemented using a website building system 30 client component A' and a website building system 30 server component A. When the created site is realized, it can include a client-side component (data / code) B' and a server-side component B. The created site can also include three third-party applications 40—TPA1, TPA2, and ETPA3.
[0222] TPA1 may be implemented by a client-side component D' and a server-side component D connected to a TPA1 vendor server H. TPA2 may be implemented by a client-side component E' and a server-side component E connected to a TPA2 vendor server I. However, EPTA3 may be a server-side only third-party application 40 implemented by a server-side component G connected to a website building system 30 third-party application 40 support backend F. Both may communicate with a third-party application 40 vendor server J.
[0223] It will also be appreciated that TPA1 and TPA2 may exchange messages on the client (between components D' and E'), on the server (between components D and E), or on both. However, any communication with EPTA3 must occur only on the server. It will also be appreciated that there are advantages and disadvantages to using either approach. Client-side active messaging may be more interactive and provide faster user response. Server-side active messaging may be more robust, more reliable (e.g., the user cannot close the browser window in the middle of the process), provide better assurance of the correct order of message receipt, and may also allow active messaging to be sent to back-end third-party applications 40 installed on the back-end or application dashboard.
[0224] An example of a situation utilizing multiple third-party applications 40 is when a user adds a product to a shopping cart in third-party application A (activity type is "cart changes"). Third-party application A can then send an activity message with the added product to the website building system 30. The website building system 30 can then forward the activity to all third-party applications 40 registered with cart changes. Since third-party application B is already registered, it receives the activity. Third-party application B can then display a message to the user, such as "If you also add product X, you can get a discount" or "Share this site to get a discount."
[0225] Another example is a user "likes" something in third-party application A (via, for example, Facebook). Third-party application A can then send an activity message to the website building system 30 with an activity type of "Facebook Like". The website building system can then forward the activity to all third-party applications 40 registered to the "Like" activity. Since third-party application B is already registered, it receives the activity. Third-party application B can display a reengagement widget to the user and display a message such as "If you like this site, how about contacting the site owner?" or "Would you like a discount coupon?"
[0226] As described above, all communications may occur via hubs 210 and 230 .
[0227] Router 211 may route client-side messages between the website and any third-party applications 40. Router 211 may also route messages between hub 210 and hub 230 for further processing, as described in more detail below.
[0228] The router and tracker 231 routes messages between the website and any third-party applications 40, and can also track messages. It will be appreciated that the third-party applications 40 also listen to messages on the client and server. It will also be appreciated that the third-party application 40 can explicitly specify one or more activities that it listens to, for example, listen to all "shopping cart-add item" activities. The third-party application 40 can also specify the activity categories that it listens to, for example, listen to all Facebook related activities. In addition, the third-party application can include wildcard expressions (applied to the activity name) that are used to determine whether the activity should be sent to the third-party application.
[0229] It will also be appreciated that the third-party application 40 may use activity listener queries. Such queries may refer to additional system information, including information not normally available to the third-party application itself, such as: user attributes (e.g., only registered users, only European users, etc.), website attributes or structure (e.g., only listen to a given activity on pages derived from a given page template), user history (e.g., only listen to shopping cart checkout activities when the user's past purchases total more than X), etc. Such queries may be specified by the third-party application 40, but may also be edited by the designer.
[0230] Thus, the router and tracker 231 can also track the messages that the third-party application 40 is listening for. It will be appreciated that this active listener query architecture is best implemented at the active routing level (rather than by API calls inside the third-party application 40) because it can allow website designers to perform tailoring and customization without requiring the third-party application 40 to be highly programmable and customizable. The router and tracker 231 also helps preserve user privacy because the website designer does not provide additional information (needed for routing decisions) to the third-party application 40 involved. It can also save unnecessary communication calls with the third-party application 40 that are usually hosted on a separate server.
[0231] It is understood that a user (website visitor) accesses, registers, and provides information to a website. The user is not actually aware that the website he or she is visiting is built using a combination of the website construction system 30, components, construction websites, and third-party applications 40. Therefore, the responsibility for user privacy ultimately rests with the website owner (who is also responsible for actions taken by third-party applications 40 included in his or her website).
[0232] It will also be appreciated that user profile information may be accessed by third-party applications 40 (and other website building system 30 components) based on privacy rules defined by the website building system 30 and the APIs provided by the website building system 30. In addition, the containing site and the third-party applications 40 contained therein may use the contact information to communicate with the user (via email or otherwise).
[0233] As can be appreciated, there are three main privacy-related issues. The first is the interaction between the website and website construction system 30 and the third-party application 40 provider. The website (and website construction system 30) cannot fully trust the third-party application 40 that uses its user data, for example, the third-party application 40 will not send mass emails (using the user's email provided by the site), request to remove spam users from the mail, or transfer user personal information to a fourth party. However, it can be solved in the following way:
[0234] The website construction system 30 provider may require a third-party application 40 provider to sign a Terms of Use (ToU) agreement when adding it to the website construction system 30 application market. Such an agreement may state that the third-party application 40 (with the third-party application 40 provider) cannot abuse or also disclose the user's information. If the third-party application provider abuses the information, the website construction system 30 provider may then punish the third-party application provider (e.g., disable the third-party application 40, remove the third-party application 40 from the website construction system 30 application market, etc.). The privacy policy enforcers 213 and 233 and the private data agent 234 may enforce privacy policies on the third-party application 40, as described in more detail below.
[0235] The second privacy-related issue is the interaction of the website and website construction system 30 with users (site visitors). The website must provide the user with a clear understanding of how his or her personal data will be used, receive an agreement from the user and abide by the terms agreed by the user. The website construction system 30 requests all publishing sites to provide users with a ToU document that defines the permitted uses of the user's private information in terms of terms, and requires the user to electronically sign the document. The site must then abide by these terms and permitted uses. The website construction system 30 may also include a sample ToU page in each website template it provides. The private policy enforcers 213 and 233 can ensure that the terms of use of the ToU document are maintained. The private measurement enforcers 213 and 233 may also ensure that only permitted information is provided to the TPA by deleting or rearranging relevant data.
[0236] The third privacy-related issue is supporting unsubscribe requests. Sites must provide users with the option to unsubscribe from any marketing emails. This can be handled by the data and permission processor 244, as described in more detail below.
[0237] The data and permissions processor 244 may also handle different user permissions set by different users, as described in more detail below.
[0238] The private data proxy 234 can allow the website construction system 30 (and the websites built therein) to maintain all or some private data in a secure repository managed by the website construction system 30, and can provide a substitute unique ID (instead of the private data) to third-party applications, which can be used by the website construction system 30 to retrieve the hidden private data. For example, an email address is replaced by a substitute "email address ID" provided to the third-party application 40, so that the third-party application 40 cannot access the actual email address.
[0239] The private data proxy 234 may also provide a set of interfaces for various communication methods (e.g., email, social network messaging, etc.) that may be used by the third-party application 40 to contact / send messages to the user without the third-party application 40 actually having access to the private data associated with the user. Such private data may include all identifying details by which the user may be contacted, including, for example: name, address, email, phone (including SMS / MMS), unified communications ID (Skype, etc.), and social network ID.
[0240] The private data proxy 234 can thus enforce user consent field restrictions, enforce user unsubscribe requests, and limit user messaging, e.g., allowing no more than 100 emails per day for a given third-party application 40 working for a given site. The private data proxy 234 can define proxy parameters, as well as which private data to expose to third-party applications and which to hide—on a per-third-party application 40, and per-field basis.
[0241] For third-party applications 40 hosted on the website building system 30 server, the private data proxy 234 can provide an alternative unique ID that is similar in form to the original private data (e.g., providing an alternative virtual email instead of the original private user email), and then "catch" the call using this information and forward the email (in this example) to the correct address. This can also be used to detect any third-party applications 40 that exceed their allowed permissions.
[0242] It will be appreciated that a website owner may wish to provide limited or modified information to any particular third-party application 40. This may be due, for example, to general security concerns, specific privacy commitments regarding any element of user data, or regulatory requirements specific to a particular industry or application. The privacy policy enforcers 213 and 233 may implement any such changes made by the website owner and overwrite the current settings.
[0243] An example may be a website that handles medical information, which may be interested in blocking some personal series from contact information when passing to the general geographic user distribution analysis third party application 40. In another example, the third party application 40 may have problems handling certain types of contact information. A website owner who wants to continue using the third party application 40 (even though the failure is known) may wish to filter out contacts that trigger the known problem, or modify the data so that it does not trigger the problem.
[0244] The converters and adapters 212 and 232 may apply pre-specified message conversion and content adaptation rules. Each such rule may include conditions, such as which third-party applications 40 it applies to, filter criteria that select which messages it applies to, transformation rules (e.g., involving discarding a given message (with respect to the relevant third-party application 40)), or transformations to be applied to a given field or fields in the active data structure.
[0245] Thus, hubs 210 and 230 may deliver different versions of the active data structure (or none at all) to different third-party applications 40, depending on specifications established by the site owner.
[0246] The relevant website construction system 30 may also support verification and signing of messages to enhance the system from failure and interruption attempts (e.g., man-in-the-middle attacks that want to modify the payload data of third-party application 40 messages). Therefore, each third-party application 40 registered with the website construction system 30 may have two sets of private / public keys: one set is used to decode messages sent from the third-party application 40 to the website construction system 30 (input keys), and the other set is used to encode messages sent from the website construction system 30 to the third-party application 40 (output keys).
[0247] For example, third-party application A can send a message to the website construction system 30. The message can be sent together with the third-party application ID for the site, which is a third-party application external ID (with a third-party application scope) and can be signed by the third-party application. The website construction system 30 can receive the message. The verifier and signer 235 can verify the signature using the input secret key of the third-party application A. If the verification fails, the verifier and signer 235 can report the input message as invalid and no longer transmit the message.
[0248] The authenticator and signer 235 may utilize the internal site ID to convert the external ID associated with the message. The authenticator and signer 235 may determine which third party applications 40 should obtain the message.
[0249] For example, for each third-party application B1..Bn, the verifier and signer 235 can discover the external ID of the third-party application B. The verifier and signer 235 can then create a message to the third-party application B and instruct the converter and adapter 212 / 232 to apply any applicable filtering and transformation rules as described above. The verifier and signer 235 can then sign the message using the output key of the third-party application B and send the message to the third-party application B via the router and tracker 231 (or router 211). The third-party application B can then receive the message and verify the signature. If the current verification fails, the message is reported as invalid and is not processed further. It is understandable that the verifier and signer 235 can only perform server-side and not client-side processing to ensure that secret verification data is not sent to untrusted clients.
[0250] As discussed above, the system 200 can employ multiple types of communications between the website construction system 30 and the third-party application 40. These can include, for example, control communications, for example, the website construction system 30 instructs the third-party application 40 to shut down; functional communications, for example, the shopping cart third-party application 40 sends the total purchase amount to the accounting third-party application 40 through the website construction system 30, thereby affecting the payment or activity communications of the examples discussed in this specification. It can be understood that these different types of communications have different profiles and requirements, for example, in terms of message sending volume, robustness, response time requirements, etc.
[0251] In particular, the system 200 may include very frequent activity reports (e.g., if third-party application 40 graphical user interface (GUI) events are among the reported third-party application 40 activities). Such multiple activity reports may cover portions of the system that handle more critical messages. Therefore, the system 200 may implement multiple communication channels (e.g., utilizing different ports, multiple concurrent sessions, etc.) so that each type of message is sent via a separate channel. In this way, activity reporting uses a sideband channel and is parallel to and does not interfere with command and function communications.
[0252] As discussed above, system 200 can collect activity information to create and enhance contact information and collate activity events associated with specific contacts via contact coordinator 240 and activity coordinator 250. For each activity message routed through hubs 210 and 230, contact coordinator 240 and activity coordinator 250 can process the information. Stream creator 251 can create a contact-specific data stream from the activity message, and elements of contact coordinator 240 can extract the data and process it before storing it in contact database 245.
[0253] Thus, each activity stream may have a constructed contact associated with it, which may be enhanced with data extracted from the activities performed under the data stream. It will be appreciated that the contact coordinator 240 may also identify the existence of related contacts—multiple contact records found to describe the same person. The contact identifier 272 may identify such records by matching the primary ID field (e.g., email, phone number, social security number, Facebook ID, etc.). It will be appreciated that some primary ID fields are multi-valued fields (e.g., people may have multiple identifying emails), while some are strictly single-valued fields (e.g., social security number).
[0254] Thus, the data merger 243 may merge the contact fields extracted from the new activity into the currently constructed contacts, and once the anonymous user has performed a login operation and has become a recognized user, the constructed contacts constructed for the anonymous user during use of the website may be merged into the predefined saved contacts (this is known as a "vertical" merge). The horizontal contact merger 277 may also perform a "horizontal" merge of two different contacts (constructed contacts or stored contacts) upon detecting that these are related contacts involving the same user. As discussed above, such a merge may be performed by an actual merge of one contact into another (i.e., converting two separate contacts into a single contact), or by a virtual merge (i.e., maintaining the two contacts as separate but linking them together so that they are marked as representing the same user - with or without merging the actual contact information and activity streams). It may also be appreciated that even in a virtual merge, additional added information may be added to multiple linked, virtually merged contacts.
[0255] Thus, data extractor 241 can extract contact type information from the relevant data activity structure, and data merger 243 can integrate the contact type information into the contact (anonymous or identified) associated with the activity stream. If the contact type information I contains a primary ID field, data merger 243 can check for related contacts based on the primary ID field value, and if found, merge these contacts. Data merger 243 can also check whether the activity establishes a user identity in the site (e.g., a site login activity), and if so, merge the anonymous contact with the existing contact record recorded for the user and make it an identified contact from then on.
[0256] It will be appreciated that contact identifier 272 may implement a variety of methods to identify site users, such as by using a web tracker to track the sessions of a single anonymous user (who is not logged into the site), utilizing site logins of registered users, social logins of site users via accounts associated with social networks, or by matching primary ID fields (e.g., email / phone) to identify two user profiles describing the same user.
[0257] It will also be appreciated that site users whose details are stored in the contacts database 245 may be categorised as anonymous users who are not registered at the site; registered users and potential users - records (imported from external sources) of potential users who have not formally registered at the site.
[0258] Because the associated website can install permanent cookies that persist from session to session, multiple anonymous sessions running with the same browser on the same computer can continue to contribute information to the same contact log. Thus, even an anonymous user can have considerable text and contact information.
[0259] Registering users must provide an ID that is unique to a particular site. Multiple types of IDs can be used, for example, a single site-specific ID (e.g., username), an external identifier (e.g., email, phone number, or social security number), or an external identifier provided by a different system (e.g., social network ID, OpenID identification, etc.).
[0260] A user registered through a social network login can allow the site to populate the site profile of the same user with personal information available in the social network. The data extractor 241 can also revisit the social network profile to detect any changes to the personal information and can update the site user profile.
[0261] A registered user must generally log into the system in order to establish her or his identity, but the system may offer a "keep me connected to this system" option. This login process is explicit (the user invokes a login dialog), implicit (the user is asked to provide some identifying details, such as when adding a dialog to a blog), or can be based on an external login (the system invokes a login process associated with a different system, such as a social network login or an OpenID login). The login process can also be affected by a physical device (e.g., a security token connected to the system directly or via a wireless interface) or by the use of biometric information (including biometric parameters of the user, such as fingerprint or iris scan; and behavioral detection of the user, such as typing pattern detection), or any combination of the methods detailed above.
[0262] It will also be appreciated that the social login process can interact with conventional login in both directions. For example, a social ID can be associated with a site member ID so that a social login will imply a site login, or a site member ID can be associated with one or more social network IDs so that a site login can also identify a user of one or more social networks.
[0263] When the user performs an explicit logout, the contact processor 242 can generate a new anonymous user web tracker and thus open a new anonymous session (or series of sessions), whose activities will be saved under the new anonymous contact. When logging in again with a subsequently identified contact, the new anonymous contact can be merged.
[0264] Reference now Fig.19 , which shows the login and logout process of an anonymous user. The user can start using the system anonymously. The contact processor 242 can create a contact, and when the user performs the first third-party application action act1, the flow creator 251 can automatically create an activity flow anon1. The flow merger 252 can merge information from act1 and from subsequent activities act2 and act3 to the user anon 1.
[0265] Once the same user performs a login as user X, the data merger 243 merges the anon 1 contact (and any other relevant contact data retrieved from the activity stream) into the contact information of user X. It will be appreciated that the stream merger 252 may also merge the information extracted from the other actions act4 and act5 into a single stream, and the data extractor 241 may then extract the contact information of user X. When user X performs a logout, the contact processor 242 may create a new web tracker, separating the other activities from user X. Thus, when a new activity act6 is performed, the contact processor 242 may create a new anonymous contact anon2, and the data extractor 241 may save the extracted contact details (and activities) under the newly created anonymous contact anon2.
[0266] If (as in scenario A) user anon2 performs a second login as user Y, the data merger 243 may merge the contact anon2 (as updated by act6 and act7) and any further activities into the identified contact details of user Y.
[0267] If (as in scenario B) user anon 2 performs a second login as user X (repeatedly), the data merger 243 may merge the contact information for user anon2 (as updated by act6 and act7) along with any other activities into user X's contact details (which have been updated to reflect act1-act5).
[0268] It is understood that the activity data structure associated with the activity may also include contact details. The data extractor 241 may extract this information and forward it to the data merger 243, which may integrate it with existing contact information into a contact database 245 that may enhance it. It is also understood that the data extractor 241 may extract details from a specific activity message, from the entire stream, from other contacts, or from an external source (e.g., IP) to a geographic address conversion service, as described in more detail below. As discussed above, the contacts in the contact database 245 may also contain contact details that are explicitly provided by the user as part of the registration or registration process for the website, extracted from a social network account used by the user when registering to the website (via a social login / registration feature), or provided by the user when updating his or her profile. The data extractor 241 may also retrieve contact information from an external source (e.g., when the user only specifies a U.S. zip code, and this is used by the site to retrieve complete address information from an external zip code decoding network service).
[0269] As discussed above, the contact identifier 272 can identify two contacts as related based on the primary ID field (e.g., user name, email, or phone number). Once contacts A (new) and B (existing) are found to be related, the data merger 243 can merge A into B (B is primary). This can be done using a field merge rule such as the following:
[0270] B1 = B or A (such as "B||A"); take B, and if B is null or empty then take A;
[0271] B1 = math-func(A,B); The important private cases are:
[0272] B1 = A + B; for example, number of visits, total number of purchases;
[0273] B1=min(A,B); for example, date joint site;
[0274] B1=max(A,B); for example, the last activity date;
[0275] B1=list-unit(B,A); concatenate list A at the end of B, removing elements in A that are duplicates of elements in B (i.e., B1=B&(AB)). Data merger 243 can determine duplications among list members according to the following rules:
[0276] For lists containing regular values (i.e., scalars), regular value comparison is used;
[0277] For lists including structures, specific subfields of the structure are used as comparison keys. For example, address types (home, office, delivery, ...) in a website building system 30 supporting multiple addresses;
[0278] Normalizes value comparisons. See (for example) the following for handling phone numbers:
[0279] If structure A is a more detailed version of structure B, then A is joined to B (described in more detail below), and
[0280] Higher Certainty Score—A value may have a certainty score attached to it (eg, different certainty scores for information provided directly by the user than for information inferred about the user). The data merger 243 may select the value with the higher certainty score.
[0281] It will be appreciated that some field types have normalized formats. For example, a phone number may be normalized to a U.S. format (e.g., (999) 555-1234) or an international format (e.g., +1-999-555-1234). The data merger 243 may convert field values to normalized formats for comparison, such as when comparing primary contact keys (e.g., phone numbers), and when checking for duplicates in a merged list.
[0282] The data merger 243 can compare two structure values that have the same underlying structure—for example, an address value that includes multiple subfields (country, state, zip code, street, number, etc.). If the value of a non-null field in structure X is equal to the value of the same field in structure Y, that is, Y includes all non-null field values of X and possibly some additional field values, then structure Y is a detailed version of structure X. Therefore, if A is a detailed version of B and A is not identical to B, then the data merger 243 will join A into B.
[0283] It will be appreciated that the data extractor 241 may infer the contact address based on the IP address from which the activity came. This is only used when the activity has arrived from a browser session and the user does not have an address. Therefore, the data extractor 241 may extract the state / country information based on the geographic information of the IP address. In this case, the address is marked as an "estimated geographic IP address". This is necessary so as not to interfere with future address merging - this may prevent subsequent detailed (but substantially different) addresses from being saved to the contact database 245 due to the address field containing the existing (and potentially inaccurate) address based on the IP mapping.
[0284] Data merger 243 may also handle tag conflicts for merging lists. It will be appreciated that in the case of merging lists, one may get into a situation where there are two entities, one from contact A and the other from contact B, that are different but have the same tag. In this case, data merger 243 may merge the lists by having both in the list with the same tag.
[0285] So the combination [{tag:"home",email:"a@b.com"}]+[{tag:"home",email:"c@d.com"}] would create [{tag:"home",email:"a@b.com"}],[{tag:"home",email:"c@d.com"}]. This can be used when the merge field is marked as "Allow non-unique list tags".
[0286] Data merger 243 may also use linguistic, grammatical or other text analysis methods, as well as consult external data sources or services when attempting to join contact information. For example, a user may also write his or her home street name in two different ways in two activity records, but specify the same home number, city, and zip code. Union 273 may apply text analysis (e.g., a detection algorithm) when comparing the two entities, and may also compare the two versions of the street name to an external source of street names for a given city and zip code. In this case, if the two streets are similar to (but may be different from) the canonical name and all other address data fields have appropriate values, then Union 273 may select the canonical street name.
[0287] Data merger 243 may also merge contact information based on login / session information. A user may use the site without logging in or registering, begin a session, perform some activity as part of that session, and later register or log in, thus causing the session to be associated with a newly created or existing registered user profile (containing contact information).
[0288] Once a user begins a session (anonymously), the contact identifier 272 can track the user during the session (using cookies, session IDs, etc.), and based on the activities performed by the user during the anonymous session, the contact processor 242 can create constructed contacts for the specific anonymous user. The router and tracker 231 can also continue to track the anonymous user across multiple sessions from the same computer. This can be done by using a persistent network (rather than a session cookie) tracker.
[0289] When a user registers, the data merger 243 may use the constructed contact information to initially populate the user profile. If the user logs in, the data merger 243 may initially combine the constructed contact information with the existing user profile. It will be appreciated that the constructed contact information is merged according to the user's site ID, because the data merger 243 may not have any other primary IDs (email, etc.) for the constructed contacts to merge. It will also be appreciated that any such merging may reveal inconsistencies in the collected information. When merging anonymous constructed contacts with existing profile data, inconsistencies can occur and are inevitable. For example, an anonymous user fills in a data form (displayed by some third-party application 40) with the name John Smith, and then later logs in (using the same or a separate browser session) to an account under the name Jane Doe. It is possible (for example) that the later login is actually made by a second person using the same computer, or that the user uses a pseudonym in the contact form to preserve his or her privacy. The same situation may occur when the data merger 243 merges multiple anonymous constructed contacts.
[0290] The conflict resolver 274 can generally handle conflicts automatically because most fields (including major key fields such as email and phone) are list fields that may contain multiple values. This may only apply to multiple uses of the same root site. Any such conflicts that cannot be resolved (e.g., by merging multiple values into a list value) can be flagged for manual handling by the site owner, perhaps through an end user (who can determine which value to use) or using other techniques.
[0291] Thus, it is possible that the constructed contact information may reflect not just a single person, but a combined collection of users accessing the same site via the same computer.
[0292] As discussed above, the data merger 243 typically merges contacts based on primary ID fields (eg, email and phone number) when contacts are created or modified.
[0293] The input is a contact record (input contact C) that includes one or more primary ID fields with one or more values (e.g., a contact record with 2 emails and 3 phone numbers). Multiple primary ID fields may be required because a user may have (for example) home / work / cellular phone numbers and home / work emails, and the user may use any of these interchangeably in the contact form.
[0294] The data merger 243 can normalize the primary key values and create a query for contact records containing any normalized primary key values, for example, "(phone=P1 or phone=P2) or (email=E1 or email=E2)". The data merger 243 can also limit the query to the contact database 245 of a specific site. The data merger 243 can also query the contact database 245 and retrieve a matching contact list L (which includes the input contact C).
[0295] If the input contact is a registered site member (of a particular site), the data merger 243 may remove contact C from list L and merge all contacts remaining in list L into contact C. The data merger 243 may then save the updated contact C back to the contact database 245 and remove all contacts remaining in list L from the contact database 245. As discussed above, the data merger 234 may alternatively perform a virtual merge, joining all contact information (i.e., updating all contact records to include all available information) and marking matching contact records as belonging to the same person (rather than deleting "duplicate" contact records). This may be required, for example, when third-party applications 40 store or use internal IDs that are specific to contact records, so that deleting contact records will cause these third-party applications 40 to fail. The same process (i.e., marking contacts as related rather than deleting them) may be applied in other scenarios discussed in more detail below.
[0296] If the input contact is not a registered site member, data merger 243 may check how many site member contacts exist in list L. If there are 0 site members, contact C may be removed from list L and all contacts remaining in list L may be merged into contact C. Data merger 243 may then save the updated contact C back to contact database 245 and remove all contacts remaining in list L from contact database 245.
[0297] If there is 1 site member (contact D), data merger 243 may remove contact D from list L and merge all contacts remaining in list L (including contact C) into contact D. Data merger 243 may then save the updated contact D back to contact database 245 and remove all contacts remaining in list L from contact database 245.
[0298] If there are two or more site member contacts (D, D1, D2, ...), data merger 243 may select contact D from the site member contacts found in (D, D1, D2, ...) and remove contact D from list L. A sublist LL may then be created from list L including contacts that are not site members in list L. Data merger 243 may then merge all contacts remaining on list LL into contact D. Data merger 243 may then save the updated contact D to contact database 245 and remove all contacts remaining in list LL from contact database 245.
[0299] As discussed above for login merges, inconsistencies in the data may occur. However, because the list value creator 275 can create list value fields (with multiple values) and can define clear precedence between contacts, no problems will occur in most cases.
[0300] For example, when the data merger 243 merges the following contacts:
[0301] Contact1 = [Phone1, em1];
[0302] Contact2 = [Phone1, em2];
[0303] Contact3 = [Phone2, em2];
[0304] A combined contact can be generated:
[0305] Combined-Contact=[Phone=[Phone1,Phone2],Email=[em1,em2]].
[0306] It is understood that the contact database 245 may include contact information from multiple sources and have different levels of permissions for use. The following discussion is designed for email; however, the discussion and technology apply to any type of information (phone, fax, Skype ID, instant messaging ID, social network ID, etc.) used to contact the user as described above.
[0307] For example, the way an email address is provided to a site can indicate different permissions for use. Some possible sources for email addresses are: registration ID; contact forms, newsletter sign-up and unsubscribe requests. Email addresses can also be different in terms of a "permitted use agreement" signed by the user.
[0308] It will be appreciated that the website building system 30 typically has information about permitted uses for a given email. However, the website owner may have different, separate or additional information. For example, due to the nature of different registration formats in the site, or due to having contacts in the system entered by the website from different sources that include additional permission information.
[0309] The data and permissions processor 244 can enforce proper usage policies on third-party applications 40 used in the site to help website owners manage this information.
[0310] Thus, the contact record for the relevant contact may include two fields of information. The first field is a site permissions field containing the derived or suggested permissions calculated by the website based on user activity. The contact form implies only functional emails, while the subscription form may imply recurring emails. The second field is a site owner permissions field based on the value of the site permissions field. The site owner can change the site recommendations and do whatever he or she likes, but he or she is responsible for any use that exceeds the permissions defined by the site permissions field.
[0311] It will be appreciated that the website permissions field value represents the best knowledge of the website of the user's intent. The site owner permissions value is a value assigned by the website and used by third party applications 40 and other parts of the system (eg, by third party applications 40 delivering newsletters).
[0312] The data and permission processor 244 can use these permission fields to define permissions in a variety of ways. For example, the data and permission processor 244 can implement any of the following codes or combinations or variations thereof (for email and other contact IDs):
[0313] Unknown – The email is extracted from an unknown source and cannot be used for any email sending.
[0314] Email ID – The email provided for registration purpose. It cannot be used for any email sending except for registration related issues like registration confirmation, forgotten password and suspected security breach notification.
[0315] Functional Emails - Provide and allow one-time emails for a specific function. For example, a purchase confirmation email, or an email provided for a specific contact form.
[0316] Recurring Emails - Allows specific sites to send multiple and recurring subscriptions and advertisements. This requires explicit subscription / approval.
[0317] Shareable Emails - Allows the site and its partners (third party applications 40, fourth parties) to send multiple and recurring subscriptions and advertisements. This requires explicit subscription / approval and can include details about what sharing is allowed.
[0318] Opt-out — User explicitly unsubscribes. No emails are sent to the user (except for possible opt-out notifications).
[0319] It will be appreciated that the data and permissions processor 244 may use alternative approaches, such as permission bit masking (similar to that used on UNIX and Linux systems) or an ACL (Access Control List) mechanism. The data and permissions processor 244 may also implement separate permission fields for separate portions of the contact information (e.g., email, instant messenger address, social network ID, etc.).
[0320] A typical usage scenario is that the contact database 245 contains a first set of emails collected from a contact form and a second set collected from subscription requests. The website can call a newsletter sending third-party application 40, knowing that the third-party application 40 will only Send an email to the users belonging to the second group (who sent the subscription request).
[0321] Advantages of such a system include better (technical and legal) protection for websites and website owners from accidental spam or misuse of private information by users, and virtual enforcement of privacy policies when used in conjunction with a private data broker 234 as described above. Unsubscribe requests can also be ensured to be more strictly enforced.
[0322] Thus, a user can generate an activity stream between the relevant website construction system 30 and any relevant third-party application 40. Such a stream may be known as an activity stream. Each activity stream may be used as a source of information for a single contact. If it can be determined that different activity streams come from the same source, the activity data structures of the individual streams may also be merged to form a contact. For example, a single user may work anonymously through two devices (e.g., a mobile device and a personal computer). Such a user may create two anonymous streams that may store messages. Once the streams have been identified as being associated with the same user, they may be merged.
[0323] The process and display presented here are not inherently related to any particular computer or other device. Various general purpose systems can be used together with programs according to the teachings of this paper, or it can prove to be convenient to construct more specialized devices to perform desired methods. According to the above description, the desired structure for a variety of these systems will be clear. In addition, embodiments of the present invention are not described in conjunction with any specific programming language. It is to be understood that a variety of programming languages can be used to implement the teachings of the present invention as described herein.
[0324] Unless expressly stated otherwise, as is apparent from the foregoing discussion, it is to be understood that throughout the specification, terms such as "processing," "computing," "calculating," "determining," and the like, used in the discussion refer to the actions and / or processes of a computer, computing system, or similar electronic computing device that manipulates and / or transforms data represented as physical (e.g., electronic) quantities within the computing system's registers and / or memories into other data similarly represented as physical quantities in the computing system's memories, registers, or other such information storage, transmission, or display devices.
[0325] Embodiments of the present invention may include an apparatus for performing the operations herein. The apparatus may be constructed for the desired purpose, or the apparatus may include a general purpose computer selectively activated or configured by a computer program stored in a computer. Such a computer program may be stored in a computer readable storage medium, such as, but not limited to, any type of disk, including a floppy disk, an optical disk, a magneto-optical disk, a read-only memory (ROM). A compact disk read-only memory (CD-ROM). A random access memory (RAM), an electrically programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM). A magnetic or optical card, a flash memory, or any other type of medium suitable for storing electronic instructions and capable of being coupled to a computer system bus.
[0326] Although certain features of the present invention have been illustrated and described herein, numerous modifications, substitutions, changes and equivalents may occur to those skilled in the art. It is therefore to be understood that the appended claims are intended to cover all such modifications and changes that fall within the true spirit of the invention.< / z> < / y> < / x> < / x>
Claims
1. A system for collecting third-party application activity data, the system comprising: A database for storing at least current contact information for a plurality of users of the website; an activity coordinator for receiving at least one activity message exchanged between the website and at least one third-party application embedded in the website; a contact coordinator for collecting contact-related information for at least one of: a user from the plurality of users, a new user, and an anonymous user from the at least one activity message, and constructing a contact profile accordingly, wherein the contact coordinator comprises a data merger for merging at least two contact information records, wherein the records are associated with the same identified contact and respectively comprise one or more primary ID fields having one or more values; and The contact coordinator uses the contact profile to enhance the current contact related information to the database.
2. A system according to claim 1, and wherein: The activity coordinator includes at least one of the following: a stream creator for identifying a user associated with the at least one activity message and for creating an activity stream of data if no associated contact exists; as well as A stream merger is configured to merge data from the at least one active message into an existing stream and merge data from at least two of the active streams into a single stream.
3. The system according to claim 1, and wherein: The contact coordinator includes at least one of the following: a data extractor for extracting the contact-related information from at least one of: the at least one activity message, the activity stream, the current contact information for a user, and an external source; a contact processor for creating at least one of an identifiable new user and an anonymous user and for tracking contact activity during a session of the website; as well as Data and permission processors, which handle the privacy protection and permission of the extracted contact-related information. The data merger is used to merge the extracted contact-related information according to a predefined merging rule.
4. The system according to claim 1, and wherein: The system can be implemented on a client.
5. The system according to claim 1, wherein: The at least one third party application is at least one of: a social network, and an interface to a social network, an interface to social network messaging software, and an instant messaging system.
6. The system according to claim 2, and wherein: The data extractor saves its extracted contact details under a newly created anonymous contact.
7. The system of claim 1, and wherein: The data merger includes at least one of the following: a contact identifier for performing at least one of: locating identical primary ID field values in at least two of the contact information records, locating identical primary key field values in at least two of the contact information records when normalized, identifying a site user utilizing a web tracker, identifying a site user utilizing a site login for a registered user, and identifying a site user via a social login for a site user having an account associated with a social network; a federator for federating contact information using at least one of language, grammar, text analysis, and consultation with external data sources and services; A conflict resolver, which is used to resolve conflicts between contact records based on predefined rules; a list value creator for creating a list value field to define a net precedence between said contact records; Horizontal Contact Merger to merge two unrelated contacts due to a detected common primary ID; as well as A vertical contact merger is used to merge the anonymous contacts and the contacts associated with the registered user when logging in or registering to connect the anonymous contacts and the contacts associated with the registered user.
8. The system according to claim 2, wherein: The stream merger includes an activity-to-stream merger for merging the data into the stream associated with the identified contact, and a stream-to-stream merger for merging at least two separate streams into a single stream.
9. The system according to claim 8, and wherein: The stream-to-stream merger includes at least one of a horizontal stream merger and a vertical stream merger, wherein the horizontal stream merger is used to merge the at least two separate streams based on the identified common user, and the vertical stream merger is used to merge the stream created for the anonymous user and the stream associated with the registered user when logging in or registering an anonymous user and a registered user can be connected.
10. The system according to claim 7, and wherein: The horizontal contact merger includes a virtual merger for maintaining at least two contact records as separate and linking the at least two contact records together, thereby marking the at least two contact records as representing the same user.
11. The system according to claim 7, and wherein: The vertical contact merger includes a virtual merger for maintaining anonymous users and users associated with registered users separate and linking the anonymous users and the users associated with registered users together, thereby marking the anonymous users and the users associated with registered users as representing the same user.
12. The system of claim 2, and wherein: The user permission field is at least one of determined by the website and determined by the website owner.
13. A method for collecting third-party application activity data, the method comprising: storing at least current contact information for a plurality of users of the website; receiving at least one activity message exchanged between the website and at least one third-party application embedded in the website; collecting contact-related information for at least one of: a user from the plurality of users, a new user, and an anonymous user from the at least one campaign message, and building a contact profile for the user, including merging at least two contact information records, wherein the records are associated with the same identified user and each include one or more primary ID fields having one or more values; and The collecting utilizes the contact profile to enhance the current contact related information to the database.
14. The method according to claim 13, and wherein: Receiving at least one activity message includes at least one of: identifying the user associated with the at least one activity message and creating an activity stream of data if no associated contacts exist; as well as Data from the at least one active message is merged into an existing stream, and data from at least two of the active streams is merged into a single stream.
15. The method according to claim 14, and wherein: Collecting contact-related information includes at least one of the following: extracting the contact-related information from at least one of: the at least one activity message, the activity stream, the current contact information for the contact, and an external source; merging the extracted contact-related information into the contact-related information of the existing contact according to a predefined merging rule; creating at least one of an identifiable new contact and an anonymous contact, and tracking contact activity during a session of the website; as well as Handles privacy protection and permissions for extracted contact-related information.
16. The method according to claim 13, and wherein: The method can be implemented on a client.
17. The method according to claim 13, wherein: The at least one third party application is at least one of: a social network, and an interface to a social network, an interface to social network messaging software, and an instant messaging system.
18. The method according to claim 14, and wherein: Extract the contact related information and save the extracted contact details under the newly created anonymous contact.
19. The method according to claim 13, and wherein: Merging at least two contact information records includes at least one of the following: performing at least one of: locating identical primary ID field values in at least two of the contact information records, locating identical primary key field values in at least two of the contact information records when normalized, identifying a site user utilizing a cookie, identifying a site user utilizing a site login for a registered user, and identifying a site user via a social login for a site user having an account associated with a social network; federating the contact information using at least one of linguistic, grammatical, textual analysis, and consultation with external data sources and services; Resolve conflicts between contact records based on pre-defined rules; creating a list value field to define a net precedence between said contact records; Merging two unrelated contacts due to a detected common primary ID; and The anonymous contacts and the contacts associated with the registered user are merged upon login or registration that can connect the anonymous contacts and the contacts associated with the registered user.
20. The method according to claim 14, wherein: Merging data from the at least one active message into an existing stream and merging data from at least two of the active streams into a single stream further includes merging the data into the stream associated with the identified user and merging at least two separate streams into a single stream.
21. The method according to claim 20, and wherein: Merging at least two separate flows into a single flow includes at least one of: merging the at least two separate flows according to an identified common user, and merging a flow created for the anonymous user and a flow associated with the registered user upon login or registration that enables connection of the anonymous user and the registered user.
22. The method according to claim 19, and wherein: Merging two unrelated users includes maintaining at least two contact records as separate and linking the at least two contact records together, thereby marking the at least two contact records as representing the same user.
23. The method according to claim 19, and wherein: Merging the anonymous contacts includes maintaining the anonymous user and the user associated with the registered user as separate and linking the anonymous user and the user associated with the registered user together, thereby marking the anonymous user and the user associated with the registered user as representing the same user.
24. The method according to claim 14, and wherein: The user permission field is at least one of determined by the website and determined by the website owner.
