Real-time marketing method and system based on Flink

Through Flink real-time data processing technology, the existing marketing solutions are solved, and fast and accurate real-time marketing is achieved, strategic management is simplified and duplicate marketing is avoided.

CN119027159APending Publication Date: 2024-11-26SHANGHAI PUDONG DEVELOPMENT BANK
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411142075.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing marketing solutions adopt offline data processing poor timeliness, resulting in low marketing success rate. The downstream systems each have different algorithms, resulting in excessive marketing, and the new algorithm is launched with a long and redundant function cycle.

Method used

Flink real-time data processing technology is adopted to collect customer real-time events and tags, judge and configure marketing strategies, decouple marketing logic code through marketing strategy operator components, unify marketing strategies, record marketing channels and times, and avoid duplicate marketing.

Benefits of technology

It realizes fast and accurate real-time marketing, reduces the need for business system code modification and deployment, avoids excessive marketing, and simplifies marketing strategy management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027159A_ABST
    Figure CN119027159A_ABST
Patent Text Reader

Abstract

The invention relates to a real-time marketing method and system based on Flink. The method comprises the following steps: collecting real-time events and real-time customer tags of customers by using the Flink; judging whether the client real-time event meets a business condition or not; based on real-time client label screening, screening clients satisfying client portrait labels; a marketing strategy is configured for the customer satisfying the customer portrait label; and the marketing times and time of the customer are verified, and a marketing interface is called to make marketing reach the customer. Compared with the prior art, the method has the advantages that the real-time events and the real-time customer tags of the customers are quickly collected by using the Flink, and the customer loss is avoided by quickly generating the real-time marketing strategy for the customers with marketing opportunities. And marketing strategies of all downstream business systems can be integrated, so that recording and management are more convenient. And marketing is faster and more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of real-time marketing strategy generation, and in particular to a real-time marketing method and system based on Flink. Background Art

[0002] Most of the existing marketing algorithms use offline warehouse tracking data for mining, and use SparkSQL to periodically run data batches to market to customers who match the customer's offline portrait tags and trigger offline tracking events. After calculating the marketing conversion rate of the stock data, it is found that the marketing success rate after the event T+1 day is much lower than the marketing success rate on the day. The current existing marketing solutions have the following problems:

[0003] 1) The offline data used in the existing marketing plan is not timely enough. 2) Multiple downstream systems have different marketing algorithms, which may over-market to users who trigger different marketing algorithms at the same time. 3) Each downstream system often requires additional workload for launching new marketing algorithm functions and needs to modify the code and redeploy it before it can take effect. The process cycle is long and the redundancy is high. Summary of the invention

[0004] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a real-time marketing method and system based on Flink.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] As a first aspect of the present invention, a real-time marketing method based on Flink is provided, and the method steps include:

[0007] Use Flink to collect real-time events and real-time customer tags that occur to customers;

[0008] Determine whether the customer's real-time events meet business conditions;

[0009] Filter customers who meet customer profile tags based on real-time customer tag screening;

[0010] Configure marketing strategies for customers who meet the customer profile tags;

[0011] Verify the number and time of marketing to customers, and call the marketing interface to enable marketing to reach customers.

[0012] As a preferred technical solution, using the Flink for collection specifically includes: configuring the corresponding upstream client system connection address and account password information; creating a Flink task, configuring the database table and fields according to the fields required by the business system, and collecting real-time events and real-time customer tags that occur to the customer.

[0013] As a preferred technical solution, the method completely decouples the marketing logic code generation part from the business system by configuring the marketing process canvas, wherein the marketing process operator components include interface query, label query, function calculation, condition configuration, and push marketing channel configuration.

[0014] As a preferred technical solution, the judgment of whether the customer's real-time event meets the business conditions is based on the marketing strategy operator component, and the data source interface address and input parameters, namely the customer data source interface, are configured to obtain users who meet the installment requirements.

