Link construction method, electronic equipment, storage medium and computer program product

By determining the page association status based on business data and scene information, generating grouping identifiers and aggregating buried point codes, the problem of unassociated pages in link tracking is solved, improving the accuracy of behavior paths and data collection efficiency, and reducing system burden. and cleaning costs.

CN118568368APending Publication Date: 2024-08-30KE COM (BEIJING) TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410650084.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the existing technology, there is a problem in link tracking that adjacent pages have no correlation at the trigger time but are connected in series, and the point-burying method lacks business customization functions, resulting in inaccurate behavior paths, long data collection, and impact on system throughput and Data cleaning costs.

Method used

By determining the association status based on the business data and scene information of the upstream page and the target page, generating grouping identifiers to form target tracking codes, and aggregating tracking codes with the same grouping identities to build behavioral links and improve the accuracy of link tracking. performance and data collection efficiency.

Benefits of technology

It improves the accuracy of link tracking and data collection efficiency, reduces the impact on system throughput and data cleaning costs, and provides more flexible data collection and personalized analysis capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568368A
    Figure CN118568368A
Patent Text Reader

Abstract

The invention provides a link construction method which comprises the following steps: determining an association state between an upstream page and a target page according to upstream business data of the upstream page and target scene information of the target page; in response to the association state, determining a grouping identifier of the target page, and generating a target burying point code containing the grouping identifier; and aggregating the plurality of buried point codes having the same grouping identifier as the target buried point code to form a behavior link. The invention further provides electronic equipment, a storage medium and a computer program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a link construction method, electronic equipment, storage medium, and computer program product. Background Art

[0002] Understanding the behavioral data of users using software is the basis for helping product operators make strategic decisions and product iterations. Usually, tracking codes are inserted at key locations to collect user click, browse, interact and other behavioral data through tracking to understand the user's usage habits, behavior paths and preferences for the software. Related technologies are based on the SDK (Software Development Kit) of distributed tracking ID (Identification) to automatically collect call pages and obtain link tracking about upstream and downstream call pages.

[0003] However, the aforementioned method is usually to call the link series of the page based on the user's trigger time of the page. This leads to the problem that some calling pages with adjacent trigger times are not related but are connected into the same link. The behavior path obtained in this way is not in line with the reality. In addition, the tracking method in the relevant technology does not have the function of business customization. Link tracking can only record the upstream and downstream call relationships of large business scenarios. Fine-grained scenarios cannot be tracked, and it is impossible to customize the reporting of on-path data. It takes a lot of time for the SDK to collect link information and report data. If the amount of data collected is large, it will affect the throughput of the entire system and increase the cost of offline data cleaning and aggregation. Summary of the invention

[0004] In order to solve at least one of the aforementioned problems, the present disclosure provides a link construction method, an electronic device, a storage medium, and a computer program product.

[0005] According to one aspect of the present disclosure, a link construction method is provided, including: determining the association status between the upstream page and the target page based on the upstream business data of the upstream page and the target scenario information of the target page; determining the group identifier of the target page in response to the association status, and generating a target embedding code containing the group identifier; and aggregating multiple embedding codes having the same group identifier as the target embedding code to form a behavior link.

[0006] In some embodiments, the association status between the upstream page and the target page is determined based on the upstream business data of the upstream page and the target scene information of the target page, including: when the upstream media end identifier in the upstream business data is the same as the target media end identifier in the target scene information, determining that the association status between the upstream page and the target page is dependent; or when the upstream media end identifier is different from the target media end identifier, determining that the association status between the upstream page and the target page is independent.

[0007] In some embodiments, the response to the association status is to determine the group identifier of the target page and generate a target embedding code containing the group identifier, including: when the association status is dependent, parsing the upstream thread grouping of the upstream page in the upstream embedding code of the upstream business data, and using the group identifier of the upstream thread grouping as the group identifier of the target page; or when the association status is independent, specifying an independent thread grouping that meets a preset grouping rule for the target page, and using the group identifier of the independent thread grouping as the group identifier of the target page.

[0008] In some embodiments, the response to the association state, determining the group identifier of the target page, and generating the target embedding code including the group identifier, also includes: according to the preset time bit number in the embedding code setting rule, converting the processing time of the target embedding code into a timestamp identifier that meets the preset time bit number; according to the identifier conversion rule for the data center in the embedding code setting rule, determining the computer room identifier for representing the data center associated with the target page; according to the identifier conversion rule for the service machine in the embedding code setting rule, determining the machine identifier for representing the service machine associated with the target page; according to the encoding processing capability of the thread grouping at the processing time in the embedding code setting rule, configuring a serial number for the target page, wherein the thread grouping is an independent thread grouping or an upstream thread grouping; and integrating the timestamp identifier, the computer room identifier, the machine identifier, the group identifier and the serial number to obtain the target embedding code for the target page.

