Method and apparatus for processing interactive behavior, storage medium and electronic device
By constructing a personalized viewing micro-habit graph for users, and monitoring the breakage of connections between habit nodes and the propagation of broken chains in real time, the problem of personalized prediction and retention of video platform members' churn has been solved, and the stability and accuracy of user interaction behavior have been improved.
Patent Information
- Application Number
- CN202611529506.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-24
AI Technical Summary
Existing video platforms lack individualized approaches to member churn retention, leading to user immunity effects, decreased login rates, high false negative rates when using single metrics, inability to accurately identify users with genuine churn tendencies, and difficulty in implementing personalized intervention strategies, resulting in low stability of user interaction behavior.
By constructing a personalized viewing micro-habit graph for users, we can monitor in real time the breakage of connections between habit nodes and the propagation of broken chains in the graph. Based on changes in the graph structure, we can predict the risk of member churn in advance. Through anchor point habit reconstruction and alternative path planning, we can achieve highly personalized and accurate recall.
It improved user stickiness on the content interaction platform, reduced the risk of video membership churn, and achieved stability and precise retention of user interaction behavior.
Smart Images

Figure CN123164283A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of streaming media technology, and more specifically, to a method and apparatus for processing interactive behavior, a storage medium, and an electronic device. Background Technology
[0002] Currently, mainstream video platforms in China typically employ the following methods to retain members who have churned: (1) sending group notifications or SMS reminders at fixed time points (3 days or 1 day before the expiration date); (2) retaining members through unified activity strategies (such as issuing coupons for full reduction or discount); and (3) relying on a single indicator (such as not logging in for several consecutive days) to judge the risk of user churn.
[0003] However, the above methods have the following drawbacks: a lack of individualized approaches, resulting in all users receiving the same content, leading to user immunity and a year-on-year decline in the rate of logging into video platforms and accessing video content; high false negative and false positive rates due to relying on a single indicator, making it impossible to accurately identify users truly prone to churn; and a uniform approach to retention strategies, failing to tailor content to users' historical preferences, resulting in extremely low conversion rates. These shortcomings make it impossible to accurately predict the risk of video membership churn on content interaction platforms, and even more impossible to implement personalized intervention strategies to prevent user churn, thus causing technical problems related to the low stability of user interaction behavior on video platforms.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This application provides a method and apparatus for processing interactive behavior, a storage medium and an electronic device, to at least solve the technical problem of low stability of user interactive behavior in content interaction platforms.
[0006] According to one aspect of the embodiments of this application, a method for processing interactive behavior is provided, comprising: creating a behavioral habit graph based on historical behavioral data of accessing a content interaction platform through a target account; determining the temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit graph is detected; executing a habit repair strategy based on the propagation speed of the broken chain indicated by the temporal correlation; and restoring the interactive behavior pattern of the target account on the content interaction platform based on the repaired graph state.
[0007] According to another aspect of the embodiments of this application, an interactive behavior processing apparatus is also provided, comprising: a creation unit, configured to create a behavioral habit graph based on historical behavioral data of accessing a content interaction platform through a target account; a first processing unit, configured to determine the temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit graph is detected; and a second processing unit, configured to execute a habit repair strategy based on the propagation speed of the broken chain indicated by the temporal correlation, and restore the interactive behavior pattern of the target account on the content interaction platform based on the repaired graph state.
[0008] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is used to perform the above-mentioned interactive behavior processing method when the electronic device is run.
[0009] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0010] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to perform the processing method of the above-mentioned interactive behavior through the computer program.
[0011] By employing the embodiments provided in this application, a pre-constructed behavioral habit graph is used to monitor the connections between behavioral habit nodes in the graph in real time. When a break in a connection is detected, the correlation between adjacent behavioral habit nodes is calculated to quantify the propagation speed and impact range of the break in the graph. This allows for accurate detection of risk signals indicating accelerated collapse of the user behavioral habit system due to the propagation of broken chains when abnormal user interaction behavior occurs. By promptly implementing habit repair strategies, blocking the propagation path of the break in advance, and guiding users to repair or rebuild new behavioral habit connections, user stickiness of the content interaction platform is improved, while the risk of video membership churn is reduced, achieving the technical effect of improving the stability of user interaction behavior. Attached Figure Description
[0012] The accompanying drawings, which are provided to further illustrate this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application.
[0013] Figure 1 This is a schematic diagram illustrating an application scenario of an optional interactive behavior processing method according to an embodiment of this application;
[0014] Figure 2 This is a flowchart of an optional interactive behavior processing method according to an embodiment of this application;
[0015] Figure 3 This is an overall schematic diagram of an optional interactive behavior processing method according to an embodiment of this application;
[0016] Figure 4 This is a schematic diagram of the structure of an optional interactive behavior processing device according to an embodiment of this application;
[0017] Figure 5 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0018] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0020] The technical solutions in this application will comply with legal regulations during implementation. When operating according to the technical solutions in the embodiments, the data used will not involve user privacy, ensuring that the operation process is compliant and legal while guaranteeing data security. In addition, when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of related data must comply with the relevant regulations and standards of the relevant countries or regions.
[0021] According to one aspect of the embodiments of this application, a method for processing interactive behaviors is provided. As an optional implementation, the above-described method for processing interactive behaviors can be applied, but is not limited to, to applications such as... Figure 1 The application scenarios shown are as follows. In, for example... Figure 1 In the application scenario shown, the target terminal 102 can communicate with the server 106 via network 104, but is not limited to this. The server 106 can perform operations on the database 108, such as write or read data operations. The target terminal 102 may include, but is not limited to, a human-computer interaction screen, a processor, and a memory. The human-computer interaction screen may be used to display, but is not limited to, the feedback anomaly detection results obtained after processing using the technical solution of this application on the target terminal 102. The processor may be used, but is not limited to, to respond to the human-computer interaction operations, execute corresponding operations, or generate corresponding instructions and send the generated instructions to the server 106. The memory is used to store relevant processing data, such as advertising conversion data, user behavior feature combinations, and confidence levels.
[0022] Optionally, in this embodiment, the target terminal can be a terminal configured with a target client, which may include, but is not limited to, at least one of the following: mobile phone (such as Android phone, iOS phone, etc.), laptop computer, tablet computer, PDA, MID (Mobile Internet Devices), PAD, desktop computer, smart TV, etc. The target client may be a video client, instant messaging client, browser client, educational client, etc. The network may include, but is not limited to, wired network and wireless network, wherein the wired network includes: local area network, metropolitan area network and wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that enable wireless communication. The server may be a single server, a server cluster composed of multiple servers, or a cloud server.
[0023] The technical solution proposed in this application is applicable to video operation and user lifecycle management scenarios, such as predicting the risk of video member churn and preventing video member churn in video platforms. Specifically, it involves constructing a directed graph of users' personalized viewing micro-habits, monitoring in real time the breakage of connections between habit nodes and the propagation of broken chains in the behavioral habit graph, predicting member churn risk in advance based on structural changes in the behavioral habit graph, and achieving highly personalized and accurate recall through anchor point habit reconstruction and alternative path planning.
[0024] To address this problem, this application proposes a method for processing interactive behavior. Figure 2 This is a flowchart of a method for processing interactive behavior according to an embodiment of this application. The process includes the following steps S202 to S208.
[0025] It should be noted that the processing method for the interactive behaviors shown in steps S202 to S208 can be, but is not limited to, executed by an electronic device. The electronic device can be, but is not limited to, a device that... Figure 1 The target terminal or server shown.
[0026] Step S202: Create a behavioral habit map based on historical behavioral data of accessing the content interaction platform through the target account;
[0027] Step S204: If a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected, determine the temporal correlation between adjacent behavioral habit nodes.
[0028] Step S206: Based on the propagation speed of the broken chain indicated by the temporal correlation, execute the habit repair strategy, and based on the repaired graph state, restore the interaction behavior pattern of the target account on the content interaction platform.
[0029] In this embodiment, a directed graph of user-personalized viewing micro-habits is constructed to monitor in real time the breakage of connections between habit nodes and the propagation of broken chains in the graph. Based on changes in the graph structure, the risk of member churn can be predicted in advance. Through anchor point habit reconstruction and alternative path planning, highly personalized and accurate recall can be achieved.
[0030] To facilitate understanding, we will take a content interaction platform as an example, specifically a video platform, and combine it with... Figure 3 The overall schematic diagram shown provides a brief overview of the implementation process of the above-mentioned interactive behavior processing method.
[0031] S302, Obtain user viewing behavior data;
[0032] This involves acquiring users' historical behavioral data on content interaction platforms, such as the time spent watching videos, the types and characteristics of content viewed, and the manner and frequency of user interaction.
[0033] For example, users typically watch variety show videos at 9:00 PM every night, and after watching the video, they check the comment section and actively participate in the comments.
[0034] S304, extract micro-habits from users' historical behavior data and build a behavior habit map based on them;
[0035] The aforementioned behavioral habit graph is used to represent the structural dependencies between user behavioral habits.
[0036] S306, Monitoring of broken chain propagation;
[0037] Once the graph is built, the system enters the continuous monitoring phase. The core of the monitoring is not whether each habit is continuously executed, but whether the connections between habits are still maintained.
[0038] S308, Adaptive Reconstruction and Alternative Path Planning of Anchor Point Behavioral Habits;
[0039] If the monitoring results of the broken chain propagation confirm the existence of a broken connection and the propagation speed of the broken chain is too fast, an intervention strategy will be implemented in advance. This typically includes two strategies: anchor point behavior habit reconstruction and alternative path planning. The following will describe the two remediation strategies in detail with specific examples.
[0040] Before step S308, it is also necessary to determine the level of video member churn risk, and if it is determined that the speed of the broken chain propagation is relatively fast, that is, the risk of churn is high, the intervention strategy in step S308 is implemented.
[0041] S310, map self-evolution and closed-loop optimization.
[0042] Users' micro-habits evolve over time and in different life contexts. The system establishes a self-evolutionary mechanism to continuously track the health status of the graph.
[0043] During step S310, a multi-terminal synchronous push operation is also performed on the user terminal. For example, the user preference content indicated by the structured data corresponding to the anchor point behavior habit is pushed to the target account in real time so that the user can respond in a timely manner and maintain the continuity of the user's behavior habit.
[0044] It should be noted that the micro-habits in this application embodiment may refer to, but are not limited to, the viewing behavior patterns that users repeatedly perform in specific situations. The system automatically extracts micro-habits from the following dimensions: each micro-habit is represented as a four-dimensional structured data, and the four core fields it contains include: (1) habit time period, a time interval accurate to half an hour, such as 20:00-22:30 on weekdays; (2) content type, that is, the content category tag that the user most often watches during this time period, such as suspense dramas, variety shows, documentaries, etc.; (3) viewing device, which usually refers to the type of terminal used by the user, such as television, mobile phone, tablet computer, etc.; (4) average viewing time per session, that is, the duration of a single continuous viewing session by the user during this time period (such as 30 minutes).
[0045] Each micro-habit is a behavioral habit node (or simply node) in the behavioral habit graph. The connecting edges between nodes represent the transfer relationship that there is a high probability of doing habit B after completing habit A.
[0046] The micro-habits (hereinafter referred to as habits) in this embodiment include, but are not limited to, the following:
[0047] (1) Time-based micro-habits: During which time of day do users habitually open the application to watch content? For example, a user has developed a habit of watching dramas every night from 20:00 to 21:30. The system clusters the time by statistically analyzing the user's viewing time distribution over the past 60 days and identifies the habitual time periods corresponding to the density peaks.
[0048] (2) Content Type Switching Micro-Habits: The user's switching patterns for content types. For example, a user may have developed a three-stage content switching chain: first watching a suspense drama, then a lighthearted variety show as a transition, and finally watching a documentary to fall asleep. The system analyzes the probability of content type switching between adjacent viewing records and extracts switching paths that exceed a threshold.
[0049] (3) Viewing duration micro-habits: the user's single viewing duration pattern. For example, a user's average viewing time is 45 minutes on weekdays and 120 minutes on weekends. The system counts the duration distribution on weekdays and weekends respectively, and takes the median as the habitual viewing time.
[0050] (4) Device switching micro-habits: Users' switching patterns between devices such as mobile phones, tablets, and TVs. For example, users may have formed a device switching chain where they watch content on their mobile phones for 20 minutes during their commute and then continue watching it on TV after returning home. By tracking the playback records of the same content across devices, high-frequency device switching patterns can be extracted.
[0051] (5) Follow-up / Completion micro-habits: User preference patterns for content that is being updated and content that has been completed. Statistics on the proportion of content that is being updated and content that has been completed, and the switching patterns among users.
[0052] After extracting micro-habits, each micro-habit is treated as a behavioral habit node (referred to as a node). Any two adjacent nodes form a connection edge, and the weight of the connection edge is used to represent the transition frequency or dependency strength between the two behavioral habits. Based on this, a directed weighted graph is constructed.
[0053] Each node in the graph represents a specific micro-habit, and the directed edges between nodes represent the transition relationship between two habits. The weight of the edge is determined by the transition frequency. For example, if a user watches suspense dramas at 9 PM on weekdays 75% of the time and then checks related recommended content afterward, the weight of that edge is 0.75.
[0054] It should be noted that the behavioral habit graph in this embodiment is not static, but is continuously updated with a sliding time window (usually 60 days). The weight of each edge is recalculated based on the transfer frequency in the most recent 60 days to ensure that the graph always reflects the user's current micro-habit state.
[0055] When a break in the connection edges between behavioral habit nodes in the behavioral habit graph is detected—that is, when a behavioral habit node loses its output or input—this instability will propagate to adjacent nodes through the graph structure. The system can quantify the propagation effect of the break in the graph by extracting the node pairs with direct directed connections in the broken connections and calculating the time difference between the earliest break dates of the connections between the two nodes. This allows the system to capture the chain reaction triggered by a single habit break, i.e., the speed and path of break propagation.
[0056] Based on the propagation speed of the broken chain indicated by the temporal correlation, a habit repair strategy is executed, and the interaction behavior pattern of the target account on the content interaction platform is restored based on the repaired graph state. In other words, the churn risk level is dynamically assessed based on the propagation speed of the broken chain, i.e., the number of newly added broken connections each week, and the changes in graph connectivity.
[0057] When the assessment results indicate a warning or high-risk state, personalized interventions are prioritized for anchor behavior habits or the source nodes of the broken chain. The repair strategy primarily includes two modes: anchor behavior habit reconstruction and alternative path planning. If the original anchor behavior habits are recoverable due to fluctuations in user subjective will, the system accurately pushes content with the highest rating during the user's historical peak activity periods, guiding the user to re-establish connections. If the original anchor behavior habits cannot be recovered due to changes in objective conditions, the system searches for alternative paths in the graph. New paths must meet constraints such as similar content types, compatible time periods, and maintaining a certain degree of connectivity with other healthy nodes. Through simultaneous multi-device outreach, the system guides users to adopt new viewing patterns. The system then continuously monitors the graph status after repair. If the target connection recovers within fourteen consecutive days, the intervention is marked as successful, thereby achieving automated recovery and closed-loop optimization of user interaction behavior patterns.
[0058] By employing the above methods, the risk of churn can be predicted in advance through microscopic changes in the graph structure before user behavior values decline significantly, and the spread of the break can be blocked in a highly personalized manner, thereby improving the accuracy and efficiency of video membership retention.
[0059] By employing the embodiments provided in this application, a pre-constructed behavioral habit graph is used to monitor the connections between behavioral habit nodes in the graph in real time. When a break in a connection is detected, the correlation between adjacent behavioral habit nodes is calculated to quantify the propagation speed and impact range of the break in the graph. This allows for accurate detection of risk signals indicating accelerated collapse of the user behavioral habit system due to the propagation of broken chains when abnormal user interaction behavior occurs. By promptly implementing habit repair strategies, blocking the propagation path of the break in advance, and guiding users to repair or rebuild new behavioral habit connections, user stickiness of the content interaction platform is improved, while the risk of video membership churn is reduced, achieving the technical effect of improving the stability of user interaction behavior.
[0060] As an optional example, the determination of temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected includes:
[0061] Locate the broken connection edges in the behavioral habit graph and obtain candidate node pairs of the broken connection edges;
[0062] Sequentially obtain the first and second timestamps of the first break of the connection relationship in the set of connection edges that have a dependency relationship with each candidate node in the candidate node pair;
[0063] Perform differential processing on the first timestamp and the second timestamp to obtain the temporal correlation between the adjacent behavioral habit nodes.
[0064] In this embodiment, after the behavioral habit map is constructed, the system enters the continuous monitoring phase. The core of the monitoring is not whether each habit is continuously executed, but whether the connections between habits are still maintained.
[0065] This process involves determining whether connecting edges are broken, locating broken chains, detecting propagation mechanisms, and calculating propagation speed. A broken chain can be, but is not limited to, a set of logically dependent broken connections in the behavior habit graph. When a large number of outgoing edges of a behavior habit node break simultaneously, it means that the behavior habit node has lost its output, meaning that after a user executes this habit, they no longer naturally transition to the next habit, and the habit system begins to disintegrate.
[0066] In cases where a connection edge has already broken, this application embodiment also provides a broken chain propagation detection mechanism, specifically tracking the propagation path and speed of the break. Tracking the propagation path includes: when an incoming edge of a behavioral habit node breaks, that node itself is more prone to instability (due to the lack of prior habit guidance), leading to accelerated breaks in its outgoing edges. This phenomenon, where a broken connection edge triggers the break of the next, is called broken chain propagation. The system quantifies the propagation effect by calculating the temporal correlation of breaks between adjacent nodes in the behavioral habit graph: if the time difference between the broken connection edges of node A and node B is less than or equal to 3 days, and there is a direct connection between them in the behavioral habit graph, then it is determined to be a propagation event.
[0067] The calculation of the fracture propagation velocity includes: quantifying the propagation effect by analyzing the temporal correlation of fractures at adjacent nodes. The specific calculation process is as follows:
[0068] S11, Candidate Pair Filtering: For all connecting edges marked "broken" in the graph, extract the nodes (A,B) of each pair that have a direct directed connection relationship;
[0069] In this context, it is required that the outgoing edges of node A and the incoming edges of node B are both marked as broken, forming a candidate propagation pair (A,B).
[0070] S12, For each candidate propagation pair (A,B), determine the earliest break date of the associated connection of node A as T_A, and the earliest break date of the associated connection of node B as T_B;
[0071] Where T_A is the first timestamp and T_B is the second timestamp.
[0072] S13, perform timing difference calculation;
[0073] The time difference is calculated as Δt = T_B - T_A, in days. Δt is a positive value, indicating that node A breaks down before node B.
[0074] S14, execute the three-level judgment process.
[0075] Specifically, if Δt ≤ 3 days, it is considered direct propagation, and the break has a strong correlation in the time series. The propagation speed of the break chain is defined as the number of new break connections added each week (i.e., each preset period). The propagation speed of the break chain is a key indicator for determining the urgency of churn. The faster the propagation speed, the more urgent the intervention window is, indicating that the user's habit system is rapidly disintegrating.
[0076] In other words, during the process of locating broken connection edges and obtaining candidate node pairs, the system does not view each break point in isolation, but rather performs correlation analysis based on the topological structure of the behavioral habit graph. The system traverses all directed edges marked as broken within the current monitoring period, extracting the starting and ending nodes of these broken edges. Then, using the adjacency relationships of the behavioral habit graph, it filters out node combinations that are logically directly connected and all involve broken behaviors. This approach ensures that the temporal correlation analysis in subsequent analyses targets habit nodes with direct causal or dependency relationships, avoiding interference from random breaks or breaks between unrelated nodes, thus guaranteeing the accuracy of broken chain propagation detection.
[0077] When performing differential processing on timestamps to quantify temporal correlation, the system calculates the time interval between two timestamps, known as the temporal difference. This difference result visually reflects the speed at which a break propagates between two adjacent nodes. If this time interval is small (e.g., less than or equal to 3 days), it indicates that a break in node A rapidly led to a break in node B, suggesting a strong temporal correlation between the two, i.e., a break propagation event has occurred. If the time interval is large or negative (i.e., B broke before A), it suggests that there may not be a direct propagation relationship between the two, or that the propagation directions are opposite.
[0078] The propagation effect of the connection break was quantified through the time-stamp-based differential calculation, providing accurate data support for subsequent judgment of the propagation path and speed of the break chain, and realizing the transformation from static structural analysis to dynamic propagation process analysis.
[0079] As an optional example, the above-mentioned habit repair strategy, based on the propagation speed of the broken chain indicated by the temporal correlation, includes:
[0080] If the account loss risk level is determined to be high based on the propagation speed of the broken chain, the anchor behavioral habits with the highest connection density are selected from the behavioral habit map.
[0081] The anchor behavior habits are adaptively reconstructed to fix the interaction behavior pattern when accessing the content interaction platform through the target account.
[0082] Before implementing the habit restoration strategy, this application embodiment also provides a method for determining the video membership churn level. Based primarily on the characteristics of broken connections, the churn risk is divided into four levels, including:
[0083] (1) Safety status: No broken connections can be detected in the behavioral habit map, and all of the user's micro-habits and their connections remain intact;
[0084] (2) Attention status: One or two isolated broken connections appear, but there is no obvious propagation relationship between the breaks (non-connected nodes). These breaks may be natural user behavior adjustments rather than churn signals. The system enters close monitoring but does not trigger intervention.
[0085] (3) Warning status: A break chain has been formed, with 3-5 interconnected nodes in the graph showing continuous breaks, and the break propagation speed exceeding 1 connection per week. At this time, the system determines that the user has a moderate risk of churn and begins to prepare intervention materials;
[0086] (4) High-risk status: Anchor point habits (which can also be understood as anchor point behavioral habits) break or their directly related nodes break on a large scale, the break propagation speed exceeds 2 connections per week, and the graph connectivity (the percentage of nodes that maintain complete connections) drops below 60%. The system determines that the user is at high risk of churn and immediately triggers intervention.
[0087] The advantage of the above-mentioned grading mechanism is that it can detect loss signals in advance through changes in the graph structure before behavioral values (such as viewing time) show a significant decline, thus significantly advancing the warning window.
[0088] In this embodiment, when the account loss risk level determined based on the propagation speed of the broken chain is high risk, the anchor point behavior habit with the highest connection density is selected from the behavior habit map. The high risk here is the high-risk state mentioned above.
[0089] Anchor behavior habits can be understood, but are not limited to, as the central node with the highest connection density or connectivity in the behavior habit graph. By adaptively reconstructing this anchor behavior habit, the entire dependency chain can be restored. In other words, anchor behavior habits are a lever solution that minimizes single-point intervention and maximizes the scope of restoration.
[0090] Furthermore, by adaptively reconstructing anchor behavior habits, cascading loss can be prevented, that is, the anchor behavior habit corresponding to the anchor point is prevented from breaking and spreading to downstream nodes through directed edges, thus avoiding a larger chain of broken links.
[0091] In other words, after determining a high-risk churn state, instead of blindly repairing all broken habits, priorities are prioritized based on the structural characteristics of the user behavior habit graph. A deep analysis of the current user behavior habit graph's topology is conducted, calculating the connection density of each node within the entire graph—that is, the sum of the number and weights of healthy connections maintained between that node and other nodes. The node with the highest connection density is identified as the anchor behavior habit.
[0092] This node represents the most central, stable, and critical component in the user's viewing habit system, such as the user's long-term fixed habit of following TV series during prime evening time. Since anchor behavior habits have a high degree of centrality, if the node corresponding to the anchor behavior habit and its directed edges are broken, it usually leads to a large-scale collapse of the entire behavior habit graph, triggering irreversible churn. Therefore, this core node is prioritized as the intervention target to ensure that limited operation resources are invested in the links that have the greatest impact on retention effects, thereby maximizing intervention efficiency.
[0093] Finally, an adaptive reconstruction strategy is performed for the selected anchor behavior habits to restore or maintain the user's original interaction behavior pattern.
[0094] As an optional implementation manner, the adaptive reconstruction of the anchor behavior habit includes:
[0095] Obtain structured data corresponding to the anchor behavior habit;
[0096] Push historical preference content corresponding to the anchor behavior habit to the target account based on the active behavior period indicated by the structured data;
[0097] Determine that the adaptive reconstruction of the anchor behavior habit is completed when the cumulative number of times the target account receives and responds to the historical preference content exceeds a preset threshold.
[0098] In this embodiment, a highly personalized intervention scheme is designed according to the fracture characteristics of each user habit graph. The intervention priority is as follows: when the system enters a warning or high-risk state, the intervention target is selected according to the following priorities. The first priority is the anchor behavior habit (the node with the highest graph centrality); the second priority is the node most affected in the broken chain (the node with the most associated edge breaks); the third priority is the source node of the propagation chain (the starting point of the earliest broken connection).
[0099] The adaptive reconstruction of anchor behavior habits includes: an anchor behavior habit is composed of a combination of specific conditions (such as 21:00 on weekdays + suspense drama + large-screen viewing). The system decomposes the conditions of the anchor behavior habit into trigger conditions (time + context) and content conditions (content type + quality requirements). The reconstruction strategy includes but is not limited to the following three steps:
[0100] (1) When the trigger condition is satisfied (e.g., 21:00 on weekdays), push the optimal content corresponding to the anchor habit through multi-terminal synchronization (matching the content type with the highest rating in the historical preferences for this time period);
[0101] (2) The push timing is precisely aligned with the user's historical active peak period, rather than a fixed time;
[0102] (3) After three consecutive successful triggers (i.e., cumulative number of times), mark the anchor point habit as fixed and reduce the push frequency.
[0103] In other words, by adaptively reconstructing anchor behavior habits, if at least one connecting edge consisting of anchors corresponding to the anchor behavior habits is at risk of breaking or has already broken, the specific behavior pattern corresponding to the anchor behavior habits can be restored through the above reconstruction strategy.
[0104] For example, suppose a user's anchor behavior habit is that they like to watch movies and TV shows after 9:00 PM every night. If, according to the technical solution of this application, it is determined that the user has not watched such videos for three consecutive days, content they originally liked, such as a suspense drama, is pushed to the user at the original time (9:00 PM). If the user responds (i.e., watches it normally), the original anchor behavior habit is determined to be reactivated. The user then continues to perform the original anchor behavior habit, and the nodes corresponding to the anchor behavior habit in the behavior habit graph become active again, and the connection relationships are restored.
[0105] It should be noted that after the behavioral habit graph is constructed, the system will calculate the centrality or connection density of each behavioral habit node in real time. The single node with the highest connection density is identified as the anchor behavioral habit. An anchor behavioral habit is a single node in the graph (not a combination of multiple habits). The internal attributes of this node are described using four-dimensional fields. For example, the time period is 21:00 on a weekday, the content type is a suspense drama, the device is a TV, and the duration is 90 minutes. This is the structured data of a node.
[0106] In this embodiment, the root cause of the break in anchor behavior habits is first identified: whether it is a failure of the triggering condition (such as a change in the user's daily routine) or insufficient content supply. If it is a content supply problem, alternative content that matches the user's historical preferences and is highly attractive will be proactively pushed within the time window when the triggering condition is met. This will be achieved through simultaneous multi-device delivery, thus rebuilding the strong correlation between the trigger and the interaction behavior.
[0107] When acquiring structured data corresponding to anchor point behavioral habits, the system delves into the user's historical behavior database to accurately extract the four key attributes that constitute this core node. The system doesn't merely record single behavioral tags; instead, it fully reconstructs the user's comprehensive characteristics under that habit, including precise time periods (e.g., 8:00 PM - 10:00 PM on weekdays), preferred content types (e.g., suspense dramas), the terminal devices used (e.g., smart TVs), and typical single viewing duration. This data constitutes the digital fingerprint of anchor point behavioral habits, forming the basis for subsequent reconstruction strategies. By analyzing this structured data, the triggering contexts and content needs of the user's original habits can be clearly identified, providing data support for subsequent precise content recommendations. This ensures that intervention measures seamlessly integrate with the user's existing behavioral patterns, reducing the cognitive threshold for users to adapt to new recommended content.
[0108] Based on the active time periods indicated by the structured data, the system pushes historical preference content corresponding to anchor behavior habits to target accounts. This process emphasizes a high degree of matching between timing and content. The system precisely targets the user's historical peak activity times based on the extracted time period attributes, rather than random or fixed times. For example, if anchor behavior habits show that a user habitually watches documentaries on Saturday nights, the system will push a list of highly-rated documentaries or exclusive documentary highlights to the user before that time. Simultaneously, the pushed content is filtered based on the user's historical preferences, ensuring that the recommended content is highly consistent with the user's past tastes. This strategy of pushing the right content at the right time aims to reactivate the user's previously interrupted behavioral chain through strong familiarity and appeal, inducing them to reopen the application based on their existing psychological expectations, thereby breaking the deadlock of churn.
[0109] Finally, if the cumulative number of times the target account receives and responds to historical preference content exceeds a preset threshold, the adaptive reconstruction of the anchor behavior habit is considered complete. Here, "receiving and responding" refers not only to the user clicking on push notifications, but also to the user actually starting to play content and reaching a certain viewing time, indicating that the user has truly resumed that habitual behavior.
[0110] By employing the above methods, misjudgments caused by single, accidental actions are avoided, ensuring that the reconstructed habits are solid new habits rather than fleeting fluctuations in interest. If the adaptive reconstruction is deemed successful, the anchor behavior habit is marked as fixed, and the frequency of subsequent high-frequency push notifications is reduced accordingly, transitioning to a normalized monitoring mode. This saves operational resources and avoids excessive disruption to users.
[0111] As another optional example, this application embodiment also provides another habit repair strategy, namely, the habit repair strategy based on the broken chain propagation speed indicated by the time-series correlation, further comprising:
[0112] Calculate the time difference between the breakage times of adjacent nodes in the broken connection edge to obtain the single-step propagation delay;
[0113] The number of broken connection edges in the broken chain with a single-step propagation delay less than a preset delay threshold within a unit time window is counted to obtain the fast propagation sub-chain.
[0114] When the length of the rapid propagation sub-chain exceeds a preset length threshold, or when the rapid propagation sub-chain contains anchor behavior habit nodes, the churn risk level of the target account is determined to be high-risk, and intervention measures targeting the anchor behavior habit are triggered, without being limited by the conventional risk level determination threshold.
[0115] As another alternative example, the above-mentioned implementation of a habit repair strategy based on the propagation speed of the broken chain indicated by the temporal correlation further includes:
[0116] In the event that the anchor behavior habit reconstruction fails, the content type indicated by the structured data is obtained based on the structured data corresponding to the anchor behavior habit.
[0117] Based on multiple constraints, including the content type, real-time available access time, and node connectivity, a target alternative path is searched from the behavioral habit graph.
[0118] The target behavior habit node with the highest connection density is selected from the target alternative path, and the target behavior habit corresponding to the target behavior habit node is used as the new anchor behavior habit.
[0119] If the original anchored behavioral habits cannot be restored due to objective limitations, the system will initiate an alternative path planning repair strategy. This strategy will search for new habit nodes in the behavioral habit map that meet similar psychological needs (such as relaxation and entertainment) and are compatible with the time period, guiding the user to smoothly transition to the reconstructed new behavioral path.
[0120] In other words, if anchor behavior habits cannot be restored due to changes in objective conditions (such as adjustments to a user's work schedule rendering the original viewing time unavailable), the system searches for alternative paths within the behavior habit graph. The search for alternative paths follows three constraints:
[0121] (1) Content demand similarity: The content type corresponding to the new path has a similarity of more than 0.7 with the content type of the original anchor point;
[0122] (2) Time period compatibility: The time period of the new path matches the user's current actual available time;
[0123] (3) Graph reachability: The connectivity of the new path with other healthy nodes in the behavioral habit graph is not less than 0.5, ensuring that the alternative path will not become an isolated node. The alternative path candidate schemes are sorted according to the comprehensive score, and the system will prioritize pushing the scheme with the highest score.
[0124] The connectivity can refer to, but is not limited to, the structural stability index of a behavioral habit node in the graph. It can be understood as the sum of the weights of effective directed edges (i.e., transition relationships) between the node and other behavioral habit nodes in an active / healthy state, or the weight ratio.
[0125] In this embodiment, when the system determines that the attempt to reconstruct the original anchor point behavior habit has failed (e.g., the user does not respond to the push notification within the specified time period, or cannot resume viewing behavior in the original context), the system activates an alternative solution. At this time, the system deeply analyzes the structured data of the original anchor point habit, focusing on extracting the content type field that represents the user's core interest dimension. This field represents the user's fundamental psychological need for entertainment content (e.g., the pursuit of suspense and excitement, the desire for relaxation and stress relief). Through this core need, the system clarifies the target direction of alternative path search, ensuring that even if the viewing time or device changes, the content experience obtained by the user can still maintain a high degree of consistency with their original psychological expectations, thereby laying a cognitive foundation for the establishment of new anchor point behavior habits.
[0126] Based on three key constraints—content type, real-time available access time, and node connectivity—intelligent search is performed within the behavioral habit graph to locate potential alternative paths. Through these multiple constraints, the selected alternative paths not only satisfy users in terms of content and are feasible in terms of time, but are also structurally robust.
[0127] From the selected alternative paths, the target behavior habit node with the highest connection density is selected, and the new habit corresponding to the target behavior habit node with the highest connection density is determined as the new anchor behavior habit.
[0128] Connection density reflects the core position and influence of a behavioral habit node within the user's overall viewing behavior system. Choosing the node with the highest connection density as the new anchor point means that the new habit has the strongest stability and scalability, can most effectively fill the functional gap left by the failure of the original anchor point, and drive the surrounding related behavioral habit nodes to re-establish connections.
[0129] By redefining new anchor behavioral habits, not only was a natural transition in user behavior patterns achieved, but the behavioral habit graph structure that was damaged due to the breakage of the original anchor points was also repaired at the macro level. This prevented the further spread of the risk of churn and realized a strategic shift from rescuing existing habits to "building solid new habits".
[0130] As an optional example, before determining the temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected, the above method further includes:
[0131] The transfer frequency of each connection edge is determined based on the actual access frequency of the content interaction platform through the target account.
[0132] If the transfer frequency is less than a preset frequency threshold, it is determined that the connection relationship indicated by the connection edge has been broken.
[0133] In this embodiment, the transition frequency of each connection edge is determined not through static statistics, but through a data-driven method based on actual access frequency. The system tracks the target account's specific operation logs on the content interaction platform in real time, focusing on recording the actual behavioral sequence of the user transitioning from one micro-habit node (such as watching series A) to another micro-habit node (such as viewing the recommendation list or watching series B). By setting a specific sliding time window (such as the past 7 days or 14 days), the ratio of the number of times the user transitioned from one node to another to the total number of accesses within that window is statistically analyzed. This ratio is the transition frequency of that connection edge.
[0134] For example, if a user clicked on related recommendations directly after watching a suspense drama in 8 out of their last 10 visits, the transition frequency of that connection edge is 0.8. This calculation method, based on actual visit frequency, can dynamically and accurately reflect the user's current behavioral tendencies, rather than relying on excessively long historical average data, thus ensuring that the monitoring results can characterize the user's latest lifestyle and changes in interests.
[0135] When comparing the calculated transfer frequency with a preset frequency threshold and determining a break, a relatively stable benchmark comparison mechanism is introduced to avoid misjudgments caused by short-term fluctuations. The preset frequency threshold is not a fixed constant, but is dynamically adjusted based on historical benchmark values (such as averages or medians) formed over a longer period (such as the past 60 days) of the connection edge.
[0136] For example, the determination of a broken connection is based on a 7-day monitoring period, calculating the current transition frequency of each directed edge. When the transition frequency of a connection edge drops by more than 50% compared to its historical baseline value, and remains below this threshold for two consecutive monitoring periods, the connection edge or connection relationship is marked as broken.
[0137] When the frequency of transitions within the current monitoring period is detected to be significantly lower than the historical baseline, and the decrease exceeds a preset critical percentage (e.g., a decrease of more than 50%), the connection is initially deemed to be at risk of breaking. However, to prevent false alarms caused by temporary user adjustments, the system further implements a continuous monitoring strategy. Only when the frequency of transitions on the connection edge is lower than a preset threshold for two consecutive monitoring periods is a substantial break in the connection relationship definitively confirmed. This dual-determination mechanism (threshold comparison + continuous verification) improves the accuracy of break identification, ensuring that subsequent break chain propagation detection processes are triggered only when the user's behavior pattern deviates continuously and structurally, thus improving the accuracy of member churn risk prediction results.
[0138] As an optional example, the above method also includes at least one of the following:
[0139] After executing the habit repair strategy, the broken connection edges in the behavioral habit graph are automatically repaired;
[0140] When a new behavior habit node is added, the connection relationships between each behavior habit node in the behavior habit graph are updated;
[0141] Based on the historical behavior data that is updated in real time, the connection relationships between each behavior habit node in the behavior habit graph and the weight of the connection edges are dynamically updated.
[0142] User habits or micro-habits evolve over time and in changing life circumstances, meaning that behavioral habit maps also need constant updating. Therefore, this application provides a self-evolution mechanism to continuously track the health status of the behavioral habit map. Specifically, this includes the following update or self-evolution methods:
[0143] (1) Self-repair detection of behavioral habit map: When the intervention is triggered, track whether the broken connections in the map are re-established; if the user restores the target habit connection within 14 consecutive days after the intervention, the intervention result is marked as successful.
[0144] (2) New Graph Detection: When monitoring whether new habit nodes and connections have appeared in the graph; the formation of new habits means that the user's viewing behavior is evolving naturally, the system will include the new nodes in the graph and calculate their connection with existing nodes.
[0145] (3) Intervention effect feedback: The system establishes a three-dimensional effect matrix according to the dimensions of fracture type, intervention plan, and user group, and tracks the success rate of map repair under each combination. When the success rate of a certain intervention plan is less than 30% for 30 consecutive days under a certain fracture type and user group combination, the system automatically adjusts the weight of the plan and tries alternative plans.
[0146] (4) Regular reconstruction of behavioral habit map: Every 90 days, the full map is reconstructed with the latest 60-day sliding window data, anchor point habits are re-identified, and the map always reflects the latest behavioral patterns of users.
[0147] In other words, in this embodiment, to ensure that the behavioral habit graph can reflect the dynamic changes in user behavior in real time and maintain the accuracy of prediction and intervention strategies, the system first automatically repairs broken connections in the behavioral habit graph after executing the habit repair strategy. This process constitutes a key feedback loop for closed-loop optimization. When the system successfully guides the user to restore their original behavior or establish new habits through pushing anchor point behavioral habit reconstruction or alternative path planning, it continuously monitors the status of the target connection. If, within a certain time window after intervention (e.g., 14 consecutive days), the monitoring data shows that the transfer frequency of the connection has rebounded to above the healthy threshold, and the user's behavior shows stability, the status of the connection is automatically reset from broken to valid. This automatic repair mechanism not only updates the topology of the graph, making it present a complete habit chain again, but also signifies the effectiveness of the intervention measures, providing direct evidence for subsequent evaluation of the success rate of different intervention strategies, thereby realizing the transformation from passive monitoring to proactive correction.
[0148] When new behavioral habit nodes are added, the connections between nodes in the behavioral habit graph are updated to adapt to the natural evolution of users' lifestyles or interests. Users' micro-habits are not static; with changes in life scenarios (such as holidays, job changes, or the release of new TV series), users may develop entirely new behavioral patterns. By scanning user behavior data in real time, high-frequency repetitive behavioral sequences that have not yet been captured or included in the graph are identified. If these new sequences are confirmed to meet the definition of micro-habits, they are introduced into the behavioral habit graph as new nodes. Then, the transition probability between the new node and existing healthy nodes is calculated, and corresponding directed edges are established. This update mechanism ensures the timeliness of the graph and prevents the historical graph from becoming disconnected from actual behavior due to the evolution of user behavior.
[0149] Finally, based on real-time updated historical behavior data, the system dynamically updates the connections between nodes and the weights of connecting edges in the graph to quantify changes in user behavior intensity. The system employs a sliding time window technique (e.g., a 60-day window) to periodically recalculate the transition frequency weight of each edge. This means that if a user's recent preference for a particular type of content significantly increases, the weight of the relevant connecting edge will increase accordingly, and vice versa. This dynamic weight adjustment mechanism allows the behavior habit graph to sensitively perceive subtle fluctuations in user behavior intensity, such as a shift from occasional viewing to frequent viewing, or a decline from in-depth viewing to cursory browsing. By continuously refreshing the structural parameters of the behavior habit graph, the system ensures that the data foundation upon which churn risk assessment and anchor point identification rely remains up-to-date, thereby improving the accuracy and adaptability of the entire prediction and reconstruction system and ensuring timely responses when user behavior undergoes gradual changes.
[0150] Based on the analysis of the above embodiments, this application provides a method for predicting and reconstructing video membership churn based on the contagion of broken viewing micro-habit graphs. This method aims to address the structural dependencies between behaviors: First, it automatically discovers and constructs a personalized directed graph of viewing micro-habits from users' historical viewing data. The nodes of the graph represent specific micro-habits (time-period habits, content type switching habits, viewing duration habits, device switching habits, etc.), and the directed edges (which can also be understood as connection edges) represent the transfer frequency and dependency strength between behavioral habits. Then, the system monitors the strength changes of each habit connection in real time. When a connection is marked as broken, it tracks the propagation path and speed of the broken chain in the graph to determine the churn risk level. When an anchor behavioral habit (the core node with the highest connection density in the graph) is detected to be at risk of breaking, the system proactively triggers anchor reconstruction or alternative path planning during the user's most active time period, achieving highly personalized and accurate recall.
[0151] Compared with traditional technical solutions, the technical solution of this application has at least the following beneficial effects:
[0152] (1) Earlier and more accurate prediction: Before a significant decrease in behavioral values (such as viewing time and number of times the app is opened), the system can detect churn signals in advance through microscopic changes in the behavioral habit graph structure. Based on the prediction mechanism of graph break chains, it is expected to issue early warnings 7-10 days earlier than traditional numerical threshold schemes;
[0153] (2) More precise and efficient intervention: The personalized reconstruction solution based on anchor point behavioral habits is more targeted than the general strategy of uniform activity coupons. The intervention priority is determined by the centrality of the graph, and the input-output ratio is significantly better than the mass distribution model.
[0154] (3) Propagation blocking capability: It can not only rescue users who have already broken the habit, but also block the propagation path in advance by tracking the propagation of the broken chain, so as to avoid the chain collapse of the entire habit system caused by a single habit break.
[0155] (4) Individual Differences: Each user's micro-habit map is completely personalized, with different structures, anchor points, and break patterns. The system's intervention plan for each user is a customized plan based on their personalized map, reflecting the flexibility of the plan.
[0156] (5) Continuous self-adaptation: The map is dynamically updated as user behavior changes, and the system’s prediction and intervention capabilities are continuously enhanced as user data accumulates, achieving self-iterative optimization without the need for manual operation intervention.
[0157] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0158] According to another aspect of the embodiments of this application, as follows is also provided Figure 4 An interactive behavior processing device is shown, the device comprising:
[0159] Create unit 402 to create a behavioral habit map based on historical behavioral data of accessing the content interaction platform through the target account;
[0160] The first processing unit 404 is used to determine the temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected.
[0161] The second processing unit 406 is used to execute a habit repair strategy based on the propagation speed of the broken chain indicated by the temporal correlation, and to restore the interaction behavior pattern of the target account on the content interaction platform based on the repaired graph state.
[0162] Optionally, the first processing unit 404 includes:
[0163] The positioning module is used to locate the broken connection edges in the behavior habit graph and obtain candidate node pairs of the broken connection edges;
[0164] The first acquisition module is used to sequentially acquire the first and second timestamps of the first break of the connection relationship in the set of connection edges that have a dependency relationship with each candidate node in the candidate node pair;
[0165] The first processing module is used to perform differential processing on the first timestamp and the second timestamp to obtain the temporal correlation between the adjacent behavioral habit nodes.
[0166] Optionally, the second processing unit 406 includes:
[0167] The first screening module is used to screen out the anchor point behavioral habits with the highest connection density from the behavioral habit map when the account loss risk level is determined to be high based on the propagation speed of the broken chain.
[0168] The adaptive reconstruction module is used to adaptively reconstruct the anchor point behavior habits in order to repair the interaction behavior pattern of accessing the content interaction platform through the target account.
[0169] Optionally, the above-mentioned adaptive refactoring module includes:
[0170] The first acquisition submodule is used to acquire the structured data corresponding to the anchor point behavior habits;
[0171] The push module is used to push historical preference content corresponding to the anchor behavior habits to the target account based on the active period of behavior indicated by the structured data.
[0172] The first processing submodule is used to determine whether to complete the adaptive reconstruction of the anchor point behavior habit when the cumulative number of times the target account receives and responds to the historical preference content exceeds a preset threshold.
[0173] Optionally, the second processing unit 406 further includes:
[0174] The second acquisition module is used to acquire the content type indicated by the structured data based on the structured data corresponding to the anchor behavior habit when the anchor behavior habit reconstruction fails.
[0175] The search module is used to search for alternative paths to the target from the behavioral habit graph based on multiple constraints, including the content type, real-time available access time, and node connectivity.
[0176] The second filtering module is used to filter out the target behavior habit nodes with the highest connection density from the target alternative paths, and use the target behavior habit corresponding to the target behavior habit node as the new anchor behavior habit.
[0177] Optionally, the above-mentioned device further includes:
[0178] The third processing unit is used to determine the transfer frequency of each connection edge based on the actual access frequency of the content interaction platform through the target account before determining the temporal correlation between adjacent behavior habit nodes when a break in the connection edge between behavior habit nodes in the behavior habit graph is detected.
[0179] If the transfer frequency is less than a preset frequency threshold, it is determined that the connection relationship indicated by the connection edge has been broken.
[0180] Optionally, the above-mentioned device further includes:
[0181] The fourth processing unit is configured to perform at least one of the following: automatically repairing broken connection edges in the behavior habit map after executing the habit repair strategy;
[0182] When a new behavior habit node is added, the connection relationships between each behavior habit node in the behavior habit graph are updated;
[0183] Based on the historical behavior data that is updated in real time, the connection relationships between each behavior habit node in the behavior habit graph and the weight of the connection edges are dynamically updated.
[0184] It should be noted that the embodiments of the interactive behavior processing device here can refer to the embodiments of the interactive behavior processing method described above, and will not be repeated here.
[0185] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described interactive behavior processing method is also provided. This electronic device may be... Figure 1 The target terminal or server is shown. This embodiment uses the electronic device as an example to illustrate the concept. Figure 5 As shown, the electronic device includes a memory 502 and a processor 504. The memory 502 stores a computer program, and the processor 504 is configured to execute the steps of any of the above method embodiments through the computer program.
[0186] Optionally, the aforementioned electronic device may be located in at least one of a plurality of network devices of the computer.
[0187] Optionally, the processor described above can be configured to perform the following steps via a computer program:
[0188] S1. Create a behavioral habit map based on historical behavioral data of accessing content interaction platforms through target accounts;
[0189] S2, when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected, the temporal correlation between adjacent behavioral habit nodes is determined;
[0190] S3. Based on the propagation speed of the broken chain indicated by the temporal correlation, execute the habit repair strategy, and based on the repaired graph state, restore the interaction behavior pattern of the target account on the content interaction platform.
[0191] Alternatively, as those skilled in the art will understand, Figure 5 The structure shown is for illustrative purposes only. Figure 5 This does not limit the structure of the aforementioned electronic devices or electronic equipment. For example, electronic devices or electronic equipment may also include components that are more... Figure 5 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 5 The different configurations shown.
[0192] The memory 502 can be used to store software programs and modules, such as the program instructions / modules corresponding to the interactive behavior processing method and apparatus in this embodiment. The processor 504 executes various functional applications and data processing by running the software programs and modules stored in the memory 502, thereby realizing the aforementioned interactive behavior processing method. The memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 502 may further include memory remotely located relative to the processor 504, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 502 may be used, but is not limited to, to store behavioral habit maps, temporal correlations, and the state of the repaired map. As an example, such as... Figure 5 As shown, the memory 502 may include, but is not limited to, the creation unit 402, the first processing unit 404, and the second processing unit 406 in the processing device for the interactive behavior described above. Furthermore, it may include, but is not limited to, other module units in the processing device for the interactive behavior described above, which will not be elaborated upon in this example.
[0193] Optionally, the transmission device 506 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 506 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 506 is a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0194] In addition, the aforementioned electronic device also includes: a display 508 for displaying video images in the content interaction platform; and a connection bus 510 for connecting various module components in the aforementioned electronic device.
[0195] In other embodiments, the target terminal or server described above can be a node in a distributed system. This distributed system can be a blockchain system, formed by connecting multiple nodes through network communication. The nodes can form a point-to-point network, and any type of computing device, such as a server or target terminal, can become a node in the blockchain system by joining this point-to-point network.
[0196] According to another aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the interactive behavior processing methods provided in various optional implementations of the aforementioned server verification processing, wherein the computer program is configured to execute the steps in any of the above-described method embodiments at runtime.
[0197] Optionally, in this embodiment, the computer-readable storage medium described above may be configured to store a computer program for performing the following steps:
[0198] S1. Create a behavioral habit map based on historical behavioral data of accessing content interaction platforms through target accounts;
[0199] S2, when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected, the temporal correlation between adjacent behavioral habit nodes is determined;
[0200] S3. Based on the propagation speed of the broken chain indicated by the temporal correlation, execute the habit repair strategy, and based on the repaired graph state, restore the interaction behavior pattern of the target account on the content interaction platform.
[0201] Optionally, in embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0202] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the target terminal. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0203] The sequence numbers of the embodiments in this application are merely for description and do not represent the superiority or inferiority of the embodiments. If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods in the various embodiments of this application.
[0204] In the above embodiments of this application, the descriptions of each embodiment have their own emphasis. Parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. It should be understood that the disclosed client can be implemented in other ways in the several embodiments provided in this application. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection of units or modules may be electrical or other forms.
[0205] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.
[0206] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for processing interactive behavior, characterized in that, include: Create a behavioral habit map based on historical behavioral data of accessing content interaction platforms through target accounts; When a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected, the temporal correlation between adjacent behavioral habit nodes is determined. Based on the propagation speed of the broken chain indicated by the temporal correlation, a habit repair strategy is executed, and based on the repaired graph state, the interaction behavior pattern of the target account on the content interaction platform is restored.
2. The method according to claim 1, characterized in that, The step of determining the temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected includes: Locate the broken connection edges in the behavioral habit graph and obtain candidate node pairs of the broken connection edges; Sequentially obtain the first and second timestamps of the first break of the connection relationship in the set of connection edges that have a dependency relationship with each candidate node in the candidate node pair; Perform differential processing on the first timestamp and the second timestamp to obtain the temporal correlation between the adjacent behavioral habit nodes.
3. The method according to claim 1, characterized in that, The habit repair strategy, based on the propagation speed of the broken chain indicated by the temporal correlation, includes: If the account loss risk level is determined to be high based on the propagation speed of the broken chain, the anchor behavioral habits with the highest connection density are selected from the behavioral habit map. The anchor behavior habits are adaptively reconstructed to fix the interaction behavior pattern when accessing the content interaction platform through the target account.
4. The method according to claim 3, characterized in that, The adaptive reconstruction of the anchor point behavior habits includes: Obtain the structured data corresponding to the anchor point's behavioral habits; Based on the active time periods indicated by the structured data, historical preference content corresponding to the anchor point behavior habits is pushed to the target account; If the cumulative number of times the target account receives and responds to the historical preference content exceeds a preset threshold, it is determined that the adaptive reconstruction of the anchor behavior habit has been completed.
5. The method according to claim 1, characterized in that, The method of executing the habit repair strategy based on the fracture chain propagation speed indicated by the temporal correlation also includes: In the event that the anchor behavior habit reconstruction fails, the content type indicated by the structured data is obtained based on the structured data corresponding to the anchor behavior habit. Based on multiple constraints, including the content type, real-time available access time, and node connectivity, a target alternative path is searched from the behavioral habit graph. The target behavior habit node with the highest connection density is selected from the target alternative path, and the target behavior habit corresponding to the target behavior habit node is used as the new anchor behavior habit.
6. The method according to any one of claims 1 to 5, characterized in that, Before determining the temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected, the method further includes: The transfer frequency of each connection edge is determined based on the actual access frequency of the content interaction platform through the target account. If the transfer frequency is less than a preset frequency threshold, it is determined that the connection relationship indicated by the connection edge has been broken.
7. The method according to any one of claims 1 to 5, characterized in that, The method further includes at least one of the following: After executing the habit repair strategy, the broken connection edges in the behavioral habit graph are automatically repaired; When a new behavior habit node is added, the connection relationships between each behavior habit node in the behavior habit graph are updated; Based on the historical behavior data that is updated in real time, the connection relationships between each behavior habit node in the behavior habit graph and the weight of the connection edges are dynamically updated.
8. A device for processing interactive behavior, characterized in that, include: Create a unit to create a behavioral habit map based on historical behavioral data of accessing content interaction platforms through target accounts; The first processing unit is used to determine the temporal correlation between adjacent behavioral habit nodes when a break in the connection edge between behavioral habit nodes in the behavioral habit map is detected. The second processing unit is used to execute a habit repair strategy based on the propagation speed of the broken chain indicated by the temporal correlation, and to restore the interaction behavior pattern of the target account on the content interaction platform based on the repaired graph state.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program can be executed by a terminal device or computer at runtime as described in any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to perform the method as described in any one of claims 1 to 7 via the computer program.
