A method and device for determining the traffic source of an order

By configuring click logs and index matching rules on the promotion page, the problems of uncertainty in order traffic sources and resource waste in personalized recommendations in big data scenarios are solved, and accurate traffic source tracking and marketing effect evaluation are achieved.

CN111461754BActive Publication Date: 2025-09-19BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201910048484.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-01-18
Publication Date
2025-09-19
Estimated Expiration
2039-01-18

AI Technical Summary

Technical Problem

Existing methods for determining the source of order traffic are not suitable for personalized recommendations in big data scenarios. There is uncertainty in product promotion, which makes it difficult to track the source of traffic, wastes resources, and causes inaccurate tracking results.

Method used

By configuring the first click log and the second click log on the promotion page, using the index matching rules of the first click ID and the second click ID, combined with user click behavior and environmental parameter information, the traffic source of the order can be accurately tracked.

Benefits of technology

It realizes precise marketing with personalized recommendations in big data scenarios, reduces the cost of maintaining promotion links, improves the tracking accuracy of order traffic sources, and supports flexible precise marketing order attribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111461754B_ABST
    Figure CN111461754B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for determining the traffic source of an order, and relates to the field of computer technology. A specific implementation of the method includes: in a first click log, querying all first click IDs of the user according to the user ID of the order; in a second click log, querying the second click information corresponding to each first click ID of the user based on a first index pre-configured for each first click ID of the user to form a second click information set; in the second click information set, determining whether there is second click information that matches the order product according to a preset first matching rule, and if so, determining that the traffic source of the order is the promotion page of the first click ID corresponding to the first index of the matched second click information. This implementation reduces the precision marketing method that can be applied to personalized product recommendations, and can improve the accuracy of tracking the traffic source of orders.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for determining the traffic source of an order. Background Art

[0002] Cost-Per-Sale (CPS) advertising is a widely used marketing model on e-commerce websites. In this model, if users attracted by CPS ads on other websites actually make a purchase on the e-commerce website's sales page, the website will receive a commission. Therefore, when calculating commissions, it's necessary to determine whether the traffic generated by the e-commerce website's orders came from a specific CPS ad.

[0003] Currently, the typical marketing practice for e-commerce websites is to create a campaign page, then set up promotional products on the campaign page. Each product generates a promotional link and stores it in the system. The source of the order traffic is determined by determining whether the product the user ordered is from the same store as the product linked to the promotional link the user clicked.

[0004] In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: the existing method of determining the source of order traffic is no longer applicable to the precision marketing method of making personalized recommendations based on user population portraits in big data scenarios. In this marketing method, there is uncertainty about the products promoted by advertisers on the activity page, which makes it very difficult to track the source of order traffic; and the existing method needs to generate a promotional link for each product, and many of the generated promotional links may never be clicked by anyone, resulting in a waste of resources; and the existing method is not accurate enough in tracking the source of product traffic.

[0005] Therefore, there is an urgent need for a precise marketing method that can be applied to personalized product recommendations, improve the accuracy of tracking the traffic source of orders, and save system resources to determine the traffic source of orders. Summary of the Invention

[0006] In view of this, an embodiment of the present invention provides a method and apparatus for determining the traffic source of an order, which can be applied to a precision marketing method of personalized product recommendation and can improve the accuracy of tracking the traffic source of an order.

[0007] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present invention, a method for determining the traffic source of an order is provided, characterized in that the method is used to determine whether the traffic source of an order is a promotional page, a first click log is configured for the promotional page, the first click log records the first click information each time a user clicks a link on the promotional page, the first click information includes: the first click ID of the click and the user ID of the user, a promotional link is configured on the promotional page, a second click log is configured for the promotional link, the second click log records the second click information each time a user clicks the promotional link, the second click information includes: the second click ID of the click and information about the promotional link, the method includes:

[0008] In the first click log, query all first click IDs of the user according to the user ID of the order;

[0009] In the second click log, based on a first index preconfigured for each first click ID of the user, query the second click information corresponding to each first click ID of the user to form a second click information set, wherein in the first index, the first click ID is a key and the second click ID is an index value;

[0010] In the second click information set, based on the information of the promotion link and according to the preset first matching rule, determine whether there is second click information that matches the order product. If so, determine that the traffic source of the order is the promotion page of the first click ID corresponding to the first index of the matching second click information.

