Processing event streams using pattern recognition

By processing event streams with pattern recognition and contextual data, the system identifies user interactions to send timely web push messages, enhancing engagement and recovery of abandoned carts in online shopping, thus improving the online purchasing experience.

JP7576798B2Active Publication Date: 2024-11-01ORACLE INT CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021502785
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-01-28
Filing Date
2020-01-09
Publication Date
2024-11-01
Estimated Expiration
2040-01-09

AI Technical Summary

Technical Problem

Consumers interacting with online merchants in an ad hoc manner generate large amounts of online activity data, necessitating a system that can recognize patterns to provide timely and relevant communications, replacing physical store visits.

Method used

Processing event streams using pattern recognition to identify user interactions with progressive web applications, combining contextual data to generate web push messages based on recognized patterns.

Benefits of technology

Enhances user engagement by sending targeted web push messages at optimal times, recovering abandoned shopping carts, and improving online purchasing experiences without requiring native app downloads.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007576798000001
    Figure 0007576798000001
  • Figure 0007576798000002
    Figure 0007576798000002
  • Figure 0007576798000003
    Figure 0007576798000003
Patent Text Reader

Abstract

An embodiment processes an event stream using pattern recognition to communicate with a progressive web application. A stream of events representing a user's interactions with a web browser and a progressive web application can be received. The stream of events can be processed in combination with contextual data about the user. One of a plurality of predetermined patterns can be recognized within the stream of events. A web push message can be sent to the user's electronic device based on the recognized pattern, and content of the web push message can be generated based on the recognized pattern.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Field SUMMARY OF THE DISCLOSURE Embodiments of the present disclosure generally relate to processing event streams using pattern recognition to communicate with progressive web applications. [Background technology]

[0002] background As Internet commerce continues to expand, consumers are generating a large amount of online activity data related to real-world product or service offerings. Additionally, potential consumers interact with online merchants in an ad-hoc manner, for example, using mobile devices. As a result, the one-stop process of physical travel to a brick-and-mortar store is being replaced by a continuously available means to purchase goods or services. Thus, a system that can recognize patterns from a user's online behavior can provide timely and relevant communications to the user's electronic device, thereby improving the manner in which the user connects with online merchants. Summary of the Invention [Means for solving the problem]

[0003] overview Embodiments of the present disclosure generally relate to a system and method for processing an event stream using pattern recognition to communicate with a progressive web application. A stream of events representing a user's interactions with a web browser and a progressive web application may be received. The stream of events may be processed in combination with contextual data about the user. One of a plurality of predefined patterns may be recognized within the stream of events. A web push message may be sent to the user's electronic device based on the recognized pattern, and content of the web push message is generated based on the recognized pattern.

[0004] Features and advantages of the embodiments will be set forth in the description that follows, or will be obvious from the description, or may be learned by practice of the disclosure.

[0005] Further embodiments, details, advantages and modifications will become apparent from the following detailed description of preferred embodiments, which is to be read in conjunction with the accompanying drawings. [Brief description of the drawings]

[0006] [Figure 1] FIG. 1 illustrates a system for processing event streams using pattern recognition to communicate with progressive web applications, according to an exemplary embodiment. [Diagram 2] FIG. 2 illustrates a block diagram of a computing device operatively coupled to a system in accordance with an illustrative embodiment. [Diagram 3] FIG. 1 illustrates a system for processing event streams using pattern recognition in accordance with an illustrative embodiment. [Figure 4-1] FIG. 2 illustrates a diagram for generating web push messages based on a user's activity stream, according to an example embodiment. [Figure 4-2] FIG. 2 illustrates a diagram for generating web push messages based on a user's activity stream, according to an example embodiment. [Diagram 5] FIG. 2 illustrates a flow diagram for sending a web push message to a browser according to an example embodiment. [Figure 6] FIG. 1 illustrates a flow diagram for processing an event stream using pattern recognition to communicate with a progressive web application according to an exemplary embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Detailed Description The embodiments process the event stream using pattern recognition to communicate with a progressive web application. For example, a user may interact with a website using an electronic device, and the interaction may be accomplished through a progressive web application running on the electronic device. The progressive web application may be used to create an experience similar to that of a native application, without the need to download and store such a native application. In some embodiments, the progressive web application may include a service worker or script that runs along with the progressive web application.

[0008] While a user navigates a website, a stream of events may be generated based on the user's actions. For example, searches (e.g., of products and categories), viewing of product-specific pages, adding items to a cart, and any other suitable actions may be added to the stream of events. The stream of events may be received and processed to recognize patterns. For example, a number of patterns defined by one or more events may be predefined. One of the multiple patterns may be recognized in the stream of events when one or more events defining the pattern match the stream of events.

[0009] In some embodiments, the system may include contextual data, such as data about a user of the electronic device, data about the electronic device, and data associated with a geographic region, and a contextual criterion may be defined. For example, one of a plurality of patterns may be recognized in a stream of events when one or more events defining the pattern match the stream of events, and the contextual criterion may be satisfied when the contextual data defining the criterion matches the contextual data of the user / electronic device. In another example, one or more of the predefined patterns may include the contextual criterion in addition to one or more defined events. In this example, the patterns are matched to events generated by user interactions and associated contextual information.

[0010] In some embodiments, a web push message may be sent to the electronic device based on the recognized pattern. For example, the recognized pattern may indicate an opportunity to engage with a user of the electronic device. An example recognized pattern for an e-commerce website may be an abandoned cart. In this example, a web push message may be generated with content related to the abandoned cart, such as promotional or marketing materials related to products or services that were abandoned from the cart.

[0011] A predetermined pattern may indicate a user / visitor's intent. Thus, recognition of one of the predetermined patterns in a particular user's event stream may be used to correlate the intent associated with the predetermined pattern to the particular user. For example, a predetermined pattern resembling an abandoned cart may be associated with a discontinued or otherwise altered intent to purchase a product. In this example, an opportunity exists to engage (or re-engage) with the particular user to recover this initial intent. For example, a user's intent may be influenced by price, so that a promotion may persuade the user to purchase the product. Other actions may affect the user as well. Thus, recognition of a predetermined pattern in a user's event stream may be used to correlate intent (e.g., intent associated with the recognized predetermined pattern) to the user, and thus actions may be taken based on this intent, as described further herein.

[0012] In some embodiments, the recognized patterns and / or contextual information may further indicate a timing for sending a web push message. For example, an analysis of a user's online behavior may indicate a tendency to browse products at one time of the day (e.g., during normal workday hours) and purchase products at another time of the day (e.g., during weekday lunch or after normal work hours). As a result, a web push message may be sent at a time corresponding to the user's tendency to purchase products. An embodiment may use a browser / service worker / progressive web application to display a web push notification corresponding to the web push message on a display of the user's electronic device. For example, a service worker (e.g., a script) may be executed in conjunction with the progressive web application, and the service worker may be used to display the web push notification.