[0009] In some embodiments, before determining the group identifier of the target page in response to the association status and generating the target embedding code including the group identifier, it includes: controlling the working state of the calculation module used to generate the target embedding code according to the system time and the processing time of the target embedding code, including: judging whether the system time reaches the processing time; if the system time reaches the processing time, adjusting the working state to start; or, if the system time does not reach the processing time, monitoring the system time until it reaches the processing time, and adjusting the working state to start.

[0010] In some embodiments, before determining the group identifier of the target page in response to the association state and generating the target embedding code including the group identifier, it also includes: adjusting the processing time according to the total number of code applications in the application batch to which the target page belongs and the remaining processing volume of the thread group at the processing time, including: in response to the total number of code applications being greater than the remaining processing volume, analyzing the priority of the target page in the application batch to which it belongs; when the priority is less than a priority threshold, changing the processing time of the target page using a preset time span; or, when the priority is greater than or equal to the priority threshold, maintaining the processing time of the target page.

[0011] In some embodiments, after determining the group identifier of the target page in response to the association status and generating a target embedding code including the group identifier, the following steps include: packaging the target business data of the target page and the business data of multiple calling pages in its application batch into a message body, and storing the message body in a local message queue, wherein the target business data includes the target embedding code and target scenario information; and integrating the multiple message bodies in the local message queue into a message group, and persisting the message group to a data sharing area.

[0012] In some implementations, it also includes: establishing a burying point coding setting rule, wherein the burying point coding setting rule includes a preset number of time digits of the timestamp in the target burying point code.

[0013] In some embodiments, before determining the association status between the upstream page and the target page based on the upstream business data of the upstream page and the target scene information of the target page, it includes: determining the upstream embedding code of the upstream page based on the upstream scene information of the upstream page, and persisting the upstream embedding code and the upstream scene information as the upstream business data to the data sharing area, including: in response to the existence of multiple fine-grained areas in the upstream page, based on the upstream sub-scene information of any of the fine-grained areas corresponding to the trigger action, configuring an upstream sub-embedded code for the fine-grained area, and using the upstream sub-embedded code as the upstream embedding code.

[0014] In some embodiments, after aggregating multiple embedding codes having the same grouping identifier as the target embedding code to form a behavior link, the process includes: analyzing business data of multiple embedding codes in any of the behavior links, determining multiple page association indicators represented by the behavior links, and forming a visual graph corresponding to the page association indicators.

[0015] According to another aspect of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the link construction method as described in any of the above embodiments is implemented.

[0016] According to another aspect of the present disclosure, a readable storage medium is provided, wherein the readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the link construction method as described in any of the above embodiments.

[0017] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the link construction method as described in any of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.

[0019] Figure 1 The present invention is an architectural diagram of a link construction method according to an exemplary embodiment of the present invention.

[0020] Figure 2 A diagram of the architecture for generating target embedding code according to an exemplary embodiment of the present disclosure.

[0021] Figure 3A schematic diagram of the structure of target embedding coding according to an exemplary embodiment of the present disclosure.

[0022] Figure 4 A storage process architecture diagram of target business data according to an exemplary embodiment of the present disclosure.

[0023] Figure 5 The present invention is a flowchart of a link construction method according to an exemplary embodiment of the present disclosure.

[0024] Figure 6 A block diagram of a link construction device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] The present disclosure is further described in detail below in conjunction with the accompanying drawings and implementations. It is understood that the specific implementations described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.

[0026] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0027] Unless otherwise specified, the exemplary embodiments / embodiments shown will be understood as providing exemplary features of various details of some ways in which the technical concept of the present disclosure can be implemented in practice. Therefore, unless otherwise specified, the features of the various embodiments / embodiments can be combined, separated, interchanged and / or rearranged without departing from the technical concept of the present disclosure.

[0028] The terms used herein are for the purpose of describing specific embodiments, rather than being restrictive. As used herein, unless the context clearly indicates otherwise, the singular forms "one (kind, person)" and "said (the)" are also intended to include plural forms. In addition, when the terms "comprise" and / or "include" and their variations are used in this specification, it is explained that there are stated features, integral bodies, steps, operations, parts, assemblies and / or their groups, but it is not excluded that there are or add one or more other features, integral bodies, steps, operations, parts, assemblies and / or their groups. It should also be noted that, as used herein, the terms "substantially", "approximately" and other similar terms are used as approximate terms and not as degree terms, so that they are used to explain the inherent deviations of the measured values, calculated values ​​and / or the values ​​provided that will be recognized by those of ordinary skill in the art.