[0011] Optionally, the first click information further includes: the address of the promotional page clicked, and the second click information further includes: click environment parameter information of the user's most recent click on a link on the promotional page before clicking the promotional link, and the address of the page where the promotional link is located;

[0012] The method further comprises:

[0013] After the user clicks the promotion link, the first click ID of the link on the promotion page that the user most recently clicked before clicking the promotion link is determined based on the click environment parameter information;

[0014] In the first click log, query the first click information based on the first click ID to obtain the address of the link of the promotion page that the user clicked most recently before clicking the promotion link this time;

[0015] Determine whether the URL of the page where the promotional link clicked by the user matches the URL of the link of the promotional page that the user most recently clicked before clicking the promotional link;

[0016] If there is a match, the second click ID of the user clicking the promotion link this time is used as the index value, and the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link is added.

[0017] Optionally, the second click information further includes: the target page address of the promotion link, where the target page is configured with other promotion links, and the method further includes:

[0018] When it is determined that the address of the page where the promotion link clicked by the user does not match the address of the link of the promotion page that the user most recently clicked before clicking the promotion link, the second click information corresponding to the first click ID is queried in the second click log based on the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link;

[0019] Determine whether, among all target page addresses of the second click information obtained through the query, there is a target page address that matches the address of the page where the promotional link clicked by the user is located;

[0020] If it exists, the second click id of the user's click on the promotion link will be used as the index value, and added to the first index of the first click id of the link of the promotion page that the user most recently clicked before clicking the promotion link.

[0021] Optionally, the second click information further includes: the click time of the click; when the target page of the promotion link is a page promoting a product, the information of the promotion link further includes: the store ID of the product;

[0022] In the second click information set, based on the information of the promotion link and according to the preset first matching rule, determining whether there is second click information matching the order product includes:

[0023] In the second click information set, select the second click information whose click time is within the set time range;

[0024] Among all the selected second click information, determine one by one whether the store ID of each second click information matches the store ID of the order product in order of click time from near to far, until the store ID of the second click information that matches the store ID of the order product is determined, and determine that the second click information matches the order product.

[0025] Optionally, the promotion link has a promotion identifier, and the method further includes:

[0026] receiving the second click information sent by the client to record it in a second click log, wherein the client monitors page click events, and when it is determined that a page link with the promotional identifier is clicked, obtains and sends the second click information of the click;

[0027] To achieve the above-mentioned purpose, according to another aspect of an embodiment of the present invention, there is further provided an apparatus for determining the traffic source of an order, the apparatus being used to determine whether the traffic source of an order is a promotional page, wherein a first click log is configured for the promotional page, the first click log recording first click information each time a user clicks a link on the promotional page, the first click information including: the first click ID of the click and the user ID of the user, the promotional link is configured on the promotional page, a second click log is configured for the promotional link, the second click log recording second click information each time a user clicks the promotional link, the second click information including: the second click ID of the click and information about the promotional link, the apparatus comprising:

[0028] A first query module is used to query all first click IDs of a user according to the user ID of an order in the first click log;

[0029] a second query module, configured to query, in the second click log, the second click information corresponding to each first click ID of the user based on a first index preconfigured for each first click ID of the user, so as to form a second click information set, wherein in the first index, the first click ID is a key and the second click ID is an index value;

[0030] The judgment module is used to determine whether there is second click information matching the order product in the second click information set based on the information of the promotion link and according to the preset first matching rule. If so, it is determined that the traffic source of the order is the promotion page of the first click ID corresponding to the first index of the matching second click information.

[0031] Optionally, the first click information further includes: the address of the promotional page clicked, and the second click information further includes: click environment parameter information of the user's most recent click on a link on the promotional page before clicking the promotional link, and the address of the page where the promotional link is located;

[0032] The device further includes: an index generation module for determining, after a user clicks a promotion link, based on the click environment parameter information, a first click ID of a link on a promotion page that the user most recently clicked before clicking the promotion link;

[0033] In the first click log, query the first click information based on the first click ID to obtain the address of the link of the promotion page that the user clicked most recently before clicking the promotion link this time;

[0034] Determine whether the URL of the page where the promotional link clicked by the user matches the URL of the link of the promotional page that the user most recently clicked before clicking the promotional link;

