Data processing method and device, electronic equipment and storage medium
By introducing waiting nodes and message queue monitoring mechanisms in user journey marketing, the problems of large amount of data and low node flow efficiency in traditional user journey marketing are solved, saving storage space and improving node flow efficiency, and enhancing personalized customized recommendation capabilities.
Patent Information
- Application Number
- CN202510090888.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-01-21
AI Technical Summary
Traditional user journey marketing requires judging the user's behavioral conditions within the preset time, resulting in large amount of data and a large amount of storage space, which is not conducive to the flow of nodes and affects the user's personalized customized recommendations.
By adding a waiting node, when the user flows to the waiting node in the target journey map, a waiting message is sent to a preset message queue, and the waiting time is monitored through the message queue. When the waiting time meets the node flow conditions of the waiting node, node flow information is generated for node flow, avoiding dependence on physical memory and saving storage space.
It realizes the efficiency of node circulation while saving storage space, enhances users' personalized customized recommendation capabilities, ensures efficient delivery of journey marketing, and improves revenue and conversion.
Smart Images

Figure CN120013611A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device, electronic equipment and storage medium. Background Art
[0002] User journey marketing is a user-centric marketing strategy based on user behavior and needs. It provides users with personalized products and services by deeply understanding user needs and experiences to improve user experience and conversion rate. For example, user journey marketing can formulate different operation strategies at each stage (one stage corresponds to one node) of the user life cycle (the entire process from user awareness of needs to final purchase of products) based on the user's continuous behavior for a preset time (such as a few days). Users can then continuously flow between the nodes corresponding to different stages, thereby providing users with personalized products and services.
[0003] Traditional user journey marketing uses a journey map to describe the various stages that users may go through in their purchase decisions after determining the target users. The flow between the nodes corresponding to each stage in the journey map is as follows: only when the user's behavior conditions within the preset time meet the policy conditions of the marketing strategy corresponding to the previous node can the next node be transferred and the strategy displayed. For example, the policy conditions of the marketing strategy corresponding to the previous node are to display the target resource position several times a day. However, this method needs to judge the user's behavior conditions within the preset time, and then needs to save the user's behavior conditions of the user's waiting time, so the amount of data saved is large, which occupies a large storage space, is not conducive to the flow of nodes, and affects the user's personalized customized recommendations. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a data processing method, device, electronic device and storage medium to improve the efficiency of node transfer while saving storage space and realize personalized customized recommendations for users. The specific technical solution is as follows:
[0005] In a first aspect of the present invention, a data processing method is provided, the method comprising:
[0006] Obtaining node information of a first node currently located by the user in the target journey map, wherein the node information includes a node transition condition; the node transition condition is a condition for determining whether the user can enter the next node of the target journey map;
[0007] When the first node is a waiting node, a waiting message is sent to a preset message queue, and the waiting time is monitored through the preset message queue; the waiting node represents a node that needs to be delayed for a set time to enter the next node of the target journey map;
[0008] When the waiting time meets the node transfer condition of the waiting node, node transfer information is generated; the node transfer information is used to indicate that the user is transferred from the current node to the next node of the node;
[0009] Determine, according to the node transfer information, a second node to be transferred by the user in the target journey map; wherein the second node is a node located in the target journey map different from the first node;
[0010] The user is transferred from the first node currently located in the target journey map to the second node, and the first node stored in the preset storage location is updated using the second node.
[0011] In a possible implementation, the method further includes:
[0012] When the first node is not a waiting node, obtaining historical information of the user at the first node from the preset storage location; the historical information represents behavior information generated when the user accesses the requested resource position within a historical time period;
[0013] When the historical information satisfies the node transfer condition of the first node, node transfer information is generated.
[0014] In a possible implementation, after transferring the user from the first node currently located in the target journey map to the second node, the method further includes:
[0015] When the user triggers the target behavior, a target behavior verification message of the user is obtained; the target behavior verification message is used to verify whether the target behavior triggered by the user meets the node transfer condition;
[0016] Based on the target behavior verification message, acquiring the historical target behavior information of the user at the second node from the preset storage location;
[0017] When the historical target behavior information satisfies the node transfer condition of the second node, node transfer information is generated, and a third node to be transferred by the user in the target journey map is determined;
[0018] The user is transferred from the second node in the target journey map to the third node, and the second node stored at the preset storage location is updated using the third node.
[0019] In a possible implementation, the target journey map includes nodes and display information corresponding to the nodes; after transferring the user from the first node currently located in the target journey map to the second node, the method further includes:
[0020] Based on the target journey map, determining display information corresponding to the second node; the display information includes recommendation information corresponding to the second node;
[0021] The display information is sent to the target terminal for display.
[0022] In a possible implementation manner, the updating the first node stored at the preset storage location by using the second node includes:
[0023] Based on the target journey map, acquiring node information of the second node;
[0024] The first node where the user is currently located in the target journey map stored at the preset storage location is updated to a second node, and the node information of the first node is updated to the node information of the second node.
[0025] In a possible implementation, obtaining node information of a first node where the user is currently located in the target journey map includes:
[0026] When the target request of the user is obtained, based on the user identity identifier and the requested resource bit identifier in the target request, the corresponding relationship at the preset storage location is queried to obtain a target journey map corresponding to the user identity identifier and the requested resource bit identifier; the corresponding relationship is used to represent the relationship between the user identity identifier, the requested resource bit identifier and the journey map;
[0027] The target journey map is queried to determine a first node where the user is currently located in the target journey map and node information of the first node.
[0028] In a possible implementation, the method further includes:
[0029] When the waiting time does not satisfy the node transfer condition of the waiting node, the node transfer is terminated, and the node where the user is located in the target journey map is not updated.
[0030] In a second aspect of the present invention, there is also provided a data processing device, the device comprising:
[0031] An acquisition module, used to acquire node information of the first node currently located by the user in the target journey map, wherein the node information includes a node transfer condition; the node transfer condition is a condition for determining whether the user can enter the next node of the target journey map;
[0032] A monitoring module, for sending a waiting message to a preset message queue when the first node is a waiting node, and monitoring the waiting time through the preset message queue; the waiting node represents a node that needs to be delayed for a set time before entering the next node of the target journey map;
[0033] A first information generating module is used to generate node transfer information when the waiting time meets the node transfer condition of the waiting node; the node transfer information is used to indicate that the user is transferred from the current node to the next node of the node;
[0034] A node determination module, configured to determine, according to the node transfer information, a second node to be transferred by the user in the target journey map; wherein the second node is a node located in the target journey map different from the first node;
[0035] The first node transfer module is used to transfer the user from the first node currently located in the target journey map to the second node, and use the second node to update the first node stored in the preset storage location.
[0036] In another aspect of the present invention, there is provided an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0037] Memory, used to store computer programs;
[0038] The processor is used to implement any of the above-mentioned data processing methods when executing the program stored in the memory.
[0039] In another aspect of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any of the above-mentioned data processing methods is implemented.
[0040] In yet another aspect of the present invention, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute any of the above-mentioned data processing methods.
[0041] A data processing method, device, electronic device and storage medium provided by an embodiment of the present invention add a waiting node. When a user flows to a waiting node in a target journey map, the message is stored in a message stream by sending a message, and there is no need to store it in a physical memory, thereby saving storage space. The waiting time is monitored through a preset message queue. When the waiting time meets the node flow condition of the waiting node, node flow information is directly generated for node flow, thereby improving the efficiency of node flow and facilitating the implementation of personalized customized recommendations for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0043] Figure 1 A schematic diagram of a flow chart of a data processing method in an embodiment of the present invention;
[0044] Figure 2 Another schematic diagram of a data processing method in an embodiment of the present invention;
[0045] Figure 3 1 is another flow chart of the data processing method in the embodiment of the present invention;
[0046] Figure 4 A schematic diagram of a principle of data processing in an embodiment of the present invention;
[0047] Figure 5 A schematic diagram of an application of data processing in an embodiment of the present invention;
[0048] Figure 6 A schematic diagram of the structure of a data processing device in an embodiment of the present invention;
[0049] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0051] In order to save storage space and improve the efficiency of node circulation, and realize personalized customized recommendations for users, the embodiments of the present invention provide a data processing method, device, electronic device and storage medium. The data processing method provided by the embodiments of the present invention can be applied to personalized recommendation scenarios such as user journey marketing, and applied to electronic devices, which can include servers, etc.
[0052] The data processing method provided by the embodiment of the present invention is described in detail below:
[0053] like Figure 1 As shown, Figure 1 A flowchart of a data processing method in an embodiment of the present invention is shown, and the method comprises the following steps:
[0054] S101, obtaining node information of the first node where the user is currently located in the target journey map;
[0055] The node information includes node transfer conditions; the node transfer conditions are conditions for determining whether the user can enter the next node of the target journey map;
[0056] S102, when the first node is a waiting node, sending a waiting message to a preset message queue, and monitoring the waiting time through the preset message queue;
[0057] Among them, the waiting node represents a node that needs to be delayed for a set period of time before entering the next node of the target journey map;
[0058] S103, when the waiting time meets the node transfer condition of the waiting node, generating node transfer information;
[0059] The node transfer information is used to indicate that the user is transferred from the current node to the next node of the node;
[0060] S104, determining a second node to be transferred by the user in the target journey map according to the node transfer information;
[0061] The second node is a node located in the target journey map that is different from the first node;
[0062] S105, transferring the user from the first node currently located in the target journey map to the second node, and using the second node to update the first node stored in the preset storage location.
[0063] In an embodiment of the present invention, a waiting node is added. When a user flows to a waiting node in a target journey map, the message is stored in a message flow by sending a message, and does not need to be stored in a physical memory, thereby saving storage space. The waiting time is monitored through a preset message queue (Message Queue, MQ). When the waiting time meets the node flow condition of the waiting node, the node flow information is directly generated for node flow, thereby improving the efficiency of node flow and facilitating the implementation of personalized customized recommendations for users.
[0064] The data processing method provided by the embodiment of the present invention is applied to an electronic device, which may include a cache, a node flow strategy device, and a message queue, etc. Specifically, the node flow strategy device can be used to determine the node where the user is currently located in the target journey map and whether the user's behavior meets the node flow condition of the node where the user is located. When the user's behavior meets the node flow condition of the node where the user is located, the user is controlled to flow nodes in the target journey map and update the node where the user is located in the target journey map stored at a preset storage location, and provide or display corresponding recommendation information to the user to achieve personalized customized recommendations based on the user's life cycle. Among them, the journey map is a graph used to display the journey progress and structural relationship within the user's life cycle, similar to a knowledge map. The journey map may include nodes, connection relationships between nodes, and display information (including recommendation information) and node flow conditions corresponding to each node.
[0065] In an embodiment of the present invention, the journey map set by the developer for different resource positions of the application (Application, APP) is pre-stored in the preset storage position of the electronic device, and there is a corresponding relationship between the APP, the resource position and the journey map. Among them, the resource position represents various display positions in the APP, which can specifically correspond to different display areas in the APP, and in the display area, for example, marketing strategies such as APP-bottom navigation-VIP (very important person, VIP) pictures and APP-VIP channel large floating layers can be displayed. The journey map is provided with multiple nodes, each of which corresponds to information such as display information and node flow conditions, and each node is connected to each other. The connection / structural relationship between each node in the journey map can be represented as a journey map or journey tree structure including a series of nodes such as start and end and node parent-child relationships. In an example, the journey map can specifically include the connection relationship between each node, the content that each node needs to display to the user and the content display method, the node flow conditions of each node, etc. The content display method can be, for example, displaying the target advertisement in a video manner at a preset position of the APP, or displaying the target advertisement in a text manner, etc. The node transition condition is a condition used to determine whether the user can enter the next node of the target journey map.
[0066] Among them, the target journey map is the journey map corresponding to the resource position requested by the user. The preset storage location can be, for example, a cache of an electronic device, a designated storage location, etc. In the embodiment of the present invention, the preset storage location is explained by taking the cache as an example. The cache stores the correspondence between the requested resource position identifier and the journey map, the journey map, and the node information corresponding to each node in the journey map. The node information may include the node identifier or node code corresponding to the node, display information, and node flow conditions, etc.
[0067] When a user opens a target application (such as a video playback application, etc.) through a client, the node flow policy device of the electronic device is accessed, and a target request (such as a request to access a target resource position, etc.) is sent to the node flow policy device. The target request carries a user identity identifier (such as a user ID) and a requested request resource position identifier. Then, corresponding to the above step S101, the node flow policy device of the electronic device determines the target journey map corresponding to the request resource position identifier based on the user identity identifier and the requested request resource position identifier, by querying the correspondence between the request resource position identifier and the journey map stored in the cache, and further determines the first node where the user is currently located in the corresponding target journey map and the node information of the first node. Among them, the request resource position represents the location or area in a page (such as an APP page) used to display marketing strategies when a user visits the page.
[0068] When a user visits a target resource location for the first time, it is recognized that user information has not yet been generated for the user at the node of the corresponding target journey map, so user information for the current node is generated for the user, such as user identity, access time, number of visits, etc., and a correspondence between the user identity and the identifier of the target resource location and the corresponding target journey map is created for the user. When a user visits a target resource location for the first time, it is at the first node in the corresponding target journey map. Usually, the node flow condition at the first node in the target journey map is to determine whether the user is visiting for the first time. Exemplarily, the node flow condition at the first node can be set to that the user is not visiting for the first time. When it is determined that the user is visiting for the first time (not meeting the node transfer conditions of the first node), the node transfer is terminated, and the display information corresponding to the first visit to the target resource position (i.e., the marketing strategy / recommendation information corresponding to the first node) is displayed, such as a discount of XX yuan for the first month of purchasing a product, etc.; the user information at the node in the target journey map is stored in the cache, and the corresponding relationship between the user identity identifier and the identifier of the target resource position, the corresponding target journey map, and the current node where the user is located is stored in the set position of the cache, so that the user can accurately identify the node where the user is in the target journey map when he visits the target resource position again. When it is determined that the user is not visiting for the first time (i.e., the node transfer conditions of the first node are met), the node where the user is in the target journey map is transferred to the next node in the target journey map.
[0069] The embodiment of the present invention sets a waiting node, corresponding to the above step S102, when it is determined that the first node in the corresponding target journey map when the user accesses the target resource position is a waiting node, the operation of sending a waiting message to a preset message queue is triggered, and the waiting message contains the timestamp of the user's first access to the target resource position, so as to monitor the waiting time through the preset message queue. The waiting node represents a node that needs to be delayed for a set time to enter the next node of the target journey map. For example, the set time can be 2 days, 3 days or 5 days.
[0070] The preset message queue can monitor the waiting time in real time. When the waiting time is monitored to meet the node transfer condition of the waiting node, a transfer message is sent to the node transfer policy device. Corresponding to the above step S103, the node transfer policy device receives the transfer message, determines that the waiting time meets the node transfer condition of the waiting node, and generates node transfer information. The node transfer information is used to indicate that the user is transferred from the current node to the next node of the node. Exemplarily, the node transfer condition of the waiting node can be, for example, a preset number of days to wait, and the preset number of days can be, for example, 2 days, 3 days, or 5 days.
[0071] Corresponding to the above step S104, when the node flow information is generated, the corresponding target journey map in the cache is read, because the target journey map contains the interconnection relationship between the nodes, and the interconnection relationship contains the flow order between the nodes, and then the second node to be transferred by the user can be determined by querying the target journey map. The second node is a node located in the target journey map that is different from the first node.
[0072] Further, corresponding to the above step S105, the node transfer strategy device transfers the user from the first node currently located in the target journey map to the second node, and updates the first node currently located by the user in the target journey map in the cache to the second node currently located by the user, so as to quickly obtain the node currently located by the user in the target journey map and the corresponding node information next time.
[0073] In an embodiment of the present invention, a waiting node is added. When a user flows to a waiting node in a target journey map, the message is stored in a message stream by sending a message, instead of being stored in a physical memory, thereby saving storage space. The waiting time is monitored through a preset message queue. When the waiting time satisfies the node transfer condition of the waiting node, the node transfer information is directly generated for node transfer, thereby improving the efficiency of node transfer, so as to realize personalized customized recommendations for users, and can update the current node of the user in the target journey map in real time, thereby ensuring the efficient delivery of user journey marketing and improving revenue and conversion.
[0074] like Figure 2 As shown, Figure 2 Another flow chart of a data processing method according to an embodiment of the present invention is shown in FIG. 1 , wherein the method comprises the following steps:
[0075] S201, when a target request of the user is obtained, based on the user identity identifier and the requested resource location identifier in the target request, a corresponding relationship at a preset storage location is queried to obtain a target journey map corresponding to the user identity identifier and the requested resource location identifier.
[0076] When a user opens a target application through a client or terminal to access a target resource location, it triggers a target request to be sent to the node flow policy device of the electronic device. The target request carries the user identity and the requested resource location identifier (i.e., the target resource location identifier). The target request is triggered by the user through the client or terminal and is used to indicate that the user is currently accessing a request resource location.
[0077] After obtaining the target request, the node flow strategy device of the electronic device reads the cache and queries whether the cache contains a corresponding relationship, which is used to represent the relationship between the user identity identifier, the requested resource position identifier and the journey map, that is, the corresponding relationship includes the corresponding relationship between the user identity identifier, the requested resource position identifier and the corresponding journey map. If it does not contain it, it means that the user is accessing the target resource position for the first time. At this time, the user's user information will be stored in the first node of the target journey map corresponding to the requested resource position identifier, and the user identity identifier, the requested resource position identifier and the corresponding target journey map and the corresponding relationship between the node where the user is located will be stored in the cache. If it does contain it, it means that the user has visited the target resource position before, and the target journey map corresponding to the user identity identifier and the requested resource position identifier can be determined by querying the corresponding relationship in the cache.
[0078] S202, query the target journey map to determine the first node where the user is currently located in the target journey map and the node information of the first node.
[0079] The cache not only stores the correspondence between the user identity identifier, the requested resource position identifier and the corresponding journey map, but also stores the correspondence between the user identity identifier, the requested resource position identifier and the corresponding journey map and the node where the user is located. Then, by reading the cache, the node where the user is currently located in the target journey map, that is, the first node, can be determined, and the node information of the first node of the target journey map in the cache can be read at the same time.
[0080] The cache of the electronic device stores the correspondence between the user identity identifier, the requested resource location identifier and the corresponding journey map, so that when the user accesses the target resource location, the node and node information of the user's current location in the target journey map can be obtained in a timely and accurate manner, so as to realize accurate judgment of node flow and improve the efficiency of node flow.
[0081] S203: When the first node is a waiting node, a waiting message is sent to a preset message queue, and the waiting time is monitored through the preset message queue.
[0082] S204: When the waiting time satisfies the node transfer condition of the waiting node, node transfer information is generated.
[0083] When the waiting time does not meet the node transfer condition of the waiting node, the node transfer is terminated and the node where the user is located in the target journey map is not updated.
[0084] That is, when the waiting time does not meet the node transfer condition of the waiting node, it means that the first node where the user is currently located cannot be transferred to the next node of the target journey map, so the node transfer ends. No node transfer is performed, and accordingly, the node where the user is located in the cached target journey map will not be updated, that is, the node where the user is located is still at the first node, and the display information corresponding to the first node can continue to be displayed to the user through the client or terminal. However, the user's operation of accessing the target resource position has already occurred, so the corresponding behavior information needs to be stored in the user information of the first node, so as to facilitate the subsequent judgment of whether the user meets the node transfer condition of the node.
[0085] When the waiting time does not meet the node transfer condition of the waiting node, the node transfer is terminated, and the node where the user is located in the cached target journey map is not updated, thereby ensuring the accuracy of the user's current node in the target journey map, so as to achieve more accurate user journey marketing.
[0086] S205: When the first node is not a waiting node, obtain historical information of the user at the first node from a preset storage location.
[0087] The cache also stores the user information at the node of the target journey map. The user information includes the behavior information generated when the user accesses the requested resource position in the historical time period, that is, the historical information. The historical information can be stored in the form of logs, including the user identity, access time, and user behavior corresponding to the user accessing the requested resource position in the historical time period. The historical time period can be, for example, one month, half a year, or one year.
[0088] S206: When the historical information satisfies the node transfer condition of the first node, node transfer information is generated.
[0089] Exemplarily, the marketing strategy of the first node is to remind users of a discount of XX yuan for purchasing products in the first month in the form of information (such as text messages). The node transfer condition of the first node is that the number of resource positions displayed within 7 days is greater than M times, and M is an integer value, such as 1, 2 or 3. In order to avoid the need to save a large amount of data and occupy a large storage space when the user's behavior conditions within a preset time period meet the policy conditions of the marketing strategy corresponding to the previous node in the related art before the flow to the next node and display the strategy, in the embodiment of the present invention, M can be set to a relatively small value, and a waiting node is added to realize user journey marketing under delayed time based on the waiting node. When it is determined that the acquired historical information meets the node transfer condition of the first node, the node transfer information is generated to indicate that the user can be transferred to the next node of the first node in the target journey map.
[0090] Optionally, when the historical information does not meet the node transfer condition of the first node, the node transfer is terminated, and the node where the user is located in the cached target journey map is not updated, and the marketing strategy of the current first node continues to be displayed to the user through the client or terminal, that is, the user is prompted in the form of information that a discount of XX yuan is available for purchasing the product in the first month.
[0091] S207: Determine a second node to be transferred by the user in the target journey map according to the node transfer information.
[0092] S208, transferring the user from the first node currently located in the target journey map to the second node, and acquiring node information of the second node based on the target journey map.
[0093] S209, updating the first node where the user is currently located in the target journey map stored at the preset storage location to the second node, and updating the node information of the first node to the node information of the second node.
[0094] Transfer the user from the first node currently located in the target journey map to the second node, and read the target journey map in the cache to obtain the node identifier or node code, display information and node transfer conditions of the second node, and simultaneously update the first node currently located by the user in the target journey map stored in the cache to the second node, and update the node information of the first node to the node information of the second node.
[0095] In an optional implementation, the target journey map includes nodes and display information corresponding to the nodes; after the user is transferred from the first node currently located in the target journey map to the second node, the display information corresponding to the second node can also be determined based on the target journey map, and the display information includes recommendation information corresponding to the second node, and the display information is further sent to the target terminal for display.
[0096] The journey map is set with multiple nodes, each of which corresponds to display information and node transfer conditions. The user is transferred from the first node currently located in the target journey map to the second node, which means that the user's behavior information meets the node transfer conditions of the first node and enters the second node. At this time, the marketing strategy at the second node can be enjoyed. Specifically, the display information corresponding to the second node can be obtained by reading the target journey map in the cache, and then the display information containing the recommended information / marketing strategy is sent to the target terminal for display.
[0097] Exemplarily, the marketing strategy of the first node is to prompt users in the form of information that they can enjoy a discount of XX yuan for purchasing a product in the first month, and the node transfer condition is that the number of resource positions displayed within 7 days is greater than M times; the marketing strategy of the second node is to display cross-industry cooperation discount plans, and the node transfer condition is to wait for a preset number of days. When it is determined that the user's behavior information meets the node transfer condition of the first node and enters the second node, the target journey map in the cache is read to obtain the marketing strategy corresponding to the second node: display cross-industry cooperation discount plans, and send the marketing strategy to the target terminal for display. Cross-industry cooperation discount plans can, for example, be a gift for another product when you buy a product, or a gift for a one-month membership of another product when you buy a product.
[0098] In the embodiment of the present invention, a waiting node is added. When the user flows to the waiting node in the target journey map, the message is stored in the message flow by sending a message, and the message does not need to be stored in the physical memory, which saves storage space. The waiting time is monitored by a preset message queue. When the waiting time meets the node flow condition of the waiting node, the node flow information is directly generated for node flow, which improves the efficiency of node flow and facilitates the implementation of personalized customized recommendations for users. When the waiting time does not meet the node flow condition of the waiting node, the node flow is terminated, and the node where the user is located in the cached target journey map is not updated, which ensures the accuracy of the node where the user is currently located in the target journey map, so as to more accurately implement user journey marketing. And the user is transferred from the first node where the user is currently located in the target journey map to the second node, the first node where the user is currently located in the target journey map is updated to the second node, and the node information of the first node in the target journey map stored in the cache is updated to the node information of the second node, which can update the node where the user is currently located in the target journey map in real time, thereby ensuring the efficient delivery of journey marketing and improving revenue and conversion. After the user is transferred from the first node where the user is currently located in the target journey map to the second node, the display information corresponding to the second node is determined based on the target journey map, and the display information is sent to the target terminal for display, thereby more accurately realizing user journey marketing.
[0099] In the above Figure 1 or Figure 2Based on the embodiment, after the user is transferred from the first node currently located in the target journey map to the second node, as shown in FIG. Figure 3 As shown, the data processing method provided by the embodiment of the present invention may also include the following steps:
[0100] S301, when a user triggers a target behavior, obtaining a target behavior verification message of the user.
[0101] The target behavior may be a pre-set behavior, such as a user entering a checkout page, initiating a purchase request, clicking on a preview or purchase request for a movie or TV series, and the like.
[0102] In one embodiment, when a business system focusing on user behavior detects that a user has triggered a target behavior, it sends a target behavior verification message for the user to a message queue preset by the electronic device, and the preset message queue forwards the target behavior verification message to the node flow strategy device, which obtains the target behavior verification message for the user. The target behavior verification message is used to verify whether the target behavior triggered by the user meets the node flow conditions, so as to realize user journey marketing based on behavior conditions.
[0103] S302, based on the target behavior verification message, obtaining historical target behavior information of the user at the second node from a preset storage location.
[0104] When the user flows to the second node for the first time, the second node does not cache user information, that is, there is no historical target behavior information, so the user's historical target behavior information at the second node cannot be obtained from the cache. At this time, a target behavior verification message for the user is obtained, and the user's target behavior information is cached in the user information at the second node, so that the next time the user triggers the target behavior, the user's historical target behavior information at the second node can be obtained from the cache.
[0105] When it is not the first time for the user to transfer to the second node and the user triggers the target behavior, the node transfer strategy device obtains the target behavior verification message for the user, and can obtain the historical target behavior information of the user at the second node from the cache at this time, so as to determine whether to transfer the node where the user is located based on the historical target behavior information read from the cache. The historical target behavior information records the relevant information of the user's historical time period that triggers the target behavior, such as the time and cumulative number of times the target behavior is triggered. Exemplarily, the historical time period can represent the time period corresponding to the user's transfer to the second node to the transfer to the next node (third node).
[0106] S303: When the historical target behavior information meets the node transfer condition of the second node, node transfer information is generated, and a third node to be transferred in the target journey map of the user is determined.
[0107] Exemplarily, the node transfer condition of the second node is that the number of times the user enters the checkout page reaches T times, where T is a value greater than 1, such as 2, 3, or 4. The cumulative number of times the user triggers the target behavior in the historical target behavior information is compared with the node transfer condition of the second node. When the historical target behavior information meets the node transfer condition of the second node, the node transfer information is generated, and the corresponding target journey map in the cache is read to obtain the third node to which the user is to transfer. When the historical target behavior information does not meet the node transfer condition of the second node, it means that the user cannot transfer from the current second node to the next node, so the node transfer is terminated, and the node where the user is located in the cached target journey map is not updated, but the user information of the node where the user is located in the cache, that is, the cumulative number of times the user triggers the target behavior, is updated (i.e., plus 1 operation).
[0108] S304: Transfer the user from the second node to the third node in the target journey map, and use the third node to update the second node stored in the preset storage location.
[0109] In one example, when the user is transferred from the second node to the third node in the target journey map and the second node in the cache is updated using the third node, the user information cached at the second node (that is, the user's target behavior information) can also be cleared to save storage space.
[0110] In the embodiment of the present invention, a user journey marketing based on behavioral conditions is added by means of messages, which can judge the node flow in real time according to the behavior triggered by the user, thereby improving the real-time performance of the node flow. Moreover, when the user's behavioral conditions meet the node flow conditions for node flow, the user information cached at the node before the flow can be cleared, thereby saving storage space.
[0111] In a possible implementation, the node flow conditions of the nodes in the node information corresponding to each node in the above-mentioned target journey map can also be automatically adjusted according to the user's level or the relevant data of users who have purchased the corresponding product. For example, if the user's level is a new user, the node flow condition of the above-mentioned waiting node can be adjusted to a shorter waiting time, such as 1 day, etc.; if the user's level is a retained user (old user or a user with a close relationship with an old user, etc.), the node flow condition of the above-mentioned waiting node can be adjusted to a shorter waiting time, such as 0.5 days, etc. The relevant data of users who have purchased the corresponding product may be, for example, the purchase cycle of users who have purchased the corresponding product (the corresponding period from attention to purchase), the number of times the target behavior is triggered, etc.
[0112] For example, Figure 4 As shown, Figure 4 This is a schematic diagram of the principle of data processing in an embodiment of the present invention. The system for implementing data processing includes: a C-end (individual user end, consumer) and an electronic device. The electronic device may include a cache, a node flow strategy device, and a message queue.
[0113] The user sends a request to the electronic device through the C terminal, and the request includes a user identity and a requested resource bit identifier.
[0114] When the node transfer strategy device of the electronic device receives a request triggered by the user through the C-end, it reads the cache to query the corresponding relationship between the user identity identifier, the request resource bit identifier and the journey map in the cache according to the user identity identifier and the request resource bit identifier in the request, obtain the target journey map corresponding to the user identity identifier and the request resource bit identifier, and query the target journey map in the cache to obtain the first node currently located by the user in the target journey map and the node transfer condition corresponding to the first node ( Figure 4 1. Read the user's node information).
[0115] Further, when the first node is a waiting node, a waiting message is sent to the message queue ( Figure 4 2.1. Enter the waiting node and send a waiting message). The message queue monitors the waiting time in real time. When the waiting time meets the node transfer condition of the waiting node, it sends a transfer message to the node transfer strategy device ( Figure 4 2.2. When the waiting time meets the condition, a transfer message is sent. The node transfer strategy device receives the transfer message, determines that the waiting time meets the node transfer condition of the waiting node, generates node transfer information, and reads the corresponding target journey map in the cache, determines the second node to be transferred to in the target journey map, transfers the user from the first node currently located in the target journey map to the second node, and updates the first node currently located in the target journey map in the cache to the second node currently located by the user ( Figure 4 4. Update the user's node information). Based on the target journey map, determine the display information corresponding to the second node, and send the display information to the C-end for display ( Figure 4 , returns marketing strategy results).
[0116] When the user triggers the target behavior, the electronic device's message queue will receive the user's target behavior verification message ( Figure 4 In 3.1. The user triggers the target behavior and sends a verification message. The message queue forwards the user's target behavior verification message to the node flow strategy device ( Figure 43.2. Determine user flow). The node flow strategy device obtains the historical target behavior information of the user at the second node from the cache according to the target behavior verification message, and determines whether the historical target behavior information meets the node flow condition of the second node. If it meets the condition, it generates node flow information, reads the corresponding target journey map in the cache, determines the third node to be transferred by the user, transfers the user from the second node in the target journey map to the third node, and updates the second node where the user is currently located in the target journey map in the cache to the third node where the user is currently located ( Figure 4 4. Update the node information where the user is located), and based on the target journey map, determine the display information corresponding to the third node, and send the display information to the C-end for display.
[0117] For example, Figure 5 As shown, Figure 5 The figure is a schematic diagram of an application of data processing in an embodiment of the present invention. Figure 5 The user marketing journey for a certain resource position includes 7 layers, among which layers 1, 3, 4 and 6 correspond to nodes in the target journey map, layer 2 is the marketing strategy display for the node corresponding to layer 1, the left side of layer 4 (SMS reminder of the 6 yuan activity in the first month) is the marketing strategy display for the node corresponding to layer 3, layer 5 is the marketing strategy display for the node corresponding to layer 4, and layer 7 is the marketing strategy display for the node corresponding to layer 6.
[0118] The node corresponding to layer 1 is the first node in the target journey map. The marketing strategy of this node is: display the first month N yuan promotion, or APP-bottom navigation-VIP picture, APP-VIP channel large floating layer, etc. (layer 2). The node transfer condition of this node is that the user is not visiting for the first time. When it is determined that the user is visiting for the first time, that is, the node transfer condition of this node is not met, the node transfer is not performed, and the first month N yuan promotion, or APP-bottom navigation-VIP picture, APP-VIP channel large floating layer and other marketing strategies are displayed. The node transfer is ended, and the user information at the node is stored in the cache, and the user identity and resource position identifiers, the corresponding target journey map and the current node where the user is located are generated and stored in the set position of the cache. When it is determined that the user is not visiting for the first time, that is, the node transfer condition of this node is met, the node transfer information is generated, the user is transferred to the node corresponding to layer 3, and the node where the user is located in the target journey map and the node information and user information of the node are updated in the cache.
[0119] The marketing strategy for the node corresponding to layer 3 is a 6-yuan activity for the first month through SMS reminders, and the node transfer condition is that the number of resource positions displayed within 7 days is greater than M times. The historical information of the user at the node is obtained from the cache. When the historical information meets the node transfer condition of the node, the node transfer is not performed, and the node where the user is located in the cached target journey map is not updated. The marketing strategy of the current node is displayed to the user, that is, the 6-yuan activity for the first month through SMS reminders. This node transfer ends and the user information of the node where the user is located in the target journey map is updated in the cache. When the historical information meets the node transfer condition of the node, the node transfer information is generated, the user is transferred to the node corresponding to layer 4, and the node where the user is located in the target journey map, as well as the node information and user information of the node are updated in the cache.
[0120] The marketing strategy of the node corresponding to layer 4 is the cross-industry cooperation strategy display, and the node transfer condition is to wait for the preset number of days. When the waiting time does not meet the node transfer condition of the waiting node, the node transfer will not be performed, the node where the user is located in the cached target journey map will not be updated, and the marketing strategy of the current node will be displayed to the user, that is, the cross-industry cooperation strategy display (layer 5), ending this node transfer, and updating the user information of the node where the user is located in the target journey map in the cache. When the message queue monitors that the waiting time meets the node transfer condition of the waiting node of layer 4, the node transfer strategy device determines that the waiting time meets the node transfer condition of the waiting node, generates node transfer information, transfers the user to the node corresponding to layer 6, and updates the node where the user is located in the target journey map and the node information and user information of the node in the cache.
[0121] The marketing strategies of the corresponding node of layer 6 (the last node in the target journey map) are the points exchange membership strategy and the coupon strategy, and the node transfer condition is that the user triggers the target behavior T times. When the user triggers the target behavior condition but does not meet the node transfer condition of the node, the node transfer is not performed, the node where the user is located in the cached target journey map is not updated, and the marketing strategy of the current node is displayed to the user, that is, points exchange membership experience material A, points exchange membership experience days, and points exchange membership experience material B for the user to choose, and the node transfer is ended, and the user information of the node where the user is located in the target journey map is updated in the cache. When the user triggers the target behavior condition and meets the node transfer condition of the node, the node transfer is not performed, the node where the user is located in the cached target journey map is not updated, and the marketing strategy of the current node is displayed to the user, that is, the coupon strategy, such as optimizing XXX yuan, etc., and the node transfer is ended. The user information of the node where the user is located in the target journey map is updated in the cache, so as to realize user journey marketing and promote the user's membership conversion probability.
[0122] Corresponding to the above method embodiments, the embodiments of the present invention also provide corresponding device embodiments.
[0123] like Figure 6 As shown, an embodiment of the present invention provides a data processing device, the device comprising:
[0124] The acquisition module 601 is used to acquire node information of the first node currently located by the user in the target journey map, wherein the node information includes a node transition condition; the node transition condition is a condition for determining whether the user can enter the next node of the target journey map;
[0125] A monitoring module 602 is used to send a waiting message to a preset message queue when the first node is a waiting node, and monitor the waiting time through the preset message queue; the waiting node represents a node that needs to be delayed for a set time to enter the next node of the target journey map;
[0126] The first information generating module 603 is used to generate node transfer information when the waiting time meets the node transfer condition of the waiting node; the node transfer information is used to indicate that the user is transferred from the current node to the next node of the node;
[0127] A node determination module 604 is used to determine a second node to be transferred by the user in the target journey map according to the node transfer information; wherein the second node is a node located in the target journey map different from the first node;
[0128] The first node transfer module 605 is used to transfer the user from the first node currently located in the target journey map to the second node, and use the second node to update the first node stored in the preset storage location.
[0129] In a possible implementation manner, the above device further includes:
[0130] A first information acquisition module, configured to acquire, when the first node is not a waiting node, historical information of the user at the first node from the preset storage location; the historical information represents behavior information generated when the user accesses a requested resource location within a historical time period;
[0131] The second information generating module is used to generate node transfer information when the historical information meets the node transfer condition of the first node.
[0132] In a possible implementation manner, the above device further includes:
[0133] A second information acquisition module is used to acquire a target behavior verification message of the user when the user triggers the target behavior; the target behavior verification message is used to verify whether the target behavior triggered by the user satisfies the node transfer condition;
[0134] A third information acquisition module, configured to acquire the historical target behavior information of the user at the second node from the preset storage location based on the target behavior verification message;
[0135] A third information generating module, configured to generate node transfer information when the historical target behavior information satisfies the node transfer condition of the second node, and determine a third node to be transferred by the user in the target journey map;
[0136] The second node transfer module is used to transfer the user from the second node in the target journey map to the third node, and use the third node to update the second node stored at the preset storage location.
[0137] In a possible implementation manner, the target journey map includes nodes and display information corresponding to the nodes; the above-mentioned device further includes:
[0138] An information determination module, configured to determine, based on the target journey map, display information corresponding to the second node; the display information includes recommended information corresponding to the second node;
[0139] The display module is used to send the display information to the target terminal for display.
[0140] In a possible implementation manner, the first node transfer module 605 is specifically configured to:
[0141] Based on the target journey map, acquiring node information of the second node;
[0142] The first node where the user is currently located in the target journey map stored at the preset storage location is updated to a second node, and the node information of the first node is updated to the node information of the second node.
[0143] In a possible implementation, the acquisition module 601 is specifically used to query the corresponding relationship at the preset storage location based on the user identity identifier and the request resource position identifier in the target request when the target request of the user is acquired, and obtain the target journey map corresponding to the user identity identifier and the request resource position identifier; the corresponding relationship is used to represent the relationship between the user identity identifier, the request resource position identifier and the journey map; query the target journey map to determine the first node where the user is currently located in the target journey map and the node information of the first node.
[0144] In a possible implementation manner, the above device further includes:
[0145] The third node transfer module is used to end the current node transfer when the waiting time does not meet the node transfer condition of the waiting node, and not update the node where the user is located in the target journey map.
[0146] The embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.
[0147] Memory 703, used for storing computer programs;
[0148] The processor 701 is used to implement the steps of any of the above method embodiments when executing the program stored in the memory 703 to achieve the same technical effect.
[0149] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0150] The communication interface is used for communication between the above terminal and other devices.
[0151] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0152] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0153] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which a computer program is stored. When the computer program is executed by a processor, it implements the data processing method described in any of the above embodiments to achieve the same technical effect.
[0154] In another embodiment provided by the present invention, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer executes the data processing method described in any one of the above embodiments to achieve the same technical effect.
[0155] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0156] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0157] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and electronic device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0158] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A data processing method, characterized in that: The method comprises: Obtaining node information of a first node currently located by the user in the target journey map, wherein the node information includes a node transition condition; the node transition condition is a condition for determining whether the user can enter the next node of the target journey map; When the first node is a waiting node, a waiting message is sent to a preset message queue, and the waiting time is monitored through the preset message queue; the waiting node represents a node that needs to be delayed for a set time to enter the next node of the target journey map; When the waiting time meets the node transfer condition of the waiting node, node transfer information is generated; the node transfer information is used to indicate that the user is transferred from the current node to the next node of the node; Determine, according to the node transfer information, a second node to be transferred by the user in the target journey map; wherein the second node is a node located in the target journey map different from the first node; The user is transferred from the first node currently located in the target journey map to the second node, and the first node stored in the preset storage location is updated using the second node.
2. The method according to claim 1, characterized in that The method further comprises: When the first node is not a waiting node, obtaining historical information of the user at the first node from the preset storage location; the historical information represents behavior information generated when the user accesses the requested resource position within a historical time period; When the historical information satisfies the node transfer condition of the first node, node transfer information is generated.
3. The method according to claim 1, characterized in that: After transferring the user from the first node currently located in the target journey map to the second node, the method further includes: When the user triggers the target behavior, a target behavior verification message of the user is obtained; the target behavior verification message is used to verify whether the target behavior triggered by the user meets the node transfer condition; Based on the target behavior verification message, acquiring the historical target behavior information of the user at the second node from the preset storage location; When the historical target behavior information satisfies the node transfer condition of the second node, node transfer information is generated, and a third node to be transferred by the user in the target journey map is determined; The user is transferred from the second node in the target journey map to the third node, and the second node stored at the preset storage location is updated using the third node.
4. The method according to claim 1, characterized in that The target journey map includes nodes and display information corresponding to the nodes; After transferring the user from the first node currently located in the target journey map to the second node, the method further includes: Based on the target journey map, determining display information corresponding to the second node; the display information includes recommendation information corresponding to the second node; The display information is sent to the target terminal for display.
5. The method according to claim 1, characterized in that The updating of the first node stored at the preset storage location by using the second node includes: Based on the target journey map, acquiring node information of the second node; The first node where the user is currently located in the target journey map stored at the preset storage location is updated to a second node, and the node information of the first node is updated to the node information of the second node.
6. The method according to any one of claims 1 to 5, characterized in that: The obtaining node information of the first node where the user is currently located in the target journey map includes: When the target request of the user is obtained, based on the user identity identifier and the requested resource bit identifier in the target request, the corresponding relationship at the preset storage location is queried to obtain a target journey map corresponding to the user identity identifier and the requested resource bit identifier; the corresponding relationship is used to represent the relationship between the user identity identifier, the requested resource bit identifier and the journey map; The target journey map is queried to determine a first node where the user is currently located in the target journey map and node information of the first node.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: When the waiting time does not satisfy the node transfer condition of the waiting node, the node transfer is terminated, and the node where the user is located in the target journey map is not updated.
8. A data processing device, characterized in that: The device comprises: An acquisition module, used to acquire node information of the first node currently located by the user in the target journey map, wherein the node information includes a node transfer condition; the node transfer condition is a condition for determining whether the user can enter the next node of the target journey map; A monitoring module, for sending a waiting message to a preset message queue when the first node is a waiting node, and monitoring the waiting time through the preset message queue; the waiting node represents a node that needs to be delayed for a set time before entering the next node of the target journey map; A first information generating module is used to generate node transfer information when the waiting time meets the node transfer condition of the waiting node; the node transfer information is used to indicate that the user is transferred from the current node to the next node of the node; A node determination module, configured to determine, according to the node transfer information, a second node to be transferred by the user in the target journey map; wherein the second node is a node located in the target journey map different from the first node; The first node transfer module is used to transfer the user from the first node currently located in the target journey map to the second node, and use the second node to update the first node stored in the preset storage location.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method according to any one of claims 1 to 7 when executing a program stored in a memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Service processing state information query method and apparatus thereof
CN103516690A
Tourism knowledge graph updating method, system and equipment and storage medium
CN112818072A
Message processing method and device, electronic equipment and storage medium
CN115827280A
Node updating method and device, computer equipment and storage medium
CN116611873A
Location set generation method and device, equipment, storage medium and program product
CN116975181A