Data acquisition method based on low-code platform

Through the data collection method of the low-code platform and the use of technologies such as BitMap and array functions, the high maintenance and performance bottleneck problems of the data analysis solution are solved, efficient multi-dimensional analysis is achieved, and the cost is reduced.

CN118860469AInactive Publication Date: 2024-10-29BEIJING PROINSIGHT TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411149460.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-10-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing data analysis solutions have high maintenance costs and usage costs, and have performance bottlenecks. It is especially difficult to achieve high efficiency in real-time data processing and storage.

Method used

Adopt a data collection method based on a low-code platform and use technologies such as BitMap aggregation, array functions, and window functions to achieve rapid data processing and multi-dimensional analysis, including funnel analysis, retention analysis, attribution analysis, user path analysis, attribute analysis, and intervals. analyze.

Benefits of technology

Significantly save computing resources, improve computing efficiency, meet multi-dimensional analysis needs, and reduce maintenance and usage costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118860469A_ABST
    Figure CN118860469A_ABST
Patent Text Reader

Abstract

The invention discloses a data acquisition method based on a low-code platform, and belongs to the technical field of data analysis, comprising event analysis, funnel analysis, retention analysis, attribution analysis, user path analysis, attribute analysis and interval analysis, the retention analysis is used for calculating a user retention condition in a specified time period, and the attribution analysis is used for calculating a click frequency, an effective user number and a conversion value of a to-be-attributed event; the user path analysis aims at knowing the combination condition of different click events, the attribute analysis can screen a specific user set according to set attributes or labels, and the occurrence proportion of each attribute or label is obtained; the interval analysis is used for calculating the conversion time of the user and the interval of existence information, so as to deeply mine the meaning and rule behind the user behavior data; according to the invention, a more comprehensive analysis means is provided for real-time user behavior management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data analysis technology, and in particular to a data collection method based on a low-code platform. Background Art

[0002] With the rapid development of the Internet, a large amount of user data is generated, and big data computing capabilities are also developing rapidly. For data application scenarios such as data analysis, marketing, data mining, and recommendation algorithms, the demand for real-time data storage and analysis capabilities is increasing day by day. Traditional relational databases are already stretched to the limit for processing massive data, so systems for massive data analysis have emerged, among which big data platforms built on Hadoop and Hive are the most widely used.

[0003] Using Hive as a computing engine, its disk-based computing feature determines that it can only be used for offline data analysis. The computing time of several minutes or even hours makes it difficult to apply it to real-time query scenarios, and data storage based on HDFS cannot provide real-time data access. Apache Spark can integrate Hadoop and Hive well, solving the disk performance bottleneck, but it still cannot get rid of the defect that data stored on HDFS cannot be stored in real time. Even if a data lake solution is used, real-time data storage cannot be achieved.

[0004] The solutions based on Impala and Kudu also have obvious defects. As the amount of data increases, the service startup speed and data loading speed of Kudu will drop sharply. Although it can store cold and hot data separately, migrate the cold data that is not frequently used to HDFS for storage, and only keep hot data in Kudu, maintaining two storage methods at the same time and using two storage structures for data query at the same time will cost a lot in terms of maintenance and usage costs. Summary of the invention

[0005] The purpose of this invention is to provide a data collection method based on a low-code platform to solve the following technical problems: Existing data analysis solutions have high maintenance and usage costs and have performance bottlenecks.

[0006] The purpose of the present invention can be achieved through the following technical solutions: A data collection method based on a low-code platform includes the following steps: Get the user's behavior data within n days, where n is a positive integer, filter out the user IDs that match the set tags, extract the users that match all the tags and mark them as target users, and compress the target user IDs into a Bitmap collection through the group by aggregation function and the bitmapBuild function; Use the low-code platform to query target users who have performed a number of set click events within n days, and classify and summarize the click events by date; Obtain browsing events and click events triggered by target users in any day, calculate the funnel conversion rate of target users on that day, and output user behavior data within n days in date order; Calculate the total number of clicks, effective clicks, effective users and target conversions of the event to be attributed based on the user behavior data; Generate an event sequence based on the time sequence of the set click event, split the event sequence into multiple sub-chains, split each sub-chain into multiple sessions based on the time sequence, and count the number of occurrences of the click event in each session; Filter the user set that meets the set attributes and tags, count the number of occurrences of the attributes and tags in the user set, sort them into two categories according to the number of occurrences, and count the number of occurrences and the proportion of the attribute and tag values ​​in each category; The event sequences are spliced ​​into a new event sequence, the conversion duration information is extracted from the new event sequence, and the conversion data for each date within n days is calculated.