[0035] If there is a match, the second click ID of the user clicking the promotion link this time is used as the index value, and the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link is added.

[0036] Optionally, the second click information further includes: the target page address of the promotion link, where the target page is configured with other promotion links. The index generation module is further configured to, when it is determined that the address of the page on which the promotion link clicked by the user is located does not match the address of the link of the promotion page that the user most recently clicked before clicking the promotion link, query, in the second click log, the second click information corresponding to the first click ID based on the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link;

[0037] Determine whether, among all target page addresses of the second click information obtained through the query, there is a target page address that matches the address of the page where the promotional link clicked by the user is located;

[0038] If it exists, the second click id of the user's click on the promotion link will be used as the index value, and added to the first index of the first click id of the link of the promotion page that the user most recently clicked before clicking the promotion link.

[0039] Optionally, the second click information further includes: the click time of the click; when the target page of the promotion link is a page promoting a product, the information of the promotion link further includes: the store ID of the product;

[0040] The determination module is further configured to select, from the second click information set, second click information whose click time falls within a set time range;

[0041] Among all the selected second click information, determine one by one whether the store ID of each second click information matches the store ID of the order product in order of click time from near to far, until the store ID of the second click information that matches the store ID of the order product is determined, and determine that the second click information matches the order product.

[0042] Optionally, the promotion link has a promotion identifier, and the device also includes: a log module, used to receive the second click information sent by the client to record it in a second click log, wherein the client monitors page click events, and when it is determined that a page link with a promotion identifier is clicked, the second click information of the click is obtained and sent.

[0043] To achieve the above-mentioned purpose, according to another aspect of an embodiment of the present invention, there is provided an electronic device for determining a traffic source of an order, comprising:

[0044] one or more processors;

[0045] a storage device for storing one or more programs,

[0046] When the one or more programs are executed by the one or more processors, the one or more processors implement a method for determining the traffic source of an order.

[0047] To achieve the above-mentioned purpose, according to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, characterized in that when the program is executed by a processor, a method for determining the traffic source of an order is implemented.

[0048] One embodiment of the above invention has the following advantages or beneficial effects: The present invention is a technical solution for personalized big data precision marketing. First, by adding a unified promotion logo to the UI of promoted products, instead of generating promotion links for each product, the cost of maintaining promotion links is reduced. Second, by accurately confirming the log of active promotional products through URL recognition technology, user clicks on products can be accurately tracked, and clicks can be used as the direct order range for the actual promotion effect of the media. The present invention flexibly supports accurate order attribution for precision marketing.

[0049] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings are provided for a better understanding of the present invention and are not intended to limit the present invention.

[0051] Figure 1 This is a schematic diagram of the main process of the method for determining the traffic source of an order provided by an embodiment of the present invention;

[0052] Figure 2 is a schematic diagram of a promotion page and a promotion link provided by an embodiment of the present invention;

[0053] Figure 3 Schematic diagram of the main process of the first index establishment step provided by an embodiment of the present invention;

[0054] Figure 4 is a timing diagram of a second click log provided by an embodiment of the present invention;

[0055] Figure 5 Schematic diagram of main modules of the apparatus for determining the traffic source of an order provided by an embodiment of the present invention;

[0056] Figure 6 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;

[0057] Figure 7 It is a schematic diagram of the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The following description of exemplary embodiments of the present invention is made in conjunction with the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding. These details should be considered as merely exemplary. Therefore, it should be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0059] This embodiment of the present invention provides a method for determining the traffic source of an order. This method can be applied to confirm the traffic source of an order in an e-commerce CPS advertising marketing promotion model, determining whether the traffic source of the order is a promotional page. This method can be applied to precision marketing methods such as personalized product recommendations and can improve the accuracy of tracking the traffic source of an order.

[0060] In the present invention, a first click log is configured for the promotion page, and the first click log records the first click information each time the user clicks the link of the promotion page. The first click information includes: the first click ID of the click and the user ID of the user, and a promotion link is configured in the promotion page.