[0013] A progressive web application ("PWA") refers to a web application that loads like a normal web page or website, but functions like a native application, for example by providing offline web pages, web push notifications, and improved load times. For example, a PWA may be installable and may reside on a user's home screen (e.g., without the need for an app store). A PWA may provide an immersive, full-screen experience, delivering the rapid experience of a native application to a much larger audience on the web. Functionality for such applications may be achieved using a variety of web technologies and / or frameworks. Examples of various web technologies and / or frameworks include Angular (Angularjs), React, Vue.js, Ember.js, Java Server Pages ("JSP"), Hypertext Preprocessor ("PHP"), ASP.net, Hypertext Transfer Protocol ("HTTP") 5.0, Cascading Style Sheets ("CSS") and related frameworks, JavaScript, and any other suitable web technologies and / or frameworks. PWAs may further include a manifest file that is loaded onto the user / visitor's electronic device, such as a JavaScript Object Notation ("JSON")-based manifest file that provides a centralized location for metadata. In some implementations, PWAs may leverage secure protocols (e.g., HTTPS) and application shell architectures to deliver a native application experience.

[0014] An embodiment of the PWA further includes / operates with a service worker that may act as a network proxy in a web browser to manage requests (e.g., HTTP requests or other web requests). For example, the service worker may be downloaded / configured / installed when a user's electronic device accesses a website. In some embodiments, to realize a service worker for a website, the service worker may be registered, for example, in the website's JavaScript. For example, by registering the service worker, the web browser may download / configure / install the service worker (e.g., in the background). This may establish a connection between the website / PWA's JavaScript and the service worker.

[0015] In some embodiments, content for a web push notification may include an interface for engaging with a user. For example, in the abandoned cart example, a web link (e.g., a uniform resource locator ("URL")) that can be used to purchase the abandoned product may be included with the web push notification. In other examples, recognized patterns may indicate other content or techniques for engaging with the user, and these items may be included in the associated web push notification.

[0016] Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the embodiments. Wherever possible, like reference numbers are used for like elements.

[0017] FIG. 1 is a system for processing event streams using pattern recognition to communicate with progressive web applications, according to an example embodiment. As shown in FIG. 1, system 100 includes commerce cloud client 102, commerce cloud server 104, event hub 106, stream analytics 108, coherence data 110, data lake 112, push messaging server 114, and database 116. In some embodiments, commerce cloud client 102 may include software executing in a web browser of an electronic device, such as a component of a progressive web application. An example of a web browser may include Chrome® or other suitable web browsers that run progressive web applications. Examples of other suitable web browsers include Opera, Firefox®, Microsoft Edge®, Samsung Internet, or any other suitable commercially available browser. Embodiments include service workers or software scripts that run in conjunction with a progressive web application that can be used to provide functionality such as displaying web push notifications. For example, a service worker can be JavaScript code that runs to enhance the functionality of a progressive web application.

[0018] In some embodiments, a user may interact with an electronic device to access a website using a commerce cloud client 102. For example, a user may navigate a website by performing various actions, such as, for example, viewing different web pages or portions of web pages, searching for content, and adding items to a cart. An implementation includes a commerce cloud client 102 running as a single-page application ("SPA") within a web browser. In some embodiments, a commerce cloud server 104 may implement the website that a user accesses using an electronic device. For example, the commerce cloud server 104 may host the website and communicate with the commerce cloud client 102.

[0019] In some embodiments, the commerce cloud server 104 may communicate with (or include) an event hub 106. The event hub 106 may build (consume and pipeline) a stream of events that represent actions taken by users as they navigate a website using the commerce cloud 102 (e.g., and / or electronic devices, web browsers, and service workers, etc.). For example, the stream of events may include a timestamp, and each event may be added to a data structure that holds previous events to build (pipelinize) the stream.

[0020] In some embodiments, the Event Hub 106 may be an Oracle® Event Hub Cloud Service ("EHCS"). For example, the Commerce Cloud Server 104 may represent a storefront endpoint that may contain data annotated with metadata. In some embodiments, the framework may provide functionality such as creating a message (e.g., in the Event Hub 106), serializing the message, posting the message to a number of Kafka topics, directing the stream of event data to a Kafka broker endpoint (e.g., exposed by the Event Hub 106), and consuming a new Kafka topic configuration to receive this incoming streaming data.

[0021] In some embodiments, the event hub 106 may access the database 116 in constructing the stream of events. The database 116 may be an operational database associated with the commerce cloud server 104. For example, the database 116 may store data such as orders, products, promotions, and user profiles. The database 112 may be a big data lake associated with the commerce cloud server 104. The database 112 may store data such as page views, search events, and site visits (e.g., high volume data not stored in the database 116).

[0022] Stream analytics 108 may receive the constructed stream of events and may further process the stream to recognize patterns. In some embodiments, stream analytics 108 may register as a consumer of the event stream constructed (or pipelined) by event hub 106. Multiple patterns defined by one or more events may be predefined and these patterns may be accessed by stream analytics 108. One of the multiple patterns may be recognized in the stream of events when one or more events that define the pattern match the stream of events.

[0023] In some embodiments, the system may include contextual data, such as data about a user of an electronic device, data about the electronic device, and data related to a geographic region, for which contextual criteria may be defined. For example, coherence data 110 and / or data lake 112 may store contextual data that may be accessed by stream analytics 108 to perform pattern recognition and other analysis. The contextual data may include first party data, third party data, forecast or prediction data (e.g., predicted weather data), or any other suitable contextual data.

[0024] In some embodiments, a user / visitor may be associated with a visitor identifier, such as a visitor ID. Such a visitor ID may be assigned by an identification service, such as the Oracle® Commerce Cloud Service Visitor ID Service. Contextual data about a particular user / visitor may be extracted using the corresponding visitor ID. For example, the visitor ID may be used as a reference to look up profiles, audiences, or RFM (recency, frequency, monetary value) clusters, etc. in data stores (e.g., Big Data Cloud Services, NoSQL historical data stores, and Oracle® Coherence In-Memory Data Grids, etc.) for contextual information (e.g., data stores that hold history of visit / search / page view events may be striped by visitor ID and visitor ID values).

[0025] In some embodiments, one of the multiple patterns may be recognized in the stream of events when one or more events that define the pattern are matched with the stream of events, and the context criteria may be met when the context data that defines the criteria matches context data from a user, an electronic device, a geographic region, or a related entity / situation (e.g., an entity / situation to which the context data pertains, or a similar set of situations). In another example, one or more of the predefined patterns may include context criteria in addition to one or more defined events. In this example, these patterns are matched to a stream of events generated by a user and associated context information (e.g., the recognized pattern may be a context stream pattern).