[0029] When users browse software or applications, they will explore step by step according to the product introduction and advertising recommendations on the page. The exploration process involves multiple pages, so by analyzing the clicks, browsing and searches of the triggered pages, we can understand the user's preferences and behavior habits, and collect relevant business information, such as advertising effects, transaction process conversion rates, etc. Obviously, the precise connection of user behavior paths is the basis for helping product operators make strategic decisions and product iterations.

[0030] However, in the process of users continuously exploring new pages, the two pages triggered successively may not have absolute correlation, and the relevant technology only considers the triggering time of the page, and forces the pages with adjacent triggering times to build associations, resulting in the risk of deviation between the obtained behavior link and the actual situation. In order to avoid the above problems, the link construction method disclosed in the present invention adds a grouping identifier to the buried point code to clarify the correlation between the buried point codes of each page. That is, the pages corresponding to the buried point codes with the same grouping identifier are associated, and the pages corresponding to the buried point codes with different grouping identifiers are in an independent state to ensure that the multiple pages involved in the behavior link finally constructed are truly triggered. For example, when a user browses the introduction page 1 of a certain house source in the real estate rental software A, a dialogue message suddenly pops up in the chat software B. At this time, the user triggers the chat interface 1 of the chat software B. Then it is obvious that the introduction page 1 and the chat interface 1 triggered successively are not associated with each other. Therefore, it is necessary to configure different grouping identifiers for them according to the media end identifiers of the two pages, so as to avoid the risk of connecting the two pages in series as one behavior link in the subsequent series behavior link.

[0031] Figure 1 The present invention is an architectural diagram of a link construction method according to an exemplary embodiment of the present invention.

[0032] refer to Figure 1 The upstream business data of the upstream page includes upstream scene information and upstream embedding code. When a user triggers any target page, the upstream business data of the upstream page will be retrieved from the data sharing area where the upstream business data is stored to provide data support for the association between the upstream page and the target page.

[0033] At the same time, the target scene information of the target page will also be obtained, including general information and special information. General information is the network address of the target page, the media terminal identifier, the trigger time of the target page, etc.; special information is the demand parameters set by the business personnel, including the display data of the target page, the user's click search information on the target page, the user's device account information, etc. Special information will only be collected when the business personnel issue customized instructions, and usually only general information is obtained. By personalizing the target scene information, the flexibility and personalization of data collection are improved.

[0034] Furthermore, the consistency between the media end identifier in the upstream scene information and the media end identifier of the target page is compared. Among them, the media end identifier is a unique identifier configured for different page channels during the page delivery process. The user's behavior path in a certain page channel is connected in series according to the media end identifier, and the advertising delivery effect and other data in the channel can be tracked. Generally speaking, the call pages belonging to the same page channel are associated when triggered, while the call pages belonging to different page channels are usually independent of each other. For example, all call pages in the real estate rental software A share the same media end identifier; all call pages in the chat software B share the same media end identifier, but the real estate rental software A and the chat software B belong to different page channels, and the media end identifiers of the two are different.

[0035] When the media-end identifier of the upstream page is the same as the media-end identifier of the target page, it proves that the target page is called by the trigger of the upstream page. Therefore, the upstream page is the parent scene of the target page, and the target page is the child scene of the upstream page. The relationship between the two is a dependency relationship.

[0036] On the contrary, if the media-end identifier of the upstream page is different from the media-end identifier of the target page, it proves that the call of the target page is unrelated to the upstream page, and the target page is the parent scene of another page channel, and its association relationship with the upstream page is an independent relationship.

[0037] According to different association relationships, the target page is assigned a thread group corresponding to the corresponding page channel, and a group identifier is configured for the thread group. The group identifier is a binary string used to represent the thread group. Each thread group corresponds to a unique group identifier; in addition, the group identifier is also a part of the embedded point code. The thread group is the smallest operating unit used in the calculation module to calculate the embedded point code of the calling page. Each thread can perform one calculation. Assuming that 2048 threads are divided into 11 groups, the calculation of the embedded point code of 11 page channels can be processed at the same time, which solves the problem of batch application of embedded point code in high concurrency scenarios, reduces the number of blocked threads, and improves service throughput. In the concurrent scenario, the corresponding thread group is configured for each page channel. If the target page is dependent on the upstream page, the upstream thread group of the upstream page is used as the thread group of the target page, and then the group identifier of the upstream page about the thread group is parsed; if the upstream page is independent of the target page, it is necessary to reconfigure an independent thread group for the target page that is different from the upstream thread group, and determine the binary group identifier representing the thread group.