[0061] E-commerce promotion operations use the promotion link system to generate links to promotional pages. Only one link needs to be generated for each page; there's no need to generate links for all promoted products on each promotional page. The client monitors page click events and, upon confirming a click on a link on a promotional page, retrieves the first click information. Specifically, when a user clicks a promotional link, a CPS promotion log is generated, which records media promotion information and writes some of this information to a cookie. The client sends this information, known as the first click, to the server, which records it in the first click log.

[0062] In the application scenario, when a user (for a user record) clicks on the alliance promotion link to enter the promotion page, a CPS first click log will be generated. The log collection system will collect and analyze the logs to establish the first click id (mainClickId) and the inverted index mainClickId->LOG of the log information LOG, and use the redis cache system for storage.

[0063] At the same time, a secondary index userid->clickIdList of the user id and the first click id is created. The above index is used for data query in the subsequent steps of the method of the present invention.

[0064] A second click log is configured for the promotion link. The second click log records the second click information each time the user clicks on the promotion link. The second click information includes: the second click id of the click and the information of the promotion link. The client monitors the page click event. When it is determined that a page link with a promotion identifier is clicked, the second click information of the click is obtained and sent. The second click information sent by the client is received to record it in the second click log. Specifically: the access business party adds a CPS promotion tag to the UI elements of the products participating in the CPS promotion on the promotion page, and the client introduces the js-sdk component. The function of the sdk is mainly to monitor the click events in the recommended product area of ​​the page, and is responsible for reporting the relevant information of the user clicking on the product to the server.

[0065] When a user clicks a product while browsing recommended products on a promotion page, a second click log is reported through the js-sdk event monitoring. Table 1 below shows an example of the second click information in the second click log.

[0066] Table 1

[0067]

[0068] In one embodiment of the present invention, Figure 2 As shown, the activity page can have a recommended product area with promotional links. There are two types of promotional links: one target page is the product page, i.e., recommended product a, recommended product b, and recommended product c. The other target page is another activity page, i.e., activity b, whose target page is activity page B, which also has promotional links for recommended product e and activity f.

[0069] like Figure 1 As shown, the method for determining the traffic source of an order includes: step S101, step S102, and step S103.

[0070] Step S101: In the first click log, query all first click IDs of the user according to the user ID of the order. This step can be implemented by pre-establishing a secondary index userid->clickIdList of user ID and first click ID.

[0071] Step S102, in the second click log, based on the first index preconfigured for each first click id of the user, query the second click information corresponding to each first click id of the user to form a second click information set, wherein in the first index, the first click id is the key and the second click id is the index value.

[0072] Then execute step S103. In the second click information set, based on the information of the promotion link and according to the preset first matching rule, determine whether there is second click information that matches the order product. If so, determine that the traffic source of the order is the promotion page of the first click ID corresponding to the first index of the matching second click information.

[0073] When a user clicks on a promotion link while browsing recommended products on a promotion page, the second click log will be reported through the js-sdk event monitor, and the first index will be created through the streaming computing framework. The first index is established to meet complex order attribution scenarios. For example, in scenario one, a user enters an activity page, browses the product, and then jumps out of the activity page to browse the product, and then jumps back into the activity page. In this scenario, the actual user purchase behavior is also the result of media promotion. For example, in scenario two, when a user enters the activity A page, there is another activity among the recommended products. When the user clicks to enter the promoted activity B, there will be recommended products again. Figure 2 As shown in , in this scenario, clicking on the recommended product e on page B is the result of the promotion link of activity A. Therefore, when the order is attributed, the corresponding income should also be given to the promotion site owner of activity A.

[0074] Based on the above scenario, the present invention provides Figure 3 In the first index creation step shown, the first click information also includes the address of the promotional page clicked. The second click information also includes the click context parameter information of the user's most recent click on a link on the promotional page before clicking the current promotional link, such as the unpl field in Table 1, and the address of the page containing the promotional link, such as the currentUrl field in Table 1, which represents the current page of the promotional link. After the user clicks the promotional link, the first click ID of the user's most recent click on a link on the promotional page before clicking the current promotional link is determined based on the click context parameter information.

[0075] In the first click log, the first click information is queried according to the first click ID to obtain the URL of the link of the promotion page that the user clicked most recently before clicking the promotion link this time, that is, the target page address of the link.