[0026] Once a pattern is recognized in the stream of events, Stream Analytics 108 can communicate with Commerce Cloud 104 to generate an action in response to the recognized pattern. For example, Stream Analytics 108 can invoke a REST API target / endpoint on Commerce Cloud 104 that can generate a web push message / display a web push notification (in conjunction with Push Messaging Server 114).

[0027] Embodiments include generating a web push message for transmission to an electronic device associated with the user. For example, content for a web push notification corresponding to the web push message may include an interface for engaging with the user based on the recognized pattern. For example, in the abandoned cart example, a web link (e.g., a URL) that can be used to purchase the abandoned product may be included in the web push notification. In other examples, the recognized pattern may indicate other content or techniques for engaging with the user, and these items may be included in the associated web push notification. In some embodiments, other actionable content that may be generated for a web push message and displayed by a corresponding web push notification, e.g., based on a recognized pattern, includes a web link that may be used to add the product to a wishlist, a web link that may be used to register for a service (e.g., a premium service), a click-to-chat link (e.g., configured to generate a chat with a customer service representative or a chatbot), a click-to-call link (e.g., that may be clicked on a mobile device to place a call), a free sample offer (e.g., a form / web link that may be filled out to receive a free offer), one or more links to perform a product review, content providing shipping options, content regarding frequently asked questions, etc.

[0028] In some embodiments, the recognized patterns and / or contextual information may further indicate a timing for sending a web push message. For example, an analysis of a user's browsing actions may indicate a tendency to view products at certain times of the day (e.g., during normal workday hours) and purchase products at other times of the day (e.g., during weekday lunch or after normal work hours). As a result, a web push message may be sent (or scheduled for transmission) at a time that corresponds to the user's tendency to purchase products.

[0029] In some embodiments, commerce cloud 104 may, for example, instruct push messaging server 114 to send a web push message to commerce cloud client 102 (e.g., an electronic device, a web browser, and a service worker, etc.) at a determined time. A corresponding web push notification may then be displayed by the electronic device (which may be accomplished by a service worker in some examples). In some embodiments, commerce cloud client 102, commerce cloud server 104, event hub 106, stream analytics 108, coherence data 110 (e.g., Oracle® Coherence In-Memory Data Grid), data lake 112, and database 116 may be implemented using Oracle® products or services.

[0030] 2 is a block diagram of a computer server / system 210 according to an embodiment. All or portions of the system 210 may be used to implement any of the elements shown in FIG. 1. As shown in FIG. 2, the system 210 may include a bus device 212 and / or other communication mechanisms configured to communicate information between various components of the system 210, such as a processor 222 and a memory 214. Additionally, a communication device 220 may enable connectivity between the processor 222 and other devices by encoding data transmitted from the processor 222 to another device over a network (not shown) and decoding data received from another system over the network for the processor 222.

[0031] For example, the communication device 220 may include a network interface card configured to provide wireless network communication. A variety of wireless communication technologies may be used, including infrared, radio, Bluetooth, Wi-Fi, and / or cellular communication. Alternatively, the communication device 220 may be configured to provide a wired network connection, such as an Ethernet connection.

[0032] The processor 222 may include one or more general-purpose or special-purpose processors for performing the computational and control functions of the system 210. The processor 222 may include a single integrated circuit, such as a microprocessing device, or may include multiple integrated circuit devices and / or circuit boards that operate in cooperation to accomplish the functions of the processor 222. Additionally, the processor 222 may execute computer programs, such as the operating system 215, the streaming processing module 216, and other applications 218, that are stored in the memory 214.

[0033] The system 210 may include a memory 214 for storing information and instructions for execution by the processor 222. The memory 214 may include various components for extracting, presenting, modifying, and storing data. For example, the memory 214 may store software modules that provide functionality when executed by the processor 222. The modules may include an operating system 215 that provides operating system functionality for the system 210. The modules may include the operating system 215, a streaming processing module 216 configured to perform analysis of received event stream data, and other application modules 218. The operating system 215 provides operating system functionality for the system 210. In some cases, the streaming processing module 216 may be implemented as an in-memory configuration. The system 210 is implemented as a non-conventional specialized computer system that performs the functions disclosed herein when the streaming processing module 216 executes its functions.

[0034] The non-transitory memory 214 may include a variety of computer-readable media that may be accessed by the processor 222. For example, the memory 214 may include any combination of random access memory ("RAM"), dynamic RAM ("DRAM"), static RAM ("SRAM"), read only memory ("ROM"), flash memory, cache memory, and / or any other type of non-transitory computer-readable medium.

[0035] The processor 222 is further coupled to a display 224, such as a Liquid Crystal Display ("LCD"), via the bus 212. A keyboard 226 and a cursor control device 228, such as a computer mouse, are further coupled to the communication device 212 to enable a user to interface with the system 210.

[0036] In some embodiments, system 210 may be part of a larger system. Thus, system 210 may include one or more additional functional modules 218 to include additional functionality. Other application modules 218 may include, for example, various modules of Oracle® Commerce Cloud Service ("OCCS"), Oracle® Golden Gate, Oracle® Big Data Cloud Service ("BDCS"), Oracle® Analytics Cloud, Oracle® Stream Analytics ("OSA"), Oracle® Event Hub Cloud Service ("EHCS"), and / or Apache Kafka systems. Database 217 provides centralized storage for modules 216 and 218 and is coupled to bus 212 to, for example, store data received from various devices. Database 217 may store data in an integrated collection of logically related records or files. Database 217 may be an operational database, an analytical database, a data warehouse, a distributed database, an end-user database, an external database, a navigational database, an in-memory database, a document-oriented database, a real-time database, a relational database, an object-oriented database, a non-relational database, a NoSQL database, a Hadoop distributed file system ("HFDS"), or any other database known in the art.

[0037] Although shown as a single system, the functionality of system 210 may be implemented as a distributed system. For example, memory 214 and processor 222 may be distributed across multiple different computers that collectively represent system 200. In one embodiment, system 210 may be part of a device (e.g., a smartphone, a tablet, a computer, etc.). In one embodiment, system 210 may be separate from the device and may provide the disclosed functionality remotely to the device. Furthermore, one or more components of system 210 may not be included. For example, in function as a user or consumer device, system 210 may be a smartphone or other wireless device that includes a processor, memory, and a display, does not include one or more of the other components shown in FIG. 2, and includes additional components not shown in FIG. 2, such as an antenna, a transceiver, or any other suitable wireless device components.