[0038] Then, the target scene information of the target page is analyzed using the aforementioned calculation module, and the target embedding code of the target page is obtained by integrating the group identifier. Among them, the calculation module is a distributed computing cluster, which is an SDK tool used to calculate the embedding code for the calling page according to the target scene information, including multiple thread groups. The target scene information is the associated information of the target page, including the display data of the target page, the user's click search information on the target page, the user's device account information, the trigger time of the target page, etc. Different calling pages have different embedding codes, and the target page is any calling page that is in the state of waiting to configure the embedding code.

[0039] It should be noted that when calculating the embedded point code, there will be a short period of thread synchronization logic. However, in order to overcome the problem of multiple groups of threads calculating at the same time in high-concurrency scenarios without generating the same embedded point code, the present invention splits the synchronization logic and locks the groups according to the group identifier; at the same time, each thread group separately maintains the time when the previous thread in the group generated the embedded point code, so that concurrent threads in different groups are in a stateless state, thereby improving performance.

[0040] Figure 2 A diagram of the architecture for generating target embedding code according to an exemplary embodiment of the present disclosure.

[0041] refer to Figure 2 , after obtaining the upstream embedding code, media end identifier of the upstream page and the target scene information and media end identifier of the target page, by judging the association between the media end identifier of the upstream page and the media end identifier of the target page, it can be determined whether the upstream page and the target page are parent-child scenes. In other words, if the media end identifiers of the two are the same, it proves that the two are from the same page channel, then the upstream thread grouping of the upstream page is parsed, and the upstream thread grouping is used as the thread grouping of the target page; otherwise, it proves that the target page is another parent scene independent of the upstream page, and an independent thread grouping should be configured for it. Then, the calculation module is called to determine the group identifier of the thread group corresponding to the target page. If it is an upstream thread grouping, the group identifier in the upstream embedding code can be directly called; at the same time, the processing time preset for the target page is obtained.

[0042] Furthermore, whether the current system time has reached the processing time. If the system time has not reached the processing time, then through the spin mechanism, the system time is continuously monitored until the system time reaches the processing time, triggering a comparison between the total amount of coding applications for the application batch to which the target page belongs and the remaining processing capacity of the corresponding thread group. If the total amount of coding applications is less than or equal to the corresponding remaining processing capacity, then it proves that the processing capacity of the current thread group is sufficient to cope with the application requirements of the batch, and the calculation module is called to calculate the target buried code for the target page. Otherwise, it is necessary to determine the priority of the target page in the current batch. If the priority is greater than or equal to the priority threshold, the calculation process of the target page is assigned to the thread group at the current moment; otherwise, the calculation module is waited for by spinning for the quota of the thread group at the next moment.

[0043] Of course, when the calculation module calculates the target embedding code of the target page, it is subject to the embedding code setting rules. The embedding code setting rules define the structure of the embedding code, the number of digits of each identifier in the architecture, and the identifier conversion rules.

[0044] Figure 3 FIG. 1 is a schematic diagram of the structure of the target embedding code in an exemplary embodiment of the present disclosure. Figure 3 As shown, the structure of the buried point code includes: timestamp identifier, computer room identifier, service machine identifier, group identifier and serial number in sequence. Among them, the timestamp identifier is set to be compressed to 38 bits, and of course, it can also be preset for the remaining time bits according to needs; the timestamp identifier is compressed compared to the traditional buried point code, but it can ensure that the buried point code is not repeated within a certain period of time. For example, a 38-bit timestamp identifier can ensure that the buried point code is not repeated within 7 to 8 years. However, due to the distributed computing of multiple groups of thread groups, a group identifier is added to the target buried point code to avoid the problem of repeated buried point codes of multiple call pages at the same processing time, the same computer room, and the same service machine. The computer room identifier is used to indicate the data center that processes the target page. For example, two data centers can be set, each of which has a different representation method, which corresponds to a different computer room identifier. The service machine is a machine that runs the computing module, which provides hardware support for the buried point code calculation of the computing module. The service machine identifier represents the only service machine in the same data center. The serial number identifies the number of point-coding calculations supported by the same service machine (i.e., the same computing module) at the same time (accurate to milliseconds), and is a concrete representation of the computing power of the computing module.