[0076] Next, determine the URL of the page containing the promotional link clicked by the user (e.g., the currentUrl field in Table 1). This field matches the URL of the current page clicked by the user, and whether it matches the URL of the link of the promotional page the user most recently clicked before clicking the promotional link. This matching method can be regular expression matching, and the system has preconfigured URL regular expression matching rules.

[0077] If there is a match, the second click ID of the user's current click on the promotional link is used as the index value, and the first index of the first click ID of the link of the promotional page that the user most recently clicked before clicking the promotional link is added. In other words, if there is a match, it is assumed that the two URLs point to the same page, and the first and second click IDs are considered to be clicks generated by the same promotional campaign. The second click ID is added to the first index of the first click ID.

[0078] The promotional link on the recommendation page can point to a recommended product page or a link to another lower-level page. This lower-level page can also be configured with promotional links for products or to the next lower-level page. When the promotional link is located on the recommendation page and is a link to the recommended product page, the steps of the above embodiment of the present invention can be used to determine whether a click on the promotional link originated from a click on a link on the recommendation page.

[0079] Because the second click information only records the click context parameters of the user's most recent click on the promotional page link before clicking the current promotional link, as shown in the unpl field in Table 1, when the promotional link is located on a lower-level page of the promotional page, the current page address of the promotional link will be different from the address of the promotional page. However, the present invention defines that if a product's promotional link is located on a lower-level page of the promotional page, clicks on the product's promotional link are also attributed to clicks on the promotional page link.

[0080] Furthermore, in one embodiment of the present invention, the second click information also includes: the target page address of the promotion link, which is configured with other promotion links. The following additional steps are used to attribute clicks on promotion links from subordinate pages of the promotion page:

[0081] When it is determined that the address of the page where the promotional link clicked by the user does not match the address of the link of the promotional page that the user clicked most recently before clicking the promotional link this time, in the second click log, based on the first index of the first click ID of the link of the promotional page that the user clicked most recently before clicking the promotional link this time, the second click information corresponding to the first click ID is queried to obtain a second click information list.

[0082] Determine whether any of the target page addresses of all second-click information obtained by the query matches the address of the page containing the promotional link clicked by the user. This means traversing the currentUrl field (the current page address) in the second-click information list to see if any of the addresses matches the page address clicked by the user.

[0083] The second click information list used for traversal matching is obtained through the first index query. This means that the second click information obtained from the query includes clicks on links on other pages that have already been attributed to clicks on the promotional page link. This means that these other pages are determined to be subordinate pages of the promotional page. Therefore, when a match is found, the currently clicked promotional link is determined to be located on a subordinate page of the promotional page.

[0084] If it exists, the second click id of the user's click on the promotion link will be used as the index value, and added to the first index of the first click id of the link of the promotion page that the user most recently clicked before clicking the promotion link.

[0085] The second click information also includes: the click time of the click. When the target page of the promotion link is the page of the promoted product, the information of the promotion link also includes: the store ID of the product.

[0086] In one embodiment of the present invention, in step S103, based on the information of the promotion link and in accordance with a preset first matching rule, the process of determining whether there is second click information matching the ordered product in the second click information set is as follows:

[0087] In the second click information set, select the second click information within the set time range. The collection of user second click logs is implemented using the ZSet function of redis, and the click timestamp is used as the score of the ZSet. When performing order attribution, for example, using Figure 4 The user click behavior timeline shown obtains the second click log, and executes the instruction getClickLog = [orderTime, orderTime-N] to obtain the second click log from the order time orderTime to N days before the order time to form a log array listA, which is the range list of direct orders.

[0088] Then, among all the selected second click information, determine one by one whether the store ID of each second click information matches the store ID of the order product in order of click time from near to far, until the store ID of the second click information that matches the store ID of the order product is determined, and determine that the second click information matches the order product.

[0089] For example, when a user purchases product c, and the first click log mainClickId is found based on the user ID, the list A of product logs clicked by the corresponding user in the past N days is retrieved from Redis based on mainClickId. If product c is from the same store as the clicked products in listA, then the order is a direct order.

[0090] The above steps implement the ordered storage from old to new according to the click behavior timeline. When searching for the second click log, the search order is also from new to old, with the user's latest click behavior being given priority.