[0007] As a further solution of the present invention: the funnel analysis specifically includes: Query users who have set several click events within n days. The click events are in a progressive relationship. Each click event has a corresponding hierarchical label. Calculate the number of users corresponding to each hierarchical label, and count the total number of users who set the click time within n days. Perform funnel analysis to obtain the conversion funnel of each click event of each user, compile it into a level_index array, group it by user id and event date, sum up each item in the level_index array, and use the sum aggregation function to generate the funnel analysis total data for the statistical results of all user ids.

[0008] As a further solution of the present invention: the retention analysis specifically includes: Use window functions and grouping operations to count the time and number of browsing events and corresponding click events triggered by the target user in a certain day, calculate the time difference between browsing events and click events, and calculate the position of the target user in the funnel conversion path. According to the returned results, aggregate again to count the funnel conversion rate of a specific user group in a certain day, including the number of conversions from one state to another. Finally, group the results according to the event date, remaining event date, and date difference, and calculate the total number of times in each group.

[0009] As a further solution of the present invention: the attribution analysis specifically includes: Return the set click event and the total number of clicks, effective clicks, effective users and target conversions through query commands; The click events in the user behavior data are sorted and organized by the syntax WITH AS, arranged in chronological order and forming an orderly event sequence; The query command uses the ARRAY JOIN operation to reassemble the different behaviors of each user into a new event sequence and filter it; Use the GROUP BY operation to group all behaviors according to each user, and calculate the indicators of each user in the events to be attributed: the total number of events to be attributed, the number of valid clicks, the number of conversions, and the number of valid users; Finally, the SELECT query command returns the sum of each user's indicators, forming the summary data of all user behaviors.

[0010] As a further solution of the present invention: the user path analysis specifically includes: The set click event generates an event sequence in chronological order and groups them by user ID, and the subchain containing the set click event is filtered out from the event sequence; The adjacent events in the subchain are grouped into tuples to obtain a new array; the tuples are sorted according to the size of the first element, and the elements whose first element is greater than or equal to the set click event time point are filtered out, the NULL elements in the array are removed, and the split points are marked; Split the subchain into multiple sessions according to the split point; count the number of occurrences of click events in each session, and return the split subchain, session and the set number of occurrences of click events.

[0011] As a further solution of the present invention: the attribute analysis specifically includes: Obtain the user's attributes and tags, remove duplicates, filter the user set that meets the set attributes and tags, and count the number of occurrences of each attribute and tag value; Sort by the number of occurrences to get the number of occurrences of each attribute and label value; The top m attributes and label values ​​are classified as one category, where m is a positive integer, and the remaining attributes and label values ​​are classified as another category. Count the proportion of each attribute and label value in each category among all users; Returns statistical results, including attribute and tag values, occurrence counts, and occurrence ratios.

[0012] As a further solution of the present invention: the interval analysis specifically includes: Use ARRAY SPLIT to separate each record into different array elements according to event type, and sort them according to the time when the event occurred. Then use ARRAY JOIN operation to link all users' data into a large relational table. The records are all events completed by a certain user on a certain date. Use ARRAY REVERSESPLIT and ARRAYMAP operations to rearrange and pair each user's behavior sequence, connect the paired events with ARRAYJOIN, and sort them according to the time of event occurrence to generate a new event sequence.

[0013] As a further solution of the present invention: the conversion time of each user within n days is statistically calculated from the user behavior data and the new event sequence; the conversion time is grouped and aggregated in date order to obtain the number of converted users, average conversion time per person, minimum value, maximum value, one-quarter point, median and three-quarter point on each date.

[0014] Beneficial effects of the present invention: The present invention utilizes the characteristics of the low-code platform and constructs BitMap to quickly aggregate, intersect and union, and calculate the total number of user data. Compared with traditional calculation methods, it saves computing resources while greatly improving computing efficiency. The present invention cleverly combines array functions, window functions, etc. to avoid the traditional method of first joining and matching and then filtering and screening calculations, and realizes analysis of user behavior sequence analysis and analysis models with time window requirements. Based on the low-code platform, the present invention realizes a variety of analysis models, such as event analysis, funnel analysis, retention analysis, attribution analysis, distribution analysis, user path, attribute analysis, interval analysis, etc., which meets the multi-dimensional analysis needs of user behavior data. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The present invention will be further described below in conjunction with the accompanying drawings.