[0045] The embedding code can be a 64-bit string in binary form, for example, the timestamp is 38 bits 0, the computer room identification is set to 1 bit 0, the service machine identification is set to 6 bits 0, the group identification is set to 11 bits 0, the sequence number is set to 8 bits 0, etc. Of course, according to the actual processing time, data center, service machine, and sequence number corresponding to the target page, each identification bit has a different binary value, which is not listed here one by one.

[0046] The present invention compresses the number of bits of the timestamp identifier and expands the number of bits of the sequence number, thereby greatly increasing the number of distributed point-of-sale codes that are pre-produced at the same time. At the same time, group identifiers are introduced to effectively reduce the problem of coding competition in high-concurrency scenarios and improve the overall throughput of the system.

[0047] Of course, it can be adjusted to different 38-bit binary values ​​according to the actual processing time of the page. The computer room identification is 1 bit 0, of course, it can be set to the remaining digits and binary number system according to the selection and number of data centers. The present disclosure is provided with two data centers. The service machine identification is set to 6 bits 0, of course, the binary value and the number of bits are adjusted according to the actual selection. The group identification is 11 bits 0, representing 11 parallel thread groups, of course, the binary value and the number of bits can also be adjusted according to the actual selection. The sequence number is 8 bits 0, of course, the binary value and the number of bits can also be adjusted according to the actual allocation sequence number and the processing capacity of the computing module.

[0048] Figure 4 This is a storage process architecture diagram of target business data in an exemplary embodiment of the present disclosure. Figure 4After obtaining the target embedding code of the target page, since the application batch to which the target page belongs also generates a large number of embedding codes at the same time, in order to avoid the impact of a large number of calls to storage threads on the overall service performance, an asynchronous storage mechanism for business data is proposed. That is, first package the target business data and the business data of the remaining calling pages (for example, calling page 1 to calling page n, the number of n is not limited) in the same application batch as the target page into a message body i (i is the sequence number of the message body to which the target page belongs in the local message queue), where the target business data is the target scene information and target embedding code of the target page. Then, the calculation module synchronizes the message body i to the local message queue and returns the corresponding subsequent calculation instructions to the calling end. The local message queue plays the role of traffic peak shaving. A linear pool is maintained downstream of the local message queue, which is responsible for polling all message bodies in the consumer message queue to retrieve message bodies 1 to m in the local message queue, and package these m message bodies into a message group. At this time, the storage thread is called once to persist the m message bodies to the data sharing area at one time, thereby reducing the number of calls to the storage thread, and asynchronously isolates data storage from scene information collection, point-of-care code generation and other processes, and can quickly return the generated point-of-care code to the calling end. The average waiting time at the calling end is 1 millisecond.

[0049] Furthermore, according to the grouping identifier of the target page, the remaining embedded point codes with the same grouping identifier are retrieved in the data sharing area; and then according to the upstream and downstream relationships (parent-child scene relationships) between these embedded point codes, multiple embedded point codes with the same grouping identifier are connected in series to form a behavior link that represents the user behavior path.

[0050] Of course, in order to improve the granularity of monitoring the behavior link, a program that triggers the calculation module will be configured for each fine-grained area in each page to accurately determine the specific area associated with the target page on the upstream page. For example, an upstream page has multiple ad slots. In order to determine the benefits brought by a specific ad slot, a program that triggers the calculation module can be configured in each ad slot area. When the user jumps to the target page due to clicking on the upstream page, the specific ad slot area clicked on the upstream page can be located. At this time, we use the embedding code of the fine-grained area as the upstream embedding code of the upstream page, and report it to the data sharing area to provide parent scenario support for calculating the target embedding code.

[0051] In addition, after obtaining the behavior chain, multiple calling pages and their business data in the corresponding behavior chain can be retrieved in the data sharing area according to data usage needs. The characteristics of the behavior chain can be extracted through normal distribution, mean, extreme value aggregation analysis and other methods, and page-related indicators about the behavior chain can be processed. These can be visually presented to the demanders in the form of historical discount trend charts, Sankey diagrams, distribution ratio charts, and upstream and downstream data flow charts of buried points, so as to achieve a visual display of the behavior chain and provide intuitive data support for product changes and strategy updates.

[0052] In order to realize the aforementioned idea of ​​constructing a behavior link, the present disclosure proposes a link construction method. Figure 5 Flowchart of the link construction method of the exemplary embodiment of the present disclosure. Figure 5 The link establishment method S100 is described.

[0053] Step S102: determining the association state between the upstream page and the target page according to the upstream business data of the upstream page and the target scenario information of the target page.