[0038] Various embodiments may include a wireless device that executes a mobile browser capable of displaying progressive web applications. For example, the wireless device may be an electronic device that is a portable communication device such as a mobile phone, a smart phone, a tablet, and the like. The user interface for the device may include a touch screen and / or other input / output devices. However, it should be understood that the user interface and associated methods may be applied to other devices such as personal computers and laptops that may include one or more other physical user interface devices such as a keyboard and / or a mouse, or any other suitable user interface device. The electronic device may support a variety of applications such as an Internet browser, a text messenger, an experience management, and a variety of other applications. The various applications that may be executed on the electronic device may use at least one common physical user interface device. Furthermore, the common physical architecture of the electronic device may support a variety of applications with an intuitive and transparent user interface.

[0039] Referring again to FIG. 1, an embodiment includes a commerce cloud client 102 and a commerce cloud 104 that provide progressive web application functionality. For example, the commerce cloud client 102 may include a service worker or script that executes on the electronic device to provide a progressive web application experience. For example, the commerce cloud client 102 may execute with a web browser, such as Google® Chrome. The commerce client 102 and / or the web browser may communicate with the commerce cloud 104 to enable a user to navigate a website hosted by the commerce cloud. While navigating the website, the user may utilize the web browser and commerce client 102 to view various portions of the website, such as different web pages (e.g., product web pages, etc.), search the website, etc. In some embodiments, a PWA may be layered on the commerce cloud client 102. For example, a progressive web application may be installed or loaded from a website enabled by the commerce cloud 104 (e.g., when the user / electronic device first visits the website) and then executed with the web browser.

[0040] In some embodiments, the commerce cloud 104 may communicate with (or include) an event hub 106, which may build (consume and pipeline) streams of events from user actions on web pages. For example, the event hub 106 may implement a cloud-based and managed Apache Kafka ecosystem. For example, the Kafka system may include producer elements and consumer elements, where producer elements may generate streams of events and consumer elements may subscribe to and consume these event streams. The Kafka ecosystem may further include stream processing elements that may receive streams of events for processing, such as transformation, repackaging, and analysis (e.g., pattern recognition). Each of the Kafka producer elements, consumer elements, and stream processing elements may communicate with each other based on an element-specific application programming interface ("API").

[0041] In some implementations, Kafka producer elements may implement topics that can be used to organize event streams and may further implement partitions that can be used to further organize / structure these event streams. Kafka consumer and stream processing elements may subscribe to certain topics and / or partitions.

[0042] Embodiments provide a real-time streaming data pipeline where ingest can be managed using Kafka message queues / conduits (e.g., in Oracle® Event Hub Cloud Services), pattern recognition using Oracle® Stream Analytics, and visitor / user communications using Progressive Web technologies. Insight into shopper context can be supported by a session-scoped persistence layer such as the Oracle® Coherence Data Cache, along with Oracle® Big Data Cloud Services and its associated big data connectors (e.g., Golden Gate Big Data Kafka Handler, etc.).

[0043] 3 illustrates a system for processing event streams using pattern recognition according to an example embodiment. The system may include functionality of an event hub 106, a database 116, stream analytics 108, coherence data 110 / data lake 112, commerce cloud 104, and / or a push messaging server 114. For example, system 300 may represent a Kafka ecosystem that includes event producer elements, ingestion elements, stream processing elements, and elements that may take action based on the functionality of previous Kafka elements. An embodiment of the Kafka ecosystem may include a low latency, high throughput, scalable, and decoupled message broker.

[0044] The devices and gateways 302 may include electronic devices, network components such as gateways, and any other suitable devices. The applications 304 may include software applications that may receive / generate events for publication to an event stream, and may further include microservices. The real-time transactions 306 may include software elements, such as databases, that may publish real-time transactions as a stream. Each of these elements may serve as an input for a Kafka producer. For example, one or more of database transaction logs, sensor data, social media data, clickstreams or web activity (e.g., for users of electronic devices), or geolocation data may be used to generate a stream of events.

[0045] The event hub 308 may be used to ingest data from producers to build streams of events. For example, the event hub 308 may filter, aggregate, transform, correlate, and / or geofence data from producers to build (consume and pipeline) streams of events. In some embodiments, the event hub 308 receives input from one or more of the devices and gateways 302, applications 304, and real-time transactions 306, and builds Kafka topics and partitions that are used to build event streams in the Kafka ecosystem. For example, one or more of the devices and gateways 302, applications 304, and real-time transactions 306 may be Oracle® Cloud Commerce client-generated elements.

[0046] In some embodiments, clients generating events of interest (such as page views and searches) may generate data that conforms to a standard or protocol (e.g., the (Apache) Avro schema). For example, the Avro schema may be defined using JSON, and Jackson (a Java library for handling tasks such as reading and writing (parsing / generating) and data binding to Java objects) may convert the JSON objects into the generated Avro schema classes. These generated Avro schemas may then be serialized into byte arrays and sent as the payload of Kafka messages. Any other suitable data formats and functional elements (e.g., Jackson alternatives) may be implemented.

[0047] In some embodiments, data may be placed on a Kafka topic (e.g., shared between Kafka components such as OCCS and EHCS). For example, data may flow from OCCS to EHCS via a Kafka topic defined and configured in EHCS. An OCC REST endpoint may call into the code that serializes the data into a message to be placed on that topic. In some embodiments, data may be deserialized (the reverse process) at the point of consumption.

[0048] In some embodiments, the visitor ID may be associated with a particular user / visitor / electronic device (e.g., via an identity service). For example, a user may be assigned a visitor ID value by the OCCS visitor ID service. In some embodiments, the visitor ID may be passed to the event hub 308 or other Kafka ecosystem components (e.g., via Kafka messaging). For example, the visitor ID may be used to access a data store (e.g., a data lake) to extract data (e.g., contextual data) about the user / visitor / electronic device. Based on this extracted data, different actions may be taken. For example, if the data indicates that an amount spent by the user / visitor / electronic device over a period of time meets a first threshold (e.g., more than $100), a first promotion may be included in the push message (e.g., 10% off), and if the data indicates that an amount spent over that period of time meets a second threshold (e.g., more than $200), a second promotion may be included in the push message (e.g., 20% off). Other embodiments may include other examples where actions taken (eg, push messages generated) may be based on this extracted data.

[0049] In some embodiments, one or more event producers may include Oracle GoldenGate Big Data Handler for Kafka, where updates to database records (e.g., orders and user profiles) may be replicated in real time to Kafka components such as Event Hub 308. In the context of Kafka, Oracle GoldenGate provides a mechanism for streaming changes made to a table (or set of tables) and making them available to other components / processes in the pipeline. In some embodiments, Event Hub 308 may be Oracle Event Hub and / or Oracle Stream Analytics Service, or any other suitable component of a Kafka enterprise system.