[0016] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] See also Figure 1 As shown, the present invention is a data collection method based on a low-code platform, comprising the following steps: Get the user's behavior data within n days, where n is a positive integer, filter out the user IDs that match the set tags, extract the users that match all the tags and mark them as target users, and compress the target user IDs into a Bitmap collection through the group by aggregation function and the bitmapBuild function; Use the low-code platform to query target users who have performed a number of set click events within n days, and classify and summarize the click events by date; Obtain browsing events and click events triggered by target users in any day, calculate the funnel conversion rate of target users on that day, and output user behavior data within n days in date order; Calculate the total number of clicks, effective clicks, effective users and target conversions of the event to be attributed based on the user behavior data; Generate an event sequence based on the time sequence of the set click event, split the event sequence into multiple sub-chains, split each sub-chain into multiple sessions based on the time sequence, and count the number of occurrences of the click event in each session; Filter the user set that meets the set attributes and tags, count the number of occurrences of the attributes and tags in the user set, sort them into two categories according to the number of occurrences, and count the number of occurrences and the proportion of the attribute and tag values ​​in each category; The event sequences are spliced ​​into a new event sequence, the conversion duration information is extracted from the new event sequence, and the conversion data for each date within n days is calculated.

[0019] In a preferred embodiment of the present invention, the funnel analysis specifically includes: Query users who have set several click events within n days, including click_null, click02, and click03. The click events are in a progressive relationship, and each click event has a corresponding hierarchical label. Calculate the number of users corresponding to each hierarchical label, and count the total number of users who set the click time within n days. Perform funnel analysis to obtain the conversion funnel of each click event of each user, compile it into a level_index array, group it by user id and event date, sum up each item in the level_index array, and take the sum aggregation function again for the statistical results obtained for all user ids to generate the funnel analysis total data.

[0020] In another preferred embodiment of the present invention, the retention analysis specifically includes: Use window functions and grouping operations to count the time and number of browsing events and corresponding click events triggered by the target user in a certain day, calculate the time difference between browsing events and click events, and calculate the position of the target user in the funnel conversion path. According to the returned results, aggregate again to count the funnel conversion rate of a specific user group in a certain day, including the number of conversions from one state to another. Finally, group the results according to the event date, remaining event date, and date difference, and calculate the total number of times in each group.

[0021] In another preferred embodiment of the present invention, the attribution analysis specifically includes: Return the set click event and the total number of clicks, effective clicks, effective users and target conversions through query commands; The click events in the user behavior data are sorted and organized by the syntax WITH AS, arranged in chronological order and forming an orderly event sequence; The query command uses the ARRAY JOIN operation to reassemble the different behaviors of each user into a new event sequence and filter it; Use the GROUP BY operation to group all behaviors according to each user, and calculate the indicators of each user in the events to be attributed: the total number of events to be attributed, the number of valid clicks, the number of conversions, and the number of valid users; Finally, the SELECT query command returns the sum of each user's indicators, forming the summary data of all user behaviors.

[0022] In another preferred embodiment of the present invention, the user path analysis specifically includes: The set click event generates an event sequence in chronological order and groups them by user ID, and the subchain containing the set click event is filtered out from the event sequence; The adjacent events in the subchain are grouped into tuples to obtain a new array; the tuples are sorted according to the size of the first element, and the elements whose first element is greater than or equal to the set click event time point are filtered out, the NULL elements in the array are removed, and the split points are marked; Split the subchain into multiple sessions according to the split point; count the number of occurrences of click events in each session, and return the split subchain, session and the set number of occurrences of click events.

[0023] In another preferred embodiment of the present invention, the attribute analysis specifically includes: Obtain the user's attributes and tags, remove duplicates, filter the user set that meets the set attributes and tags, and count the number of occurrences of each attribute and tag value; Sort by the number of occurrences to get the number of occurrences of each attribute and label value; The top m attributes and label values ​​are classified as one category, where m is a positive integer, and the remaining attributes and label values ​​are classified as another category. Count the proportion of each attribute and label value in each category among all users; Returns statistical results, including attribute and tag values, occurrence counts, and occurrence ratios.

[0024] In another preferred embodiment of the present invention, the interval analysis specifically includes: Use ARRAY SPLIT to separate each record into different array elements according to event type, and sort them according to the time when the event occurred. Then use ARRAY JOIN operation to link all users' data into a large relational table. The records are all events completed by a certain user on a certain date. Use ARRAY REVERSESPLIT and ARRAYMAP operations to rearrange and pair each user's behavior sequence, connect the paired events with ARRAYJOIN, and sort them according to the time of event occurrence to generate a new event sequence.

[0025] In a preferred case of the present embodiment, the conversion time of each user within n days is statistically calculated from the user behavior data and the new event sequence; the conversion time is grouped and aggregated in date order to obtain the number of converted users, average conversion time per person, minimum value, maximum value, one-quarter point, median and three-quarter point for each date.