[0054] Upstream business data includes the upstream embedding code and upstream scenario information of the upstream page. The upstream embedding code is a unique binary string used to represent the upstream page. The upstream scenario information includes the display data of the upstream page, the user's click and search status on the upstream page, the user's device account information, the trigger time of the upstream page, etc.

[0055] The upstream page is the page that is in front of the target page according to the triggering sequence. For example, if the user browses the advertisement interface 1 first and then browses the advertisement interface 2, then the advertisement interface 1 is the upstream page of the advertisement interface 2.

[0056] The association state includes independent state and dependent state, which are used to characterize the association relationship between the upstream page and the target page. If the two are in independent state, the target page is the parent scene of another page channel independent of the upstream page; if the two are in dependent state, it means that the target page is a page that pops up triggered by the upstream page, and the two belong to the same page channel, such as the same software, the same web page, etc. The upstream page is the parent scene of the target page, and the upstream page and the target page can share the same grouping identifier.

[0057] Step S104, in response to the association status, determining the group identifier of the target page, and generating a target embedding code including the group identifier.

[0058] The group identifier is used to represent the thread group that processes the calling page (such as the target page). Different page channels correspond to different thread groups and therefore have different group identifiers. If the target page belongs to a sub-scenario of the upstream page and the two have a dependency relationship, then they belong to the same page channel and can share the same thread group and use the same group identifier. Otherwise, it is necessary to configure an independent thread group for the target page, and it will be configured with a group identifier different from that of the upstream page.

[0059] The target embedding code is a binary string used to represent the target page, which can be 64 bits, including: timestamp identifier, computer room identifier, machine identifier, group identifier and serial number. For the explanation of each identifier of the embedding code, please refer to the above and will not be repeated here.

[0060] Step S106, aggregating multiple embedding codes having the same grouping identifier as the target embedding code to form a behavior link.

[0061] Only pages with a parent-child scenario relationship are eligible for aggregate analysis. If there is no connection between two pages, then aggregation and analysis are not practical. Therefore, by aggregating the embedding codes with the same grouping identifier, the behavior link of the corresponding page channel can be constructed.

[0062] The behavior link is used to represent the order in which users trigger each page in the corresponding page channel, that is, the behavior path. For example, if a user browses page A first and then page B in the house rental software, then "page A-page B" is the actual behavior link of the user in the house rental software. We use embedded point codes to represent pages, so when building a behavior link, we can use embedded point codes as nodes of the link.

[0063] In some embodiments, the execution process of step S102 is: when the upstream media end identifier in the upstream business data is the same as the target media end identifier in the target scene information, the association status between the upstream page and the target page is determined to be dependent; or when the upstream media end identifier is different from the target media end identifier, the association status between the upstream page and the target page is determined to be independent.

[0064] Furthermore, the execution process of step S104 is: when the association status is dependent, the upstream thread grouping of the upstream page is parsed in the upstream embedding code of the upstream business data, and the grouping identifier of the upstream thread grouping is used as the grouping identifier of the target page; or when the association status is independent, an independent thread grouping that meets the preset grouping rules is specified for the target page, and the grouping identifier of the independent thread grouping is used as the grouping identifier of the target page.

[0065] Specifically, after obtaining the group identifier, the calculation module determines the process of the buried point code as follows: according to the preset time bit number in the buried point code setting rule, the processing time of the target buried point code is converted into a timestamp identifier that meets the preset time bit number; according to the identifier conversion rule for the data center in the buried point code setting rule, the computer room identifier used to represent the data center associated with the target page is determined; according to the identifier conversion rule for the service machine in the buried point code setting rule, the machine identifier used to represent the service machine associated with the target page is determined; according to the encoding processing capability of the thread grouping at the processing time in the buried point code setting rule, a serial number is configured for the target page, where the thread grouping is an independent thread grouping or an upstream thread grouping; and the timestamp identifier, computer room identifier, machine identifier, group identifier and serial number are integrated to obtain the target buried point code for the target page.

[0066] Of course, before the calculation module executes the calculation process of the buried point code, it is also necessary to determine whether it meets the start-up conditions, including: controlling the working state of the calculation module used to generate the target buried point code according to the system time and the processing time of the target buried point code. That is, determine whether the system time has reached the processing time; if the system time has reached the processing time, adjust the working state to start; or, if the system time has not reached the processing time, monitor the system time until it reaches the processing time, and adjust the working state to start.