[0091] An embodiment of the present invention also provides a device for determining the traffic source of an order, which is used to determine whether the traffic source of an order is a promotional page. A first click log is configured for the promotional page, and the first click log records the first click information each time a user clicks a link on the promotional page. The first click information includes: the first click ID of the click and the user ID of the user. A promotional link is configured in the promotional page, and a second click log is configured for the promotional link. The second click log records the second click information each time a user clicks a promotional link. The second click information includes: the second click ID of the click and information about the promotional link.

[0092] like Figure 5 As shown, the device 500 for determining the traffic source of an order includes: a first query module 501 , a second query module 502 , and a determination module 503 .

[0093] The first query module 501 is used to query all first click IDs of the user according to the user ID of the order in the first click log.

[0094] The second query module 502 is used to query the second click information corresponding to each first click id of the user in the second click log based on the first index preconfigured for each first click id of the user to form a second click information set, wherein in the first index, the first click id is the key and the second click id is the index value.

[0095] The judgment module 503 is used to determine whether there is second click information matching the order product in the second click information set based on the information of the promotion link and according to the preset first matching rule. If so, it is determined that the traffic source of the order is the promotion page of the first click ID corresponding to the first index of the matching second click information.

[0096] In the present invention, the first click information also includes: the address of the promotion page clicked at that time, and the second click information also includes: the click environment parameter information of the link of the promotion page clicked by the user for the last time before clicking the promotion link at that time, and the address of the page where the promotion link is located.

[0097] The device also includes: an index generation module, which is used to determine the first click ID of the link of the promotion page that the user clicked most recently before clicking the promotion link this time based on the click environment parameter information after the user clicks the promotion link.

[0098] In the first click log, the first click information is queried according to the first click ID to obtain the address of the link of the promotion page that the user clicked most recently before clicking the promotion link this time.

[0099] Determine whether the address of the page where the promotion link clicked by the user matches the address of the link of the promotion page that the user last clicked before clicking the promotion link.

[0100] If there is a match, the second click ID of the user clicking the promotion link this time is used as the index value, and the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link is added.

[0101] In the present invention, the second click information also includes: the target page address of the promotion link, which target page is configured with other promotion links. The index generation module is also used to determine that when the address of the page where the promotion link clicked by the user is located does not match the address of the link of the promotion page that the user clicked most recently before clicking the promotion link this time, then in the second click log, based on the first index of the first click ID of the link of the promotion page that the user clicked most recently before clicking the promotion link this time, query the second click information corresponding to the first click ID.

[0102] Determine whether there is a target page address matching the address of the page where the promotion link clicked by the user is located among the target page addresses of all the second click information obtained by the query.

[0103] If it exists, the second click id of the user's click on the promotion link will be used as the index value, and added to the first index of the first click id of the link of the promotion page that the user most recently clicked before clicking the promotion link.

[0104] In the present invention, the second click information also includes: the click time of the click; when the target page of the promotion link is a page for promoting a product, the information of the promotion link also includes: the store ID of the product.

[0105] The determination module is further configured to select, from the second click information set, second click information whose click time falls within a set time range.

[0106] Among all the selected second click information, determine one by one whether the store ID of each second click information matches the store ID of the order product in order of click time from near to far, until the store ID of the second click information that matches the store ID of the order product is determined, and determine that the second click information matches the order product.

[0107] In the present invention, the promotion link has a promotion identifier, and the device also includes: a log module for receiving the second click information sent by the client to record it in the second click log, wherein the client monitors the page click event, and when it is determined that the page link with the promotion identifier is clicked, the second click information of the click is obtained and sent.

[0108] Figure 6 An exemplary system architecture 600 is shown to which the method for determining the traffic source of an order or the apparatus for determining the traffic source of an order according to an embodiment of the present invention can be applied.

[0109] like Figure 6 As shown, system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. Network 604 is used to provide a medium for communication links between terminal devices 601, 602, 603 and server 605. Network 604 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0110] Users can use terminal devices 601, 602, 603 to interact with server 605 via network 604 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 601, 602, 603.

[0111] The terminal devices 601 , 602 , and 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0112] Server 605 may be a server that provides various services, such as a background management server that determines the traffic source of an order.

[0113] It should be noted that the method for determining the traffic source of an order provided in the embodiment of the present invention is generally executed by the server 605 , and accordingly, the device for determining the traffic source of an order is generally set in the server 605 .