[0015] As a preferred technical solution, the real-time customer tag-based screening of customers who meet the customer portrait tag is based on the marketing strategy operator component, conditional branches are configured, and users who meet the branch conditions are screened according to the customer field configuration; the customer portrait tag interface is called, and multiple conditional branches are configured, each branch is an and relationship, and users who meet the customer portrait tag continue to be screened.

[0016] As an optimal technical solution, the marketing strategy configuration is based on the marketing strategy operator component, and the configuration calls the marketing channel interface, including the SMS sending interface, the APP pop-up interface, and the robot outbound call interface; configures the interface call frequency, the delayed call time, and the marketing words.

[0017] As an optimal technical solution, the method records the marketing channel, type, time and number of marketing for each customer number when calling the marketing channel interface, and performs time and number condition verification on the next marketing; the same marketing strategy will not be implemented on the same customer in a short period of time.

[0018] As the preferred technical solution, the marketing condition verification is as follows:

[0019] Create a MySQL table of marketing records. The table fields include ID, customer number, customer mobile number, marketing type, marketing channel, marketing time interval, marketing number of records, and the latest marketing time.

[0020] Configure marketing channels, marketing types, and marketing time intervals before sending marketing interfaces;

[0021] According to the customer number, query the MySQL database to see whether there is the same marketing channel and the same marketing type under the customer number in the MySQL table, and verify whether the latest marketing time is within the marketing time interval;

[0022] If the latest marketing time field is within the set marketing time interval, the marketing interface will not be sent;

[0023] If the latest marketing time field is outside the set marketing time interval, then send the marketing interface, increase the number of marketing times by one, and update the latest marketing time;

[0024] If the customer number or the same marketing channel or marketing type cannot be found in the MySQL table, the marketing interface will be sent directly, and a new marketing record will be added. The number of marketing times will be directly configured, and one will be added for each marketing. If the number is reached, the marketing interface will not be sent.

[0025] As a second aspect of the present invention, a real-time marketing system based on Flink is provided, the system comprising:

[0026] Flink module, used to collect real-time events and real-time customer tags from the client;

[0027] The online configuration processing module is configured with multiple marketing strategy operator components. By configuring the marketing process canvas, the marketing logic code generation part is completely decoupled from the business system. The marketing strategy operator components include:

[0028] Interface query, used to configure the data source interface address and input parameters, that is, the customer data source interface, to obtain the installment user

[0029] Tag query, filter users who meet the branch conditions according to customer field configuration;

[0030] Condition configuration: call the customer portrait tag interface, configure multiple condition branches, each branch is an AND relationship, and filter users who meet the customer portrait tag;

[0031] Push marketing channel configuration, configure calling marketing channel interface, including SMS sending interface, APP pop-up interface and robot outbound call interface; configure interface calling frequency, delayed calling time and marketing words.

[0032] As a preferred technical solution, the online configuration processing module records the marketing channel, type, time and number of marketing for each customer number when calling the marketing channel interface, and performs time and number condition verification for the next marketing; the same marketing strategy is not implemented for the same customer in a short period of time, as follows:

[0033] Create a MySQL table of marketing records. The table fields include ID, customer number, customer mobile number, marketing type, marketing channel, marketing time interval, marketing number of records, and the latest marketing time.

[0034] Configure marketing channels, marketing types, and marketing time intervals before sending marketing interfaces;

[0035] According to the customer number, query the MySQL database to see whether there is the same marketing channel and the same marketing type under the customer number in the MySQL table, and verify whether the latest marketing time is within the marketing time interval;

[0036] If the latest marketing time field is within the set marketing time interval, the marketing interface will not be sent;

[0037] If the latest marketing time field is outside the set marketing time interval, then send the marketing interface, increase the number of marketing times by one, and update the latest marketing time;