[0026] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A data collection method based on a low-code platform, characterized in that: The following steps are involved: Develop a website based on the low-code platform, and visually check whether to collect on each button and each page of the website. The low-code platform automatically adds embedded code to collect user behavior, events, and attribute data: Get the user's behavior data within n days, where n is a positive integer, filter out the user IDs that match the set tags, extract the users that match all the tags and mark them as target users, and compress the target user IDs into a Bitmap collection through the group by aggregation function and the bitmapBuild function; Use the low-code platform to query target users who have performed a number of set click events within n days, and classify and summarize the click events by date; Obtain browsing events and click events triggered by target users in any day, calculate the funnel conversion rate of target users on that day, and output user behavior data within n days in date order; Calculate the total number of clicks, effective clicks, effective users and target conversions of the event to be attributed based on the user behavior data; Generate an event sequence based on the time sequence of the set click event, split the event sequence into multiple sub-chains, split each sub-chain into multiple sessions based on the time sequence, and count the number of occurrences of the click event in each session; Attribute analysis: Filter the user set that meets the set attributes and tags, count the number of occurrences of the attributes and tags in the user set, sort them into two categories according to the number of occurrences, and count the number of occurrences and the proportion of the attribute and tag values ​​in each category; Interval analysis: splice the event sequence into a new event sequence, extract the conversion duration information from the new event sequence, and calculate the conversion data for each date within n days.

2. According to a data collection method based on a low-code platform according to claim 1, it is characterized in that: The funnel analysis specifically includes: Query users who have set several click events within n days. The click events are in a progressive relationship. Each click event has a corresponding hierarchical label. Calculate the number of users corresponding to each hierarchical label, and count the total number of users who set the click time within n days. Perform funnel analysis to obtain the conversion funnel of each click event of each user, compile it into a level_index array, group it by user id and event date, sum up each item in the level_index array, and use the sum aggregation function to generate the funnel analysis total data for the statistical results of all user ids.

3. According to a data collection method based on a low-code platform according to claim 1, it is characterized in that: The retention analysis specifically includes: Use window functions and grouping operations to count the time and number of browsing events and corresponding click events triggered by the target user in a certain day, calculate the time difference between browsing events and click events, and calculate the position of the target user in the funnel conversion path. According to the returned results, aggregate again to count the funnel conversion rate of a specific user group in a certain day, including the number of conversions from one state to another. Finally, group the results according to the event date, remaining event date, and date difference, and calculate the total number of times in each group.

4. According to a data collection method based on a low-code platform according to claim 1, it is characterized in that: The attribution analysis specifically includes: Return the set click event and the total number of clicks, effective clicks, effective users and target conversions through query commands; The click events in the user behavior data are sorted and organized by the syntax WITH AS, arranged in chronological order and forming an orderly event sequence; The query command uses the ARRAY JOIN operation to reassemble the different behaviors of each user into a new event sequence and filter it; Use the GROUP BY operation to group all behaviors according to each user, and calculate the indicators of each user in the events to be attributed: the total number of events to be attributed, the number of valid clicks, the number of conversions, and the number of valid users; Finally, the SELECT query command returns the sum of each user's indicators, forming the summary data of all user behaviors.

5. According to a data collection method based on a low-code platform according to claim 1, it is characterized in that: The user path analysis specifically includes: The set click event generates an event sequence in chronological order and groups them by user ID, and the subchain containing the set click event is filtered out from the event sequence; The adjacent events in the subchain are grouped into tuples to obtain a new array; the tuples are sorted according to the size of the first element, and the elements whose first element is greater than or equal to the set click event time point are filtered out, the NULL elements in the array are removed, and the split points are marked; Split the subchain into multiple sessions according to the split point; count the number of occurrences of click events in each session, and return the split subchain, session and the set number of occurrences of click events.

6. According to a data collection method based on a low-code platform according to claim 1, it is characterized in that: The attribute analysis specifically includes: Obtain the user's attributes and tags, remove duplicates, filter the user set that meets the set attributes and tags, and count the number of occurrences of each attribute and tag value; Sort by the number of occurrences to get the number of occurrences of each attribute and label value; The top m attributes and label values ​​are classified as one category, where m is a positive integer, and the remaining attributes and label values ​​are classified as another category. Count the proportion of each attribute and label value in each category among all users; Returns statistical results, including attribute and tag values, occurrence counts, and occurrence ratios.

7. According to a data collection method based on a low-code platform according to claim 1, it is characterized in that: The interval analysis specifically includes: Use ARRAY SPLIT to separate each record into different array elements according to event type, and sort them according to the time when the event occurred. Then use ARRAY JOIN operation to link all users' data into a large relational table. The records are all events completed by a certain user on a certain date. Use ARRAY REVERSESPLIT and ARRAYMAP operations to rearrange and pair each user's behavior sequence, connect the paired events with ARRAYJOIN, and sort them according to the time of event occurrence to generate a new event sequence.

8. According to the data collection method based on the low-code platform of claim 7, it is characterized in that: The conversion time of each user within n days is statistically calculated from the user behavior data and the new event sequence; the conversion time is grouped and aggregated in date order to obtain the number of converted users, average conversion time per person, minimum value, maximum value, one-quarter point, median and three-quarter point on each date.