Business data collection method and device, computer device and storage medium
By identifying the source and destination nodes in a multi-path business flow link, the limitations of traditional data tracking methods in complex links are overcome, enabling flexible data collection and efficient data tracking, which is suitable for links with non-fixed paths.
Patent Information
- Application Number
- CN202210275969.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-21
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-03-21
AI Technical Summary
Traditional data tracking methods are not suitable for complex system links, resulting in significant limitations in data collection methods.
In a multi-path business flow chain, the source node and destination node identifiers of the current node are determined and added to the data collection structure to achieve data collection.
It broadens the applicability of data collection, making it suitable for links with variable paths, improving the flexibility and efficiency of data tracking, and reducing the implementation cost when the link changes.
Smart Images

Figure CN116860541B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a business data acquisition method, apparatus, computer equipment, and storage medium. Background Technology
[0002] With the development of computer technology, the complexity of system links is increasing. To better understand and master system links, it is usually necessary to collect data generated by the main links in the system link. There are various methods for collecting data in the link, such as using data tracking points.
[0003] However, traditional data tracking methods are suitable for fixed and different system links, but not for complex system links, which makes the data collection method using data tracking have significant limitations. Summary of the Invention
[0004] Therefore, it is necessary to provide a business data acquisition method, device, computer equipment, computer-readable storage medium, and computer program product that can broaden the applicability of data acquisition methods to address the aforementioned technical problems.
[0005] On one hand, this application provides a business data collection method. The method includes: in a target multi-path business flow link including multiple nodes, determining the current node corresponding to a target object; obtaining the identifiers of the backward adjacent nodes of the current node in the target multi-path business flow link; the backward adjacent nodes of the current node are at least one; selecting a node identifier matching the target object from the obtained backward adjacent node identifiers to obtain the destination node identifier of the current node; determining the source node identifier of the current node; the source node identifier uniquely corresponds to a source node, and the source node is a node that flows to the current node from each of the forward adjacent nodes of the current node; adding the source node identifier and the destination node identifier to the embedding structure of the current node to obtain business collection data collected for the target object in the target multi-path business flow link.
[0006] On the other hand, this application also provides a business data acquisition device. The device includes: a node determination module, used to determine the current node corresponding to a target object in a target multi-path business flow link including multiple nodes; an identifier acquisition module, used to acquire the identifiers of the backward adjacent nodes of the current node in the target multi-path business flow link; the backward adjacent nodes of the current node are at least one; a destination node identifier acquisition module, used to select a node identifier matching the target object from the acquired backward adjacent node identifiers to obtain the destination node identifier of the current node; a source node identifier determination module, used to determine the source node identifier of the current node; the source node identifier uniquely corresponds to a source node, and the source node is a node that flows to the current node from each of the forward adjacent nodes of the current node; and a business acquisition data acquisition module, used to add the source node identifier and the destination node identifier to the embedding structure of the current node to obtain business acquisition data collected for the target object in the target multi-path business flow link.
[0007] In some embodiments, the target multi-path service flow link is matched with a set of adjacent node identifiers; the set of adjacent node identifiers includes the identifiers of the adjacent nodes of each node in the target multi-path service flow link, and the adjacent nodes of the current node include backward adjacent nodes; the identifier acquisition module is further configured to: acquire the identifier of the backward adjacent node of the current node in the target multi-path service flow link from the set of adjacent node identifiers matched by the target multi-path service flow link.
[0008] In some embodiments, the apparatus is further configured to: acquire node change information; based on the node change information, modify the set of neighboring node identifiers of the target multipath service flow link to obtain an updated set of neighboring node identifiers, wherein the link matched by the updated set of neighboring node identifiers is a new target multipath service flow link, and return the step of determining the current node corresponding to the target object in the target multipath service flow link including multiple nodes.
[0009] In some embodiments, the source node identifier and the destination node identifier of the current node are both at least one; the service collection data obtaining module is further configured to: determine the bidirectional identifier combination of the current node; each bidirectional identifier combination includes a source node identifier and a destination node identifier, and at least one of the source node identifier and the destination node identifier in different bidirectional identifier combinations is different; for each bidirectional identifier combination, add the source node identifier and the destination node identifier in the bidirectional identifier combination to the embedding structure of the current node to obtain the embedding data block corresponding to the bidirectional identifier combination; based on the embedding data block corresponding to each bidirectional identifier combination, obtain the service collection data collected for the target object in the target multi-path service flow link.
[0010] In some embodiments, the service acquisition data obtaining module is further configured to: for each bidirectional identifier combination, determine a target embedded data block corresponding to the source node identifier in the bidirectional identifier combination and pointing to the current node; obtain a stored cumulative path from the target embedded data block, the cumulative path being a path from the starting node of the target multi-path service flow link to the source node; add the identifier of the current node to the obtained cumulative path to obtain an updated cumulative path; add the source node identifier, the destination node identifier, and the updated cumulative path in the bidirectional identifier combination to the embedded structure of the current node to obtain the embedded data block corresponding to the bidirectional identifier combination.
[0011] In some embodiments, the target multipath service flow link is a link for selecting content matching the target object, and the current node corresponds to candidate content; the device is further configured to: select content matching the target object from the candidate content corresponding to the current node; when selection fails, obtain the identifier of the backward neighbor node of the current node in the target multipath service flow link, select the node identifier matching the target object from the obtained backward neighbor node identifiers, and obtain the destination node identifier of the current node; determine the destination node identifier of the current node as the new current node, and return to the step of selecting content matching the target object from the candidate content corresponding to the current node, until the destination node identifier of the current node is a termination node.
[0012] In some embodiments, the apparatus is further configured to: when selection is successful, determine the identifier of the termination node in the target multipath service flow link as the destination node identifier of the current node.
[0013] In some embodiments, the device is further configured to: when selection is successful, determine content indication information; the content indication information is used to indicate the selected content; add the content indication information to the tracking structure of the termination node to obtain the tracking data block of the termination node; determine the target content matching the target object based on the content indication information stored in the tracking data block of the termination node; and push the target content to the target object.
[0014] In some embodiments, at least one node in the target multipath service flow link is configured with node entry conditions, and the destination node identifier of the current node is selected based on the node entry conditions of the backward adjacent nodes of the current node; the device further includes a link obtaining module, which is configured to: obtain an initial multipath service flow link, determine the initial multipath service flow link as the current multipath service flow link; determine the content selected for the target object through the current multipath service flow link, and obtain the currently selected content; when the currently selected content does not meet the preset content conditions, adjust the node entry conditions of at least one node in the current multipath service flow link to obtain a new current multipath service flow link, return to the step of determining the content selected for the target object through the current multipath service flow link and obtaining the currently selected content, until the currently selected content meets the preset content conditions; and determine the current multipath service flow link when the currently selected content meets the preset content conditions as the target multipath service flow link.
[0015] In some embodiments, the target multi-path service flow link is a branch link in the target system flow link, and the target system flow link also includes a main link. The main link and the branch link are obtained based on the probability of change. The branch link includes multiple paths, and the probability of change of the branch link is less than the probability threshold. The probability of change of the main link is greater than the probability threshold.
[0016] In some embodiments, the service collection data acquisition module is further configured to: acquire task execution related information obtained by executing the task corresponding to the current node; add the source node identifier, the destination node identifier, and the task execution related information to the tracking structure of the current node to obtain the tracking data block of the current node; and based on the tracking data block of the current node, obtain service collection data collected for the target object in the target multi-path service flow link.
[0017] In some embodiments, the apparatus is further configured to: obtain task execution related information from each of the data blocks generated by the target object in the target multi-path business flow link; perform data statistics based on the obtained task execution related information to obtain data statistics results; and visualize the data statistics results.
[0018] On the other hand, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps in the above-described business data acquisition method.
[0019] On the other hand, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps in the above-described business data acquisition method.
[0020] On the other hand, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps in the aforementioned business data acquisition method.
[0021] The aforementioned business data acquisition method, apparatus, computer equipment, storage medium, and computer program product, in a target multi-path business flow link including multiple nodes, determines the current node corresponding to the target object, obtains the identifiers of the backward adjacent nodes of the current node in the target multi-path business flow link (there are at least one backward adjacent node of the current node), selects the node identifier matching the target object from the obtained backward adjacent node identifiers to obtain the destination node identifier of the current node, determines the source node identifier of the current node (the source node identifier uniquely corresponds to the source node, and the source node is the node that flows to the current node from each of the forward adjacent nodes of the current node), and adds the source node identifier and the destination node identifier to the embedding structure of the current node to obtain the business acquisition data of the current node. Since the target multi-path business flow link is a multi-path link, the path traversed in the target multi-path business flow link is not fixed. By adding the source node identifier and destination node identifier of the current node to the current node's tracking structure, the collected business data (i.e., tracking data) includes path-related information, realizing data tracking even when the link is not fixed, and broadening the applicability of data tracking to collect data. Attached Figure Description
[0022] Figure 1 This is an application environment diagram of the business data acquisition method in some embodiments;
[0023] Figure 2This is a flowchart illustrating the business data acquisition method in some embodiments;
[0024] Figure 3 This is a schematic diagram of an advertisement in some embodiments;
[0025] Figure 4 This is a schematic diagram of the splash screen advertisement flow in some embodiments;
[0026] Figure 5 These are schematic diagrams of the embedded point structures in some embodiments;
[0027] Figure 6 This is a schematic diagram of embedded data blocks in some embodiments;
[0028] Figure 7 This is a schematic diagram of the target multi-path service flow link in some embodiments;
[0029] Figure 8 This is a schematic diagram of the data embedding design in some embodiments;
[0030] Figure 9 These are schematic diagrams of the embedded point structures in some embodiments;
[0031] Figure 10 This is a flowchart of the reported data in some embodiments;
[0032] Figure 11 This is a schematic diagram of the automated data embedding process in some embodiments;
[0033] Figure 12 Some of these are data flow diagrams with multiple data levels in the embodiments;
[0034] Figure 13 This is a flowchart illustrating the business data acquisition method in some embodiments;
[0035] Figure 14 This is a structural block diagram of the service data acquisition device in some embodiments;
[0036] Figure 15 These are internal structural diagrams of the computer device in some embodiments;
[0037] Figure 16 This is a diagram showing the internal structure of a computer device in some embodiments. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0039] The business data acquisition method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104, or it can be located in the cloud or on another server.
[0040] Specifically, server 104 can determine the current node corresponding to the target object in a target multi-path business flow link including multiple nodes, with terminal 102 being the terminal of the target object. It obtains the identifiers of the backward adjacent nodes of the current node in the target multi-path business flow link. The current node has at least one backward adjacent node. From the obtained backward adjacent node identifiers, it selects the node identifier that matches the target object to obtain the destination node identifier of the current node. It also determines the source node identifier of the current node, which uniquely corresponds to the source node, which is the node that flows to the current node from among its forward adjacent nodes. The source node identifier and destination node identifier are added to the current node's data collection structure to obtain the business data collected by the current node. Based on the business data collected by the current node, server 104 can determine content matching the target object, such as an advertisement matching the target object, and push the content matching the target object to the terminal 102 of the target object.
[0041] The terminal 102 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, smart voice interaction devices, vehicle terminals, aircraft, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0042] In some embodiments, such as Figure 2 As shown, a business data acquisition method is provided. This method can be executed by a terminal or a server, or it can be executed by both a terminal and a server. This method can be applied to... Figure 1 Taking server 104 as an example, the following steps are included:
[0043] Step 202: In the target multi-path business flow link that includes multiple nodes, determine the current node corresponding to the target object.
[0044] The business flow chain is the link used to implement a business. Different businesses can correspond to different business flow chains. Businesses can be from any field, including but not limited to those in the online media field, video field, or data processing field. For example, a business could be content push within online media. Content includes, but is not limited to, any one of images, text, video, or audio; for example, it could be an advertisement. Advertisements include, but are not limited to, at least one of splash screen ads, featured image ads, feed ads, or in-frame ads. Figure 3 As shown, (a) illustrates a splash screen ad, (b) illustrates a banner ad, (c) illustrates a feed ad, and (d) illustrates an in-frame ad. A splash screen ad, also known as an opening screen ad, is an ad displayed on the application's interface when the application is launched. The application includes, but is not limited to, at least one of shopping, payment, or instant messaging applications. The business flow associated with splash screen ads can be called the splash screen ad flow chain, which can include the entire process from launching the application to displaying the splash screen ad, and then to conversion (e.g., the user purchases a product from the splash screen ad). The splash screen ad flow chain is a type of front-end and back-end system link, including both front-end and back-end system flow processes. The business flow chain includes multiple nodes, each node having a flow relationship with at least one node in the business flow chain. This flow relationship has a flow direction; for example, node A has a flow relationship with node B, and the flow direction is from node A to node B. A node can correspond to a task in the business logic. When the flow reaches a node, the task corresponding to that node is executed.
[0045] A target multi-path business flow link is a link with non-fixed paths. This means that for different target objects, the paths selected from the target multi-path business flow link can be different, or they can be the same. For example, the target multi-path business flow link includes four paths: Path 1: "A→B→C→F", Path 2: "A→B→C→D→F", Path 3: "A→B→C→E→F", and Path 4: "A→B→D→E→F". Here, A, B, C, D, E, and F represent nodes, respectively. Target object A selects paths 1 and 2, and the target object selects path 4. Furthermore, the relationships between the nodes in the target multi-path business flow link are not fixed. For example, as seen from the above four paths, the node preceding node D can be either C or D. A path is formed by arranging multiple nodes in the target multi-path service flow link according to the flow direction. The starting node in the path corresponds to one backward adjacent node, the ending node corresponds to one forward adjacent node, and each node in the middle of the path corresponds to one backward adjacent node and one forward adjacent node. The flow link diagram is obtained by arranging the nodes in the target multi-path service flow link along the flow direction. At least one node in the target multi-path service flow link has multiple backward adjacent nodes. A backward adjacent node is a node in the flow link diagram that has a connection relationship with that node and is listed after it.
[0046] The process can select a path for a target object from the target multi-path business flow chain based on at least one of the target object's object information or operational behavior. Object information can include at least one of object attribute information or object device information. Object attributes include, but are not limited to, at least one of age, gender, education level, region, or hobbies. Object device information refers to the information of the device corresponding to the target object. For example, at least one of the target multi-path business flow chains has node entry conditions set. These node entry conditions are based on the object information and specify the conditions that must be met. Node entry conditions include, but are not limited to, at least one of: age within a preset age range or gender being a preset gender. Node entry conditions can also include the occurrence of a specific operational behavior. This specific operational behavior is used to limit the operational behavior already performed by the target object when entering the node, such as clicking a specified button. Flow to a node is only allowed if the node entry conditions are met. For different target objects, flow to that node is allowed when the target object meets the node entry conditions, and not when the node flow conditions are not met. The business corresponding to the target multi-path business flow link can be a business within an application, such as a splash screen ad within an application. The target object is the object that triggers the execution of the target multi-path business flow link. For example, for a splash screen ad flow link, the target object is the object that triggers the execution of that splash screen ad flow link, and the object can be uniquely identified by the account registered in the application (the application to which the business corresponding to the target multi-path business flow link belongs).
[0047] A target multi-path business flow link can be an independent business flow link, such as a front-end and back-end system link, or it can be a part of an independent business flow link, such as a branch link in a splash screen ad flow link. The splash screen ad flow link includes the process from launching the application to displaying the ad within the application, and can also include the process from an object clicking the ad to conversion (e.g., an object purchasing a product from the ad). The splash screen ad flow link can be divided into a main link and branch links. The main link is simpler and less prone to change compared to branch links, while branch links are more complex and more easily changed compared to the main link. The main link includes virtual nodes corresponding to the branch links; virtual nodes are nodes formed by encapsulating the branch links. Branch links include multiple paths, and the path selected from the branch links can be different for different target objects; for example, the path can be selected based on the object's attribute information. The main link can also be called a first-level link, and the branch links can also be called second-level links. Figure 4The diagram illustrates the primary and secondary paths in the splash screen ad flow. The primary path includes the pre-loading stage and the splash screen launch menu stage. The secondary path consists of the paths encapsulated by virtual nodes (2-5) and (2-6) in the primary path. As can be seen from the diagram, multiple paths exist within the secondary path. For example, "node (2-5-1) → node (2-5-1-1) → node (2-5-3)" is also a path, as is "node (2-5-1) → node (2-5-1-1) → node (2-5-1-2) → node (2-5-3)". At certain nodes, the path splits into multiple paths and executes simultaneously (one-to-many splitting). For example, node (2-5-2) splits into multiple paths, and the order of the nodes is not fixed.
[0048] Specifically, the server can determine the node to be entered from the target multi-path service flow link according to the flow relationship between nodes. The node to be entered is the node to be entered. For example, the starting node in the target multi-path service flow link is first determined as the node to be entered. There can be one or more nodes to be entered. For each node to be entered, if the node to be entered has a node entry condition set, it is determined whether the target object meets the node entry condition. If it does, the node to be entered is determined as the current node of the target object. If the node to be entered does not have a node entry condition set, it is determined as the current node of the target object. Here, there can be one or more starting nodes. The nodes in the target multi-path service flow link are arranged along the flow direction to form a flow link diagram, and the starting node is the node at the beginning of the flow link diagram. For example... Figure 4 In the secondary link, the starting nodes include node (2-5-1) and node (2-5-2).
[0049] In some embodiments, the server can determine the current node of the target object from the nodes to be entered. When the node to be entered has node entry conditions set, the server can determine whether the object information meets the node entry conditions of the node to be entered based on the object information or operation behavior of the target object. If it does, the node is determined as the current node of the target object.
[0050] Step 204: Obtain the identifiers of the backward neighboring nodes of the current node in the target multi-path service flow link; the current node has at least one backward neighboring node.
[0051] In this context, at least one node in the target multi-path service flow link has multiple backward adjacent nodes. A backward adjacent node is a node located after and adjacent to that node. For example... Figure 4In the given scenario, if the current node is node (2-5-1-1), then its backward adjacent nodes include nodes (2-5-1-2), (2-5-1-3), and (2-5-3). The backward adjacent nodes of the current node may or may not belong to the target multi-path service flow link. For example, when the target multi-path service flow link is... Figure 4 In the case of a secondary link, if the current node is node (2-5-3), then the next adjacent node is node (2-6).
[0052] The current node can also have forward adjacent nodes, which are nodes that are adjacent to the current node and located before it. The forward adjacent nodes of the current node may or may not belong to the target multi-path service flow link. For example, when the target multi-path service flow link is... Figure 4 In a second-level link, the forward neighbor of the current node can belong to the first-level link. For example, if the current node is node (2-5-1), then the forward neighbor is node (2-5).
[0053] Specifically, the target multi-path service flow link can correspond to a set of adjacent node identifiers. The set of adjacent node identifiers can include the identifiers of the adjacent nodes of each node in the target multi-path service flow link. The adjacent nodes include at least one of backward adjacent nodes or forward adjacent nodes. The terminal can obtain the identifier of the backward adjacent node of the current node from the set of adjacent node identifiers.
[0054] In some embodiments, when a node in a link changes, the link can be updated by updating the set of neighboring node identifiers. Specifically, the server can obtain node change information, which is the information required to update the node. Based on the node update information, the server can update the set of neighboring node identifiers to obtain the updated set of neighboring node identifiers. The link matched by the updated set of neighboring node identifiers is the changed link.
[0055] Step 206: Select the node identifier that matches the target object from the obtained identifiers of the backward adjacent nodes to obtain the destination node identifier of the current node.
[0056] The destination node identifier of the current node is selected from the identifiers of the current node's backward adjacent nodes. The current node has at least one destination node identifier.
[0057] Specifically, the server can determine at least one of the obtained identifiers of the backward neighboring nodes as the destination node identifier of the current node. For example, it can randomly select one identifier from the obtained identifiers of the backward neighboring nodes as the destination node identifier of the current node, or determine each identifier from the obtained identifiers of the backward neighboring nodes as the destination node identifier of the current node.
[0058] In some embodiments, the backward neighbor node has a node entry condition. The server can determine whether the target object meets the node entry condition of the backward neighbor node based on the object information of the target object. When the condition is met, the identifier of the backward neighbor node is determined as the destination node identifier of the current node.
[0059] Step 208: Determine the source node identifier of the current node; the source node identifier uniquely corresponds to the source node, which is the node that flows to the current node from among the current node's forward adjacent nodes.
[0060] Here, the source node is the node among the current node's forward neighbors that has been redirected to the current node. The current node can have one or more source nodes, meaning at least two. For example, when the target multi-path service flow link is... Figure 4 In a secondary link scenario, if the current node is node (2-5-1-3), the source node can include at least one of nodes (2-5-1-1) or (2-5-1-2). The source node identifier is the identifier of the source node. Although each of the current node's forward adjacent nodes has a flow relationship with the current node, not all flows will necessarily occur. For example, if the current node is... Figure 4 If node (2-5-1-3) flows to node (2-5-1-2) but does not flow back to node (2-5-1-3), then node (2-5-1-2) is not the source node of node (2-5-1-3).
[0061] Step 210: Add the source node identifier and destination node identifier to the current node's data collection structure to obtain the business collection data collected for the target object in the target multi-path business flow link.
[0062] In this multi-path business flow chain, each node can have a data tracking structure. Different nodes can have the same or different tracking structures. The tracking structure can include a source identifier filling position and a destination identifier filling position. The source identifier filling position is used to fill in the source node identifier, and the destination identifier filling position is used to fill in the destination node identifier. The tracking structure is a structure set during the data tracking process to store the collected data, thus obtaining structured data. The data tracking definition can include two parts: an event and a dimension parameter. Each node in the target multi-path business flow chain corresponds to an independent data event; that is, one node corresponds to one event. For example... Figure 5 The diagram shown illustrates the structure of the data tracking points defined.
[0063] Specifically, the server can fill the source node identifier of the current node into the source identifier filling position in the current node's tracking structure, and fill the destination node identifier of the current node into the destination identifier filling position in the current node's tracking structure. The tracking structure filled with the source node identifier and the destination node identifier is determined as the tracking data block of the current node. A tracking data block includes only one source node identifier and one destination node identifier.
[0064] In some embodiments, the filling position can be implemented using pointers. These pointers can store the identifiers of the source node and the destination node. For example, the tracking structure can include source and destination pointers, where the source pointer stores the source node identifier and the destination pointer stores the destination node identifier. For instance, consider a target multi-path service flow link as... Figure 4 Let's take the secondary link in the middle as an example to illustrate, such as Figure 6 As shown, it demonstrates Figure 4 The data blocks generated by multiple nodes in the secondary link are distributed as follows: each event corresponds to one node, for example, event (2-5-1) corresponds to node (2-5-1). If the current node is node (2-5-1), and the source node of node (2-5-1) includes node 2-5, and the destination node includes node 2-5-1-1, then the identifier of node 2-5 (e.g., node 2-5) can be set in the source pointer, and the identifier of node 2-5-1-1 (e.g., node 2-5-1-1) can be set in the destination pointer to generate the data block at node (2-5-1).
[0065] In some embodiments, since the source node of the current node can be at least one, and the destination node can also be at least one, the data block of the current node can be at least one. The server can determine the service collection data of the current node based on each data block of the current node. The server can take the backward neighbor node of the current node as the new current node and return the step of obtaining the identifier of the backward neighbor node of the current node in the target multi-path service flow link. In this way, the data blocks of multiple nodes in the target multi-path service flow link can be collected. The server can obtain the service collection data collected for the target object in the target multi-path service flow link based on the data blocks generated in the multiple nodes.
[0066] In the above business data collection method, in a target multi-path business flow link including multiple nodes, the current node corresponding to the target object is determined, and the identifiers of the backward adjacent nodes of the current node in the target multi-path business flow link are obtained. The backward adjacent nodes of the current node are at least one. The node identifier that matches the target object is selected from the obtained backward adjacent node identifiers to obtain the destination node identifier of the current node. The source node identifier of the current node is determined. The source node identifier uniquely corresponds to the source node. The source node is the node that flows to the current node from each of the forward adjacent nodes of the current node. The source node identifier and the destination node identifier are added to the current node's embedding structure to obtain the business collection data of the current node. Since the target multi-path business flow link is a multi-path link, the paths traversed within it are not fixed. By adding the source node identifier and destination node identifier of the current node to the current node's tracking structure, the collected business data (i.e., tracking data) includes path-related information, enabling data tracking even when the link is not fixed, thus broadening the applicability of data tracking for data collection. Furthermore, because the source node identifier and destination node identifier are added to the tracking structure in this application, even if the link changes, data collection can still be performed correctly due to the stored source node identifier and destination node identifier. Therefore, the business data collection method provided in this application is suitable for scenarios where the link is prone to change, improving the efficiency of data tracking (data collection).
[0067] The business data collection method provided in this application broadens the applicability of data collection using data embedding, that is, it can be applied to data collection on links with non-fixed paths. The business data collection method provided in this application can realize data embedding in the field of network media, thereby improving the flexibility of data embedding in the field of network media.
[0068] In the business data acquisition method proposed in this application, source node identifiers and destination node identifiers are added to the data tracking structure. Since the source node identifier points to the source node and the destination node identifier points to the destination node, they effectively function as bidirectional pointers. Furthermore, because the destination node identifier is determined through selection rather than being fixed, it exhibits a dynamic nature. Therefore, the business data acquisition method proposed in this application can also be called a bidirectional pointer dynamic data tracking method. The bidirectional pointer, derived from a parameter-passing traversal search method in the C language, is a type of linked list. Each data node in a doubly linked list has two pointers, pointing to its direct successor and direct predecessor, respectively. Starting from any node in the doubly linked list, its predecessor and successor nodes can be easily accessed. A doubly linked list can be, for example, a doubly circular linked list.
[0069] In actual industrial production and business environments, system links frequently undergo optimization changes, such as technology upgrades, new strategy experiments, or the addition of temporary nodes. This leads to changes in the order of nodes in the link, the addition or deletion of existing links, etc. When system links change, it is usually necessary to reorder existing tracking points or modify upstream and downstream connections, or even reconstruct all tracking points, resulting in high costs for change construction and implementation. The business data acquisition method provided in this application implements a bidirectional pointer dynamic tracking point method, which is not limited by the fixed number or order of nodes. It can quickly change (add / delete / modify) the nodes in the link according to the update requirements of the actual industrial production environment or technology upgrades. It flexibly and "pluggably" adjusts data tracking points, and can randomly adjust the number and order of nodes, split nodes into "one split into multiple paths", and add arbitrary data dimensions to nodes. It eliminates the need to change the existing data entry structure, data collection, data warehouse parsing, data warehouse table design, and calculation and query methods. Furthermore, it eliminates the need for a complete reconstruction of the data link, saving on implementation technology, time, and costs. The data collection implementation technology is simple, the data parsing and processing process is straightforward, the requirements for data warehouse design and storage are minimal, and the data query and calculation traversal is fast. When data fluctuations or problems occur in the link, the troubleshooting methods are simple and quick, eliminating the need for customized parsing and data retrieval logic, thus improving the efficiency of locating and troubleshooting the root cause of the problem.
[0070] The business data collection method provided in this application can be applied to data tracking in different industries, businesses, and scenarios. It allows for data structure design and collection implementation, and can be quickly replicated, for example, applied to order systems and business systems. It is not limited by system processes, system architecture, or industry platforms. It can be used to improve user or business performance, as well as for data operation and maintenance monitoring, improving the efficiency of problem localization.
[0071] In some embodiments, the target multipath service flow link is matched with a set of adjacent node identifiers; the set of adjacent node identifiers includes the identifiers of the adjacent nodes of each node in the target multipath service flow link, and the adjacent nodes of the current node include backward adjacent nodes; obtaining the identifier of the backward adjacent node of the current node in the target multipath service flow link includes: obtaining the identifier of the backward adjacent node of the current node in the target multipath service flow link from the set of adjacent node identifiers.
[0072] The adjacent nodes of the current node include backward adjacent nodes, and the adjacent nodes of the current node may also include forward adjacent nodes.
[0073] Specifically, the adjacency node identifier set includes the identifiers of the adjacency nodes of each node in the target multi-path service flow link, such as the identifiers of the current node's adjacency nodes. The server can query the identifiers of the current node's backward adjacency nodes from the adjacency node identifier set. For example, the adjacency node identifier set can store the identifier of the current node and the identifiers of its adjacency nodes in a corresponding manner, so that the identifiers of its adjacency nodes can be queried based on the identifier of the current node.
[0074] In this embodiment, by storing the neighbor node identifiers of each node in the target multi-path service flow link in the neighbor node identifier set, the neighbor node identifiers of each node can be determined from the neighbor node identifier set, thereby unifying the management of the neighbor node identifiers of each node and improving the efficiency of obtaining the neighbor node identifiers.
[0075] In some embodiments, the method further includes: obtaining node change information; changing the set of neighboring node identifiers of the target multipath service flow link based on the node change information to obtain an updated set of neighboring node identifiers, wherein the link matched by the updated set of neighboring node identifiers is the new target multipath service flow link, and returning the step of determining the current node corresponding to the target object in the target multipath service flow link including multiple nodes.
[0076] The node change information includes, but is not limited to, at least one of the following: node addition information, node deletion information, or node location change information. Node addition information includes the identifier of the new node and its location. The new node refers to a node added to the multi-path service flow link to be modified. The location of the new node can include the identifiers of its forward neighbor or backward neighbor. For example, node addition information could be "C: A→C, C→B", where C is the identifier of the new node, A→C indicates that the identifier of C's forward neighbor is A, and C→B indicates that the identifier of C's backward neighbor is B. Node deletion information includes the identifier of the node to be deleted. Node location change information can include the identifier of the node whose location is to be changed and its new location information.
[0077] Specifically, based on node change information, the set of adjacent node identifiers for the target multi-path service flow link is modified. The modified set of adjacent node identifiers is then determined as the updated set. The link matched by the updated set of adjacent node identifiers is the new target multi-path service flow link. Using the updated set of adjacent node identifiers, service data for the target object is collected from the new target multi-path service flow link. Therefore, when nodes in the link change, there is no need to reorganize and reconstruct the link from scratch, achieving flexible and "plug-and-play" adjustment of data tracking points, saving tracking point costs and resources.
[0078] In some embodiments, the node change information includes the identifier of the newly added node and the identifiers of its neighboring nodes. The server can determine the node to be updated based on the identifiers of the newly added node's neighboring nodes. The server adds the identifier of the newly added node to the set of neighboring node identifiers of the node to be updated stored in the set of neighboring node identifiers of the multi-path flow link to be changed, and stores the newly added node and its neighboring node identifiers in the set of neighboring node identifiers of the multi-path flow link to be changed, thus obtaining the set of neighboring node identifiers of the target multi-path service flow link. The identifiers of the newly added node's neighboring nodes may include at least one of the identifiers of the newly added node's forward neighboring nodes or backward neighboring nodes. The adjacent nodes of the newly added node belong to the multi-path flow link to be changed. The server can identify at least one of the forward adjacent nodes or backward adjacent nodes of the newly added node as the node to be updated. For example, the server can identify the forward adjacent node of the newly added node as the node to be updated and add the identifier of the newly added node as the backward adjacent node identifier of the node to be updated to the adjacent node identifier set. The server can also identify the backward adjacent node of the newly added node as the node to be updated and add the identifier of the newly added node as the forward adjacent node identifier of the node to be updated to the adjacent node identifier set, forming an updated adjacent node identifier set. The updated adjacent node identifier set is then identified as the adjacent node identifier set of the target multi-path business flow link.
[0079] In this embodiment, node change information is obtained. Based on this information, the set of adjacent node identifiers for the target multi-path service flow link is modified to obtain an updated set of adjacent node identifiers. The link matched by the updated set of adjacent node identifiers is the new target multi-path service flow link. The step of determining the current node corresponding to the target object in the target multi-path service flow link with multiple nodes is returned. Thus, by changing the set of adjacent node identifiers, the system quickly adapts to node changes. Therefore, when a node in the link changes, by changing the set of adjacent node identifiers and determining the backward adjacent nodes of the current node from the changed set, service data applicable to the changed link can be collected. This eliminates the need to reorganize and reconstruct the link from scratch, achieving flexible and "pluggable" adjustment of data tracking points, saving tracking point costs and resources.
[0080] Currently, when the link changes, data points need to be re-implemented. However, in this embodiment, when the link changes, by updating the set of neighboring node identifiers and adding source node identifiers and destination node identifiers to the data point structure, the changes in the link can be adapted to the changes, and data that matches the changed link can be collected, thus improving the collection efficiency of the data collection method based on data points.
[0081] In some embodiments, the source node identifier and the destination node identifier of the current node are both at least one; adding the source node identifier and the destination node identifier to the current node's tracking structure to obtain the service collection data collected for the target object in the target multi-path service flow link includes: determining the bidirectional identifier combination of the current node; each bidirectional identifier combination includes a source node identifier and a destination node identifier, and at least one of the source node identifier and the destination node identifier in different bidirectional identifier combinations is different; for each bidirectional identifier combination, adding the source node identifier and the destination node identifier in the bidirectional identifier combination to the tracking structure of the current node to obtain the tracking data block corresponding to the bidirectional identifier combination; based on the tracking data block corresponding to each bidirectional identifier combination, obtaining the service collection data collected for the target object in the target multi-path service flow link.
[0082] Specifically, the current node can have one or more source nodes and one or more destination nodes. The bidirectional identifier combination of the current node includes a source node identifier and a destination node identifier. For each bidirectional identifier combination, the server can fill the source node and destination node identifiers in the bidirectional identifier combination into the current node's tracking structure to obtain the tracking data block corresponding to the bidirectional identifier combination. Based on the tracking data blocks of each bidirectional identifier combination of the current node, the business collection data collected for the target object in the target multi-path business flow link is obtained.
[0083] In this embodiment, for each bidirectional identifier combination, the source node identifier and destination node identifier in the bidirectional identifier combination are added to the current node's embedding structure to obtain the embedding data block corresponding to the bidirectional identifier combination. Based on the embedding data blocks corresponding to each bidirectional identifier combination, the current node's business collection data is obtained. Thus, multiple embedding data blocks can be generated based on the current node's source node identifier and destination node identifier, which refines the information of the collected data and is beneficial for analysis based on the collected data.
[0084] In some embodiments, for each bidirectional identifier combination, adding the source node identifier and destination node identifier in the bidirectional identifier combination to the current node's event tracking structure to obtain the event tracking data block corresponding to the bidirectional identifier combination includes: for each bidirectional identifier combination, determining a target event tracking data block corresponding to the source node identifier in the bidirectional identifier combination and pointing to the current node; obtaining the stored cumulative path from the target event tracking data block, wherein the cumulative path is a path from the starting node of the target multi-path business flow link to the source node; adding the current node's identifier to the obtained cumulative path to obtain the updated cumulative path; and adding the source node identifier, destination node identifier, and updated cumulative path in the bidirectional identifier combination to the current node's event tracking structure to obtain the event tracking data block corresponding to the bidirectional identifier combination.
[0085] Among them, the target embedded data block corresponding to the source node identifier and pointing to the current node refers to the embedded data block that belongs to the node identified by the source node identifier and whose destination node identifier is the identifier of the current node. That is, the target embedded data block belongs to the embedded data block of the node identified by the source node identifier, and the destination node identifier stored in the target embedded data block is the identifier of the current node.
[0086] Specifically, the server can obtain the stored cumulative path from the target data block, add the identifier of the current node to the obtained cumulative path, and get the updated cumulative path. For example, if the cumulative path is "A→B→C" and the identifier of the current node is D, then the updated cumulative path is "A→B→C→D".
[0087] In some embodiments, the current node's embedding structure includes a source identifier filling position, a destination identifier filling position, and a cumulative path filling position. The server can add the source node identifier from the bidirectional identifier combination to the source identifier filling position, fill the destination node identifier from the bidirectional identifier combination into the destination identifier filling position, and fill the updated cumulative path into the cumulative path filling position to obtain the embedding data block corresponding to the bidirectional identifier combination.
[0088] In some embodiments, the tracking structure may include a pointer array, which can be used to store the cumulative path. Specifically, the identifiers of each node in the cumulative path can be stored in the pointer array. The earlier a node is in the cumulative path, the earlier its identifier is in the pointer data.
[0089] For example, taking the target multi-path business flow link as an example. Figure 4 Let's take the secondary link in the middle as an example to illustrate, such as Figure 6 As shown, it demonstrates Figure 4 The data blocks generated by multiple nodes in the secondary link are as follows. Taking the current node (2-5-1-1) as an example, the "path (pointer data)" in the current node's data structure represents an array of pointers used to store the cumulative path. The forward adjacent node of node (2-5-1-1) includes node (2-5-1), and the cumulative path stored in the data block of node (2-5-1) is "event 2-5->event 2-5-1". Then, the identifier of the current node (e.g., event (2-5-1-1)) can be added to "event 2-5->event 2-5-1" to get "event 2-5->event 2-5-1->event (2-5-1-1)" and "event 2-5->event 2-5-1->event (2-5-1-1)" can be set in "path (pointer data)".
[0090] In this embodiment, the source node identifier, destination node identifier, and updated cumulative path from the bidirectional identifier combination are added to the current node's tracking structure to obtain the tracking data block corresponding to the bidirectional identifier combination. The generated tracking data block includes the cumulative path, thereby making the collected data include more path-related information and improving the richness of the collected data.
[0091] In some embodiments, the target multipath service flow link is a link for selecting content matching the target object, and the current node corresponds to candidate content. Obtaining the identifiers of the backward adjacent nodes of the current node in the target multipath service flow link, and selecting the node identifier matching the target object from the obtained backward adjacent node identifiers to obtain the destination node identifier of the current node includes: selecting content matching the target object from the candidate content corresponding to the current node; when selection fails, obtaining the identifiers of the backward adjacent nodes of the current node in the target multipath service flow link, and selecting the node identifier matching the target object from the obtained backward adjacent node identifiers to obtain the destination node identifier of the current node; the method further includes: determining the destination node identifier of the current node as the new current node, and returning to the step of selecting content matching the target object from the candidate content corresponding to the current node, until the destination node identifier of the current node is a termination node.
[0092] The target multi-path business flow link is a link used to select content matching the target object. The content can be in any form, including but not limited to at least one of text, images, video, or audio; for example, it could be an advertisement. One or more nodes in the target multi-path business flow link can correspond to candidate content. "Multiple" means at least two. The current node can correspond to one or more candidate contents; for example, the current node can correspond to a type of advertisement, which can include multiple advertisements. The terminating node is the last node in the target multi-path business flow link, that is, the last node in the flow link diagram.
[0093] Specifically, when the target object is at the current node, the server can select content that matches the target object from the candidate content of the current node, which can be based on the object attributes of the target object. When content that matches the target object is selected, the identifier of the termination node of the target multi-path business flow link is determined as the destination node identifier of the current node, and the source node identifier and the destination node identifier are added to the current node's tracking structure to generate the tracking data block of the current node.
[0094] In some embodiments, when the server selects matching content for a target object and determines a timeout, it identifies the identifier of the termination node of the target multi-path service flow link as the destination node identifier of the current node. Specifically, the server can count the duration of entering the target multi-path service flow link, compare the counted duration with a duration threshold, and determine a timeout when the counted duration reaches the duration threshold. The duration threshold can be preset or set as needed.
[0095] For example, taking the target multi-path business flow link as an example. Figure 7Taking a secondary link in a network, with the content being an advertisement, as an example, if the current node is node (2-5-1-1), and node (2-5-1-1) corresponds to the first type of advertisement, and no advertisement matching the target object is selected from the first type of advertisement, since the backward adjacent nodes of node (2-5-1-1) include nodes (2-5-1-2) and (2-5-1-3), the destination node identifier can be determined from nodes (2-5-1-2) and (2-5-1-3). For example, both nodes (2-5-1-2) and (2-5-1-3) have nodes set up. The entry conditions are as follows: if the target object meets the entry conditions of node (2-5-1-2), then the identifier of node (2-5-1-2) is determined as the destination node identifier; if the target object meets the entry conditions of node (2-5-1-3), then the identifier of (2-5-1-3) is determined as the destination node identifier; when the target object meets both the entry conditions of node (2-5-1-2) and node (2-5-1-3), then both the identifiers of node (2-5-1-2) and node (2-5-1-3) are determined as destination node identifiers. Taking the destination node identifier as the identifier of node (2-5-1-2) as an example, then node (2-5-1-2) is determined as the new current node, and an advertisement matching the target object is selected from the second type of advertisements corresponding to node (2-5-1-2). The advertisements include, but are not limited to, at least one of the following: SPA (Solus Par Agula) advertisements and CPD (Cost per day) advertisements.
[0096] In this embodiment, when selection fails, the identifiers of the backward adjacent nodes of the current node in the target multi-path service flow link are obtained. The node identifier that matches the target object is selected from the obtained backward adjacent node identifiers to obtain the destination node identifier of the current node. Thus, the next node to which the flow is to be flexibly determined based on the destination node identifier, thereby improving the flexibility of the flow.
[0097] In some embodiments, the method further includes: when selection is successful, determining the identifier of the termination node in the target multipath service flow link as the destination node identifier of the current node.
[0098] Specifically, when content matching the target object is selected, the server can determine the identifier of the termination node of the target multi-path business flow link as the destination node identifier of the current node, add the source node identifier and the destination node identifier to the current node's tracking structure, and generate the current node's tracking data block.
[0099] For example, taking the target multi-path business flow link as an example. Figure 7Taking a secondary link in the middle and the content is an advertisement as an example, if the current node is node (2-5-1-1) and node (2-5-1-1) corresponds to the first type of advertisement, when an advertisement matching the target object is selected from the first type of advertisement, the identifier of the terminating node (2-5-3) is determined as the destination node identifier, that is, a flow has occurred from node (2-5-1-1) to node (2-5-3).
[0100] In this embodiment, when a selection is successful, the identifier of the termination node in the target multi-path service flow link is determined as the destination node identifier of the current node, which improves the efficiency of selecting objects.
[0101] In some embodiments, the method further includes: when selection is successful, determining content indication information; the content indication information is used to indicate the selected content; adding the content indication information to the tracking structure of the termination node to obtain the tracking data block of the termination node; determining the target content matching the target object based on the content indication information stored in the tracking data block of the termination node; and pushing the target content to the target object.
[0102] The content indication information is used to indicate the selected content, and may include at least one of the following: the identifier of the selected content and the download address of the selected content.
[0103] Specifically, the embedding structure of the termination node can also include a filling position for content indication information. The server can fill the content indication information into the filling position to obtain the embedding data block of the termination node.
[0104] In some embodiments, when selection is successful, the server can determine the identifier of the current node as the source node identifier of the termination node, and fill the current node identifier and its content indication information into the event tracking data block of the termination node, thus obtaining the event tracking data block of the termination node. The event tracking data block of the termination node can also be filled with an identifier indicating the selection result, which can be either successful or unsuccessful. Figure 6 In the data block of the middle node (event) (2-5-3), if the selection is successful, "1" will be filled in the "Current Status Indication" field; if the selection fails, "0" will be filled in the "Current Status Indication" field.
[0105] In some embodiments, if no content is selected after a timeout, the server can obtain preset indication information and add it to the event tracking structure of the termination node to obtain the event tracking data block of the termination node. The preset indication information points to preset content, which is pre-set content, such as a pre-specified advertisement. The preset indication information may include either an identifier of the preset content or an indication from the download address of the preset content. Of course, the preset content can also be empty.
[0106] In some embodiments, there may be multiple event data blocks for a termination node, including event data blocks generated when selection is successful and event data blocks generated when timeout occurs. The server can determine the valid event data block from the various event data blocks of the termination node. For example, the server can select the valid event data block based on at least one of time consumption or path length. Path length refers to the number of node identifiers included in the cumulative path stored in the event data block of the termination node. For example, if the cumulative path includes 5 node identifiers, then the path length is 5. For example, the path with the shortest time consumption can be determined as the valid event data block, or the event data block with the shortest path can be determined as the valid event data block. When the selected valid event data block is one generated when selection is successful, the server can determine the content indicated by the content indication information stored in the valid event data block as the target content. When the selected valid event data block is one generated when timeout occurs, the content indicated by the preset indication information stored in the valid data block is determined as the target content.
[0107] In some embodiments, the server may also fill the event tracking data block of the termination node with information to identify whether the event tracking data block is a valid event tracking data block, such as... Figure 6 In the data block of the middle node (event) (2-5-3), if the data block is a valid data block, fill "1" in "whether the path is hit"; if the data block is not a valid data block, fill "0" in "whether the path is hit".
[0108] In some embodiments, when the target multipath service flow link is part of an independent link, the content indication information can be transmitted to other nodes in the independent link, and the target content can be pushed to the target object by executing the tasks corresponding to the other nodes. For example, taking the target multipath service flow link as... Figure 7Taking a secondary link with advertising content as an example, if the current node is node (2-5-1-1), and node (2-5-1-1) corresponds to the first type of advertising, when an advertising matching the target object is selected from the first type of advertising, the indication information corresponding to the selected advertising is determined, and the indication information corresponding to the selected advertising is added to the tracking structure of the termination node (2-5-3), thus obtaining the tracking data block corresponding to the termination node (2-5-3). The server can pass the advertising indication information to node (2-7), and by executing the task of node (2-7) for exposing the advertising, the advertising is sent to the terminal of the target object. In this embodiment, when the destination node identifier of the current node is the identifier of the termination node, the content indication information is determined, and the content indication information is added to the tracking structure of the termination node, thus obtaining the tracking data block of the termination node. Based on the content indication information stored in the tracking data block of the termination node, the target content matching the target object is determined, and the target content is pushed to the target object, improving the efficiency of content push.
[0109] In some embodiments, at least one node in the target multipath service flow link is configured with node entry conditions, and the destination node identifier of the current node is selected based on the node entry conditions of the current node's backward neighbor nodes. The steps for obtaining the target multipath service flow link are as follows: obtain the initial multipath service flow link and determine the initial multipath service flow link as the current multipath service flow link; determine the content selected for the target object through the current multipath service flow link and obtain the currently selected content; when the currently selected content does not meet the preset content conditions, adjust the node entry conditions of at least one node in the current multipath service flow link to obtain a new current multipath service flow link, and return to the steps of determining the content selected for the target object through the current multipath service flow link and obtaining the currently selected content, until the currently selected content meets the preset content conditions; determine the current multipath service flow link when the currently selected content meets the preset content conditions as the target multipath service flow link.
[0110] In this initial multi-path service flow link, at least one node is configured with node entry conditions. These entry conditions can be preset as needed. By updating the node entry conditions, the target object selected by the link can change. For example, before the node entry conditions changed, the selected content was S1; after the changes, the selected content is S2. Thus, by modifying the node entry conditions, the selected content can meet preset requirements. This allows for flexible control over the content selection within the link.
[0111] The preset content conditions are preset conditions, including but not limited to at least one of the following: the content type belongs to a preset type range or the value belongs to a preset value range. For example, when the content is an advertisement, the preset content conditions may include at least one of the following: the type of advertisement or the value of the product in the advertisement.
[0112] Specifically, for the current multi-path business flow link, the server can determine the current node corresponding to the target object from the current multi-path business flow link. If the current node has candidate content, the content is selected from the candidate content of the current node. When the selection is successful, the content indication information of the selected content is obtained, the identifier of the current node is used as the source node identifier of the termination node, added to the instrumentation structure of the termination node, and the content indication information is added to the instrumentation node body to generate the instrumentation data block of the termination node. When the selection fails, the identifiers of the backward adjacent nodes of the current node in the current multi-path business flow link are obtained, the node identifier matching the target object is selected from the obtained backward adjacent node identifiers, the destination node identifier of the current node is obtained, the destination node identifier of the current node is determined as the new current node, and the identifiers of the backward adjacent nodes of the current node in the current multi-path business flow link are returned until the current node is the termination node. Specifically, when the identifier of the current node's downstream neighbor is a terminal node, the identifier of the terminal node is determined as the destination node identifier of the current node, generating a data block for the current node. Conversely, the identifier of the current node is determined as the source node identifier of the terminal node, generating a data block for the terminal node. This process yields various data blocks for the terminal node. Valid data blocks are then selected from these valid data blocks, and the content indicated by the content indication information within these valid data blocks is determined as the currently selected content.
[0113] In some embodiments, when the currently selected content does not meet the preset content conditions, the server may adjust the node entry conditions of at least one node in the current multi-path service flow link to obtain a new current multi-path service flow link, return the step of determining the content selected for the target object through the current multi-path service flow link, and obtain the currently selected content, until the currently selected content meets the preset content conditions. When the currently selected content meets the preset content conditions, the current multi-path service flow link is determined as the target multi-path service flow link. In this embodiment, an initial multi-path service flow link is obtained, and this initial multi-path service flow link is determined as the current multi-path service flow link. The content selected for the target object through the current multi-path service flow link is determined, and the currently selected content is obtained. When the currently selected content does not meet the preset content conditions, the node entry conditions of at least one node in the current multi-path service flow link are adjusted to obtain a new current multi-path service flow link. The steps of determining the content selected for the target object through the current multi-path service flow link and obtaining the currently selected content are returned until the currently selected content meets the preset content conditions. The current multi-path service flow link when the currently selected content meets the preset content conditions is determined as the target multi-path service flow link. This allows for flexible control of the link to select content, improving the flexibility of content selection.
[0114] In some embodiments, the target multi-path service flow link is a branch link in the target system flow link. The target system flow link also includes a main link. The main link and branch links are obtained based on the probability of change. The branch link includes multiple paths, and the probability of change of the branch link is less than the probability threshold. The probability of change of the main link is greater than the probability threshold.
[0115] The change probability can be preset or set as needed. The change probability reflects the frequency of changes to the link. The higher the change probability, the higher the frequency of changes to the link, and the lower the change probability, the lower the frequency of changes to the link.
[0116] The target system flow path can be obtained by abstracting, summarizing, and merging the system flowchart of the target system. For example, the various program modules and flow paths of a complex system process can be comprehensively sorted out to draw a system flowchart. In the system flowchart, an independent selection module or judgment condition (based on a uniquely determined direction) can be abstracted into a full-link link. The system process includes multiple full-link links. Full-link links can also be called nodes. After obtaining the system flowchart, nodes of the same type or adjacent nodes in the system flowchart can be merged to obtain the target system flow path, thereby reducing the number of nodes and keeping the number of links within a reasonable range for analysis.
[0117] Once the target system's workflow is obtained, it can be divided into primary and secondary links based on the link characteristics, and then the tracking points can be planned in batches. Link characteristics include, but are not limited to, at least one of the following: sequence, dependencies, frequency of changes, expected leakage, or node importance. Primary links are the backbone links, and secondary links are the branch links.
[0118] Branch links are characterized by complexity or variability. For example, a branch link may contain multiple paths, such as nodes that can be judged to result in multiple paths. Nodes in a branch link are easily affected by technological iteration and optimization, have a fast update speed, and are prone to addition, deletion, or reduction operations. Furthermore, the order of nodes in a branch link is flexible and variable, with no fixed path in the long term, and sometimes the paths cannot be exhaustively enumerated. For example, when the number of nodes in a branch link is n, the number of paths generated by the permutation and combination of each node is n to the power of n.
[0119] The backbone link is characterized by stability and simplicity. For example, the nodes in the backbone link have at least one of the following characteristics: the order of nodes is fixed and not easily changed, or the main changes are to the start and end nodes, which do not affect the order of key links, and the number of nodes is controllable and within a reasonable range.
[0120] The backbone link includes ingress and egress aggregation nodes for the branch links. These ingress and egress aggregation nodes are virtual nodes, encapsulating the branch links within the backbone link, thus simplifying the backbone link. A target system flow link is, for example, a splash screen advertisement flow link.
[0121] For the backbone link, data collection can be performed using the business data collection method provided in this application (i.e., data tracking), or other methods can be used. For example, a general tracking method can be used to collect data from the backbone link. The general tracking method is a common tracking design method. Its core approach is to design each abstracted link, stage, or behavior as an independent event without ambiguity or interference. For example... Figure 8 As shown, for Figure 4 In the preloading phase of the main link, an independent event is designed for each node in the preloading phase.
[0122] The standard event tracking method is suitable for general data scenarios, such as those where the structure or main process is fixed and difficult to change, and events are independent and undependent. The data structure of the standard event tracking method mainly includes, but is not limited to, at least one of the following: event definition, behavior reporting timing, and dimensions. The dimensions include at least one of the following: public parameters, page parameters, or private business parameters.
[0123] like Figure 9 The diagram illustrates the data structure of data events in a standard event tracking method, specifically the defined event tracking structure. Event definition: This requires setting independent events for each independent link in the data chain, uniquely and exclusively representing a set of data behaviors (multiple similar behaviors can be summarized and reused to form the same data event; behaviors can be distinguished as data dimensions, but this increases the complexity of the data structure and the difficulty of parsing). Data events are the basic unit of physical isolation in data collection; data events do not interfere with each other and are not mixed or contaminated. Behavior reporting timing: This defines the timing of the behavior occurrence, accurately describing the triggering conditions, scenarios, and timing of the data tracking. Dimension: This is a general term for specific behavior descriptions, used to describe a certain characteristic of the event. Classified by data storage type, dimensions can be divided into qualitative and quantitative dimensions. Character-type (text) data belongs to qualitative dimensions, such as region, gender, and mobile phone model. Numeric-type data belongs to quantitative dimensions, such as age and order number. Classified by the data application aggregation convenience in industrial scenarios (APP), dimensions can be divided into public parameters, page parameters, and private business parameters. Among them, public parameters are the basic user and device parameters that are present in the APP's event tracking. APP-reported events include public parameters, which include, but are not limited to, at least one of the following: timestamp, device identifier, user identifier, operating system model, terminal version, or launch method. Page parameters describe the business scenario information of the specific APP page where the link or object behavior occurs, including but not limited to, at least one of the following: page identifier, channel, category / album identifier, category classification, source page identifier, or source channel identifier. Private business parameters are the feature parameters required by the business or sub-business line (department). For example, advertising business involves advertising order identifiers, advertising categories, and advertising industries; live streaming business involves live streaming session identifiers, streamer names, and streamer types.
[0124] In this embodiment, since the backbone link and the branch link are divided based on the probability of change, the probability of change of the branch link is less than the probability threshold, and the probability of change of the backbone link is greater than the probability threshold. The branch link is used as the target multi-path service flow link, so that the link that is prone to change in the target system flow link is collected using the service data collection method provided in this application, which improves the efficiency of data collection for complex links.
[0125] In some embodiments, adding the source node identifier and the destination node identifier to the current node's tracking structure to obtain the service collection data collected for the target object in the target multi-path service flow link includes: obtaining task execution related information obtained by executing the task corresponding to the current node; adding the source node identifier, the destination node identifier, and the task execution related information to the current node's tracking structure to obtain the current node's tracking data block; and obtaining the service collection data collected for the target object in the target multi-path service flow link based on the current node's tracking data block.
[0126] In this multi-path business flow chain, each node can correspond to a task. For example, a node's task might be to select content from candidate content that matches the target object. Task execution-related information is information related to the task corresponding to the executing node. Current task execution-related information is information related to the task being executed at the current node. Task execution-related information includes, but is not limited to, at least one of the following: task execution result and task execution time. The task execution result can be either success or failure. When the task executes successfully, the result is success; when the task fails, the result is failure. Task execution time refers to the duration consumed in executing the task. When the task fails, the task execution-related information may also include the reason for the failure. Taking the task of selecting an advertisement as an example, if an advertisement matching the target object is successfully selected, the task execution is successful; if no advertisement matching the target object is selected, the task execution fails. Figure 6 In the event (2-5-1) data block, the current status, the reason for node failure, and the time consumed by the current node are all related to task execution.
[0127] Specifically, the server can add the source node identifier, destination node identifier, and current task execution information to the current node's event tracking structure to obtain the event tracking data block for the current node. Based on the event tracking data block for the current node, the event tracking data block for the target object at the current node is generated. Based on the event tracking data blocks generated by the target object at multiple nodes in the target multi-path business flow link, the business collection data collected for the target object in the target multi-path business flow link is obtained.
[0128] In some embodiments, the parameter types stored in the tracking structure may include at least one of the following: business private parameters, built-in parameters, public parameters, or page parameters. Private business parameters may include at least one of the following: source pointer, destination pointer, path, current status representation, node failure reason, node time consumption, etc.
[0129] Built-in parameters can be automatically collected by the server. For example, a data tracking SDK can run on the server, and the content parameters can be automatically collected by that SDK. Business parameters (i.e., private business parameters) can be set by the business side. Events can be triggered automatically or manually. When the number of events reaches the cache pool threshold, the data is automatically reported to the backend. Figure 10 The diagram shows a flowchart of the reported data. Manual triggering involves the user reporting at the corresponding business logic point; simply calling the upper-level API, the SDK automatically handles parameter collection, deduplication, and validation. Automatic event tracking can be achieved through AOP (Aspect-Oriented Programming). Figure 11 The diagram shown illustrates the principle of AOP triggering.
[0130] In this embodiment, task execution-related information obtained from executing the task corresponding to the current node is acquired; the source node identifier, destination node identifier, and task execution-related information are added to the current node's tracking data structure to obtain the current node's tracking data block; based on the current node's tracking data block, business collection data collected for the target object in the target multi-path business flow link is obtained, thereby making the collected tracking data block include task-related information, improving the richness of the data, and providing conditions for data analysis.
[0131] In some embodiments, the method further includes: for each data block of the target object generated in the target multi-path business flow link, obtaining task execution related information from each data block of the target object; performing data statistics based on the obtained task execution related information to obtain data statistics results; and visually displaying the data statistics results.
[0132] The statistical results are derived from statistics based on task execution-related information. This information may include task execution time, and the statistical results may include the statistical findings on that time.
[0133] Specifically, the server can obtain the task execution time from the various data blocks of the tracking points generated by the target object in the target multi-path business flow link, perform statistical calculations based on the execution time of each task, obtain the time consumption statistics, and visualize the time consumption statistics.
[0134] In some embodiments, the server can report the collected data to the data analysis system or directly analyze the collected data. Since the amount of collected data is typically large—for example, in a splash screen ad flow, user launches reach over 1 billion times per day, and the data generated by all links reaches hundreds of billions or trillions of records per day, requiring storage of several gigabytes (Gigabytes)—long-term storage and rapid analysis capabilities are impractical and require significant computing resources. However, based on industrial business applications and optimization analysis results, it is not necessary to retain raw data for extended periods. Daily analysis generally does not require viewing large amounts of raw log data; instead, it is necessary to perform lightweight or application-level aggregation of the data to calculate statistical data results (i.e., indicators) that are valuable for current business operations. Therefore, data compression is feasible. Data compression allows for rapid fulfillment of business analysis needs with minimal computing resource costs, while data indicators can be stored for longer periods for long-term data backtracking and modeling applications. Data collection, cleaning, data indicator design, and data warehouse construction: Through log searching of key nodes and paths, data cleaning and processing, core indicator design and construction, and data warehouse construction, the collected data is transformed into usable indicators. Design a visualization system (including a data model) to form a full-link attribution system for splash screen advertising anomalies.
[0135] Taking the app splash screen ad flow as an example, it can be divided into two main categories according to the main needs of the business and technology departments: 1) Forming a data funnel to monitor the total changes in the links (including success and failure losses); and having the ability to quickly investigate fluctuations and locate problems: performing attribution analysis / causal inference on fluctuations to find the reasons behind the changes in each node; 2) Based on the link loss situation and the business / technology improvement direction, implementing strategic interventions on the nodes in the link, and quantifying the intervention results through data to ultimately achieve link optimization (including link failure loss reduction, dynamic layering strategy, ad frequency control, user experience improvement, etc.).
[0136] To meet diverse needs, offline data is structured into multiple data layers, which may include at least two of the following: ODS, DWD, DWM, DWS, and ADS. ODS stands for Operation Data Store, representing the data accuracy layer (source layer). DWD stands for Data Warehouse Details, representing the data detail layer. DWM stands for Data Warehouse Middle, representing the data middleware layer. DWS stands for Data Warehouse Service, representing the data service layer. ADS stands for Application Data Service, representing the data application layer. Figure 12The diagram illustrates the data flow across various data layers. First, based on the raw data (i.e., the reported data), a detailed data warehouse layer (DWD layer) is established. This layer parses reported data in various formats and integrates it with the OLAP analytics platform, enabling fine-grained problem localization and analysis. Next, based on the DWD layer, a data service layer (DWS layer) is built, targeting specific analytical needs. This layer retains key dimensions and calculates key indicators. Integrating this data with the OLAP analytics platform allows for data visualization, loss monitoring, and problem monitoring at the request and order levels. Finally, based on the service layer data, application layer result data is established. This data undergoes further aggregation at the service layer, bringing the data volume and storage to a manageable level. In actual storage and use, corresponding storage times can be set for different data layers to meet both long-term and short-term problem-solving requirements.
[0137] Based on the established DWD, DWS, and ADS data indicator systems, data can be imported into a visual OLAP platform to create funnel data visualization effects. Lightweight computing can then be used to meet daily multi-dimensional drill-down and correlation analysis needs. For visualization, self-service data tools can be developed, existing tools (such as Tableau) can be used, or load visualization and drill-down can be implemented via code (such as Python), thus showcasing basic data visualization, insight analysis, and monitoring results. For example, for the fixed nodes in the first-level link of the splash screen ad flow, the reported data includes the loss and failure reasons of each node, allowing for a direct display of the loss status and failure reasons of each node in the link. Simultaneously, commonly used data dimensions (such as date, launch method, and mobile client system type) can be imported into the tool for simple multi-dimensional drill-down analysis. For the second-level links in the splash screen ad flow, data collected using a bidirectional pointer dynamic tracking method can be obtained and statistically analyzed at the exit node, generating a path Sange chart for visualization and quantitative analysis of common path conditions and node traversal frequency. It also allows for statistical analysis and insights into specific dimensions of the link nodes. For example, in a secondary link within an ad splash screen link, specific dimensions (such as time consumption) of independent events can be obtained, aggregated, and statistically analyzed to form independent time consumption metrics. The frequency of these metrics can then be calculated to create a heatmap for insightful analysis. Alternatively, specific tracking dimensions (such as ad type, the proportion of destination components for each node, etc.) can be specified to create a pie chart for analysis. Furthermore, it enables daily positioning of the link. In addition to analyzing the daily status of nodes within the link (horizontal), it also allows for long-term fluctuation monitoring (vertical) and positioning. For instance, the time window can be extended to one week, one month, or one year to view data trend changes and pinpoint the causes of these trends or fluctuations.
[0138] In some embodiments, A / B testing can reduce link losses. For example, based on the results of statistical and insightful analysis, the flow gaps, causes of losses, and failure or success rates between various nodes in the link can be quantitatively analyzed, and corresponding optimization intervention strategies can be specified. For example, assuming that a data funnel determines a 43% loss rate between app launch and splash screen ad SDK calls, of which 22% is due to launch method-related losses, and multi-dimensional drill-down analysis reveals that the success rate of specific launch methods is low, then strategic interventions can be implemented for users in this dimension (user profile tags), such as optimizing or expanding launch methods. Finally, an A / B test is used to divide users with low traffic for a control experiment, and the effectiveness and impact of the actual strategic intervention are evaluated. This application, through experiments, achieved a positive effect of link loss reduction exceeding 34% and overall revenue increase exceeding 15%.
[0139] In some embodiments, scientific algorithm models can be used to automatically predict the time series of periodic data and execute fluctuation alerts with relatively high detection sensitivity (actual value - predicted value), reducing false positives and the workload of manual observation. Alternatively, causal inference or attribution analysis models can be used to perform root cause analysis and automatically derive the main contributing dimensions or components of data fluctuations. For example, the Facebook Prophet model, which is closely related to advertising business data, can be selected for time series prediction and automated alerts, and the attributer algorithm can be used for fluctuation attribution analysis.
[0140] In some embodiments, for the strategy intervention optimization part, manual intervention strategies can be executed based on data insight results, such as expanding the launch method or changing the ad selection strategy under a specific launch method. However, manual strategies require long-term and repeated execution of data insights to capture changes in user structure or link structure, and then adjust the manual intervention strategy accordingly to match the new user or link characteristics. Therefore, the optimization method of manual intervention strategies is a primary method of link optimization. Dynamic strategies can be used for optimization. By formulating and deploying a dynamic optimization model with specific rules, a linear or dynamic optimization solution can replace the one-time manual strategy. Taking the order-displaying strategy of splash screen ads after a user launches the APP as an example: Internet APPs can adopt a frequency control strategy to reduce excessive user disturbance. It is set that if the user switches between the foreground and background foreground time less than or equal to 3 minutes during a hot start, the splash screen ad will no longer be displayed to ensure user experience. Some companies that rely on advertising marketing to increase revenue set the threshold to 1 minute, but this may face user complaints or APP uninstallation. In such scenarios, the strategy setting of the 3-minute or 1-minute threshold can adopt a dynamic strategy. Through user segmentation and linear optimization, a customized flat-path control threshold solution for each user can be dynamically generated. For example, global users can be segmented according to high, medium, and low commercial value, and high, medium, and low advertising tolerance. Global revenue indicators, user experience indicators, and core business indicators can be used as constraints for a linear optimization model, with revenue results as the optimization objective. This is a pre-set optimization result.
[0141] In this embodiment, for each data block of the target object generated in the target multi-path business flow link, task execution related information is obtained from each data block of the target object, data statistics are performed based on the obtained task execution related information, and data statistics results are obtained and visualized to improve the intuitiveness of the data.
[0142] This application also provides an application scenario involving splash screen advertisements in online media. The target multi-path business flow link is a target secondary link in the splash screen advertisement flow link, and the target secondary link is a secondary link used to select advertisements. This application scenario applies the aforementioned business data collection method. Figure 13 As shown, specifically, this method can be executed by a terminal or a server, or by both a terminal and a server. Taking the application of this method to a server as an example, the application of this business data collection method in this application scenario is as follows:
[0143] Step 1302: If the application is triggered on the terminal of the target object, determine the current node corresponding to the target object in the target secondary link of the splash screen advertisement flow chain. The target secondary link is the secondary link used to select the advertisement.
[0144] The splash screen ad flow includes a main link (i.e., a primary link) and secondary links (i.e., secondary links). The main and secondary links are determined based on the probability of change. Each secondary link includes multiple paths, and the probability of change for each secondary link is less than a threshold. The probability of change for the main link is greater than the threshold. The splash screen ad flow may include one or more secondary links, such as a secondary link for selecting an ad. Figure 4 The secondary link is shown.
[0145] When obtaining the business flow links in a complex system, the program flow in the complex system can be sorted out and abstracted into key nodes. According to the path of business focus and technical loss analysis, the program flow in the system can be abstracted into a reasonable number of links. For example, according to the complexity and input-output value, it can be aggregated into 5-30 links to quantify and make the loss situation in the link flow transparent.
[0146] Different business departments focus on different aspects. For example, in app splash screen ads, the technology department mainly focuses on the key stages of the splash screen ad system program and any omissions or errors in between, such as the front-end request system, the back-end processing system, search engine recommendations, and the return to the front-end layout display. On the other hand, the business department tends to focus more on user behavior and consumption conversion, and analyzes user characteristics, including key points such as user exposure, user clicks on ads, user reaching the ad landing page, and purchases via mini-programs or direct access to the online store.
[0147] The flow of splash screen ads can be derived through analysis and abstraction. This process of analyzing and abstracting the splash screen ad flow takes into account both the perspectives of sales personnel and technical staff, ensuring that the abstracted results and data meet the analytical needs of different scenarios, thus improving the usability and value of the data.
[0148] Step 1304: Execute the advertisement selection task of the current node to select an advertisement that matches the target object from the candidate advertisements corresponding to the current node. If the selection fails, proceed to step 1306. If the selection is successful, proceed to step 1310.
[0149] Step 1306: Obtain the identifiers of the backward neighboring nodes of the current node in the target secondary link. The current node has at least one backward neighboring node.
[0150] Step 1308: Select the node identifier that matches the target object from the obtained backward adjacent nodes to obtain the destination node identifier of the current node.
[0151] Step 1310: Determine the identifier of the termination node in the target secondary link as the destination node identifier of the current node.
[0152] Step 1312: Determine the source node identifier of the current node. The source node identifier corresponds to at least one data block of the embedded points. From each data block of the source node identifier, determine the data block of the destination node that is the current node, and obtain the target data block of the embedded points. Obtain the cumulative path from the target data block of the embedded points. Add the identifier of the current node to the obtained cumulative path to obtain the updated cumulative path.
[0153] Step 1314: Obtain task execution information obtained from the task selection of the advertisement.
[0154] Step 1316: Add the source node identifier, destination node identifier, updated cumulative path, and task execution related information to the current node's tracking structure to obtain the tracking data block of the target object in the current node.
[0155] Step 1318: If the destination node identifier of the current node is not the termination node, determine the destination node identifier of the current node as the new current node, and return to step 1304.
[0156] Step 1320: If the destination node of the current node is identified as the termination node, determine the target indication information, add the target indication information and the identifier of the current node to the embedding structure of the termination node, and obtain the embedding data block of the termination node.
[0157] The target indication information can be content indication information, which is used to indicate the selected advertisement, or it can be preset indication information, which is used to indicate a preset advertisement.
[0158] Step 1322: For each generated data block, when the reporting conditions are met, the data block is reported so that data analysis can be performed based on the information stored in the data block.
[0159] This embodiment provides a data tracking and analysis method for complex systems. Targeting splash screen (opening screen) advertisements in commercial businesses, it takes the front-end technology, back-end technology, target behavior, and consumption conversion of Internet apps as the main path, and provides an innovative method for customizing, quantifying, collecting, and building log data. Based on this, it realizes the practical process of link attribution and localization analysis, loss reduction and strategy growth, dynamic optimization, and ultimately improves business revenue.
[0160] The business data collection method provided in this application implements a two-way pointer dynamic tracking method: the entire link of splash screen advertising is finally summarized and abstracted into a two-level data analysis link: first-level funnel analysis (main link) and second-level path analysis (branch link); among which, the second-level path adopts a two-way pointer dynamic tracking method: a flexible and adaptive tracking method that is adapted to changes in link links and paths due to strategy adjustments, without having to reconstruct the existing tracking order and logic, reflecting the high extensibility and forward-looking nature of tracking technology, and saving costs.
[0161] Currently, the splash screen advertising technology process is complex. From the time a user launches the app to the display of the splash screen ad, numerous system program interaction modules have been executed (i.e., potential traffic utilization losses to be investigated). The system process is intricate, with dependencies or sequential relationships between processes. If a common event tracking method is used, i.e., one data event is embedded in each system step, it will result in a large, obscure, and costly reporting system. For example, in video services, using the common event tracking method presents the following characteristics and difficulties: there are many known historical reported events, the number and information of unknown events are unclear, old data tracking events are scattered and numerous, and because data tracking is generated along with the need for locating and investigating technical problems, data events expand without convergence and have low reusability. Furthermore, the entire process of preloading and menu selection in the splash screen is complex. The technical nodes in the link change frequently during the technology iteration process (including adding, inserting, deleting, and modifying nodes). Temporary nodes are also frequently added for technical optimization or problem localization and investigation, which disrupts the existing system layout and data entry sequence. Data changes are costly, and a change in one part can affect the whole system, leading to a high probability of errors.
[0162] The business data collection method provided in this application, targeting data tracking in this type of complex system process, starts from the needs of business analysis and technical optimization analysis, and abstracts and summarizes key nodes. It mainly focuses on the inductive abstraction for business analysis, which is easy to understand and universal. It also meets the positioning and troubleshooting needs of technical optimization, and considers the standardization, uniformity, flexibility, and extensibility of data definition. It also considers the feasibility of raw data collection and storage, the convenience of data warehouse parsing and processing, and the cost and return on investment of data analysis methods. It does not collect data tracking data for the entire process link.
[0163] The business data collection method provided in this application can also be applied to other advertisements, including but not limited to image-focused ads, feed ads, and in-frame ads. For example, the splash screen ad in the above embodiments can be replaced with other ads, thereby applying the business data collection method of this application to other advertisements.
[0164] The business data collection method provided in this application can be applied to any product form involving backend interaction links, such as Internet APP and other product forms involving backend interaction links, and can also be applied to APP content business forms.
[0165] The business data collection method provided in this application implements a bidirectional pointer dynamic data entry method, which significantly reduces the complexity of data warehouse table structure design and storage, data calculation and traversal query, as detailed in the table below: When the number of link nodes is n and the amount of log data collected by each node is k:
[0166] Table 1 Complexity
[0167]
[0168] In addition, O(n), O(n 2 O(n) n O(1) represents complexity; the larger the value in parentheses, the greater the complexity. Regarding the link tracking analysis and optimization, and the effect of small-traffic trials, the link loss reduction effect is: traffic utilization increased by more than 34%. The link strategy optimization effect is: splash screen ad revenue increased by more than 15%.
[0169] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0170] Based on the same inventive concept, this application also provides a business data acquisition device for implementing the business data acquisition method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more business data acquisition device embodiments provided below can be found in the limitations of the business data acquisition method described above, and will not be repeated here.
[0171] In some embodiments, such as Figure 14As shown, a business data acquisition device is provided, including: a node determination module 1402, an identifier acquisition module 1404, a destination node identifier acquisition module 1406, a source node identifier determination module 1408, and a business acquisition data acquisition module 1410, wherein:
[0172] The node determination module 1402 is used to determine the current node corresponding to the target object in a target multi-path business flow link that includes multiple nodes;
[0173] The identifier acquisition module 1404 is used to acquire the identifiers of the backward adjacent nodes of the current node in the target multi-path service flow link; the backward adjacent nodes of the current node are at least one.
[0174] The destination node identifier acquisition module 1406 is used to select the node identifier that matches the target object from the acquired identifiers of the backward adjacent nodes to obtain the destination node identifier of the current node.
[0175] The source node identifier determination module 1408 is used to determine the source node identifier of the current node; the source node identifier uniquely corresponds to the source node, which is the node that flows to the current node from among the forward adjacent nodes of the current node;
[0176] The business data acquisition module 1410 is used to add the source node identifier and destination node identifier to the current node's embedding structure to obtain the business data collected for the target object in the target multi-path business flow link.
[0177] In some embodiments, the target multipath service flow link is matched with a set of adjacent node identifiers; the set of adjacent node identifiers includes the identifiers of the adjacent nodes of each node in the target multipath service flow link, and the adjacent nodes of the current node include backward adjacent nodes; the identifier acquisition module is further configured to: obtain the identifiers of the backward adjacent nodes of the current node in the target multipath service flow link from the set of adjacent node identifiers matched with the target multipath service flow link.
[0178] In some embodiments, the apparatus is further configured to: obtain node change information; based on the node change information, change the set of neighboring node identifiers of the target multipath service flow link to obtain an updated set of neighboring node identifiers, wherein the link matched by the updated set of neighboring node identifiers is the new target multipath service flow link, and return the step of determining the current node corresponding to the target object in the target multipath service flow link including multiple nodes.
[0179] In some embodiments, the source node identifier and the destination node identifier of the current node are both at least one; the service collection data acquisition module is further configured to: determine the bidirectional identifier combination of the current node; each bidirectional identifier combination includes a source node identifier and a destination node identifier, and at least one of the source node identifier and the destination node identifier in different bidirectional identifier combinations is different; for each bidirectional identifier combination, add the source node identifier and the destination node identifier in the bidirectional identifier combination to the tracking data structure of the current node to obtain the tracking data block corresponding to the bidirectional identifier combination; based on the tracking data block corresponding to each bidirectional identifier combination, obtain the service collection data collected for the target object in the target multi-path service flow link.
[0180] In some embodiments, the service acquisition data obtaining module is further configured to: for each bidirectional identifier combination, determine a target embedded data block corresponding to the source node identifier in the bidirectional identifier combination and pointing to the current node; obtain a stored cumulative path from the target embedded data block, wherein the cumulative path is a path from the starting node of the target multi-path service flow link to the source node; add the identifier of the current node to the obtained cumulative path to obtain an updated cumulative path; and add the source node identifier, the destination node identifier, and the updated cumulative path in the bidirectional identifier combination to the embedded structure of the current node to obtain the embedded data block corresponding to the bidirectional identifier combination.
[0181] In some embodiments, the target multipath service flow link is a link for selecting content matching the target object, and the current node corresponds to candidate content; the device is further configured to: select content matching the target object from the candidate content corresponding to the current node; when selection fails, obtain the identifier of the backward neighbor node of the current node in the target multipath service flow link, select the node identifier matching the target object from the obtained backward neighbor node identifiers, and obtain the destination node identifier of the current node; determine the destination node identifier of the current node as the new current node, and return to the step of selecting content matching the target object from the candidate content corresponding to the current node, until the destination node identifier of the current node is a termination node.
[0182] In some embodiments, the apparatus is further configured to: when selection is successful, determine the identifier of the termination node in the target multipath service flow link as the destination node identifier of the current node.
[0183] In some embodiments, the apparatus is further configured to: when selection is successful, determine content indication information; the content indication information is used to indicate the selected content; add the content indication information to the tracking structure of the termination node to obtain the tracking data block of the termination node; determine the target content matching the target object based on the content indication information stored in the tracking data block of the termination node; and push the target content to the target object.
[0184] In some embodiments, at least one node in the target multipath service flow link is configured with node entry conditions, and the destination node identifier of the current node is selected based on the node entry conditions of the current node's backward neighbor nodes; the apparatus further includes a link acquisition module, configured to: acquire an initial multipath service flow link, and determine the initial multipath service flow link as the current multipath service flow link; determine the content selected for the target object through the current multipath service flow link, and obtain the currently selected content; when the currently selected content does not meet the preset content conditions, adjust the node entry conditions of at least one node in the current multipath service flow link to obtain a new current multipath service flow link, and return to the step of determining the content selected for the target object through the current multipath service flow link and obtaining the currently selected content, until the currently selected content meets the preset content conditions; determine the current multipath service flow link when the currently selected content meets the preset content conditions as the target multipath service flow link.
[0185] In some embodiments, the target multi-path service flow link is a branch link in the target system flow link. The target system flow link also includes a main link. The main link and branch links are obtained based on the probability of change. The branch link includes multiple paths, and the probability of change of the branch link is less than the probability threshold. The probability of change of the main link is greater than the probability threshold.
[0186] In some embodiments, the business data acquisition module is further configured to: obtain task execution-related information obtained from executing the task corresponding to the current node; add the source node identifier, destination node identifier, and task execution-related information to the current node's tracking data structure to obtain the current node's tracking data block; and obtain business data acquisition data collected for the target object in the target multi-path business flow link based on the current node's tracking data block.
[0187] In some embodiments, the apparatus is further configured to: obtain task execution related information from each data block of the data points generated by the target object in the target multi-path business flow link; perform data statistics based on the obtained task execution related information to obtain data statistics results; and visualize the data statistics results.
[0188] Each module in the aforementioned business data acquisition device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0189] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 15 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data involved in the business data acquisition method. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a business data acquisition method.
[0190] In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 16 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a business data acquisition method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0191] Those skilled in the art will understand that Figure 15 and Figure 16The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0192] In some embodiments, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described business data acquisition method.
[0193] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps in the above-described business data acquisition method.
[0194] In some embodiments, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described business data acquisition method.
[0195] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0196] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0197] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0198] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for collecting business data, characterized in that, The method includes: In a target multi-path service flow link that includes multiple nodes, the current node corresponding to the target object is determined. The target object is the object that triggers the execution of the target multi-path service flow link. The target multi-path service flow link is a branch link in the target system flow link. The target system flow link also includes a main link. The main link and the branch links are divided based on the degree of change probability. Select content that matches the target object from the candidate content corresponding to the current node. If the selection fails, obtain the identifier of the backward neighbor node of the current node in the target multi-path service flow link. Select the node identifier that matches the target object from the obtained backward neighbor node identifiers to obtain the destination node identifier of the current node. If the selection is successful, determine the identifier of the termination node in the target multi-path service flow link as the destination node identifier of the current node. The backward neighbor node of the current node is at least one. Determine the source node identifier of the current node; the source node identifier uniquely corresponds to the source node, which is the node that flows to the current node from each of the current node's forward adjacent nodes; The source node identifier is filled into the source identifier filling position in the current node's tracking structure, and the destination node identifier is added to the destination identifier filling position in the current node's tracking structure, so as to obtain the service collection data collected for the target object in the target multi-path service flow link.
2. The method according to claim 1, characterized in that, The target multi-path service flow link is matched with a set of adjacent node identifiers; the set of adjacent node identifiers includes the identifiers of the adjacent nodes of each node in the target multi-path service flow link, and the adjacent nodes of the current node include backward adjacent nodes. The step of obtaining the identifier of the backward neighbor node of the current node in the target multi-path service flow link includes: Obtain the identifier of the backward neighbor node of the current node in the target multi-path service flow link from the set of neighbor node identifiers matched in the target multi-path service flow link.
3. The method according to claim 2, characterized in that, The method further includes: Obtain node change information; Based on the node change information, the set of neighboring node identifiers of the target multi-path service flow link is changed to obtain an updated set of neighboring node identifiers. The link matched by the updated set of neighboring node identifiers is the new target multi-path service flow link. The step of determining the current node corresponding to the target object in the target multi-path service flow link that includes multiple nodes is returned.
4. The method according to claim 1, characterized in that, The current node has at least one source node identifier and at least one destination node identifier; the step of filling the source node identifier into the source identifier filling position of the current node's tracking structure, and adding the destination node identifier into the destination identifier filling position of the current node's tracking structure, to obtain the service collection data collected for the target object in the target multi-path service flow link includes: Determine the bidirectional identifier combination of the current node; each bidirectional identifier combination includes a source node identifier and a destination node identifier, and at least one of the source node identifier and the destination node identifier is different in different bidirectional identifier combinations; For each bidirectional identifier combination, the source node identifier in the bidirectional identifier combination is filled into the source identifier filling position in the current node's embedding structure, and the destination node identifier is added to the destination identifier filling position in the current node's embedding structure, to obtain the embedding data block corresponding to the bidirectional identifier combination. Based on the embedded data blocks corresponding to each of the bidirectional identifier combinations, the service collection data collected for the target object in the target multi-path service flow link is obtained.
5. The method according to claim 4, characterized in that, For each of the bidirectional identifier combinations, the source node identifier in the bidirectional identifier combination is filled into the source identifier filling position in the current node's tracking structure, and the destination node identifier is added to the destination identifier filling position in the current node's tracking structure, resulting in the tracking data block corresponding to the bidirectional identifier combination, including: For each bidirectional identifier combination, determine the target embedded data block that corresponds to the source node identifier in the bidirectional identifier combination and points to the current node; Obtain the stored cumulative path from the target embedded data block, where the cumulative path is a path from the starting node of the target multi-path service flow link to the source node; The current node's identifier is added to the obtained cumulative path to obtain the updated cumulative path; The source node identifier from the bidirectional identifier combination is filled into the source identifier filling position of the current node's tracking structure, the destination node identifier is added to the destination identifier filling position of the current node's tracking structure, and the updated cumulative path is added to the current node's tracking structure to obtain the tracking data block corresponding to the bidirectional identifier combination.
6. The method according to claim 1, characterized in that, The target multi-path service flow link is a link used to select content matching the target object; when selection fails, the method further includes: The destination node identifier of the current node is determined as the new current node, and the step of selecting content that matches the target object from the candidate content corresponding to the current node is returned until the destination node identifier of the current node is the termination node.
7. The method according to claim 6, characterized in that, The method further includes: When selection is successful, content indication information is determined; the content indication information is used to indicate the selected content; The content indication information is added to the embedding structure of the termination node to obtain the embedding data block of the termination node. Based on the content indication information stored in the embedded data block of the termination node, the target content matching the target object is determined; The target content is pushed to the target object.
8. The method according to claim 6, characterized in that, At least one node in the target multi-path service flow link is configured with node entry conditions, and the destination node identifier of the current node is selected based on the node entry conditions of the current node's backward adjacent nodes; the steps to obtain the target multi-path service flow link are as follows: Obtain the initial multi-path service flow link and determine the initial multi-path service flow link as the current multi-path service flow link; Determine the content selected for the target object through the current multi-path service flow link to obtain the currently selected content; When the currently selected content does not meet the preset content conditions, the node entry conditions of at least one node in the current multi-path service flow link are adjusted to obtain a new current multi-path service flow link. The step of determining the content selected for the target object through the current multi-path service flow link and obtaining the currently selected content is returned until the currently selected content meets the preset content conditions. The current multi-path service flow link when the currently selected content meets the preset content conditions is determined as the target multi-path service flow link.
9. The method according to any one of claims 1 to 8, characterized in that, The trunk link includes multiple paths, and the probability of change of the trunk link is greater than that of change of the main trunk link.
10. The method according to claim 1, characterized in that, The step of filling the source node identifier into the source identifier filling position of the current node's tracking structure, and adding the destination node identifier into the destination identifier filling position of the current node's tracking structure, to obtain the service collection data collected for the target object in the target multi-path service flow link, includes: Obtain task execution-related information obtained from executing the task corresponding to the current node; The source node identifier is filled into the source identifier filling position in the current node's tracking structure, the destination node identifier is added to the destination identifier filling position in the current node's tracking structure, and the task execution related information is added to the current node's tracking structure to obtain the current node's tracking data block. Based on the data block of the current node, the service collection data collected for the target object in the target multi-path service flow link is obtained.
11. The method according to claim 10, characterized in that, The method further includes: For each data block of the target object generated in the target multi-path business flow link, relevant task execution information is obtained from each of the data blocks of the target object; Based on the acquired relevant information about the execution of each task, data statistics are performed to obtain the data statistics results; The statistical results are then visualized.
12. A business data acquisition device, characterized in that, The device includes: The node determination module is used to determine the current node corresponding to the target object in a target multi-path service flow link that includes multiple nodes. The target object is the object that triggers the execution of the target multi-path service flow link. The target multi-path service flow link is a branch link in the target system flow link. The target system flow link also includes a main link. The main link and the branch links are divided based on the degree of change. The identifier acquisition module is used to select content that matches the target object from the candidate content corresponding to the current node. If the selection fails, the identifier of the backward neighbor node of the current node in the target multi-path service flow link is obtained; the backward neighbor node of the current node is at least one. The destination node identifier acquisition module is used to select a node identifier that matches the target object from the acquired identifiers of backward adjacent nodes to obtain the destination node identifier of the current node. If the selection is successful, the identifier of the termination node in the target multi-path service flow link is determined as the destination node identifier of the current node. The source node identifier determination module is used to determine the source node identifier of the current node; the source node identifier uniquely corresponds to the source node, and the source node is the node that flows to the current node from each of the current node's forward adjacent nodes; The business data acquisition module is used to fill the source node identifier into the source identifier filling position in the current node's embedding structure, and add the destination node identifier into the destination identifier filling position in the current node's embedding structure, so as to obtain the business data collected for the target object in the target multi-path business flow link.
13. The apparatus according to claim 12, characterized in that, The target multi-path service flow link is matched with a set of adjacent node identifiers; the set of adjacent node identifiers includes the identifiers of the adjacent nodes of each node in the target multi-path service flow link, and the adjacent nodes of the current node include backward adjacent nodes; the identifier acquisition module is further used for: Obtain the identifier of the backward neighbor node of the current node in the target multi-path service flow link from the set of neighbor node identifiers matched in the target multi-path service flow link.
14. The apparatus according to claim 13, characterized in that, The device is also used for: Obtain node change information; Based on the node change information, the set of neighboring node identifiers of the target multi-path service flow link is changed to obtain an updated set of neighboring node identifiers. The link matched by the updated set of neighboring node identifiers is the new target multi-path service flow link. The step of determining the current node corresponding to the target object in the target multi-path service flow link that includes multiple nodes is returned.
15. The apparatus according to claim 12, characterized in that, The source node identifier and destination node identifier of the current node are both at least one; the service data acquisition module is further used for: Determine the bidirectional identifier combination of the current node; each bidirectional identifier combination includes a source node identifier and a destination node identifier, and at least one of the source node identifier and the destination node identifier is different in different bidirectional identifier combinations; For each bidirectional identifier combination, the source node identifier in the bidirectional identifier combination is filled into the source identifier filling position in the current node's embedding structure, and the destination node identifier is added to the destination identifier filling position in the current node's embedding structure, to obtain the embedding data block corresponding to the bidirectional identifier combination. Based on the embedded data blocks corresponding to each of the bidirectional identifier combinations, the service collection data collected for the target object in the target multi-path service flow link is obtained.
16. The apparatus according to claim 15, characterized in that, The business data acquisition module is also used for: For each bidirectional identifier combination, determine the target embedded data block that corresponds to the source node identifier in the bidirectional identifier combination and points to the current node; Obtain the stored cumulative path from the target embedded data block, where the cumulative path is a path from the starting node of the target multi-path service flow link to the source node; The current node's identifier is added to the obtained cumulative path to obtain the updated cumulative path; The source node identifier from the bidirectional identifier combination is filled into the source identifier filling position of the current node's tracking structure, the destination node identifier is added to the destination identifier filling position of the current node's tracking structure, and the updated cumulative path is added to the current node's tracking structure to obtain the tracking data block corresponding to the bidirectional identifier combination.
17. The apparatus according to claim 12, characterized in that, The target multi-path service flow link is a link used to select content matching the target object; when selection fails, the device is further used to: The destination node identifier of the current node is determined as the new current node, and the step of selecting content that matches the target object from the candidate content corresponding to the current node is returned until the destination node identifier of the current node is the termination node.
18. The apparatus according to claim 17, characterized in that, The device is also used for: When selection is successful, content indication information is determined; the content indication information is used to indicate the selected content; The content indication information is added to the embedding structure of the termination node to obtain the embedding data block of the termination node. Based on the content indication information stored in the embedded data block of the termination node, the target content that matches the target object is determined; The target content is pushed to the target object.
19. The apparatus according to claim 17, characterized in that, At least one node in the target multi-path service flow link is configured with node entry conditions, and the destination node identifier of the current node is selected based on the node entry conditions of the current node's backward adjacent nodes; the device is further configured to: Obtain the initial multi-path service flow link and determine the initial multi-path service flow link as the current multi-path service flow link; Determine the content selected for the target object through the current multi-path service flow link to obtain the currently selected content; When the currently selected content does not meet the preset content conditions, the node entry conditions of at least one node in the current multi-path service flow link are adjusted to obtain a new current multi-path service flow link. The step of determining the content selected for the target object through the current multi-path service flow link and obtaining the currently selected content is returned until the currently selected content meets the preset content conditions. The current multi-path service flow link when the currently selected content meets the preset content conditions is determined as the target multi-path service flow link.
20. The apparatus according to any one of claims 12 to 19, characterized in that, The trunk link includes multiple paths, and the probability of change of the trunk link is greater than that of change of the main trunk link.
21. The apparatus according to claim 12, characterized in that, The business data acquisition module is also used for: Obtain task execution-related information obtained from executing the task corresponding to the current node; The source node identifier is filled into the source identifier filling position in the current node's tracking structure, the destination node identifier is added to the destination identifier filling position in the current node's tracking structure, and the task execution related information is added to the current node's tracking structure to obtain the current node's tracking data block. Based on the data block of the current node, the service collection data collected for the target object in the target multi-path service flow link is obtained.
22. The apparatus according to claim 21, characterized in that, The device is also used for: For each data block of the target object generated in the target multi-path business flow link, relevant task execution information is obtained from each of the data blocks of the target object; Based on the acquired relevant information about the execution of each task, data statistics are performed to obtain the data statistics results; The statistical results are then visualized.
23. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 11.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.
25. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Method and device for selecting and pushing data content to terminal
CN106156127A
Log generation method and device
CN107704357A
Routing Method and Apparatus
US20190334820A1