[0038] If the customer number or the same marketing channel or marketing type cannot be found in the MySQL table, the marketing interface will be sent directly, and a new marketing record will be added. The number of marketing times will be directly configured, and one will be added for each marketing. If the number is reached, the marketing interface will not be sent.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] 1) The technology proposed in this application processes real-time data, using Flink to quickly collect real-time events and real-time customer tags that occur to customers, and quickly generate real-time marketing strategies for customers with marketing opportunities to avoid customer churn. It can also integrate the marketing strategies of all downstream business systems, making it easier to record and manage. Marketing is faster and more accurate.

[0041] 2) The present invention completely decouples the marketing logic code generation part from the business system, configures the marketing process canvas, and multiple marketing process operator components, and can realize customizable configuration of the marketing configuration process. The business system can generate a new marketing strategy without any code modification or online deployment.

[0042] 3) The present invention uniformly configures marketing strategies, records the marketing channel, type, time, number of marketing, etc. of each customer number while calling the marketing interface, and performs time and number condition verification on the next marketing, thereby solving the problem that multiple downstream systems may repeatedly conduct excessive marketing to the same customer. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is a flow chart of a real-time marketing method based on Flink in the present invention;

[0044] Figure 2 The figure is a structural diagram of a real-time marketing system based on Flink in the present invention. DETAILED DESCRIPTION

[0045] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0046] Example 1

[0047] As one implementation of the present invention, this embodiment provides a real-time marketing method based on Flink, such as Figure 1As shown, the steps of this method are as follows:

[0048] S1. Use Flink to collect real-time events and real-time customer tags that occur to customers.

[0049] S2, determine whether the customer's real-time event meets the business conditions;

[0050] S3, based on real-time customer tag screening, filter out customers who meet the customer profile tags;

[0051] S4. Configure marketing strategies for customers who meet the customer profile tags;

[0052] S5. Verify the number and time of marketing to the customer, and call the marketing interface to enable marketing to reach the customer.

[0053] Wherein, the implementation characteristics of the method of the present invention are as follows:

[0054] 1) Use Flink to quickly collect real-time events and real-time customer tags of customers, configure the corresponding upstream client system connection address (kafka, mysql, oracle) and account password information; create Flink tasks, and configure database tables and fields according to the fields required by the business system.

[0055] 2) Unified configuration of marketing strategies to solve the problem of multiple downstream systems repeatedly over-marketing the same customer. Record the marketing channel, type, time, number of marketing, etc. for each customer number. Perform time and number condition verification for the next marketing.

[0056] 3) Quickly configure marketing strategies. The present invention completely decouples the marketing logic code generation part from the business system, configures the marketing process canvas, and the marketing strategy operator components, which include interface query, label query, function calculation, condition configuration, push marketing channel configuration and other subcomponents.

[0057] The data source call interface address and input parameters can be customized, combined with the customer's real-time tags, to screen out customers who meet the conditions, and then through a series of function calculations and condition configurations, to screen out more accurate customers who meet the conditions, and finally call the marketing interface, such as SMS, APP pop-up screen, etc. The business system can generate a new marketing strategy without any code modification or online deployment.

[0058] Call the existing marketing channel http interface of the business system. Such as SMS sending interface, APP pop-up interface, robot outbound call interface, etc. And record the customer's marketing channel, type, number, time, etc. to avoid excessive marketing. The marketing number and time verification can be performed for the same customer conditions, and the same marketing strategy will not be implemented for the same customer in a short period of time. First, create a marketing record MySQL table with the fields of id, customer number, customer mobile number, marketing type, marketing channel, marketing time interval, marketing number record, and latest marketing time. Then configure the marketing channel, marketing type, and marketing time interval before sending the marketing interface. The program will first query the MySQL database based on the customer number to see if there is the same marketing channel and the same marketing type under this table and check whether the latest marketing time is within the marketing time interval. For example, if the marketing time interval is 1 week and the latest marketing time field is within 1 week, then the marketing interface will not be sent. If the latest marketing time field is outside 1 week, then the marketing interface will be sent, the marketing number will be increased by one, and the latest marketing time will be updated. If the customer number or the same marketing channel and marketing type cannot be found in this table, the marketing interface will be sent directly and this marketing record will be added. And you can directly configure the number of marketing times, each marketing will increase by one, and the marketing interface will not be sent when the number is reached.