[0050] Stream Analytics 310 may be used to analyze the constructed stream of events to perform additional processing. For example, Stream Analytics 310 may be a Kafka stream processing element. In some embodiments, Stream Analytics 310 is implemented using Oracle® Event Hubs and / or Oracle® Stream Analytics. Embodiments include using Stream Analytics 310 to perform pattern recognition within the constructed stream of events. For example, a number of predefined patterns may be defined, and Stream Analytics 310 may analyze the constructed stream of events to recognize the predefined patterns within the stream.

[0051] Exemplary predefined patterns that may be used to determine intent may include predefined associations or event relationships. For example, predefined patterns may include event associations such as 'A' followed by 'B', 'A' not followed by 'B', Detect Missing Event, Geo Code or Reverse Geo Code: Near by, Geo Fence Proximity, Geo Filter, Detect Duplicates, and other suitable patterns. A predefined pattern having an 'A' followed by 'B' association may include event definitions for an 'A' event and a 'B' event, such as an 'A' event that adds a product to a cart and a 'B' event that removes a product from a cart. Other "A" followed by "B" examples may include searching for a product or category and then browsing to a product-specific web page; searching for a product and then searching for a specific variation of that product; canceling an order after being notified of a shipping delay; adding a product to a cart and triggering an inventory check that determines that the item is in stock at a nearby store;

[0052] Predefined patterns with "A" not followed by "B" associations may also include event definitions for "A" and "B" events, such as an "A" event that adds a product to a cart and a "B" event that does not include checking out the cart (e.g., confirming an order). Other "A" not followed by "B" examples may include searching for a particular product or category and then not viewing any particular product detail page, navigating to the lowest level of a product category but not viewing any particular product detail page, searching for a product that a user previously purchased but not adding the product to the cart, having an item in the cart but not checking out, checking out an order but not eligible for free shipping based on the total amount of the order, checking out an order but not eligible for a promotion, etc.

[0053] A given missing event pattern may define a sequence of events, and the missing event pattern may be recognized if one of the defined events is missing, such as searching for a product or category and adding the product to the cart, but not checking out (e.g., confirming the order). Other missing event patterns may include adding a product to the cart and checking out, but encountering a payment authorization failure (or some other failure) where the order is not submitted / processed, repeatedly viewing product-specific pages without the product being added to the cart, etc.

[0054] Geocode or Reverse Geocode: Nearby, Geofence Proximity and / or Geofilter patterns may define event associations involving location information, such as viewing a product-specific page within a geofence of a brick-and-mortar store. Other location-related patterns may include searching for a product or category within a geofence of a brick-and-mortar store, adding a product to a cart, and the product being in stock at a nearby brick-and-mortar store.

[0055] The change detector pattern, uptrend pattern, and / or downtrend pattern may define an event association for a change in the value of a data point for which a change may be detected, an uptrend may be detected, or a downtrend may be detected. Exemplary events may include an increase or decrease in the number of searches performed, an increase or decrease in the number of user visits (e.g., visits to a given website over a period of time), an increase or decrease in the amount of money spent by users on a website (e.g., dollar amount spent over a period of time), etc. Other exemplary data points for which a change or trend may be detected are transaction type (e.g., a change to the number of online order-in-store pickup transactions or drop-ship-to-customer transactions), the number of returns, etc.

[0056] In some embodiments, these patterns may be combined (e.g., in a pipeline) such that a defined pattern may include any combination of the above patterns, including, but not limited to, an "A" followed by a "B" pattern combined with a location-based pattern, multiple "A" followed by "B" patterns (or multiple repetitions of any of the patterns), a missing event pattern combined with a location-based pattern, etc.

[0057] In some embodiments, a number of events may occur during, for example, an "A" followed by a "B" pattern of events. Nevertheless, a given pattern may be recognized in the event stream. For example, for a pattern that includes "A" and "B" events of adding and removing a product from a cart, the intervening events may include viewing different product pages, adding and / or removing other products from the cart, performing searches, etc. In this example, the "A" followed by "B" pattern is recognized in the event stream of intervening events. Other patterns may be recognized in the presence of intervening events as well.

[0058] In some embodiments, the recognized patterns may be used to provide relevant information to internal systems / entities. For example, real-time information may be provided to various teams (e.g., customer experience, customer engagement, and marketing, etc.) regarding products that were viewed or searched for but not purchased by the user / visitor in the last visit (or X number of visits).

[0059] In some embodiments, intent may be determined using contextual data about the electronic device or a user of the electronic device. For example, this contextual data may include past online shopping behavior (e.g., past product purchases, frequency of purchases, and frequency of taking advantage of promotions, etc.), past products viewed (e.g., over a 30-day window), past searches, geolocation history, device type (e.g., mobile device, laptop, desktop), day of the week / month and / or time of day behavior (e.g., day of the week / month and / or time of day that the user typically submits an online purchase versus day of the week / month and / or time of day that the user typically views or browses), weather history (e.g., current or expected / forecasted weather), and user demographic information, etc.

[0060] In some embodiments, context criteria may be used in addition to the recognized predefined pattern. For example, when a pattern is recognized in a stream of events, context data for the corresponding user may be compared to the context criteria. The context criteria may be based on the recognized pattern. For example, if the pattern indicates repeated viewing of a product, the context criteria may relate to the frequency with which the corresponding user takes advantage of a promotion (e.g., purchases a product with a promotion). If the frequency meets the context criteria (e.g., if the user regularly purchases a product with a promotion), a corresponding action may be taken (e.g., a web push message / notification with a promotion for the repeatedly viewed product may be provided to the user).

[0061] In a similar pattern example, the context criteria may relate to the user's location and whether a physical store that has the product in stock is nearby. If a store that has the product in stock is nearby (e.g., if the context data meets the criteria), a corresponding action may be taken (e.g., a web push message / notification may be provided to the user directing them to utilize the product's inventory at that store).

[0062] In an example where the pattern represents a cart from which a product has been removed, the context criteria may include the user's past transaction history with the product. For example, if the user has previously purchased the product (e.g., if the context data meets the criteria), a corresponding action may be taken (e.g., a web push message / notification may be provided to the user with a web link to purchase the product). In another example, if the user has not previously purchased the product (e.g., if the context data meets a second criterion), a second corresponding action may be taken (e.g., a web push message / notification may be provided to the user with a web link to purchase the product and a discount based on a first purchase).

[0063] In some embodiments, the contextual data may be used to define a predefined pattern. For example, the defined pattern may include user / electronic device contextual information, such as a predefined pattern including an order history indicating repeated purchases of a product and an event stream including product views. In another example, the predefined pattern may include products of interest to the user, which are eligible for promotion. In this example, products may be determined to be of interest to the user based on the user's contextual online shopping behavior (e.g., based on the user's previous orders, searches, product views, and determined interests, etc.).