[0114] It should be understood that Figure 6 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0115] Reference below Figure 7 , which shows a schematic structural diagram of a computer system 700 of a terminal device suitable for implementing an embodiment of the present invention. Figure 7 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0116] like Figure 7 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage unit 708 into a random access memory (RAM) 703. Various programs and data required for the operation of the system 700 are also stored in the RAM 703. The CPU 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0117] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, and the like; an output section 707 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 708 including a hard disk; and a communication section 709 including a network interface card such as a LAN card or a modem. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 710 as needed, so that computer programs read therefrom can be installed into the storage section 708 as needed.

[0118] In particular, according to the embodiments disclosed in the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 709, and / or installed from a removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, the above-mentioned functions defined in the system of the present invention are executed.

[0119] It should be noted that the computer-readable medium described in the present invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. This propagated data signal can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.

[0120] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0121] The modules described in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be provided in a processor. For example, a processor may be described as including a first query module, a second query module, and a determination module. The names of these modules do not, in some cases, limit the modules themselves.

[0122] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiments, or may exist independently without being incorporated into the device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device includes:

[0123] The method is used to determine whether the traffic source of an order is a promotion page. A first click log is configured for the promotion page, and the first click log records first click information each time a user clicks a link on the promotion page. The first click information includes: the first click ID of the click and the user ID of the user. The promotion page is configured with a promotion link, and a second click log is configured for the promotion link. The second click log records second click information each time a user clicks the promotion link. The second click information includes: the second click ID of the click and information about the promotion link. The method includes:

[0124] In the first click log, query all first click IDs of the user according to the user ID of the order;

[0125] In the second click log, based on a first index preconfigured for each first click ID of the user, query the second click information corresponding to each first click ID of the user to form a second click information set, wherein in the first index, the first click ID is a key and the second click ID is an index value;

[0126] In the second click information set, based on the information of the promotion link and according to the preset first matching rule, determine whether there is second click information that matches the order product. If so, determine that the traffic source of the order is the promotion page of the first click ID corresponding to the first index of the matching second click information.

[0127] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A method for determining the traffic source of an order, characterized in that: The method is used to determine whether the traffic source of an order is a promotion page. A first click log is configured for the promotion page, and the first click log records first click information each time a user clicks a link on the promotion page. The first click information includes: the first click ID of the click and the user ID of the user. The promotion page is configured with a promotion link, and a second click log is configured for the promotion link. The second click log records second click information each time a user clicks the promotion link. The second click information includes: the second click ID of the click and information about the promotion link. The method includes: In the first click log, query all first click IDs of the user according to the user ID of the order; In the second click log, based on a first index preconfigured for each first click ID of the user, query the second click information corresponding to each first click ID of the user to form a second click information set, wherein in the first index, the first click ID is a key and the second click ID is an index value; In the second click information set, based on the information of the promotion link and according to the preset first matching rule, it is determined whether there is second click information matching the order item. If so, the traffic source of the order is determined to be the promotion page with the first click ID corresponding to the first index of the matching second click information; According to the preset first matching rule, determine whether there is second click information that matches the order product, including: in the second click information set, select the second click information whose click time is within the set time range; among all the selected second click information, judge one by one in the order of click time from near to far whether the store ID of each second click information matches the store ID of the order product, until the store ID of the second click information that matches the store ID of the order product is determined, and determine that the second click information matches the order product.

2. The method according to claim 1, characterized in that The first click information also includes: the address of the promotional page clicked, and the second click information also includes: the click environment parameter information of the user's most recent click on the link of the promotional page before clicking the promotional link, and the address of the page where the promotional link is located; The method further comprises: After the user clicks the promotion link, the first click ID of the link on the promotion page that the user most recently clicked before clicking the promotion link is determined based on the click environment parameter information; In the first click log, query the first click information based on the first click ID to obtain the address of the link of the promotion page that the user clicked most recently before clicking the promotion link this time; Determine whether the URL of the page where the promotional link clicked by the user matches the URL of the link of the promotional page that the user most recently clicked before clicking the promotional link; If there is a match, the second click ID of the user clicking the promotion link this time is used as the index value, and the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link is added.