[0067] In some embodiments, before the calculation module executes the calculation process of the buried point coding, it should also include: adjusting the processing time according to the total amount of coding applications in the application batch to which the target page belongs and the remaining processing amount of the thread grouping at the processing time. That is, in response to the total amount of coding applications being greater than the remaining processing amount, analyzing the priority of the target page in the application batch to which it belongs; when the priority is less than the priority threshold, changing the processing time of the target page using a preset time span; or, when the priority is greater than or equal to the priority threshold, maintaining the processing time of the target page.

[0068] Furthermore, after step S104, it includes: packaging the target business data of the target page and the business data of multiple calling pages in the application batch to which it belongs into a message body, and storing the message body in the local message queue, wherein the target business data includes the target embedding point code and target scenario information; and integrating multiple message bodies in the local message queue into a message group, and persisting the message group to the data sharing area.

[0069] The present disclosure packages the message bodies in the local message queue into a message group, and can implement persistence of multiple business data through a single call to a storage thread, thereby reducing the number of operations of the storage thread and avoiding the impact of executing the storage thread on system performance.

[0070] In some embodiments, the present disclosure further includes: constructing a point embedding code setting rule, wherein the point embedding code setting rule includes a preset time digit of the timestamp in the target point embedding code. By compressing the digits of the timestamp identifier, the digits of the sequence number are expanded, and the number of point embedding codes calculated in parallel is guaranteed. In addition, by adding a group identifier, the problem of generating the same point embedding code in parallel scenarios is avoided.

[0071] In some embodiments, before step S102, it includes: determining the upstream embedding code of the upstream page according to the upstream scene information of the upstream page, and persisting the upstream embedding code and the upstream scene information as upstream business data to the data sharing area. Specifically, in response to the existence of multiple fine-grained areas in the upstream page, based on the upstream sub-scene information of any fine-grained area corresponding to the trigger action, an upstream sub-embedded code is configured for the fine-grained area, and the upstream sub-embedded code is used as the upstream embedding code.

[0072] In some implementations, after step S106, the process includes: analyzing the business data of multiple embedded point codes in any behavior link, determining multiple page-related indicators represented by the behavior link, and forming a visual graph corresponding to the page-related indicators.

[0073] The link construction method provided by the present disclosure accurately determines the association relationship between two pages triggered successively by analyzing the media terminal identifiers between the upstream and downstream pages, avoiding the problem of two independent pages being forced to be connected in series. In addition, by grouping the multi-threaded computing module, the possibility of parallel calculation of the buried point code is realized; at the same time, by modifying the buried point code structure, the number of bits of the original coded timestamp identifier is compressed, the number of bits of the sequence number is expanded, and the group identifier is increased, which provides support for parallel calculation of the buried point code without duplication, and improves the efficient and accurate connection of the user behavior path.

[0074] Figure 6 A block diagram of a link construction device according to an exemplary embodiment of the present disclosure.

[0075] refer to Figure 6 The present disclosure proposes a link construction device 1000, including: an association status determination module 1002, used to determine the association status between the upstream page and the target page according to the upstream business data of the upstream page and the target scene information of the target page; a buried point code generation module 1004, used to determine the group identifier of the target page in response to the association status, and generate a target buried point code containing the group identifier; and a link aggregation module 1006, used to aggregate multiple buried point codes with the same group identifier as the target buried point code to form a behavior link.

[0076] The various modules of the link construction device 1000 are proposed to execute the various steps of the link construction method. The execution principle and process thereof can be referred to above and will not be described in detail.

[0077] The device 1000 may include corresponding modules for executing each or several steps in the above flowchart. Therefore, each step or several steps in the above flowchart may be executed by the corresponding module, and the device may include one or more modules in these modules. The module may be one or more hardware modules specially configured to execute the corresponding steps, or implemented by a processor configured to execute the corresponding steps, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination.

[0078] The hardware structure can be implemented using a bus architecture. The bus architecture can include any number of interconnecting buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300, and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.

[0079] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.

[0080] Any process or method description in the flowchart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by a person skilled in the art of the present disclosure. The processor performs the various methods and processes described above. For example, the method implementation in the present disclosure can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods in any other appropriate manner (e.g., by means of firmware).

[0081] The logic and / or steps represented in the flowchart or otherwise described herein may be embodied in any readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions on an instruction execution system, apparatus, or device), or in combination with such instruction execution systems, apparatuses, or devices.

[0082] For the purposes of this specification, a "readable storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use with or in conjunction with an instruction execution system, device or apparatus. More specific examples of readable storage media (a non-exhaustive list) include the following: an electrical connection with one or more wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), a fiber optic device, and a portable read-only memory (CDROM). In addition, the readable storage medium may even be paper or other suitable medium on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a memory.