[0064] Based on the processing and analysis performed by stream analytics 310, one or more actions may be performed. For example, module 314 may perform real-time business intelligence functions or store relevant / insightful data in a data lake. Additionally, module 316 may perform interactions with electronic devices / users. For example, module 316 may send web push messages to electronic devices based on recognized patterns in a stream of events associated with the electronic device and / or contextual data associated with a user of the electronic device that meets contextual criteria.

[0065] Embodiments may achieve the disclosed functionality using many technologies, frameworks, standards, and implementations. For example, for stream processing, the Apache Kafka Streams API may be leveraged. Additionally, Apache Flink may be used for streaming and batch processing in high throughput low latency mode. To analyze / process Kafka streams, Confluent's KSQL, a streaming SQL engine that enables real-time data processing for Apache Kafka, may be used. Apache Spark streaming from (Databricks) is a scalable, fault-tolerant streaming processing system that natively supports both batch and streaming workloads.

[0066] Oracle® Big Data SQL (“BDSQL” BigData SQL) can query across Kafka topics (e.g., in flight data) and persistent data (e.g., in Oracle® relational databases, NoSQL data stores, and Hadoop data lakes). Additionally, SQL pattern matching capabilities in the Oracle® 12c database can be used to enhance or in place of Oracle® Streaming Analytics pattern matching. Embodiments can further recognize patterns in sequences of events using SQL, for example, by treating the sequence as a stream of rows and using rows in the stream to represent events. An embodiment of the Oracle 12c database incorporates a MATCH_RECOGNIZE clause into the analytic function syntax to improve pattern matching from SQL. Additionally, Oracle® Sparkline can be used (e.g., at scale) with / in place of Data Lake Business Intelligence.

[0067] In some embodiments, content for a web push message / notification may be generated based on the recognized pattern and / or contextual data. For example, the web push notification may include promotions for a particular product, free shipping on the cart or if a certain threshold is reached by the cart, free shipping based on timing of cart checkout (e.g., checkout today), etc. In another example, the recognized pattern and / or contextual data may relate to a location for the user / electronic device, and thus the web push notification may include an indication that a particular product is in stock near the user, promotions for buy online pick up in store transactions, other promotions based on location. Other content for the web push notification may include an indication that the user has loyalty points to redeem, a web link that can be used to purchase a product, such as a product discarded from the cart, etc.