[0059] Example 2

[0060] As another implementation of the present invention, this embodiment also provides a real-time marketing system based on Flink using the method described in the above embodiment. Figure 2 The system comprises:

[0061] Flink module, used to collect real-time events and real-time customer tags from the client;

[0062] The online configuration processing module is configured with multiple marketing strategy operator components. By configuring the marketing process canvas, the marketing logic code generation part is completely decoupled from the business system. The marketing strategy operator components include: interface query, which is used to configure the data source interface address and input parameters, that is, the customer data source interface, to obtain the user tag query that meets the installment user, and filter the users who meet the branch conditions according to the customer field configuration; condition configuration, call the customer portrait tag interface, configure multiple condition branches, each branch is an and relationship, and filter the users who meet the customer portrait tag; push marketing channel configuration, configure the call marketing channel interface, including the SMS sending interface, APP pop-up interface, and robot outbound call interface; configure the interface call frequency, delay call duration, and marketing words. These operator components can be customized and combined, and the order is not fixed.

[0063] The online configuration processing module records the marketing channel, type, time and number of marketing for each customer number when calling the marketing channel interface, and performs time and number condition verification for the next marketing; the same marketing strategy will not be implemented for the same customer in a short period of time, as follows:

[0064] Create a MySQL table of marketing records, the table fields include id, customer number, customer mobile number, marketing type, marketing channel, marketing time interval, marketing frequency record and the latest marketing time; configure the marketing channel, marketing type and marketing time interval before sending the marketing interface; query the MySQL database according to the customer number whether there is the same marketing channel and the same marketing type under the MySQL table customer number, and verify whether the latest marketing time is within the marketing time interval; if the latest marketing time field is within the set marketing time interval, then do not send the marketing interface; if the latest marketing time field is outside the set marketing time interval, then send the marketing interface, increase the marketing frequency by one, and update the latest marketing time; if the customer number or the same marketing channel and marketing type cannot be found in the MySQL table, then directly send the marketing interface, add this marketing record, and directly configure the marketing frequency, increase by one each time the marketing is conducted, and do not send the marketing interface when the frequency is reached.

[0065] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A real-time marketing method based on Flink, characterized in that: The method steps include: Use Flink to collect real-time events and real-time customer tags that occur to customers; Determine whether the customer's real-time events meet business conditions; Filter customers who meet customer profile tags based on real-time customer tag screening; Configure marketing strategies for customers who meet the customer profile tags; Verify the number and time of marketing to customers, and call the marketing interface to enable marketing to reach customers.

2. The real-time marketing method based on Flink according to claim 1, characterized in that: The use of Flink for collection specifically includes: configuring the corresponding upstream client system connection address and account password information; creating a Flink task, configuring the database table and fields according to the fields required by the business system, and collecting real-time events and real-time customer tags occurring at the customer.

3. The real-time marketing method based on Flink according to claim 1, characterized in that: The method completely decouples the marketing logic code generation part from the business system by configuring the marketing process canvas, wherein the marketing process operator components include interface query, label query, function calculation, condition configuration and push marketing channel configuration.

4. The real-time marketing method based on Flink according to claim 3, characterized in that: The determination of whether a customer's real-time event meets the business conditions is based on a marketing strategy operator component, and a data source interface address and input parameters are configured, namely, a customer data source interface, to obtain users who meet the installment conditions.

