Conversion rate calculation method and device, storage medium, and electronic device
By creating a mapping table of exposure frequency and click frequency and calculating the exposure conversion rate, the problem of inaccurate calculation in the prior art is solved, the accuracy of delivery and user experience are improved, and invalid traffic is reduced.
Patent Information
- Application Number
- CN202011003730.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-22
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2040-09-22
AI Technical Summary
In the prior art, the success rate of delivery tasks is counted by calculating the click rate or download volume of streaming media content, resulting in inaccurate calculations, inaccurate monitoring and adjustment of delivery volume and objects, resulting in invalid traffic and poor user experience.
By obtaining the exposure frequency and click frequency of the target task, creating a mapping table of exposure frequency and click frequency based on the client identification, calculating the exposure conversion rate, determining whether it meets the delivery expectations or there is cheating in orders, and then adjusting the delivery frequency and object.
It improves the calculation accuracy of exposure conversion rate, reduces invalid traffic, improves the utilization rate of network resources, and enhances the user experience.
Smart Images

Figure CN112232853B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a method and device for calculating a conversion rate, a storage medium, and an electronic device. Background Art
[0002] In the related art, after streaming media content is delivered online through a specific channel, it is necessary to count the number of clicks by users in order to count the success rate of the delivery task.
[0003] In the related technology, it is usually calculated by calculating the click rate or download volume of the streaming media content in the background, such as how many software downloads are made within a cycle time, and how many times a video is played on demand in a day. These clicks or downloads may be generated by users directly in the application store, or through non-delivery channels. This will lead to inaccurate calculations and the inability to accurately monitor and precisely adjust the delivery volume and delivery objects of the delivery tasks. This may generate a large amount of invalid traffic, resulting in a waste of network resources. Users always see content that they do not want to click, and the user experience is poor.
[0004] With respect to the above-mentioned problems existing in the related technologies, no effective solutions have been found so far. Summary of the invention
[0005] The embodiments of the present invention provide a method and device for calculating a conversion rate, a storage medium, and an electronic device.
[0006] According to one aspect of an embodiment of the present application, a method for calculating a conversion rate is provided, comprising: obtaining an exposure frequency and a click frequency of a target task, wherein the target task includes a plurality of streaming media contents delivered on a client; creating a mapping table of the exposure frequency and the click frequency based on a client identifier, wherein the mapping table is used to characterize a mapping relationship between the exposure frequency and the click frequency of the target task on each client; and calculating the exposure conversion rate of the target task according to the mapping table.
[0007] Furthermore, creating a mapping table of the exposure frequency and the click frequency based on the client identifier includes: using the client identifier as the primary key of the mapping item, matching the exposure frequency and click frequency of the corresponding client identifier in each mapping item; merging multiple mapping items to generate the mapping table, wherein the mapping table consists of multiple mapping items.
[0008] Further, calculating the exposure conversion rate of the target task according to the mapping table includes: for each exposure frequency, reading the exposure frequency and click frequency of several specified clients in the mapping table, wherein the exposure frequencies of the several specified clients are the same; calculating the sum of the exposure frequencies and the sum of the click frequencies of the several specified clients; and dividing the sum of the click frequencies by the sum of the exposure frequencies to obtain the exposure conversion rate.
[0009] Furthermore, after calculating the exposure conversion rate of the target task according to the mapping table, the method also includes: determining whether the exposure conversion rate is greater than a first preset value; if the exposure conversion rate is greater than the first preset value, determining that the target task has met the delivery expectations; if the exposure conversion rate is less than or equal to the first preset value, determining that the target task has not met the delivery expectations.
[0010] Furthermore, after calculating the exposure conversion rate of the target task according to the mapping table, the method also includes: determining whether the exposure conversion rate is greater than a second preset value; if the exposure conversion rate is greater than the second preset value, determining that there is fake order cheating in the target task; if the exposure conversion rate is less than or equal to the second preset value, determining that there is no fake order cheating in the target task.
[0011] Further, obtaining the exposure frequency and click frequency of the target task includes: obtaining the exposure log and click log of the target task from multiple clients respectively, wherein the exposure log is generated when the target task is exposed on the client, and the click log is generated when the target task is clicked on the client; and determining the number of the exposure logs and the click logs as the exposure frequency and click frequency of the target task on the corresponding client respectively.
[0012] Furthermore, before calculating the exposure conversion rate of the target task according to the mapping table, the method also includes: deleting a first mapping item in the mapping table whose exposure frequency is greater than a first threshold, and / or deleting a second mapping item in the mapping table whose click frequency is greater than a second threshold.
[0013] According to another aspect of an embodiment of the present application, a conversion rate calculation device is also provided, including: an acquisition module, used to acquire the exposure frequency and click frequency of a target task, wherein the target task includes a plurality of streaming media contents delivered on a client; a creation module, used to create a mapping table of the exposure frequency and the click frequency based on a client identifier, wherein the mapping table is used to characterize the mapping relationship between the exposure frequency and the click frequency of the target task on each client; and a calculation module, used to calculate the exposure conversion rate of the target task according to the mapping table.
[0014] Furthermore, the creation module includes: a matching unit, which is used to use the client identifier as the primary key of the mapping item to match the exposure frequency and click frequency of the corresponding client identifier in each mapping item; a generation unit, which is used to merge multiple mapping items to generate the mapping table, wherein the mapping table consists of multiple mapping items.
[0015] Furthermore, the calculation module includes: a reading unit, used to read the exposure frequency and click frequency of several specified clients in the mapping table for each exposure frequency, wherein the exposure frequencies of the several specified clients are the same; a first calculation unit, used to calculate the sum of the exposure frequencies and the sum of the click frequencies of the several specified clients; and a second calculation unit, used to divide the sum of the click frequencies by the sum of the exposure frequencies to obtain the exposure conversion rate.
[0016] Furthermore, the device also includes: a first judgment module, used to judge whether the exposure conversion rate is greater than a first preset value after the calculation module calculates the exposure conversion rate of the target task according to the mapping table; a first determination module, used to determine that the target task has achieved the delivery expectation if the exposure conversion rate is greater than the first preset value; if the exposure conversion rate is less than or equal to the first preset value, determine that the target task has not achieved the delivery expectation.
[0017] Furthermore, the device also includes: a second judgment module, used to judge whether the exposure conversion rate is greater than a second preset value after the calculation module calculates the exposure conversion rate of the target task according to the mapping table; a second determination module, used to determine whether the target task has fake order cheating if the exposure conversion rate is greater than the second preset value; if the exposure conversion rate is less than or equal to the second preset value, determine whether the target task has not fake order cheating.
[0018] Further, the acquisition module includes: an acquisition unit, used to respectively acquire the exposure log and click log of the target task from multiple clients, wherein the exposure log is generated when the target task is exposed on the client, and the click log is generated when the target task is clicked on the client; a determination unit, used to respectively determine the number of the exposure logs and the click logs as the exposure frequency and click frequency of the target task on the corresponding client.
[0019] Furthermore, the device also includes: a deletion module, which is used to delete a first mapping item with an exposure frequency greater than a first threshold in the mapping table before the calculation module calculates the exposure conversion rate of the target task according to the mapping table, and / or delete a second mapping item with a click frequency greater than a second threshold in the mapping table.
[0020] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.
[0021] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.
[0022] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.
[0023] Through the present invention, the exposure frequency and click frequency of the target task are obtained, and then a mapping table of the exposure frequency and the click frequency is created based on the client identifier. The exposure conversion rate of the target task is calculated according to the mapping table. By creating a mapping relationship between the exposure frequency and the click frequency of each client, the probability of converting the exposure rate of the target task into the click volume can be calculated, which solves the technical problem of low accuracy of the exposure conversion rate in the related technology and improves the calculation accuracy of the exposure conversion rate. Furthermore, the delivery frequency of the task can be adjusted with reference to the exposure conversion rate, or the delivery times and delivery objects can be adjusted, thereby reducing invalid traffic and improving the utilization rate of network resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 is a hardware structure block diagram of a server according to an embodiment of the present invention;
[0026] Figure 2 is a flow chart of a method for calculating a conversion rate according to an embodiment of the present invention;
[0027] Figure 3 is a flowchart of an implementation of an embodiment of the present invention;
[0028] Figure 4 is a structural block diagram of a conversion rate calculation device according to an embodiment of the present invention;
[0029] Figure 5 It is a structural block diagram of an electronic device implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Example 1
[0033] The method embodiment provided in the first embodiment of the present application can be executed in a server, a computer, or a similar computing device. Taking running on a server as an example, Figure 1 FIG. 1 is a hardware structure diagram of a server according to an embodiment of the present invention. Figure 1 As shown, the server 10 may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the server may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0034] The memory 104 can be used to store server programs, for example, software programs and modules of application software, such as a server program corresponding to a method for calculating a conversion rate in an embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the server program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0035] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0036] In this embodiment, a method for calculating the conversion rate is provided. Figure 2 is a flow chart of a method for calculating a conversion rate according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0037] Step S202, obtaining the exposure frequency and click frequency of the target task, wherein the target task includes a plurality of streaming media contents delivered on the client;
[0038] In this embodiment, the streaming media content may be, but is not limited to, various forms of digital media content such as video, image, text, and link.
[0039] Step S204: creating a mapping table of exposure frequency and click frequency based on the client identifier, wherein the mapping table is used to represent the mapping relationship between the exposure frequency and the click frequency of the target task on each client;
[0040] In the mapping table of this embodiment, the exposure frequency and click frequency of each client are matched. Optionally, the client identifier can be the identification information of the device or user such as International Mobile Equipment Identity (IMEI), user account, mobile phone number, etc.
[0041] Step S206: Calculate the exposure conversion rate of the target task according to the mapping table.
[0042] In this embodiment, the exposure conversion rate is used to characterize the success rate or probability of converting the exposure operation of the target task into a click operation. Since the streaming media content is in different display states during the exposure operation and the click operation, the state conversion rate of the streaming media content can also be calculated by calculating the exposure conversion rate.
[0043] Through the above steps, the exposure frequency and click frequency of the target task are obtained, and then a mapping table of exposure frequency and click frequency is created based on the client identifier. The exposure conversion rate of the target task is calculated according to the mapping table. By creating a mapping relationship between the exposure frequency and click frequency of each client, the probability of converting the exposure rate of the target task into the click volume can be calculated, which solves the technical problem of low accuracy of exposure conversion rate in related technologies and improves the calculation accuracy of exposure conversion rate. Furthermore, the exposure conversion rate can be used to adjust the delivery frequency of the task, or adjust the delivery times and delivery objects, thereby reducing invalid traffic and improving the utilization rate of network resources.
[0044] In one implementation of this embodiment, creating a mapping table between exposure frequency and click frequency based on the client identifier includes:
[0045] S11, using the client identifier as the primary key of the mapping item, matching the exposure frequency and click frequency of the corresponding client identifier in each mapping item;
[0046] The mapping item of this embodiment is equivalent to the table item in the table, and is the basic unit of the mapping table. A mapping item includes at least three elements, namely, client identification, exposure frequency, and click frequency. Among them, the client identification is used as the primary key of the mapping item to uniquely identify the mapping item.
[0047] In an example, a mapping item is: User A - 10 exposures - 1 click.
[0048] S12, merging multiple mapping items to generate a mapping table, wherein the mapping table is composed of multiple mapping items.
[0049] In this implementation, the exposure frequency and click frequency of the corresponding client can be found in the mapping table using the client identifier as a keyword.
[0050] In one implementation of this embodiment, calculating the exposure conversion rate of the target task according to the mapping table includes:
[0051] S21, for each exposure frequency, reading the exposure frequencies and click frequencies of several designated clients from a mapping table, wherein the exposure frequencies of the several designated clients are the same;
[0052] When calculating the exposure conversion rate, this embodiment takes the exposure frequency as a dimension and calculates the conversion rates of multiple exposure frequencies respectively.
[0053] In an example, the target task is placed on client A, client B, client C, and client D. The exposure frequencies of the four clients are 2 times, 4 times, 2 times, and 3 times respectively. The designated clients with an exposure frequency of 2 times are client A and client C, the designated client with an exposure frequency of 4 times is client B, and the designated client with an exposure frequency of 3 times is client D.
[0054] S22, calculating the total exposure frequency and the total click frequency of several designated clients;
[0055] Based on the above example, the click frequencies of the four clients are 1, 2, 1, and 0 respectively. The total exposure frequency of the designated clients (client A and client C) with an exposure frequency of 2 is 4, and the total click frequency is 2; the total exposure frequency of the designated client (client B) with an exposure frequency of 4 is 4, and the total click frequency is 2; the total exposure frequency of the designated client (client D) with an exposure frequency of 3 is 3, and the total click frequency is 0.
[0056] S23, divide the total click frequency by the total exposure frequency to obtain the exposure conversion rate.
[0057] Based on the above example, the exposure conversion rate with an exposure frequency of 2 times is 2 / 4=50%, which means that when the exposure frequency is 2 times, 50% of the exposures can be converted into user clicks.
[0058] In an application scenario of the present embodiment, after calculating the exposure conversion rate of the target task according to the mapping table, it also includes: determining whether the exposure conversion rate is greater than a first preset value; if the exposure conversion rate is greater than the first preset value, determining that the target task has met the delivery expectations; if the exposure conversion rate is less than or equal to the first preset value, determining that the target task has not met the delivery expectations.
[0059] Optionally, the first preset value may be 3%, 5%, etc.
[0060] In this embodiment, since the exposure conversion rate includes exposure conversion rates corresponding to multiple exposure frequencies, the exposure conversion rate includes multiple sub-exposure conversion rates, such as the exposure conversion rate with an exposure frequency of 1 time, the exposure conversion rate with an exposure frequency of 4 times, etc., therefore, when judging the size relationship between the exposure conversion rate and the first preset value, the size relationship between the exposure conversion rate of each exposure frequency and the first preset value can be judged respectively. If the exposure conversion rate of the current exposure frequency (such as the exposure frequency of 4 times) is greater than the first preset value, it is determined that the target task can achieve the delivery expectation when it is delivered on the client at the current exposure frequency. Of course, the smallest one of the multiple sub-exposure conversion rates can also be selected to compare with the first preset value. If it is greater than the first preset value, it is determined that the target task achieves the delivery expectation at all exposure frequencies. In addition, the mean or median of the multiple sub-exposure conversion rates can also be calculated to further judge the size relationship with the first preset value. If the exposure conversion rate is greater than the first preset value, it is determined that the target task achieves the delivery expectation.
[0061] In another application scenario of the present embodiment, after calculating the exposure conversion rate of the target task according to the mapping table, it also includes: determining whether the exposure conversion rate is greater than a second preset value; if the exposure conversion rate is greater than the second preset value, determining that there is fake order cheating in the target task; if the exposure conversion rate is less than or equal to the second preset value, determining that there is no fake order cheating in the target task.
[0062] Optionally, the second preset value may be 50%, 100%, etc. Usually, a target task exposure can only be converted into a maximum click-through rate once (except in a few cases), but if a user cheats by brushing orders on the client and maliciously continues to click on a certain streaming media content, it may cause the click frequency to be too high, or even greater than the exposure frequency. This embodiment can detect whether there is a case of brushing orders and cheating in the target task by comparing the exposure conversion rate with the second preset value, thereby improving the accuracy and credibility of the statistics.
[0063] In one implementation of this embodiment, in order to ensure the authenticity and validity of the exposure conversion rate, the mapping items in the mapping table can be further filtered. Before calculating the exposure conversion rate of the target task according to the mapping table, it also includes: deleting the first mapping item with an exposure frequency greater than a first threshold in the mapping table, and / or deleting the second mapping item with a click frequency greater than a second threshold in the mapping table.
[0064] Optionally, in addition to filtering the mapping items in the mapping table, you can also filter after obtaining the exposure frequency and click frequency of the target task before creating the mapping table, taking the client as the unit, and delete the client data with too large exposure frequency and / or click frequency, that is, delete the exposure frequency and click frequency of the target task on the client.
[0065] In other embodiments, a confidence interval may be set, the upper and lower limits of which are generated based on historical data. Taking the client as a unit, client data whose exposure frequency and / or click frequency is outside the confidence interval is deleted, that is, the exposure frequency and click frequency of the target task on the client are deleted.
[0066] Optionally, obtaining the exposure frequency and click frequency of the target task includes: obtaining the exposure log and click log of the target task from multiple clients respectively, wherein the exposure log is generated when the target task is exposed on the client, and the click log is generated when the target task is clicked on the client; and determining the number of exposure logs and click logs as the exposure frequency and click frequency of the target task on the corresponding client respectively.
[0067] In this embodiment, the exposure monitoring code is deployed on the media server. When the user displays streaming media content on the client, such as pictures, etc., it will be automatically triggered to generate an exposure log and transmit it to the monitoring server. The click monitoring code is deployed on the media server. When the user clicks on media streaming content on the client, such as videos, pictures, etc., it will be actively triggered to generate a click log and transmit it to the monitoring server.
[0068] In the specific application scenario of this embodiment, the target task is an advertising task. In the process of advertising monitoring, by checking the corresponding relationship between exposure and click, that is, calculating different exposure frequencies, how many users have seen the advertisement, how many times, and how many users have clicked on the advertisement among the users who have seen it, and how many times they have clicked on it. By analyzing the corresponding relationship between exposure and click, customers can clearly understand the relationship between the frequency of advertisement exposure and click, so as to find the optimal frequency of advertisement delivery and obtain more user clicks. Figure 3 This is a flowchart of an implementation of an embodiment of the present invention, including:
[0069] Step 1: Calculate the frequency of exposure logs;
[0070] By parsing the original log of the exposure log, multiple objects are extracted from multiple fields of the exposure log to form a table, as shown in Table 1.
[0071] Table 1
[0072]
[0073] According to Table 1 above, by counting the number of times different user IDs appear, the exposure frequency of each user is calculated, and the result example is shown in Table 2.
[0074] Table 2
[0075]
[0076] Step 2: Count the user IDs that click on the logs;
[0077] By parsing the original log of the click log, multiple objects are extracted from the multiple fields of the click log to form a table, as shown in Table 3.
[0078] Table 3
[0079]
[0080] According to the above Table 3, by counting the number of times different user IDs appear, the click frequency of each user is calculated, and the result is shown in Table 4.
[0081] Table 4
[0082]
[0083] Step 3: Match exposure and clicks;
[0084] Table 2 and Table 4 are matched according to the user ID. When the exposed user ID does not exist in the clicking user, the corresponding click frequency is filled with 0. The matching results are shown in Table 5.
[0085] Table 5
[0086]
[0087] Step 4: Based on the matching results of step 3, count the number of users exposed, the number of users who clicked, the total number of exposures, and the total number of clicks at different exposure frequencies. The calculation process includes:
[0088] The exposure frequency is 1. First, find out the user IDs with an exposure frequency of 1, which are User01, User04, and User05. Therefore, there are 3 exposed users, and the corresponding total number of exposures is the sum of the exposure frequencies of the 3 users, that is, 1+1+1=3. Secondly, determine whether the click frequency of these 3 users is greater than 0. The users who meet the conditions are User01 and User05, so there are 2 click users, and the total number of clicks is 1+2=3.
[0089] The exposure frequency is 2. First, find out that the user ID with the exposure frequency of 2 is User03, so there is 1 exposed user, and the corresponding total number of exposures is 2; secondly, determine whether the click frequency of this user is greater than 0. The user who meets the requirements is User03, so there is 1 click user, and the total number of clicks is 2;
[0090] The exposure frequency is 3. First, find out that the user IDs with an exposure frequency of 3 are User02 and User06, so there are 2 exposed users, and the corresponding total exposure times are 3+3=6; secondly, determine whether the click frequency of these two users is greater than 0. The user who meets the requirements is User02, so there is 1 click user, and the total click times are 2; the final results are shown in Table 6:
[0091] Table 6
[0092]
[0093] Determine whether this delivery has met expectations. Through cross-calculation of exposure and click, the conversion rate performance of clicks and exposures at different frequencies is obtained. When the conversion rate is greater than 5% (this value is preset in advance), it means that this delivery has met expectations. If the conversion rate is lower than the expected value, it means that there may be problems with this delivery. The expected conversion rate of exposure and click can be set to 3%. Other values such as 100% in Table 6 above are only for illustration.
[0094] Through the scheme of this embodiment, the user data of the client identifier (user ID) is desensitized, which can improve the data security in the data processing process. As sensitive data, the user ID should take data security measures. By matching the user ID internally and converting the required data, the exposure, click and other data at different frequencies are obtained. On the one hand, data desensitization is achieved, and on the other hand, effective data for reference is provided. At the same time, cheating behavior in advertising can also be monitored. When the number of clicks is much greater than the number of exposures, it is considered that there is a problem of cheating in the click, which may be malicious clicks or virtual clicks. The exposure conversion rate at different frequencies (which can also be understood as the number of advertising delivery) is analyzed to determine the highest exposure conversion rate or the expected exposure conversion rate, and the corresponding number of delivery is carried out in the next delivery cycle to improve the delivery efficiency and the utilization rate of network resources.
[0095] Through the scheme of this embodiment, the frequency data of exposure and click are used to match the user ID to obtain the number of exposed users, the number of clicked users, the total number of exposures, and the total number of clicks at different frequencies, so as to determine whether there is any cheating problem in the delivery of this target task and whether the expected effect has been achieved.
[0096] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0097] Example 2
[0098] In the present embodiment, a conversion rate calculation device is also provided to implement the above-mentioned embodiments and preferred embodiments, which have been described and will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0099] Figure 4 is a structural block diagram of a conversion rate calculation device according to an embodiment of the present invention, such as Figure 4 As shown, the device includes: an acquisition module 40, a creation module 42, and a calculation module 44, wherein:
[0100] An acquisition module 40 is used to acquire the exposure frequency and click frequency of a target task, wherein the target task includes a plurality of streaming media contents delivered on a client;
[0101] A creation module 42, configured to create a mapping table of the exposure frequency and the click frequency based on the client identifier, wherein the mapping table is used to represent the mapping relationship between the exposure frequency and the click frequency of the target task on each client;
[0102] The calculation module 44 is used to calculate the exposure conversion rate of the target task according to the mapping table.
[0103] Optionally, the creation module includes: a matching unit, used to use the client identifier as the primary key of the mapping item, and match the exposure frequency and click frequency of the corresponding client identifier in each mapping item; a generation unit, used to merge multiple mapping items to generate the mapping table, wherein the mapping table consists of multiple mapping items.
[0104] Optionally, the calculation module includes: a reading unit, used to read the exposure frequency and click frequency of several specified clients in the mapping table for each exposure frequency, wherein the exposure frequencies of the several specified clients are the same; a first calculation unit, used to calculate the sum of the exposure frequencies and the sum of the click frequencies of the several specified clients; and a second calculation unit, used to divide the sum of the click frequencies by the sum of the exposure frequencies to obtain the exposure conversion rate.
[0105] Optionally, the device also includes: a first judgment module, used to judge whether the exposure conversion rate is greater than a first preset value after the calculation module calculates the exposure conversion rate of the target task according to the mapping table; a first determination module, used to determine that the target task has achieved the delivery expectations if the exposure conversion rate is greater than the first preset value; if the exposure conversion rate is less than or equal to the first preset value, determine that the target task has not achieved the delivery expectations.
[0106] Optionally, the device also includes: a second judgment module, used to judge whether the exposure conversion rate is greater than a second preset value after the calculation module calculates the exposure conversion rate of the target task according to the mapping table; a second determination module, used to determine whether the target task has fake order cheating if the exposure conversion rate is greater than the second preset value; if the exposure conversion rate is less than or equal to the second preset value, determine whether the target task has not fake order cheating.
[0107] Optionally, the acquisition module includes: an acquisition unit, used to obtain the exposure log and click log of the target task from multiple clients respectively, wherein the exposure log is generated when the target task is exposed on the client, and the click log is generated when the target task is clicked on the client; a determination unit, used to determine the number of the exposure logs and the click logs as the exposure frequency and click frequency of the target task on the corresponding client respectively.
[0108] Optionally, the device also includes: a deletion module, used to delete a first mapping item with an exposure frequency greater than a first threshold in the mapping table before the calculation module calculates the exposure conversion rate of the target task according to the mapping table, and / or delete a second mapping item with a click frequency greater than a second threshold in the mapping table.
[0109] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0110] Example 3
[0111] An embodiment of the present invention further provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0112] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0113] S1, obtaining the exposure frequency and click frequency of a target task, wherein the target task includes a plurality of streaming media contents delivered on a client;
[0114] S2, creating a mapping table of the exposure frequency and the click frequency based on the client identifier, wherein the mapping table is used to represent the mapping relationship between the exposure frequency and the click frequency of the target task on each client;
[0115] S3: Calculate the exposure conversion rate of the target task according to the mapping table.
[0116] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0117] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0118] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0119] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0120] S1, obtaining the exposure frequency and click frequency of a target task, wherein the target task includes a plurality of streaming media contents delivered on a client;
[0121] S2, creating a mapping table of the exposure frequency and the click frequency based on the client identifier, wherein the mapping table is used to represent the mapping relationship between the exposure frequency and the click frequency of the target task on each client;
[0122] S3: Calculate the exposure conversion rate of the target task according to the mapping table.
[0123] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0124] Figure 5 1 is a block diagram of an electronic device implementing an embodiment of the present invention. Figure 5 As shown, it includes a processor 51 and a memory 52 for storing data, which are connected via a communication bus 54, and also includes a communication interface 53 connected to the communication bus 54 for adaptive connection with other components or external devices.
[0125] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0126] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0127] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store program code.
[0131] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for calculating conversion rate, characterized in that: include: Obtaining the exposure frequency and click frequency of a target task, wherein the target task includes a plurality of streaming media contents delivered on a client; Creating a mapping table between the exposure frequency and the click frequency based on the client identifier, wherein the mapping table is used to represent the mapping relationship between the exposure frequency and the click frequency of the target task on each client; Calculating the exposure conversion rate of the target task according to the mapping table; After calculating the exposure conversion rate of the target task according to the mapping table, the method further includes: determining whether the exposure conversion rate is greater than a first preset value; if the exposure conversion rate is greater than the first preset value, determining that the target task has met the delivery expectations; if the exposure conversion rate is less than or equal to the first preset value, determining that the target task has not met the delivery expectations; After calculating the exposure conversion rate of the target task according to the mapping table, the method further includes: determining whether the exposure conversion rate is greater than a second preset value; if the exposure conversion rate is greater than the second preset value, determining that there is fraudulent order brushing in the target task; if the exposure conversion rate is less than or equal to the second preset value, determining that there is no fraudulent order brushing in the target task; Among them, before calculating the exposure conversion rate of the target task according to the mapping table, after obtaining the exposure frequency and click frequency of the target task, the exposure frequency and click frequency of the target task on each client are deleted based on the confidence interval, and the upper and lower limits of the confidence interval are generated according to the historical data of the corresponding client.
2. The method according to claim 1, characterized in that Creating a mapping table between the exposure frequency and the click frequency based on the client identifier includes: The client ID is used as the primary key of the mapping item, and the exposure frequency and click frequency of the corresponding client ID are matched in each mapping item; A plurality of mapping items are merged to generate the mapping table, wherein the mapping table is composed of a plurality of mapping items.
3. The method according to claim 1, characterized in that Calculating the exposure conversion rate of the target task according to the mapping table includes: For each exposure frequency, reading the exposure frequencies and click frequencies of a number of designated clients from the mapping table, wherein the exposure frequencies of the several designated clients are the same; Calculate the total exposure frequency and the total click frequency of the specified clients; The exposure conversion rate is obtained by dividing the total click frequency by the total exposure frequency.
4. The method according to claim 1, characterized in that: Obtaining the exposure frequency and click frequency of the target task includes: Acquire exposure logs and click logs of the target task from multiple clients respectively, wherein the exposure log is generated when the target task is exposed on the client, and the click log is generated when the target task is clicked on the client; The number of the exposure logs and the number of the click logs are respectively determined as the exposure frequency and the click frequency of the target task on the corresponding client.
5. The method according to claim 1, characterized in that Before calculating the exposure conversion rate of the target task according to the mapping table, the method further includes: A first mapping item whose exposure frequency is greater than a first threshold is deleted from the mapping table, and / or a second mapping item whose click frequency is greater than a second threshold is deleted from the mapping table.
6. A conversion rate calculation device, characterized in that: include: An acquisition module, used to acquire the exposure frequency and click frequency of a target task, wherein the target task includes a plurality of streaming media contents delivered on a client; A creation module, used to create a mapping table of the exposure frequency and the click frequency based on the client identifier, wherein the mapping table is used to represent the mapping relationship between the exposure frequency and the click frequency of the target task on each client; A calculation module, used for calculating the exposure conversion rate of the target task according to the mapping table; The device further includes: a first judging module, configured to judge whether the exposure conversion rate is greater than a first preset value after the calculation module calculates the exposure conversion rate of the target task according to the mapping table; a first determining module, configured to determine that the target task has met the delivery expectations if the exposure conversion rate is greater than the first preset value; and determine that the target task has not met the delivery expectations if the exposure conversion rate is less than or equal to the first preset value; The device further includes: a second judging module, configured to judge whether the exposure conversion rate is greater than a second preset value after the calculation module calculates the exposure conversion rate of the target task according to the mapping table; a second determining module, configured to determine that there is fraudulent order brushing in the target task if the exposure conversion rate is greater than the second preset value; and determine that there is no fraudulent order brushing in the target task if the exposure conversion rate is less than or equal to the second preset value; Among them, before calculating the exposure conversion rate of the target task according to the mapping table, after obtaining the exposure frequency and click frequency of the target task, the exposure frequency and click frequency of the target task on each client are deleted based on the confidence interval, and the upper and lower limits of the confidence interval are generated according to the historical data of the corresponding client.
7. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the method steps of any one of claims 1 to 5 when executed.
8. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via a communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the method steps of any one of claims 1 to 5 by running a program stored in a memory.