[0068] In some embodiments, the recognized pattern may indicate products that were searched for / viewed / visited but not purchased (e.g., in the user's last visit or last X visits). In this example, a positive product review for one of these indicated products may be included in the web push notification. In another example, the pattern may indicate a returning high-value shopper, and the content for the web push notification may include "Welcome back! We value doing business with you! Take this discount offer XXX." In another example, the recognized pattern may indicate a user (e.g., an anonymous user) that browses a product category but typically does not order that product (e.g., based on historical analysis). In this example, the anonymous user may be profiled as a "window shopper," and the content for the web push notification may include a product page (e.g., a web link) for sale. In some embodiments, the timing (or scheduled timing) for sending the web push message may be determined based on the recognized pattern and / or the contextual data.

[0069] The embodiments may be implemented for a merchant's e-commerce web presence, such as a website. Consider a visitor to the merchant's website (e.g., using OCCS with the OCCS client configured as a progressive web application). The visitor's consent and opt-in to receive push notifications from the site may be extracted based on messaging to the visitor's electronic device. For example, opt-in may be secured initially based on messaging, and then based on this initial opt-in, a web push message may be sent to the user / electronic device. In some embodiments, opt-in must be secured before the visitor's electronic device can receive a push message. Then, based on a predetermined detection pattern of the visitor's behavioral events (e.g., intent) and the visitor's context (e.g., past behavior, geolocation, device, audience, time of day, weather, demographics, etc.), one or more relevant marketing / retargeting / service-oriented web push messages may be sent to the visitor's electronic device. The visitor's electronic device may be configured to display such notifications (e.g., in a mobile web browser in real time). Such functionality can help merchants avoid missed opportunities, reduce friction with the shopping experience, and provide other tangible benefits that come from better understanding visitor intent through behavioral analytics.

[0070] For example, the opportunity loss may be a context stream pattern where a visitor searches for a product or category on a site, adds a product to a cart, and then removes the product from the cart. This may be similar to the flow in a brick-and-mortar store where the customer physically picks up the product, checks it, and returns it (in some cases, this interaction may be captured by a sensing device such as a camera). In this example, the intervention action (by push notification) may be performed without the need for a native mobile application, for example, when a progressive web application is realized by a merchant / cloud service provider. The embodiment includes a progressive web application that provides utility similar to traditional applications that are natively installed, including offline web pages, web push notifications, and improved load times. However, because the progressive web application does not need to be downloaded / installed on the device itself, an improved online experience is provided that is more likely to be adopted by the user / visitor.

[0071] Web push messages / notifications may be selectable (clickable) messages that may be sent to the user / visitor / subscriber's browser and may appear next to the taskbar (or within the display of a mobile device). These messages / notifications may be "browser-based," meaning that they are accessible across different platforms and devices. Furthermore, whether a user is connected through a mobile device, tablet, or desktop, web push messages / notifications may reach those devices in real-time. Furthermore, web push notifications may be displayed when a web browser is browsing any website. In some embodiments, web push notifications may include selectable actions such as hyperlinks and rich media. Web push messages / notifications may be particularly effective because they may be delivered succinctly and in real-time, for example, to improve user engagement and customer retention.

[0072] In some embodiments, the progressive web application may be executed with a client such as the commerce cloud client 102 of FIG. 1. When a user / visitor visits an OCCS site, they may opt-in to receiving web push messages / notifications. A service worker (along with a manifest file) may be installed on the user / visitor's electronic device when the electronic device visits the website (or the service worker may have been previously loaded the first time the electronic device visited the website). Web push messages / notifications may then be received and displayed based on the opt-in and use of the service worker. FIG. 4 illustrates a flow diagram for generating web push messages based on a user's activity stream, according to an exemplary embodiment. In one embodiment, the functionality of FIG. 4 (as well as FIGS. 5 and 6 below) is implemented by software stored in memory or other computer-readable or tangible medium and executed by a processor. In other embodiments, the functions may be performed through the use of hardware (e.g., an application specific integrated circuit ("ASIC"), a programmable gate array ("PGA"), a field programmable gate array ("FPGA"), etc.), or any combination of hardware and software. In an embodiment, the functions of FIGS. 4-6 may be performed by one or more elements of system 100 of FIG. 1 or system 210 of FIG. 2.

[0073] The opt-in notification 402 may be displayed on the user electronic device, for example, when the user loads the website using a web browser. The user may select an option to opt-in to receiving notifications, such as web push messages. Additionally, the timing of the opt-in display may be configured, for example, when the user shows some interest in the website (e.g., after navigating to a number of web pages, or after browsing the website for a threshold amount of time, etc.). In some embodiments, the service worker may be downloaded / installed / configured on the user's electronic device (e.g., configured together / with the commerce cloud client 102) when the user / electronic device visits the website (or the service worker may have been previously loaded when the user / electronic device first visited the website). On the electronic device, the user may continue to browse the website, which in some embodiments may be hosted by a cloud service (e.g., the commerce cloud service 104 of FIG. 1).

[0074] A user may use a web browser to perform a search 404, such as a search for a product (e.g., jewelry). After viewing the search results, the user may select a product, such as a ring, for viewing, and the web browser may then load a product page 406. In the example shown, the user may then add the corresponding product to a cart or basket, generating a filled cart 408. In the example shown, the user may then remove the corresponding product from the cart or basket, arriving at an empty cart 410.

[0075] In some embodiments, a user's interactions with a website represent the user's web activity. As described herein, this web activity may be used to construct a stream of events that may be further processed and analyzed. For example, one of a number of predefined patterns may be recognized in the user's event stream. A predefined pattern 112 may be defined as A followed by B, where A represents an action of adding a product to a cart and B represents an action of removing a product from the cart. In this example, the addition of a product that creates a filled cart 408 and the subsequent removal of the product that leads to an empty cart 410 may match the definition of a predefined pattern 412, and thus such predefined pattern 412 may be recognized in the user's event stream.

[0076] As a result, a web push message may be sent to the user's device that includes content related to the product that was added and then removed from the cart. For example, a web push notification 414 that includes a promotion for the related product may be displayed on the user's device based on the received web push message.

[0077] In some embodiments, the timing for the transmission may be based on recognized patterns and / or contextual data about the user. For example, analysis of contextual data (e.g., online behavior) about the user may indicate a tendency to view products at certain times of the day (e.g., during normal workday hours) and purchase products at other times of the day (e.g., during weekday lunch or after normal work hours). As a result, the web push message may be sent at a time that corresponds to the user's tendency to purchase products. In some embodiments, the timing for the web push message is based on the user's location because a pattern is recognized or a contextual criterion is met when the user / electronic device is in a certain location.

[0078] 5 shows a flow diagram for sending a web push message to a browser according to an example embodiment. For example, the functionality of FIG. 5 can be used to send a web push message corresponding to web push notification 414 of FIG. 4.

[0079] The user's electronic device may include a browser 502 that may run with a software client (e.g., a cloud client) and may interact with a progressive web application. For example, after a user opts in to a service, a subscription may be created with a push messaging server 504 using the browser 502. The subscription details may include a public key, an authentication secret, and an endpoint (e.g., a URL to send messages). In some embodiments, the push messaging server 504 may be Firebase Cloud Messaging Service or any other suitable messaging service. The subscription information may be communicated from the push messaging server 504 to the browser 502, which may then communicate this subscription information to a cloud service provider 506. After visiting the website / PWA, a service worker may be loaded to further interact with the browser 502. For example, upon recognizing contextual information that meets a pattern and / or contextual criteria for the user, the cloud service provider 506 may send a web push message to the browser 502 via the push messaging server 504. For example, a web push notification corresponding to the web push message may be displayed by the display 508 of the user's electronic device.

[0080] In some embodiments, a notification may be a message displayed to a user outside of a normal user interface of an application such as a browser. A push message may be a message sent from a server to a client. A web push notification may be a notification generated in response to a push message. A notification API may be an interface used to configure and display notifications to a user (e.g., on the user's electronic device). A push API may be an interface used to subscribe an application such as a PWA to a push service and to receive push messages at a service worker. Web push (or web push messaging) may be an informal term that refers to one or more processes or components involved in the process of pushing messages from a server to a client on the web. A push service may be a system for routing push messages from a server to a client. For example, each browser may implement its own push service. The web push protocol describes how an application server or user agent interacts with a push service. In some embodiments, functionality related to web push notifications may include web push messages being sent (e.g., using a message service push API) and corresponding notifications being displayed (e.g., using a notification API).

[0081] The functionality of various embodiments is beneficial in many domains, including domains where mobile application download rates may be low, where first-time visitor rates may be high, or where it may be beneficial to engage with occasional visitors to a website such as retail, and / or many other domains. Furthermore, these software techniques may be accomplished when the visitor is registered or when the visitor is anonymous / unknown. In some embodiments, web push messages may be sent / received when the visitor has already left the site (the visitor's web browser is actually closed). Furthermore, the visitor's device type may be a desktop, tablet, or smartphone, and multiple operating systems may be implemented.

[0082] FIG. 6 is a flow diagram for processing an event stream using pattern recognition to communicate with a progressive web application, according to an exemplary embodiment. At 602, a stream of events may be constructed based on a user's web activity. For example, a user may interact with a browser and a progressive web application running on the user's electronic device. In an embodiment, the user's electronic device is configured by a service worker after the user opts in to the service. The user's interaction with the progressive web application via the browser may be used to construct the stream of events. For example, an Apache Kafka producer / ecosystem may receive user interactions and generate / construct (or pipeline) a stream of events. Other suitable techniques for generating / constructing a stream of events may be implemented as well.

[0083] At 604, a stream of events representing user interactions with the web browser and progressive web application may be received. For example, the stream of events may be received by a processing element such as an Apache Kafka processing element. Other suitable techniques for processing the stream of events may be implemented as well.

[0084] At 606, the stream of events may be processed in combination with the contextual data. For example, contextual data about a user / user's electronic device may be accessed and processed along with the received stream of events. Other suitable techniques for processing the stream of events may be implemented as well.

[0085] At 608, one of a plurality of predefined patterns may be recognized in the stream of actions. For example, the predefined pattern may be defined by one or more events and / or contextual data or criteria. Recognizing a pattern and contextual data in the stream of actions may include matching one or more events from the stream of events to events defined for the recognized pattern and matching contextual data about a user to the contextual data defined for the recognized pattern. In some embodiments, the matched events may include at least two events, and the matched contextual data may include at least a transaction history for the user.

[0086] At 610, a timing for sending to the user's electronic device may be determined. For example, the timing for sending the web push message to the user's electronic device may be based on one recognized pattern or context data. At 612, sending to the user's electronic device may be performed. For example, the web push message may be sent to the user's electronic device, for example, at the determined timing. In some embodiments, a corresponding web push notification may be displayed on the user's electronic device using a configured service worker and / or browser.

[0087] The embodiments process the event stream using pattern recognition to communicate with a progressive web application. For example, a user may interact with a website using an electronic device, and the interaction may be accomplished through a progressive web application running on the electronic device. The progressive web application may be used to generate an experience similar to that of a native application, without the need to download and store such a native application. In some embodiments, the progressive web application may include a service worker or script that runs along with the progressive web application.

[0088] While a user navigates the website, a stream of events may be generated based on the user's actions. For example, searches (e.g., on products and categories), viewing product-specific pages, adding items to a cart, and any other suitable actions may be added to the stream of events. The stream of events may be received and processed to recognize patterns. For example, a number of patterns defined by one or more events may be predefined. One of the multiple patterns may be recognized in the stream of events when one or more events defining the pattern match the stream of events.

[0089] In some embodiments, the system may include contextual data, such as data about a user of an electronic device, data about the electronic device, and data associated with a geographic region, and a contextual criterion may be defined. For example, one of a plurality of patterns may be recognized in a stream of events when one or more events defining the pattern match the stream of events, and the contextual criterion may be met when the contextual data defining the criterion matches contextual data from a user, an electronic device, a geographic region, or a related entity / situation (e.g., an entity / situation to which the contextual data pertains, or a similar set of situations). In another example, one or more of the predefined patterns may include a contextual criterion in addition to one or more defined events. In this example, the patterns are matched to events generated by a user's interactions and related contextual information.

[0090] In some embodiments, a web push message may be sent to the electronic device based on the recognized pattern. For example, the recognized pattern may indicate an opportunity to engage with a user of the electronic device. An exemplary recognized pattern related to an e-commerce website may be an abandoned cart or a cart from which items have been removed. In this example, a web push message may be generated with content related to the abandoned cart, such as promotional or marketing materials related to the product or service removed from the cart or the abandoned product or service. Other recognized patterns may indicate the intent of other users / visitors, and other actions may be taken based on the particular pattern recognized.

[0091] A predetermined pattern may indicate a user / visitor's intent, and thus recognition of one of the predetermined patterns in a particular user's event stream may be used to correlate the intent associated with the predetermined pattern to a particular user. For example, a predetermined pattern resembling an abandoned cart may be associated with an interrupted or otherwise altered intent to purchase a product. In this example, an opportunity exists to engage with the particular user to restore this initial intent. For example, a user's intent may be influenced by price, so a promotion may persuade the user to purchase the product. Other actions may affect the user as well. Thus, recognition of a predetermined pattern in a user's event stream may be used to correlate intent (e.g., intent associated with the recognized predetermined pattern) to a user, and thus actions may be taken based on this intent, as described further herein.

[0092] In some embodiments, the recognized patterns and / or contextual information may further indicate timing for sending a web push message, e.g., when it is more appropriate to send the web push message at a later time (e.g., not in real time). For example, analysis of a user's online behavior may indicate a tendency to browse products at certain times of the day (e.g., during normal workday hours) and purchase products at other times of the day (e.g., during weekday lunch or after normal work hours). As a result, a web push message may be sent at a time that corresponds to the user's tendency to purchase products (and the user does not need to be on the merchant's website for the web push notification to be received / displayed).

[0093] An embodiment may use a browser / service worker / progressive web application to display a web push notification corresponding to the web push message on the display of the user's electronic device. For example, a service worker (e.g., a script) may be executed along with the progressive web application, and the service worker may be used to display the web push notification. In some embodiments, the content for the web push notification may include an interface for engaging with the user. For example, in the abandoned cart example, a web link (e.g., a uniform resource locator) that may be used to purchase the abandoned product may be included with the web push notification. In other examples, the recognized patterns may indicate other content or techniques for engaging with the user, and these items may be included in the associated web push notification.

[0094] The features, structures, or characteristics of the present disclosure described throughout this specification may be combined in any suitable manner in one or more embodiments. For example, the use of "one embodiment," "some embodiments," "an embodiment," "some embodiments," or other similar language throughout this specification refers to the fact that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the present disclosure. Thus, the appearances of "one embodiment," "some embodiments," "an embodiment," "some embodiments," or other similar language throughout this specification do not necessarily all refer to the same group of embodiments, but rather the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0095] Those skilled in the art will readily appreciate that the embodiments discussed above may be implemented in a different order of steps and / or with elements in a different configuration than that disclosed. Thus, while this disclosure contemplates the embodiments outlined, certain modifications, variations, and alternative constructions will be apparent to those skilled in the art while remaining within the spirit and scope of the disclosure. Accordingly, reference should be made to the appended claims to determine the scope and metes and bounds of the disclosure.

Claims

1. A method for processing an event stream using pattern recognition by a processor for communication with a progressive web application, the method comprising: receiving a stream of events representative of a user's interactions with a web browser and a progressive web application; processing said stream of events in combination with contextual data about said user; Recognizing one of a plurality of predetermined patterns within the stream of events; and sending a web push message to the user's electronic device based on the recognized pattern; The content of the web push message is generated based on one of the recognized patterns; The stream of events is processed in combination with contextual data about the user; one of the plurality of predetermined patterns is recognized within the stream of events and the contextual data; The content of the web push message is generated based on one of the recognized patterns and the contextual data; recognizing a pattern in the stream of events and the contextual data further includes matching one or more events from the stream of events to events defined for a recognized pattern, and matching contextual data about the user to contextual data defined for a recognized pattern; the events to be matched include at least two events, and the contextual data to be matched includes at least a transaction history for the user; A method, wherein the scheduled timing for the web push message is based on one of the recognized patterns or the contextual data.

2. 2. The method of claim 1, wherein prior to sending the web push message, a service worker is loaded onto the user's electronic device, and a web push notification corresponding to the web push message is displayed on the user's electronic device by the service worker.

3. The method of claim 2 , wherein the service worker comprises a script configured to execute with the web browser and the progressive web application.

4. The method of claim 1 , wherein the stream of events is produced by an Apache Kafka producer, and the stream of events is processed by an Apache Kafka processing element.

5. 2. The method of claim 1 , wherein the recognized patterns include at least one of an A followed by B pattern, an A not followed by B pattern, a missing event pattern, a duplicate event pattern, a change detector pattern, an up / down trend pattern, or a position-based pattern.

6. The method of claim 1 , wherein the contextual data includes one or more of a transaction history for the user, a browsing pattern for the user, or a location of the user.

7. A program for causing a computer to execute the method according to any one of claims 1 to 6.

8. A memory for storing the program according to claim 7; A processor for executing the program.

Citation Information

Patent Citations

  • Push notification management device, push notification management method and push notification management program

    JP2015103031A

  • Networked Location Targeted Communication and Analytics

    US20160042367A1

  • Reception device, transmission device, and data processing method

    WO2016067988A1