5. The real-time marketing method based on Flink according to claim 3, characterized in that: The real-time customer tag-based screening of customers who meet the customer portrait tag is based on the marketing strategy operator component, and conditional branches are configured to screen users who meet the branch conditions according to the customer field configuration; Call the customer portrait tag interface and configure multiple conditional branches. Each branch is in an AND relationship to continue filtering users who meet the customer portrait tags.

6. The real-time marketing method based on Flink according to claim 3, characterized in that: The described configuration of marketing strategy is based on the marketing strategy operator component, and configures the calling of marketing channel interface, including SMS sending interface, APP pop-up interface and robot outbound call interface; configures the interface calling frequency, delayed calling time and marketing words.

7. The real-time marketing method based on Flink according to claim 1, characterized in that: The method records the marketing channel, type, time and number of marketing for each customer number when calling the marketing channel interface, and performs time and number condition verification on the next marketing; the same marketing strategy is not implemented for the same customer in a short period of time.

8. The real-time marketing method based on Flink according to claim 7, characterized in that: The marketing condition verification is as follows: Create a MySQL table of marketing records. The table fields include ID, customer number, customer mobile number, marketing type, marketing channel, marketing time interval, marketing number of records, and the latest marketing time. Configure marketing channels, marketing types, and marketing time intervals before sending marketing interfaces; According to the customer number, query the MySQL database to see whether there is the same marketing channel and the same marketing type under the customer number in the MySQL table, and verify whether the latest marketing time is within the marketing time interval; If the latest marketing time field is within the set marketing time interval, the marketing interface will not be sent; If the latest marketing time field is outside the set marketing time interval, then send the marketing interface, increase the number of marketing times by one, and update the latest marketing time; If the customer number or the same marketing channel or marketing type cannot be found in the MySQL table, the marketing interface will be sent directly, and a new marketing record will be added. The number of marketing times will be directly configured, and one will be added for each marketing. If the number is reached, the marketing interface will not be sent.

9. A real-time marketing system based on Flink, characterized in that: The system comprises: Flink module, used to collect real-time events and real-time customer tags from the client; The online configuration processing module is configured with multiple marketing strategy operator components. By configuring the marketing process canvas, the marketing logic code generation part is completely decoupled from the business system. The marketing strategy operator components include: Interface query, used to configure the data source interface address and input parameters, that is, the customer data source interface, to obtain the installment user Tag query, filter users who meet the branch conditions according to customer field configuration; Condition configuration: call the customer portrait tag interface, configure multiple condition branches, each branch is an AND relationship, and filter users who meet the customer portrait tag; Push marketing channel configuration, configure calling marketing channel interface, including SMS sending interface, APP pop-up interface and robot outbound call interface; configure interface calling frequency, delayed calling time and marketing words.

10. A real-time marketing system based on Flink according to claim 9, characterized in that: The online configuration processing module records the marketing channel, type, time and number of marketing for each customer number when calling the marketing channel interface, and performs time and number condition verification for the next marketing; the same marketing strategy will not be implemented for the same customer in a short period of time, as follows: Create a MySQL table of marketing records. The table fields include ID, customer number, customer mobile number, marketing type, marketing channel, marketing time interval, marketing number of records, and the latest marketing time. Configure marketing channels, marketing types, and marketing time intervals before sending marketing interfaces; According to the customer number, query the MySQL database to see whether there is the same marketing channel and the same marketing type under the customer number in the MySQL table, and verify whether the latest marketing time is within the marketing time interval; If the latest marketing time field is within the set marketing time interval, the marketing interface will not be sent; If the latest marketing time field is outside the set marketing time interval, then send the marketing interface, increase the number of marketing times by one, and update the latest marketing time; If the customer number or the same marketing channel or marketing type cannot be found in the MySQL table, the marketing interface will be sent directly, and a new marketing record will be added. The number of marketing times will be directly configured, and one will be added for each marketing. If the number is reached, the marketing interface will not be sent.

Citation Information

Cited By

  • Event marketing activity promotion system based on resource allocation

    CN119228076A