3. The method according to claim 2, characterized in that The second click information also includes: the target page address of the promotion link, and the target page is configured with other promotion links. The method further includes: When it is determined that the address of the page where the promotion link clicked by the user does not match the address of the link of the promotion page that the user most recently clicked before clicking the promotion link, the second click information corresponding to the first click ID is queried in the second click log based on the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link; Determine whether, among all target page addresses of the second click information obtained through the query, there is a target page address that matches the address of the page where the promotion link clicked by the user is located; If it exists, the second click id of the user clicking the promotion link this time is used as the index value, and the first index of the first click id of the link of the promotion page that the user clicked most recently before clicking the promotion link is added.

4. The method according to any one of claims 1 to 3, characterized in that The promotion link has a promotion identifier, and the method further includes: Receive the second click information sent by the client to record it in the second click log, wherein the client monitors the page click event, and when it is determined that the page link with the promotion logo is clicked, obtain the second click information of the click and send it.

5. A device for determining the traffic source of an order, characterized in that: The device is used to determine whether the traffic source of an order is a promotion page. A first click log is configured for the promotion page. The first click log records first click information each time a user clicks a link on the promotion page. The first click information includes: the first click ID of the click and the user ID of the user. The promotion page is configured with a promotion link. A second click log is configured for the promotion link. The second click log records second click information each time a user clicks the promotion link. The second click information includes: the second click ID of the click and information about the promotion link. The device includes: A first query module is used to query all first click IDs of a user according to the user ID of an order in the first click log; a second query module, configured to query, in the second click log, the second click information corresponding to each first click ID of the user based on a first index preconfigured for each first click ID of the user, so as to form a second click information set, wherein in the first index, the first click ID is a key and the second click ID is an index value; a determination module configured to determine, based on the information of the promotional link and in accordance with a preset first matching rule, whether there is second click information matching the order item in the second click information set; and if so, determine that the traffic source of the order is the promotion page with the first click ID corresponding to the first index of the matching second click information; The judgment module is also used to select the second click information whose click time is within the set time range from the second click information set; among all the selected second click information, judge one by one in the order of click time from near to far whether the store ID of each second click information matches the store ID of the order product, until the store ID of the second click information that matches the store ID of the order product is determined, and determine that the second click information matches the order product.

6. The device according to claim 5, characterized in that The first click information also includes: the address of the promotional page clicked, and the second click information also includes: the click environment parameter information of the user's most recent click on the link of the promotional page before clicking the promotional link, and the address of the page where the promotional link is located; The device further includes: an index generation module for determining, after a user clicks a promotion link, based on the click environment parameter information, a first click ID of a link on a promotion page that the user most recently clicked before clicking the promotion link; In the first click log, query the first click information based on the first click ID to obtain the address of the link of the promotion page that the user clicked most recently before clicking the promotion link this time; Determine whether the URL of the page where the promotional link clicked by the user matches the URL of the link of the promotional page that the user most recently clicked before clicking the promotional link; If there is a match, the second click ID of the user clicking the promotion link this time is used as the index value, and the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link is added.

7. The device according to claim 6, characterized in that The second click information also includes: the target page address of the promotion link, where the target page is configured with other promotion links. The index generation module is further configured to, when it is determined that the address of the page on which the promotion link clicked by the user is located does not match the address of the link of the promotion page that the user most recently clicked before clicking the promotion link, query the second click information corresponding to the first click ID in the second click log based on the first index of the first click ID of the link of the promotion page that the user most recently clicked before clicking the promotion link; Determine whether, among all target page addresses of the second click information obtained through the query, there is a target page address that matches the address of the page where the promotional link clicked by the user is located; If it exists, the second click id of the user clicking the promotion link this time is used as the index value, and the first index of the first click id of the link of the promotion page that the user clicked most recently before clicking the promotion link is added.

8. The device according to any one of claims 5 to 7, characterized in that The promotion link has a promotion identifier, and the device also includes: a log module, used to receive the second click information sent by the client to record it in a second click log, wherein the client monitors page click events, and when it is determined that a page link with a promotion identifier is clicked, the second click information of the click is obtained and sent.

9. An electronic device for determining the traffic source of an order, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

10. A computer-readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Determination method and device of drainage quality, and issuing method and device of popularization information

    CN103310354A

  • Method for monitoring effectiveness of television advertisements

    CN106355432A