[0083] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0084] A person skilled in the art will appreciate that all or part of the steps of the above-mentioned implementation method can be completed by instructing the relevant hardware through a program. The program can be stored in a readable storage medium. When the program is executed, it includes one or a combination of the steps of the implementation method.

[0085] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.

[0086] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.

Claims

1. A method for establishing a link, characterized in that: include: Determining the association state between the upstream page and the target page according to the upstream business data of the upstream page and the target scenario information of the target page; In response to the association state, determining the group identifier of the target page, and generating a target embedding code including the group identifier; as well as A plurality of embedding point codes having the same grouping identifier as the target embedding point code are aggregated to form a behavior link.

2. The link construction method according to claim 1, characterized in that: The determining, according to the upstream business data of the upstream page and the target scenario information of the target page, the association state between the upstream page and the target page includes: When the upstream media terminal identifier in the upstream service data is the same as the target media terminal identifier in the target scene information, determining that the association state between the upstream page and the target page is dependent; or When the upstream media terminal identifier is different from the target media terminal identifier, it is determined that the association state between the upstream page and the target page is independent.

3. The link construction method according to claim 1, characterized in that: The step of determining the group identifier of the target page in response to the association state and generating a target embedding code including the group identifier includes: When the association state is dependent, the upstream thread group of the upstream page is parsed from the upstream embedding code of the upstream business data, and the group identifier of the upstream thread group is used as the group identifier of the target page; or When the association state is independent, an independent thread group that meets a preset grouping rule is assigned to the target page, and the group identifier of the independent thread group is used as the group identifier of the target page.

4. The link construction method according to claim 3, characterized in that: In response to the association state, determining the group identifier of the target page, and generating a target embedding code including the group identifier, further comprising: According to the preset time digits in the embedding code setting rule, converting the processing time of the target embedding code into a timestamp identifier that satisfies the preset time digits; According to the identifier conversion rule for the data center in the embedding code setting rule, determine the computer room identifier used to represent the data center associated with the target page; Determine, according to the service machine identifier conversion rule in the embedding code setting rule, a machine identifier for representing the service machine associated with the target page; According to the coding processing capability of the thread group at the processing time in the embedding coding setting rule, configuring a sequence number for the target page, wherein the thread group is an independent thread group or an upstream thread group; and The timestamp identifier, the computer room identifier, the machine identifier, the group identifier and the serial number are integrated to obtain the target embedding code for the target page.

5. The link construction method according to claim 4, characterized in that: Before determining the group identifier of the target page in response to the association state and generating the target embedding code including the group identifier, the method includes: According to the system time and the processing time of the target embedding code, controlling the working state of the calculation module for generating the target embedding code includes: Determining whether the system time reaches the processing time; If the system time reaches the processing time, the working state is adjusted to start; or, if the system time does not reach the processing time, the system time is monitored until it reaches the processing time, and the working state is adjusted to start.

6. The link construction method according to claim 5, characterized in that: Before determining the group identifier of the target page in response to the association state and generating the target embedding code including the group identifier, the method further includes: According to the total amount of coded applications in the application batch to which the target page belongs and the remaining processing amount of the thread group at the processing time, the processing time is adjusted, including: In response to the total amount of coding applications being greater than the remaining processing amount, analyzing the priority of the target page in the application batch to which it belongs; When the priority is less than the priority threshold, the processing time of the target page is changed using a preset time span; or, when the priority is greater than or equal to the priority threshold, the processing time of the target page is maintained.

7. The link construction method according to claim 6, characterized in that: After determining the group identifier of the target page in response to the association state and generating the target embedding code including the group identifier, the method further includes: Packing the target business data of the target page and the business data of multiple calling pages in the application batch to which it belongs into a message body, and storing the message body in a local message queue, wherein the target business data includes the target embedding point code and target scenario information; and The plurality of message bodies in the local message queue are integrated into a message group, and the message group is persisted in a data sharing area.

8. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the link construction method according to any one of claims 1 to 7 is implemented.

9. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the link construction method according to any one of claims 1 to 7.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the link construction method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Task node management method and device

    CN111291123A

  • Buried point data generation method and device, equipment and storage medium

    CN113590996A

  • Buried point data acquisition method and device, storage medium and electronic equipment

    CN114741270A

  • Data processing method and device based on buried points, equipment and storage medium

    CN115473839A

  • Information query method and device and storage medium

    CN116260857A