WO2021218634A1 - Content pushing - Google Patents

Content pushing Download PDF

Info

Publication number
WO2021218634A1
WO2021218634A1 PCT/CN2021/087230 CN2021087230W WO2021218634A1 WO 2021218634 A1 WO2021218634 A1 WO 2021218634A1 CN 2021087230 W CN2021087230 W CN 2021087230W WO 2021218634 A1 WO2021218634 A1 WO 2021218634A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
candidate
list
candidate push
push
Prior art date
Application number
PCT/CN2021/087230
Other languages
French (fr)
Chinese (zh)
Inventor
张钦
王延夺
杨一帆
Original Assignee
北京三快在线科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京三快在线科技有限公司 filed Critical 北京三快在线科技有限公司
Publication of WO2021218634A1 publication Critical patent/WO2021218634A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Definitions

  • the embodiments of the present application relate to the field of Internet technology, and in particular to a content push.
  • an embodiment of the present application provides a content pushing method, which includes:
  • the determination of the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list includes:
  • the determining the click-through rate of each candidate push content in the candidate push list based on the at least one first vector and the at least one second vector includes:
  • the negative interest weight corresponding to each candidate push content in the candidate push list is obtained; based on the negative interest weight corresponding to each candidate push content in the candidate push list And the at least one first vector to determine the click rate of each candidate push content in the candidate push list.
  • the click rate of each candidate push content in the candidate push list is determined based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, include:
  • determining the push content according to the click-through rate of each candidate push content in the candidate push list includes:
  • a reference number of candidate push content is selected from the candidate push list as the push content.
  • the negative impact content includes at least one of short-term stay content and first-place exposure unclicked content
  • the short stay content is content whose browsing time is less than the target browsing time
  • the first exposed unclicked content is the first unclicked content in the historical push content.
  • the negative impact content includes at least one of short-term stay content and unclicked content with the first exposure
  • the short stay content is content whose browsing time is less than the target browsing time
  • the first exposed unclicked content includes the content that is displayed first in the page in the historical push content and is not clicked when the user has swiped the page.
  • a content pushing device which includes:
  • the first obtaining module is configured to obtain a push candidate list based on the search request of the terminal, and the push candidate list includes at least one push candidate content;
  • the second acquisition module is used to acquire a user's historical behavior list, and the historical behavior list includes negative influence content;
  • the first determining module is configured to determine the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list;
  • the second determining module is configured to determine the push content according to the click rate of each candidate push content in the candidate push list
  • the sending module is used to send the push content to the terminal.
  • the first determining module is configured to determine the vector corresponding to each negative influence content in the historical behavior list to obtain at least one first vector; determine each candidate push content in the candidate push list Corresponding vectors, at least one second vector is obtained; based on the at least one first vector and the at least one second vector, the click rate of each candidate push content in the candidate push list is determined.
  • the first determining module is configured to obtain the negative interest weight corresponding to each candidate push content in the candidate push list based on the at least one first vector and the at least one second vector; Based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, the click rate of each candidate push content in the candidate push list is determined.
  • the first determining module is configured to calculate a weighted average value between the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, and The weighted average is used as the negative interest vector corresponding to each candidate push content in the candidate push list; the click rate of the corresponding candidate push content is determined according to the negative interest vector corresponding to each candidate push content in the candidate push list.
  • the second determining module is configured to sort the candidate push content in the candidate push list according to the click-through rate of each candidate push content in the candidate push list; Select a reference number of candidate push content from the candidate push list as the push content.
  • the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content;
  • the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content
  • the clicked content is the first in the historical push content and the content that has not been clicked.
  • the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content;
  • the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content
  • the clicked content includes the content that is displayed in the first position of the page in the historical push content and is not clicked when the user has swiped the page.
  • a server including:
  • One or more processors are One or more processors;
  • One or more memories for storing the one or more processor-executable instructions
  • the one or more processors are used for the instruction to implement the content pushing method provided by the foregoing first aspect or any possible implementation manner of the foregoing first aspect.
  • a computer-readable storage medium When instructions in the computer-readable storage medium are executed by a processor of a server, the server can execute the first aspect or any one of the first aspects mentioned above. It is possible to implement the content push method provided by the method.
  • a computer program product including: the computer program product stores at least one instruction, and the instruction is loaded and executed by a processor to implement the operations performed by the content pushing.
  • the click rate of each candidate push content in the candidate push list is determined, so that each candidate push
  • the determination of the click-through rate of the content is more accurate, so that the accuracy of the recommendation of the pushed content can be increased.
  • FIG. 1 is a schematic diagram of an implementation environment of a content pushing method provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a content pushing method provided by an embodiment of the present application
  • Fig. 3 is a schematic diagram of a DIN model provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of a content pushing method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a content pushing device provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the server obtains the user's historical click record, and according to the historical click record, determines the type of content that the user likes, and searches for content related to the type.
  • the relevant content is used as recommended content and pushed to the display interface of the terminal for users to browse.
  • the content may be content that the user does not like, and the server considers the content to be the content that the user likes.
  • the content is similar to the content, which leads to the low matching degree of the pushed content with the user's preferences, which reduces the accuracy of the recommendation to a certain extent.
  • FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the application.
  • the implementation environment includes: a terminal 101 and a server 102.
  • the terminal 101 is connected to the server 102 through a wireless network or a wired network.
  • the aforementioned terminal 101 may be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an MP4 (Moving Picture Experts Group Audio Layer IV) player, and a laptop portable computer.
  • the terminal 101 can install and run an application client that supports content browsing.
  • the client can be any of a social application client and a casual shopping client. Of course, the client can also be other types of customers. On the other hand, the embodiments of this application do not limit the type of the client.
  • the terminal 101 may generate a search request in response to the user's search operation, and the terminal 101 may also send the search request to the server 102.
  • the server 102 may be one server or a server cluster composed of multiple servers.
  • the server 102 may also be at least one of a cloud computing platform and a virtualization center, which is not limited in the embodiment of the present application.
  • the server 102 may obtain the candidate push list based on the search request of the terminal.
  • the server 102 may also obtain a list of historical behaviors of the user.
  • the server 102 may determine the click rate of each candidate push content in the candidate push list based on the content in the historical behavior list and the content in the candidate push list.
  • the server 102 may also determine the push content according to the click rate of the candidate push content.
  • the server 102 may also send the pushed content to the terminal 101 for display by the terminal 101.
  • the server 102 may also include other functional servers to provide more comprehensive and diversified services.
  • the terminal 101 may generally refer to one of multiple terminals, and this embodiment only uses the terminal 101 as an example for illustration. Those skilled in the art may know that the number of the aforementioned terminals 101 may be more or less. For example, there may be only a few terminals 101 mentioned above, or there may be dozens or hundreds of terminals 101 mentioned above, or a larger number. The embodiment of the present application does not limit the number of terminals 101 and the device type.
  • an embodiment of the present application provides a content pushing method.
  • the method can be executed by the server 102 in FIG. 1 .
  • the method includes the following steps:
  • step 201 based on the search request of the terminal, a candidate push list is obtained, and the candidate push list includes at least one candidate push content.
  • an application client that supports content browsing is installed and running in the terminal, and the user can input the name of the content to be queried in the client and click the search button.
  • the terminal generates a search request in response to the user's search operation.
  • the search request can carry the user identification of the user.
  • the user identification can be the user's account information or other user information, as long as it can be used to identify the user.
  • the embodiment of the present application does not limit the user identification.
  • the terminal sends the search request to the server.
  • the server obtains a push candidate list corresponding to the search request based on the search request of the terminal, and the push candidate list includes at least one push content candidate.
  • the client application is a takeaway application.
  • the user enters "ramen" in the client and clicks the search button.
  • the terminal generates a search request in response to the user's click operation.
  • the search request carries the user ID of the user.
  • the user ID is the user's account.
  • the terminal sends the search request to the server, and the server obtains a candidate push list based on the search request, and the candidate push list includes at least one noodle restaurant.
  • step 202 a user's historical behavior list is obtained, and the historical behavior list includes negative influence content.
  • the negative influence content includes at least one of short-term stay content and first-place exposure unclicked content.
  • Short stay content is content whose browsing time is less than the target browsing time.
  • the first exposed unclicked content is the first unclicked content in the historical push content.
  • the determination of the first unclicked content to be exposed requires the user to slide down the terminal page. For example, if the first content is ranked first in the historical push content, the user does not click the first content, and the user does not slide down the page, the first content that is ranked first cannot be the first to be exposed and not clicked content.
  • the second content ranks first in the historical push content, and the user does not click the second content, but the user slides down the page, then the first ranked second content can be used as the first to expose the unclicked content. That is, in an exemplary embodiment, the first exposed unclicked content includes content that is displayed first on the page in the historical push content and is not clicked when the user has swiped the page.
  • target browsing time can be set based on experience, can also be adjusted according to application scenarios, or can be manually set by the user, and this embodiment of the application does not limit the value of the target browsing time.
  • the server may allocate a first storage space for each user.
  • the first storage space is used to store the user identification and historical behavior list of the user.
  • the historical behavior list includes the corresponding Negatively affect content.
  • the server receives the search request sent by the terminal, it parses the search request to obtain the user ID of the user.
  • a search is performed in the storage space based on the user identification, so that the first storage space corresponding to the user identification can be obtained. Extracting the historical behavior list corresponding to the user identifier in the first storage space means acquiring the historical behavior list of the user, so that the negative influence content corresponding to the user can be acquired.
  • the server's determination of the negative impact content can be as follows: the server can count the user’s negative interest characteristics based on the RFM (Recency, Frequency, Monetary, last transaction, transaction frequency, transaction amount) model, In order to determine the negative impact content.
  • R represents the time interval from the user's last transaction to the current time. The larger the R, the longer the user has not had a transaction.
  • F represents the number of transactions of the user in the most recent period of time. The larger the F, the more frequent the transactions of the user.
  • M represents the user's transaction amount each time, which can be the most recent transaction amount or the past average transaction amount.
  • the RFM model can better record the user's recent transaction records.
  • the time length of the recent period of time can be set according to the transaction type, or it can be manually set by the user.
  • the embodiment of the present application does not limit the time length of the recent period of time.
  • the server can also count the user's historical behavior types, historical behavior prices, and the time interval from the historical behavior to the current time based on the RFM model offline, and calculate the RFM value of the historically pushed content. Based on the RFM value of the historically pushed content, the user's long-term stable negative interest point can be more reliably reflected, and the content corresponding to the negative interest point is also negatively influencing content.
  • the foregoing method of determining the negative influence content based on the RFM model is only an example, and this embodiment may also adopt other methods to determine the negative influence content.
  • step 203 based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list, the click rate of each candidate push content in the candidate push list is determined.
  • determining the click rate of each candidate push content in the candidate push list may include the following steps:
  • Step 2031 Determine the vector corresponding to each negative influence content in the historical behavior list, and obtain at least one first vector.
  • the vector corresponding to the negative influence content is stored in the server. Based on the user's historical behavior list, the server obtains a vector corresponding to each negative influence content in the historical behavior list from its storage space, and obtains at least one first vector.
  • the first vectors corresponding to the 2 negative influence contents may be extracted to obtain 2 first vectors.
  • Step 2032 Determine the vector corresponding to each candidate push content in the candidate push list, and obtain at least one second vector
  • the vector corresponding to each candidate push content is stored in the server. Based on the candidate push list of the user, the server obtains a vector corresponding to each candidate push content in the candidate push list from its storage space, and obtains at least one second vector.
  • the second vectors corresponding to the 5 candidate push contents may be extracted to obtain 5 second vectors.
  • Step 2033 Based on at least one first vector and at least one second vector, determine the click rate of each candidate push content in the candidate push list.
  • determining the click-through rate of each candidate push content in the candidate push list may include the following steps:
  • Step 1 Based on at least one first vector and at least one second vector, obtain a negative interest weight corresponding to each candidate push content in the candidate push list;
  • the negative interest weight corresponding to each candidate push content in the candidate push list is calculated based on the at least one first vector obtained in step 2031 and the at least one second vector obtained in step 2032.
  • the historical behavior list includes two negative influence contents, namely the first negative influence content and the second negative influence content.
  • the candidate push list includes 5 candidate push content, which are the first candidate push content, the second candidate push content, the third candidate push content, the fourth candidate push content, and the fifth candidate push content.
  • Determine the first second vector corresponding to the first candidate push content determine the second second vector corresponding to the second candidate push content, determine the third second vector corresponding to the third candidate push content, and determine the fourth candidate push
  • the fourth second vector corresponding to the content determines the fifth second vector corresponding to the fifth candidate push content.
  • the server may also construct the first sequence according to the user's point of interest, location, user's historical behavior, and other dimensions.
  • the constructed first sequence includes the user's points of interest, the region and the user's historical behavior list.
  • a second sequence is constructed according to the candidate push list, and the constructed second sequence includes the candidate push content searched according to the user's point of interest, region, and category of historical behavior.
  • the elements in the first sequence and the second sequence can be vectorized based on the deep network, and the negative interest weight of each candidate push content can be obtained based on the candidate push content in the second sequence and the content in the first sequence.
  • Step 2 Determine the click rate of each candidate push content in the candidate push list based on the negative interest weight corresponding to each candidate push content in the candidate push list and at least one first vector.
  • the process of determining the click rate of each candidate push content in the candidate push list includes the following step:
  • the first step is to calculate the weighted average between the negative interest weight corresponding to each candidate push content in the candidate push list and at least one first vector, and use the weighted average as the negative interest corresponding to each candidate push content in the candidate push list. To the interest vector.
  • Implementation method 1 Based on the negative interest weight of each candidate push content in the candidate push list obtained in step 1, calculate the negative interest weight corresponding to each candidate push content and the at least one first vector obtained in step 2031. The weighted average of the time, the weighted average is used as the negative interest vector corresponding to the candidate push content.
  • the first candidate push content corresponds to a first negative interest weight and a second negative interest weight. Based on the first negative interest weight, the second negative interest weight, the first first vector and the second first vector, the negative interest vector corresponding to the first candidate push content is obtained.
  • the two obtained vectors are correspondingly added to serve as the negative interest vector corresponding to the first candidate push content.
  • the server may also use the DIN (Deep Interest Network) model to calculate the negative interest vector of each candidate push content in the candidate push list.
  • DIN Deep Interest Network
  • Figure 3 shows a schematic diagram of a DIN model shown in an embodiment of the application.
  • the negative interest vector of the candidate push content is calculated according to the vector of the candidate push content and the vector of the negative influence content in the historical behavior list.
  • the DIN model can truly reveal the user's desire to click on the candidate push content in the candidate push list based on each negative content in the user's historical behavior list.
  • the behavioral data in the DIN model includes two structures: content diversity and local activation. The content diversity of behavioral data reflects the different points of interest of users. Users often click on a certain content because the content touches part of the user's points of interest.
  • the Attention Unit (activation unit) is added to the input layer of the DIN model. Attention Unit uses the Attention mechanism to achieve negative impact on each candidate push content in the candidate push list based on the negative influence content in the historical behavior list. To determine the interest vector.
  • the Attention Unit includes FCs and Concat, where FCs are fieldbus control, and Concat is used to connect the negative influence content in the historical behavior list and the candidate push content in the candidate push list.
  • the negative interest weight of each candidate push content in the candidate push list and each negative content vector in the historical behavior list are calculated to calculate the negative direction of each candidate push content in the candidate push list.
  • Interest vector that is, through the weighted pooling layer, based on the negative interest weight of each candidate push content in the candidate push list and each negative interest vector in the historical behavior list to obtain the negative interest vector of each candidate push content .
  • the expression formula of the negative interest vector of each candidate push content in the candidate push list obtained through the weighted pooling layer is as follows:
  • N is the number of negative effects content
  • V i represents the historical behavior list the negative effects of contents of the vector of i
  • V a candidate push list of a candidate push content negative interest vector, g V i, V a ) represents the inner product of the vector of negatively affecting content i and the candidate push content in the historical behavior list, that is, the negative interest weight of the candidate push content, which also corresponds to W i in the above formula.
  • server can select any of the foregoing implementation manners to determine the negative interest vector of each candidate push content in the candidate push list, which is not limited in the embodiment of the present application.
  • the second step is to determine the click rate of the corresponding candidate push content according to the negative interest vector corresponding to each candidate push content in the candidate push list.
  • the server calculates the click rate of the candidate push content based on the negative interest vector of the candidate push content obtained in the first step.
  • the negative interest vector of the first candidate push content is (2, 1, 2), calculate the modulus length L of the negative interest vector,
  • the modulus length of the negative interest vector is taken as the click rate of the candidate push content, that is, the click rate of the first candidate push content is 3.
  • the click-through rate of the candidate push content may also be calculated according to the negative interest vector and the positive interest vector of the candidate push content.
  • the calculation process of the negative interest vector of the candidate push content is as the process of the first step described above.
  • the calculation process of the forward interest vector of the candidate push content is as follows:
  • the user's historical behavior list may also include positive influence content.
  • the positive influence content may be the user's historical click content, the vector corresponding to the positive influence content is determined, and at least one third vector is obtained. Based on the at least one third vector and the at least one second vector, a forward interest weight corresponding to each candidate pushing content in the candidate pushing list is obtained. Calculate the weighted average between the forward interest weight corresponding to each candidate push content in the candidate push list and at least one third vector, and use the weighted average as the forward interest vector corresponding to each candidate push content in the candidate push list .
  • the process of obtaining the positive interest weight corresponding to each candidate push content in the candidate push list is the same as the negative interest weight corresponding to the candidate push content in step 1 above.
  • the calculation process is the same, so I won't repeat it here.
  • the process of is consistent with the calculation process of the negative interest vector of the candidate push content in the first step above, and will not be repeated here.
  • a weighted average calculation is performed on the negative interest vector and the positive interest vector of the candidate push content to obtain the interest vector of the candidate push content, and the candidate push is determined based on the interest vector of the candidate push content The click-through rate of the content.
  • the negative interest vector of the first candidate push content is (2, 1, 2)
  • the positive interest vector is (1, 2, 1).
  • the first candidate is obtained Push the interest vector (2, 2, 2) of the content, calculate the modulus L of the interest vector, That is, the click-through rate of the first candidate push content
  • the click-through rate of the first candidate push content in the candidate push list is calculated based on the negative interest vector
  • the click-through rate calculation of the other candidate push content in the candidate push list is also based on the negative
  • the interest vector is calculated. If the click-through rate of the first candidate push content in the candidate push list is calculated based on the negative interest vector and the positive interest vector, then the click-through rate calculation of the other candidate push content in the candidate push list is also based on the negative interest The vector and the forward interest vector are calculated.
  • step 204 the push content is determined according to the click rate of each candidate push content in the candidate push list.
  • the method for determining the content to be pushed can be any of the following:
  • Implementation method 1 Determine the push content based on the click-through rate of each candidate push content in the candidate push list.
  • the first candidate push content has a click rate of 0.83
  • the second candidate push content has a click rate of 0.95
  • the third candidate push content has a click rate of 0.80
  • the fourth candidate push has a click rate of 0.80.
  • the click-through rate of the content is 0.90
  • the click-through rate of the fifth candidate push content is 0.88, sorted according to the click-through rate of the candidate push content, and the ranking results obtained are the second candidate push content, the fourth candidate push content, and the fifth candidate push content.
  • the top three push content candidates are determined as push content, that is, the second push content candidate, the fourth push content candidate, and the fifth push content candidate are determined to be push content.
  • the reference quantity can be set based on experience, can also be adjusted according to different clients, or can be manually set by the user, and the embodiment of the application does not limit the value of the reference quantity.
  • Implementation method 2 Determine the candidate push content whose click rate exceeds the target click rate in the candidate push list as the push content.
  • the server can set a target click rate, filter the candidate push content with a click rate higher than the target click rate in the candidate push list, and determine the filtered candidate push content as the push content.
  • the first candidate push content has a click rate of 0.83
  • the second candidate push content has a click rate of 0.95
  • the third candidate push content has a click rate of 0.80
  • the fourth candidate push has a click rate of 0.80.
  • the click-through rate of the content is 0.90
  • the click-through rate of the fifth candidate push content is 0.88.
  • the target click rate is 0.85.
  • the candidate push content whose click rate is higher than the target click rate is determined as the push content, that is, the second candidate push content, the fourth candidate push content, and the fifth candidate push content are determined as the push content.
  • the target click-through rate can be set based on experience, or adjusted according to different clients, or manually set by the user.
  • the embodiment of the application does not limit the value of the target click-through rate.
  • step 205 the push content is sent to the terminal.
  • the server sends the push content to the terminal corresponding to the user identification according to the user identification of the user, and the client installed in the terminal displays the push content.
  • the click rate of each candidate push content in the candidate push list is determined, so that each candidate push
  • the determination of the click-through rate of the content is more accurate, so that the accuracy of the recommendation of the pushed content can be increased.
  • FIG. 4 is a flowchart of a content pushing method provided by an embodiment of the present application. Taking the flowchart of a content pushing method provided by an embodiment of the present application shown in FIG. 4 as an example, the method can be described in FIG. 1
  • step 401 the terminal sends a search request to the server.
  • an application client that supports content browsing is installed and running in the terminal.
  • the client can be a social application client or a casual shopping client. Make a limit.
  • the user can browse the content on the client installed on the terminal device.
  • the user can enter the name of the content that the user wants to search in the search box of the client, and click the search button.
  • the terminal responds to the user's search operation and generates a search request.
  • the search request carries the user ID of the user.
  • the user ID can be
  • the user's account information may also be other user information, as long as it can be used to identify the user, and the embodiment of the present application does not limit the user identification.
  • the terminal after the terminal obtains the search request, it can directly send the search request to the server.
  • the server receives the search request sent by the terminal, and obtains a push candidate list based on the search request, and the push candidate list includes at least one push candidate content.
  • the method for obtaining the candidate push list is the same as the method in the above step 201, and will not be repeated here.
  • step 403 the server obtains the user's historical behavior list, and the historical behavior list includes negative influence content.
  • step 403 the method of obtaining the user's historical behavior list is the same as the method in the above step 202, and will not be repeated here.
  • step 404 the server determines the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list.
  • step 404 the method for determining the click rate of each candidate push content in the candidate push list is the same as the method in the above step 203, and will not be repeated here.
  • step 405 the server determines the push content according to the click rate of each candidate push content in the candidate push list.
  • step 405 the method for determining the content to be pushed is the same as the method in the above step 204, and will not be repeated here.
  • step 406 the server sends the pushed content to the terminal.
  • step 406 the process of the server sending the pushed content to the terminal is the same as the process in the foregoing step 205, and will not be repeated here.
  • step 407 the terminal receives the push content sent by the server, and displays the push content.
  • the push content is displayed on the interface of the client installed on the terminal, so that the user can browse and view the push content.
  • the click rate of each candidate push content in the candidate push list is determined, so that each candidate push
  • the determination of the click-through rate of the content is more accurate, so that the accuracy of the recommendation of the pushed content can be increased.
  • FIG. 5 is a schematic structural diagram of a content pushing device provided by an embodiment of the application. As shown in FIG. 5, the device includes:
  • the first obtaining module 501 is configured to obtain a push candidate list based on a search request of the terminal, and the push candidate list includes at least one push candidate content;
  • the second obtaining module 502 is configured to obtain a user's historical behavior list, and the historical behavior list includes negative influence content;
  • the first determining module 503 is configured to determine the click-through rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list;
  • the second determining module 504 is configured to determine the push content according to the click rate of each candidate push content in the candidate push list
  • the sending module 505 is configured to send the pushed content to the terminal.
  • the first determining module 503 is configured to determine the vector corresponding to each negative influence content in the historical behavior list to obtain at least one first vector; determine each candidate push in the candidate push list The vector corresponding to the content obtains at least one second vector; based on the at least one first vector and the at least one second vector, the click rate of each candidate push content in the candidate push list is determined.
  • the first determining module 503 is configured to obtain the negative interest weight corresponding to each candidate push content in the candidate push list based on the at least one first vector and the at least one second vector ; Based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, the click rate of each candidate push content in the candidate push list is determined.
  • the first determining module 503 is configured to calculate the weighted average value between the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, and The weighted average is used as the negative interest vector corresponding to each candidate push content in the candidate push list; the click rate of the corresponding candidate push content is determined according to the negative interest vector corresponding to each candidate push content in the candidate push list.
  • the second determining module 504 is configured to sort the candidate push content in the candidate push list according to the click-through rate of each candidate push content in the candidate push list; A reference number of candidate push content is selected from the candidate push list as the push content.
  • the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content;
  • the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content
  • the clicked content is the first in the historical push content and the content that has not been clicked.
  • the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content;
  • the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content
  • the clicked content includes the content that is displayed in the first position of the page in the historical push content and is not clicked when the user has swiped the page.
  • the above device determines the click rate of each candidate push content in the candidate push list according to each negatively affected content in the historical behavior list and each candidate push content in the candidate push content list, so that the click rate of each candidate push content is more determined. Accurate, which can increase the recommendation accuracy of the pushed content.
  • the content pushing device provided in the above embodiment pushes content
  • only the division of the above functional modules is used as an example for illustration.
  • the above functions can be allocated by different functional modules as needed. That is, the internal structure of the content pushing device is divided into different functional modules to complete all or part of the functions described above.
  • the content pushing device provided in the foregoing embodiment and the content pushing method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the server 600 may have relatively large differences due to different configurations or performance, and may include one or more central processing units (CPU) 601 and One or more memories 602, wherein at least one instruction is stored in the one or more memories 602, and the at least one instruction is loaded and executed by the one or more processors 601 to implement the content pushing method provided by the above method embodiment .
  • the server 600 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output.
  • the server 600 may also include other components for implementing device functions, which will not be repeated here.
  • FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • the terminal 700 may be a smart phone, a tablet computer, an MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 4) player, a notebook computer, or a desktop computer.
  • the terminal 700 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
  • the terminal 700 includes: one or more processors 701 and one or more memories 702.
  • the processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 701 can adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). accomplish.
  • the processor 701 may also include a main processor and a co-processor.
  • the main processor is a processor used to process data in the awake state, also called a CPU (Central Processing Unit, central processing unit); the co-processor is A low-power processor used to process data in the standby state.
  • the processor 701 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen.
  • the processor 701 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 702 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 701 to implement the method provided in the embodiment of the present application. Content push method.
  • the terminal 700 may optionally further include: a peripheral device interface 703 and at least one peripheral device.
  • the processor 701, the memory 702, and the peripheral device interface 703 may be connected by a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 703 through a bus, a signal line, or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera component 706, an audio circuit 707, a positioning component 708, and a power supply 709.
  • the peripheral device interface 703 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 701 and the memory 702.
  • the processor 701, the memory 702, and the peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 701, the memory 702, and the peripheral device interface 703 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 704 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
  • the radio frequency circuit 704 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
  • the radio frequency circuit 704 may also include a circuit related to NFC (Near Field Communication), which is not limited in the embodiment of the present application.
  • the display screen 705 is used to display a UI (User Interface, user interface).
  • the UI can include graphics, text, icons, videos, and any combination thereof.
  • the display screen 705 also has the ability to collect touch signals on or above the surface of the display screen 705.
  • the touch signal can be input to the processor 701 as a control signal for processing.
  • the display screen 705 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
  • the display screen 705 may be a flexible display screen, which is arranged on a curved surface or a folding surface of the terminal 700. Furthermore, the display screen 705 can also be set as a non-rectangular irregular pattern, that is, a special-shaped screen.
  • the display screen 705 may be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
  • the camera assembly 706 is used to capture images or videos.
  • the camera assembly 706 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera assembly 706 may also include a flash.
  • the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • the audio circuit 707 may include a microphone and a speaker.
  • the microphone is used to collect sound waves from the user and the environment, convert the sound waves into electrical signals and input them to the processor 701 for processing, or input to the radio frequency circuit 704 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively set in different parts of the terminal 700.
  • the microphone can also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves.
  • the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
  • the audio circuit 707 may also include a headphone jack.
  • the positioning component 708 is used to locate the current geographic location of the terminal 700 to implement navigation or LBS (Location Based Service, location-based service).
  • the positioning component 708 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.
  • the power supply 709 is used to supply power to various components in the terminal 700.
  • the power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
  • the rechargeable battery may support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 700 further includes one or more sensors 170.
  • the one or more sensors 170 include, but are not limited to: an acceleration sensor 711, a gyroscope sensor 712, a pressure sensor 711, a fingerprint sensor 714, an optical sensor 715, and a proximity sensor 716.
  • the acceleration sensor 711 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 700.
  • the acceleration sensor 711 may be used to detect the components of gravitational acceleration on three coordinate axes.
  • the processor 701 may control the display screen 705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 711.
  • the acceleration sensor 711 may also be used for the collection of game or user motion data.
  • the gyroscope sensor 712 can detect the body direction and the rotation angle of the terminal 700, and the gyroscope sensor 712 can cooperate with the acceleration sensor 711 to collect the user's 3D actions on the terminal 700.
  • the processor 701 can implement the following functions according to the data collected by the gyroscope sensor 712: motion sensing (for example, changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 711 may be arranged on the side frame of the terminal 700 and/or the lower layer of the display screen 705.
  • the processor 701 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 711.
  • the processor 701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 705.
  • the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
  • the fingerprint sensor 714 is used to collect the fingerprint of the user, and the processor 701 recognizes the user's identity according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 recognizes the user's identity according to the collected fingerprint. When it is recognized that the user's identity is a trusted identity, the processor 701 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 714 may be provided on the front, back, or side of the terminal 700. When a physical button or a manufacturer logo is provided on the terminal 700, the fingerprint sensor 714 can be integrated with the physical button or the manufacturer logo.
  • the optical sensor 715 is used to collect the ambient light intensity.
  • the processor 701 may control the display brightness of the display screen 705 according to the ambient light intensity collected by the optical sensor 715. Exemplarily, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 may also dynamically adjust the shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 715.
  • the proximity sensor 716 also called a distance sensor, is usually arranged on the front panel of the terminal 700.
  • the proximity sensor 716 is used to collect the distance between the user and the front of the terminal 700.
  • the processor 701 controls the display screen 705 to switch from the on-screen state to the off-screen state; when the proximity sensor 716 detects When the distance between the user and the front of the terminal 700 gradually increases, the processor 701 controls the display screen 705 to switch from the rest screen state to the bright screen state.
  • FIG. 7 does not constitute a limitation on the terminal 700, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • a computer-readable storage medium stores at least one piece of program code, and the at least one piece of program code is loaded and executed by a processor of a computer device to implement any of the foregoing Content push method.
  • the foregoing computer-readable storage medium may be Read-Only Memory (ROM), Random Access Memory (RAM), Compact Disc Read-Only Memory, CD-ROM ), magnetic tapes, floppy disks and optical data storage devices.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • CD-ROM Compact Disc Read-Only Memory
  • magnetic tapes magnetic tapes
  • floppy disks optical data storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed is a form of content pushing, comprising: acquiring a candidate push list on the basis of a search request of a terminal, the candidate push list comprising at least one item of candidate push content; acquiring a historical behavior list of a user, the historical behavior list comprising negative influence content; determining, on the basis of each item of negative influence content in the historical behavior list and each item of candidate push content in the candidate push list, the click rate for each item of candidate push content in the candidate push list; determining push content according to the click rate for each item of candidate push content in the candidate push list; and sending the push content to the terminal.

Description

内容推送Content push
本申请要求于2020年04月29日提交的申请号为202010354131.5、申请名称为“内容推送方法、装置、服务器及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010354131.5 and the application name "content pushing method, device, server and storage medium" filed on April 29, 2020, the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请实施例涉及互联网技术领域,特别涉及一种内容推送。The embodiments of the present application relate to the field of Internet technology, and in particular to a content push.
背景技术Background technique
随着网络科技的不断发展,智能手机、平板电脑以及其他的便携式设备等终端中可以安装和运行各种各样的应用程序,这些应用程序可以改善人们的工作、生活和娱乐方式。With the continuous development of network technology, various applications can be installed and run in terminals such as smart phones, tablet computers, and other portable devices. These applications can improve people's work, life, and entertainment.
发明内容Summary of the invention
本申请实施例提供了一种内容推送,该技术方案如下:The embodiment of the application provides a content push, and the technical solution is as follows:
一方面,本申请实施例提供了一种内容推送方法,该方法包括:On the one hand, an embodiment of the present application provides a content pushing method, which includes:
基于终端的搜索请求,获取候选推送列表,该候选推送列表中包括至少一个候选推送内容;Obtaining a push candidate list based on the search request of the terminal, where the push candidate list includes at least one push content candidate;
获取用户的历史行为列表,该历史行为列表包括消极影响内容;Obtain a user's historical behavior list, the historical behavior list including negative influence content;
基于该历史行为列表中每一个消极影响内容和该候选推送列表中每一个候选推送内容,确定该候选推送列表中每一个候选推送内容的点击率;Determine the click-through rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list;
按照该候选推送列表中每一个候选推送内容的点击率,确定推送内容;Determine the push content according to the click-through rate of each candidate push content in the candidate push list;
将该推送内容发送至该终端。Send the push content to the terminal.
在一种可能的实现方式中,该基于该历史行为列表中每一个消极影响内容和该候选推送列表中每一个候选推送内容,确定该候选推送列表中每一个候选推送内容的点击率,包括:In a possible implementation manner, the determination of the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list includes:
确定该历史行为列表中每一个消极影响内容对应的向量,得到至少一个第一向量;确定该候选推送列表中每一个候选推送内容对应的向量,得到至少一个第二向量;基于该至少一个第一向量和该至少一个第二向量,确定该候选推送列表中每一个候选推送内容的点击率。Determine the vector corresponding to each negative influence content in the historical behavior list to obtain at least one first vector; determine the vector corresponding to each candidate push content in the candidate push list to obtain at least one second vector; based on the at least one first vector The vector and the at least one second vector determine the click rate of each candidate push content in the candidate push list.
在一种可能的实现方式中,该基于该至少一个第一向量和该至少一个第二向量,确定该候选推送列表中每一个候选推送内容的点击率,包括:In a possible implementation manner, the determining the click-through rate of each candidate push content in the candidate push list based on the at least one first vector and the at least one second vector includes:
基于该至少一个第一向量和该至少一个第二向量,得到该候选推送列表中每一个候选推送内容对应的负向兴趣权重;基于该候选推送列表中每一个候选推送内容对应的负向兴趣权重和该至少一个第一向量,确定该候选推送列表中每一个候选推送内容的点击率。Based on the at least one first vector and the at least one second vector, the negative interest weight corresponding to each candidate push content in the candidate push list is obtained; based on the negative interest weight corresponding to each candidate push content in the candidate push list And the at least one first vector to determine the click rate of each candidate push content in the candidate push list.
在一种可能的实现方式中,该基于该候选推送列表中每一个候选推送内容对应的负向兴趣权重和该至少一个第一向量,确定该候选推送列表中每一个候选推送内容的点击率,包括:In a possible implementation manner, the click rate of each candidate push content in the candidate push list is determined based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, include:
计算该候选推送列表中每一个候选推送内容对应的负向兴趣权重和该至少一个第一向量之间的加权平均值,将该加权平均值作为该候选推送列表中每一个候选推送内容对应的负向 兴趣向量;根据该候选推送列表中每一个候选推送内容对应的负向兴趣向量确定对应候选推送内容的点击率。Calculate the weighted average between the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, and use the weighted average as the negative interest corresponding to each candidate push content in the candidate push list. Interest vector; according to the negative interest vector corresponding to each candidate push content in the candidate push list, the click-through rate of the corresponding candidate push content is determined.
在一种可能的实现方式中,该按照该候选推送列表中每一个候选推送内容的点击率,确定推送内容,包括:In a possible implementation manner, determining the push content according to the click-through rate of each candidate push content in the candidate push list includes:
按照该候选推送列表中每一个候选推送内容的点击率,对该候选推送列表中的候选推送内容进行排序;Sort the candidate push content in the candidate push list according to the click rate of each candidate push content in the candidate push list;
根据排序结果从该候选推送列表中选择参考数量的候选推送内容,作为推送内容。According to the sorting result, a reference number of candidate push content is selected from the candidate push list as the push content.
在一种可能的实现方式中,该消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;In a possible implementation manner, the negative impact content includes at least one of short-term stay content and first-place exposure unclicked content;
该短时停留内容为用户浏览时间小于目标浏览时间的内容;The short stay content is content whose browsing time is less than the target browsing time;
该首位曝光未点击内容为历史推送内容中排在第一位,且未被点击的内容。The first exposed unclicked content is the first unclicked content in the historical push content.
在一中可能的实现方式中,该消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;In one possible implementation manner, the negative impact content includes at least one of short-term stay content and unclicked content with the first exposure;
该短时停留内容为用户浏览时间小于目标浏览时间的内容;The short stay content is content whose browsing time is less than the target browsing time;
该首位曝光未点击内容包括在历史推送内容中显示于页面的第一位,且在该用户已滑动该页面的情况下未被点击的内容。The first exposed unclicked content includes the content that is displayed first in the page in the historical push content and is not clicked when the user has swiped the page.
另一方面,提供了一种内容推送装置,该装置包括:In another aspect, a content pushing device is provided, which includes:
第一获取模块,用于基于终端的搜索请求,获取候选推送列表,该候选推送列表中包括至少一个候选推送内容;The first obtaining module is configured to obtain a push candidate list based on the search request of the terminal, and the push candidate list includes at least one push candidate content;
第二获取模块,用于获取用户的历史行为列表,该历史行为列表包括消极影响内容;The second acquisition module is used to acquire a user's historical behavior list, and the historical behavior list includes negative influence content;
第一确定模块,用于基于该历史行为列表中每一个消极影响内容和该候选推送列表中每一个候选推送内容,确定该候选推送列表中每一个候选推送内容的点击率;The first determining module is configured to determine the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list;
第二确定模块,用于按照该候选推送列表中每一个候选推送内容的点击率,确定推送内容;The second determining module is configured to determine the push content according to the click rate of each candidate push content in the candidate push list;
发送模块,用于将该推送内容发送至该终端。The sending module is used to send the push content to the terminal.
在一种可能的实现方式中,该第一确定模块,用于确定该历史行为列表中每一个消极影响内容对应的向量,得到至少一个第一向量;确定该候选推送列表中每一个候选推送内容对应的向量,得到至少一个第二向量;基于该至少一个第一向量和该至少一个第二向量,确定该候选推送列表中每一个候选推送内容的点击率。In a possible implementation manner, the first determining module is configured to determine the vector corresponding to each negative influence content in the historical behavior list to obtain at least one first vector; determine each candidate push content in the candidate push list Corresponding vectors, at least one second vector is obtained; based on the at least one first vector and the at least one second vector, the click rate of each candidate push content in the candidate push list is determined.
在一种可能的实现方式中,该第一确定模块,用于基于该至少一个第一向量和该至少一个第二向量,得到该候选推送列表中每一个候选推送内容对应的负向兴趣权重;基于该候选推送列表中每一个候选推送内容对应的负向兴趣权重和该至少一个第一向量,确定该候选推送列表中每一个候选推送内容的点击率。In a possible implementation manner, the first determining module is configured to obtain the negative interest weight corresponding to each candidate push content in the candidate push list based on the at least one first vector and the at least one second vector; Based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, the click rate of each candidate push content in the candidate push list is determined.
在一种可能的实现方式中,该第一确定模块,用于计算该候选推送列表中每一个候选推送内容对应的负向兴趣权重和该至少一个第一向量之间的加权平均值,将该加权平均值作为该候选推送列表中每一个候选推送内容对应的负向兴趣向量;根据该候选推送列表中每一个候选推送内容对应的负向兴趣向量确定对应候选推送内容的点击率。In a possible implementation manner, the first determining module is configured to calculate a weighted average value between the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, and The weighted average is used as the negative interest vector corresponding to each candidate push content in the candidate push list; the click rate of the corresponding candidate push content is determined according to the negative interest vector corresponding to each candidate push content in the candidate push list.
在一种可能的实现方式中,该第二确定模块,用于按照该候选推送列表中每一个候选推 送内容的点击率,对该候选推送列表中的候选推送内容进行排序;根据排序结果从该候选推送列表中选择参考数量的候选推送内容,作为推送内容。In a possible implementation, the second determining module is configured to sort the candidate push content in the candidate push list according to the click-through rate of each candidate push content in the candidate push list; Select a reference number of candidate push content from the candidate push list as the push content.
在一种可能的实现方式中,该消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;该短时停留内容为用户浏览时间小于目标浏览时间的内容;该首位曝光未点击内容为历史推送内容中排在第一位,且未被点击的内容。In a possible implementation manner, the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content; the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content The clicked content is the first in the historical push content and the content that has not been clicked.
在一种可能的实现方式中,该消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;该短时停留内容为用户浏览时间小于目标浏览时间的内容;该首位曝光未点击内容包括在历史推送内容中显示于页面的第一位,且在该用户已滑动该页面的情况下未被点击的内容。In a possible implementation manner, the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content; the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content The clicked content includes the content that is displayed in the first position of the page in the historical push content and is not clicked when the user has swiped the page.
另一方面,提供了一种服务器,包括:On the other hand, a server is provided, including:
一个或多个处理器;One or more processors;
用于存储该一个或多个处理器可执行指令的一个或多个存储器;One or more memories for storing the one or more processor-executable instructions;
其中,该一个或多个处理器用于该指令,以实现上述第一方面或上述第一方面的任一种可能实现方式提供的内容推送方法。Wherein, the one or more processors are used for the instruction to implement the content pushing method provided by the foregoing first aspect or any possible implementation manner of the foregoing first aspect.
另一方面,提供了一种计算机可读存储介质,当该计算机可读存储介质中的指令由服务器的处理器执行时,使得该服务器能够执行上述第一方面或上述第一方面的任一种可能实现方式提供的内容推送方法。In another aspect, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of a server, the server can execute the first aspect or any one of the first aspects mentioned above. It is possible to implement the content push method provided by the method.
另一方面,提供了一种计算机程序产品,包括:该计算机程序产品存储有至少一条指令,该指令由处理器加载并执行以实现上述内容推送所执行的操作。In another aspect, a computer program product is provided, including: the computer program product stores at least one instruction, and the instruction is loaded and executed by a processor to implement the operations performed by the content pushing.
本申请实施例提供的技术方案至少带来如下有益效果:The technical solutions provided by the embodiments of the present application at least bring the following beneficial effects:
在本申请提供的实施例中,根据历史行为列表中每一个消极影响内容和候选推送内容列表中每一个候选推送内容,确定候选推送列表中每一个候选推送内容的点击率,使得每一个候选推送内容的点击率的确定更加准确,从而可以增加推送内容的推荐准确度。In the embodiment provided in this application, according to each negative influence content in the historical behavior list and each candidate push content in the candidate push content list, the click rate of each candidate push content in the candidate push list is determined, so that each candidate push The determination of the click-through rate of the content is more accurate, so that the accuracy of the recommendation of the pushed content can be increased.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请实施例。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the embodiments of the present application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请实施例提供的一种内容推送方法的实施环境示意图;FIG. 1 is a schematic diagram of an implementation environment of a content pushing method provided by an embodiment of the present application;
图2是本申请实施例提供的一种内容推送方法的流程图;FIG. 2 is a flowchart of a content pushing method provided by an embodiment of the present application;
图3是本申请实施例提供的一种DIN模型的示意图;Fig. 3 is a schematic diagram of a DIN model provided by an embodiment of the present application;
图4是本申请实施例提供的一种内容推送方法的流程图;FIG. 4 is a flowchart of a content pushing method provided by an embodiment of the present application;
图5是本申请实施例提供的一种内容推送装置的结构示意图;FIG. 5 is a schematic structural diagram of a content pushing device provided by an embodiment of the present application;
图6是本申请实施例提供的一种服务器的结构示意图;FIG. 6 is a schematic structural diagram of a server provided by an embodiment of the present application;
图7是本申请实施例提供的一种终端的结构示意图。FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following further describes the embodiments of the present application in detail with reference to the accompanying drawings.
随着网络科技的不断发展,智能手机、平板电脑以及其他的便携式设备等终端中可以安装和运行各种各样的应用程序,这些应用程序可以改善人们的工作、生活和娱乐方式。With the continuous development of network technology, various applications can be installed and run in terminals such as smart phones, tablet computers, and other portable devices. These applications can improve people's work, life, and entertainment.
相关技术中,应用程序中可以有许多特定业务,例如,可以有推送推荐内容的业务,服务器获取用户的历史点击记录,根据该历史点击记录,确定该用户喜欢的内容类型,查找与该类型相关的内容,将该相关的内容作为推荐内容,推送至终端的显示界面,以供用户进行浏览。In related technologies, there can be many specific services in the application. For example, there can be a service to push recommended content. The server obtains the user's historical click record, and according to the historical click record, determines the type of content that the user likes, and searches for content related to the type. The relevant content is used as recommended content and pushed to the display interface of the terminal for users to browse.
然而,用户在进行内容浏览时,可能会因为手误或其他原因,点击某一内容,该内容可能是用户不喜欢的内容,而服务器认为该内容为用户喜欢的内容,后续会为用户推送与该内容相似的内容,从而导致推送的内容与用户的喜好匹配度不高,一定程度上降低了推荐的准确度。However, when the user browses the content, he may click on a certain content due to hand error or other reasons. The content may be content that the user does not like, and the server considers the content to be the content that the user likes. The content is similar to the content, which leads to the low matching degree of the pushed content with the user's preferences, which reduces the accuracy of the recommendation to a certain extent.
图1所示为本申请实施例提供的一种实施环境示意图,参见图1,该实施环境包括:终端101和服务器102。FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the application. Referring to FIG. 1, the implementation environment includes: a terminal 101 and a server 102.
终端101通过无线网络或有线网络与服务器102相连。上述终端101可以是智能手机、游戏主机、台式计算机、平板电脑、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器和膝上型便携计算机中的至少一种。该终端101中可以安装和运行有支持内容浏览的应用程序客户端,该客户端可以是社交应用客户端、休闲购物客户端中的任一种,当然,该客户端也可以是其他类型的客户端,本申请实施例对客户端的类型不做限定。终端101响应于用户的搜索操作,可以生成搜索请求,终端101还可以将该搜索请求发送至服务器102。The terminal 101 is connected to the server 102 through a wireless network or a wired network. The aforementioned terminal 101 may be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an MP4 (Moving Picture Experts Group Audio Layer IV) player, and a laptop portable computer. The terminal 101 can install and run an application client that supports content browsing. The client can be any of a social application client and a casual shopping client. Of course, the client can also be other types of customers. On the other hand, the embodiments of this application do not limit the type of the client. The terminal 101 may generate a search request in response to the user's search operation, and the terminal 101 may also send the search request to the server 102.
服务器102可以是一台服务器,也可以是多台服务器组成的服务器集群。服务器102还可以是云计算平台和虚拟化中心中的至少一种,本申请实施例对此不做限定。服务器102可以基于终端的搜索请求,获取候选推送列表。服务器102还可以获取用户的历史行为列表。服务器102可以基于历史行为列表中的内容和候选推送列表中的内容,确定候选推送列表中每一个候选推送内容的点击率。服务器102还可以根据候选推送内容的点击率,确定推送内容。服务器102还可以将该推送内容发送至终端101,由终端101进行显示。当然,该服务器102还可以包括其他功能服务器,以便提供更加全面且多样化的服务。The server 102 may be one server or a server cluster composed of multiple servers. The server 102 may also be at least one of a cloud computing platform and a virtualization center, which is not limited in the embodiment of the present application. The server 102 may obtain the candidate push list based on the search request of the terminal. The server 102 may also obtain a list of historical behaviors of the user. The server 102 may determine the click rate of each candidate push content in the candidate push list based on the content in the historical behavior list and the content in the candidate push list. The server 102 may also determine the push content according to the click rate of the candidate push content. The server 102 may also send the pushed content to the terminal 101 for display by the terminal 101. Of course, the server 102 may also include other functional servers to provide more comprehensive and diversified services.
终端101可以泛指多个终端中的一个,本实施例仅以终端101来举例说明。本领域技术人员可以知晓,上述终端101的数量可以更多或更少。比如上述终端101可以仅为几个,或者上述终端101为几十个或几百个,或者数量更多,本申请实施例对终端101的数量和设备类型不加以限定。The terminal 101 may generally refer to one of multiple terminals, and this embodiment only uses the terminal 101 as an example for illustration. Those skilled in the art may know that the number of the aforementioned terminals 101 may be more or less. For example, there may be only a few terminals 101 mentioned above, or there may be dozens or hundreds of terminals 101 mentioned above, or a larger number. The embodiment of the present application does not limit the number of terminals 101 and the device type.
基于上述实施环境,本申请实施例提供了一种内容推送方法,以图2所示的本申请实施例提供的一种内容推送方法的流程图为例,该方法可由图1中的服务器102执行。如图2所示,该方法包括下述步骤:Based on the foregoing implementation environment, an embodiment of the present application provides a content pushing method. Taking the flowchart of the content pushing method provided in the embodiment of the present application shown in FIG. 2 as an example, the method can be executed by the server 102 in FIG. 1 . As shown in Figure 2, the method includes the following steps:
在步骤201中,基于终端的搜索请求,获取候选推送列表,候选推送列表中包括至少一个候选推送内容。In step 201, based on the search request of the terminal, a candidate push list is obtained, and the candidate push list includes at least one candidate push content.
在本申请实施例中,终端中安装和运行有支持内容浏览的应用程序客户端,用户可以在该客户端中输入想要查询的内容的名称,点击搜索按钮。终端响应于用户的搜索操作生成搜索请求,该搜索请求中可以携带用户的用户标识,该用户标识可以是用户的账号信息,也可以是用户的其他信息,只要可以用来标识该用户就可以,本申请实施例对该用户标识不做限定。终端将该搜索请求发送至服务器。服务器基于终端的搜索请求,获取与该搜索请求对应的候选推送列表,该候选推送列表中包括至少一个候选推送内容。In the embodiment of the present application, an application client that supports content browsing is installed and running in the terminal, and the user can input the name of the content to be queried in the client and click the search button. The terminal generates a search request in response to the user's search operation. The search request can carry the user identification of the user. The user identification can be the user's account information or other user information, as long as it can be used to identify the user. The embodiment of the present application does not limit the user identification. The terminal sends the search request to the server. The server obtains a push candidate list corresponding to the search request based on the search request of the terminal, and the push candidate list includes at least one push content candidate.
例如,该客户端应用程序为外卖应用程序,用户在该客户端中输入“拉面”,点击搜索按钮,终端响应于用户的点击操作,生成搜索请求,该搜索请求中携带用户的用户标识,该用户标识是用户的账号。终端将该搜索请求发送至服务器,服务器基于该搜索请求,获取候选推送列表,候选推送列表中包括至少一家面馆。For example, the client application is a takeaway application. The user enters "ramen" in the client and clicks the search button. The terminal generates a search request in response to the user's click operation. The search request carries the user ID of the user. The user ID is the user's account. The terminal sends the search request to the server, and the server obtains a candidate push list based on the search request, and the candidate push list includes at least one noodle restaurant.
在步骤202中,获取用户的历史行为列表,历史行为列表包括消极影响内容。In step 202, a user's historical behavior list is obtained, and the historical behavior list includes negative influence content.
在示例性实施例中,该消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种。短时停留内容为用户浏览时间小于目标浏览时间的内容,首位曝光未点击内容为历史推送内容中排在第一位,且未被点击的内容。其中,首位曝光未点击内容的确定需要用户在终端页面上有下滑的操作。例如,第一内容在历史推送内容中排在第一位,用户未点击该第一内容,且用户也未向下滑动页面,则该排在第一位的第一内容不能作为首位曝光未点击内容。第二内容在历史推送内容中排在第一位,用户未点击该第二内容,但用户向下滑动页面,则该排在第一位的第二内容可以作为首位曝光未点击内容。也就是说,在示例性实施例中,该首位曝光未点击内容包括在历史推送内容中显示于页面的第一位,且在该用户已滑动该页面的情况下未被点击的内容。In an exemplary embodiment, the negative influence content includes at least one of short-term stay content and first-place exposure unclicked content. Short stay content is content whose browsing time is less than the target browsing time. The first exposed unclicked content is the first unclicked content in the historical push content. Among them, the determination of the first unclicked content to be exposed requires the user to slide down the terminal page. For example, if the first content is ranked first in the historical push content, the user does not click the first content, and the user does not slide down the page, the first content that is ranked first cannot be the first to be exposed and not clicked content. The second content ranks first in the historical push content, and the user does not click the second content, but the user slides down the page, then the first ranked second content can be used as the first to expose the unclicked content. That is, in an exemplary embodiment, the first exposed unclicked content includes content that is displayed first on the page in the historical push content and is not clicked when the user has swiped the page.
需要说明的是,上述目标浏览时间可以基于经验进行设置,也可以根据应用场景进行调整,还可以由用户进行手动设置,本申请实施例对该目标浏览时间的取值不做限定。It should be noted that the above-mentioned target browsing time can be set based on experience, can also be adjusted according to application scenarios, or can be manually set by the user, and this embodiment of the application does not limit the value of the target browsing time.
在一种可能的实现方式中,服务器可以为每个用户分配一个第一存储空间,该第一存储空间用于存储用户的用户标识和历史行为列表,该历史行为列表中包括与该用户对应的消极影响内容。当服务器接收到终端发送的搜索请求后,对该搜索请求进行解析,得到该用户的用户标识。基于该用户标识在存储空间中进行搜索,从而可以得到该用户标识对应的第一存储空间。在该第一存储空间中提取该用户标识对应的历史行为列表,也即是获取到该用户的历史行为列表,从而可以获取到与该用户对应的消极影响内容。In a possible implementation manner, the server may allocate a first storage space for each user. The first storage space is used to store the user identification and historical behavior list of the user. The historical behavior list includes the corresponding Negatively affect content. When the server receives the search request sent by the terminal, it parses the search request to obtain the user ID of the user. A search is performed in the storage space based on the user identification, so that the first storage space corresponding to the user identification can be obtained. Extracting the historical behavior list corresponding to the user identifier in the first storage space means acquiring the historical behavior list of the user, so that the negative influence content corresponding to the user can be acquired.
在一种可能的实现方式中,服务器对消极影响内容的确定过程可以如下:服务器可以基于RFM(Recency、Frequency、Monetary,最近一次交易、交易频率、交易金额)模型统计用户的负向兴趣特征,从而确定消极影响内容。其中R代表用户最近一次交易时间到当前时间的时间间隔,R越大,说明用户越久未发生交易。F代表最近一段时间内用户的交易次数,F越大,表示用户的交易越频繁。M代表用户每次的交易金额,可以是最近一次的交易金额,也可以是过去的平均交易金额。利用RFM模型可以较好的记录用户最近一段时间的交易记录。其中,最近一段时间的时间长度可以根据交易类型进行设置,也可以由用户进行手动设置,本申请实施例对该最近一段时间的时间长度不做限定。服务器还可以基于该RFM模型离线统计该用户的历史行为类型、历史行为的价格和历史行为到当前时间的时间间隔,计算历史推 送内容的RFM值。基于该历史推送内容的RFM值,可以比较可靠的反映用户长期稳定的负向兴趣点,该负向兴趣点对应的内容也即是消极影响内容。当然,上述基于RFM模型确定消极影响内容的方式仅为举例,本实施例也可以采用其他方式确定该消极影响内容。In a possible implementation, the server's determination of the negative impact content can be as follows: the server can count the user’s negative interest characteristics based on the RFM (Recency, Frequency, Monetary, last transaction, transaction frequency, transaction amount) model, In order to determine the negative impact content. Among them, R represents the time interval from the user's last transaction to the current time. The larger the R, the longer the user has not had a transaction. F represents the number of transactions of the user in the most recent period of time. The larger the F, the more frequent the transactions of the user. M represents the user's transaction amount each time, which can be the most recent transaction amount or the past average transaction amount. The RFM model can better record the user's recent transaction records. The time length of the recent period of time can be set according to the transaction type, or it can be manually set by the user. The embodiment of the present application does not limit the time length of the recent period of time. The server can also count the user's historical behavior types, historical behavior prices, and the time interval from the historical behavior to the current time based on the RFM model offline, and calculate the RFM value of the historically pushed content. Based on the RFM value of the historically pushed content, the user's long-term stable negative interest point can be more reliably reflected, and the content corresponding to the negative interest point is also negatively influencing content. Of course, the foregoing method of determining the negative influence content based on the RFM model is only an example, and this embodiment may also adopt other methods to determine the negative influence content.
在步骤203中,基于历史行为列表中每一个消极影响内容和候选推送列表中每一个候选推送内容,确定候选推送列表中每一个候选推送内容的点击率。In step 203, based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list, the click rate of each candidate push content in the candidate push list is determined.
在本申请实施例中,基于历史行为列表中每一个消极影响内容和候选推送列表中每一个候选推送内容,确定候选推送列表中每一个候选推送内容的点击率可以有下述步骤:In the embodiment of the present application, based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list, determining the click rate of each candidate push content in the candidate push list may include the following steps:
步骤2031、确定历史行为列表中每一个消极影响内容对应的向量,得到至少一个第一向量。Step 2031: Determine the vector corresponding to each negative influence content in the historical behavior list, and obtain at least one first vector.
在一种可能的实现方式中,服务器中存储有消极影响内容对应的向量。服务器基于该用户的历史行为列表,从其存储空间中获取历史行为列表中的每一个消极影响内容对应的向量,得到至少一个第一向量。In a possible implementation manner, the vector corresponding to the negative influence content is stored in the server. Based on the user's historical behavior list, the server obtains a vector corresponding to each negative influence content in the historical behavior list from its storage space, and obtains at least one first vector.
例如,该用户的历史行为列表中包括2个消极影响内容,则可以提取这2个消极影响内容对应的第一向量,得到2个第一向量。For example, if the user's historical behavior list includes 2 negative influence contents, the first vectors corresponding to the 2 negative influence contents may be extracted to obtain 2 first vectors.
步骤2032、确定候选推送列表中每一个候选推送内容对应的向量,得到至少一个第二向量;Step 2032: Determine the vector corresponding to each candidate push content in the candidate push list, and obtain at least one second vector;
在一种可能的实现方式中,服务器中存储有每一个候选推送内容对应的向量。服务器基于该用户的候选推送列表,从其存储空间中获取候选推送列表中的每一个候选推送内容对应的向量,得到至少一个第二向量。In a possible implementation manner, the vector corresponding to each candidate push content is stored in the server. Based on the candidate push list of the user, the server obtains a vector corresponding to each candidate push content in the candidate push list from its storage space, and obtains at least one second vector.
例如,该用户的候选推送列表中包括5个候选推送内容,则可以提取这5个候选推送内容对应的第二向量,得到5个第二向量。For example, if the user's candidate push list includes 5 candidate push contents, the second vectors corresponding to the 5 candidate push contents may be extracted to obtain 5 second vectors.
步骤2033、基于至少一个第一向量和至少一个第二向量,确定候选推送列表中每一个候选推送内容的点击率。Step 2033: Based on at least one first vector and at least one second vector, determine the click rate of each candidate push content in the candidate push list.
在一种可能的实现方式中,基于至少一个第一向量和至少一个第二向量,确定候选推送列表中每一个候选推送内容的点击率可以有下述步骤:In a possible implementation manner, based on at least one first vector and at least one second vector, determining the click-through rate of each candidate push content in the candidate push list may include the following steps:
步骤1、基于至少一个第一向量和至少一个第二向量,得到候选推送列表中每一个候选推送内容对应的负向兴趣权重;Step 1. Based on at least one first vector and at least one second vector, obtain a negative interest weight corresponding to each candidate push content in the candidate push list;
在一种可能的实现方式中,基于上述步骤2031获取到的至少一个第一向量和上述步骤2032获取到的至少一个第二向量,计算候选推送列表中每一个候选推送内容对应的负向兴趣权重。In a possible implementation manner, based on the at least one first vector obtained in step 2031 and the at least one second vector obtained in step 2032, the negative interest weight corresponding to each candidate push content in the candidate push list is calculated .
示例性地,历史行为列表中包括2个消极影响内容,分别是第一消极影响内容和第二消极影响内容。确定第一消极影响内容对应的第一个第一向量,确定第二消极影响内容对应的第二个第一向量。候选推送列表中包括5个候选推送内容,分别为第一候选推送内容,第二候选推送内容,第三候选推送内容,第四候选推送内容,第五候选推送内容。确定第一候选推送内容对应的第一个第二向量,确定第二候选推送内容对应的第二个第二向量,确定第三候选推送内容对应的第三个第二向量,确定第四候选推送内容对应的第四个第二向量,确定第五候选推送内容对应的第五个第二向量。Exemplarily, the historical behavior list includes two negative influence contents, namely the first negative influence content and the second negative influence content. Determine the first first vector corresponding to the first negative influence content, and determine the second first vector corresponding to the second negative influence content. The candidate push list includes 5 candidate push content, which are the first candidate push content, the second candidate push content, the third candidate push content, the fourth candidate push content, and the fifth candidate push content. Determine the first second vector corresponding to the first candidate push content, determine the second second vector corresponding to the second candidate push content, determine the third second vector corresponding to the third candidate push content, and determine the fourth candidate push The fourth second vector corresponding to the content determines the fifth second vector corresponding to the fifth candidate push content.
以该候选推送列表中的第一候选推送内容对应的负向兴趣权重的计算过程为例进行说明。计算第一候选推送内容对应的第一个第二向量和历史行为列表中第一消极影响内容对应的第 一个第一向量之间的内积,得到第一负向兴趣权重。计算第一候选推送内容对应的第一个第二向量和历史行为列表中第二消极影响内容对应的第二个第一向量之间的内积,得到第二负向兴趣权重。这两个负向兴趣权重均为第一候选推送内容对应的负向兴趣权重。Take the calculation process of the negative interest weight corresponding to the first candidate pushing content in the candidate pushing list as an example for description. Calculate the inner product between the first second vector corresponding to the first candidate push content and the first first vector corresponding to the first negative influence content in the historical behavior list to obtain the first negative interest weight. Calculate the inner product between the first second vector corresponding to the first candidate push content and the second first vector corresponding to the second negative influence content in the historical behavior list to obtain the second negative interest weight. The two negative interest weights are both the negative interest weights corresponding to the first candidate push content.
在一种可能的实现方式中,服务器还可以根据用户的兴趣点、所在地区、用户历史行为等维度构造第一序列。构造的第一序列中包括用户兴趣点、所在地区和用户的历史行为列表。再根据候选推送列表构造第二序列,构造的第二序列中包括根据用户的兴趣点、地区和历史行为的类别所搜索到的候选推送内容。可以基于深度网络,对第一序列和第二序列中的元素进行向量化的表达,基于第二序列中的候选推送内容和第一序列中的内容得到每个候选推送内容的负向兴趣权重。In a possible implementation manner, the server may also construct the first sequence according to the user's point of interest, location, user's historical behavior, and other dimensions. The constructed first sequence includes the user's points of interest, the region and the user's historical behavior list. A second sequence is constructed according to the candidate push list, and the constructed second sequence includes the candidate push content searched according to the user's point of interest, region, and category of historical behavior. The elements in the first sequence and the second sequence can be vectorized based on the deep network, and the negative interest weight of each candidate push content can be obtained based on the candidate push content in the second sequence and the content in the first sequence.
需要说明的是,候选推送列表中的每一个候选推送内容的负向兴趣权重的计算过程与第一候选推送内容的负向兴趣权重的计算过程一致,在此不再赘述。It should be noted that the calculation process of the negative interest weight of each candidate push content in the candidate push list is consistent with the calculation process of the negative interest weight of the first candidate push content, and will not be repeated here.
步骤2、基于候选推送列表中每一个候选推送内容对应的负向兴趣权重和至少一个第一向量,确定候选推送列表中每一个候选推送内容的点击率。Step 2: Determine the click rate of each candidate push content in the candidate push list based on the negative interest weight corresponding to each candidate push content in the candidate push list and at least one first vector.
在一种可能的实现方式中,基于候选推送列表中每一个候选推送内容对应的负向兴趣权重和至少一个第一向量,确定候选推送列表中每一个候选推送内容的点击率的过程包括下述步骤:In a possible implementation manner, based on the negative interest weight corresponding to each candidate push content in the candidate push list and at least one first vector, the process of determining the click rate of each candidate push content in the candidate push list includes the following step:
第一步、计算候选推送列表中每一个候选推送内容对应的负向兴趣权重和至少一个第一向量之间的加权平均值,将加权平均值作为候选推送列表中每一个候选推送内容对应的负向兴趣向量。The first step is to calculate the weighted average between the negative interest weight corresponding to each candidate push content in the candidate push list and at least one first vector, and use the weighted average as the negative interest corresponding to each candidate push content in the candidate push list. To the interest vector.
在一种可能的实现方式中,可以有下述任一种实现方式确定候选推送列表中每一个候选推送内容对应的负向兴趣向量:In a possible implementation manner, there may be any one of the following implementation manners to determine the negative interest vector corresponding to each candidate push content in the candidate push list:
实现方式一、基于上述步骤1得到的候选推送列表中每一个候选推送内容的负向兴趣权重,计算每一个候选推送内容对应的负向兴趣权重和上述步骤2031获取到的至少一个第一向量之间的加权平均值,将该加权平均值作为候选推送内容对应的负向兴趣向量。Implementation method 1: Based on the negative interest weight of each candidate push content in the candidate push list obtained in step 1, calculate the negative interest weight corresponding to each candidate push content and the at least one first vector obtained in step 2031. The weighted average of the time, the weighted average is used as the negative interest vector corresponding to the candidate push content.
以该候选推送列表中的第一候选推送内容对应的负向兴趣向量的计算过程为例进行说明。该第一候选推送内容对应有第一负向兴趣权重和第二负向兴趣权重。基于该第一负向兴趣权重、第二负向兴趣权重、第一个第一向量和第二个第一向量,得到该第一候选推送内容对应的负向兴趣向量。Take the calculation process of the negative interest vector corresponding to the first candidate pushing content in the candidate pushing list as an example for description. The first candidate push content corresponds to a first negative interest weight and a second negative interest weight. Based on the first negative interest weight, the second negative interest weight, the first first vector and the second first vector, the negative interest vector corresponding to the first candidate push content is obtained.
例如,将该第一负向兴趣权重和第一个第一向量相乘,得到一个向量,将该第二负向兴趣权重和第二个第一向量相乘,得到一个向量。将得到的两个向量对应相加,作为该第一候选推送内容对应的负向兴趣向量。For example, multiply the first negative interest weight and the first first vector to obtain a vector, and multiply the second negative interest weight and the second first vector to obtain a vector. The two obtained vectors are correspondingly added to serve as the negative interest vector corresponding to the first candidate push content.
需要说明的是,候选推送列表中的每一个候选推送内容的负向兴趣向量的计算过程与上述第一候选推送内容的负向兴趣向量的计算过程一致,在此不再赘述。It should be noted that the calculation process of the negative interest vector of each candidate push content in the candidate push list is consistent with the calculation process of the negative interest vector of the first candidate push content described above, and will not be repeated here.
实现方式二、服务器还可以使用DIN(Deep Interest Network,深度兴趣网络)模型计算候选推送列表中每一个候选推送内容的负向兴趣向量。如下图3所示为本申请实施例示出的DIN模型的示意图。在该图3中根据候选推送内容的向量和历史行为列表中消极影响内容的向量,计算候选推送内容的负向兴趣向量。DIN模型能够基于用户的历史行为列表中的每一种消极影响内容来真正揭示用户对候选推送列表中的候选推送内容的点击欲望。DIN模型中的行为数据包括两种结构:内容多样性和局部激活。行为数据的内容多样性反映了用户的不 同兴趣点,用户点击某个内容往往是因为该内容触及用户的部分兴趣点。在DIN模型的输入层添加了Attention Unit(激活单元),Attention Unit使用的是Attention(注意力)机制,以实现根据历史行为列表中的消极影响内容对候选推送列表中每一个候选推送内容进行负向兴趣向量的确定。Attention Unit中包括FCs和Concat,其中FCs是现场总线控制,Concat是用来连接历史行为列表中的消极影响内容和候选推送列表中的候选推送内容。Implementation manner 2: The server may also use the DIN (Deep Interest Network) model to calculate the negative interest vector of each candidate push content in the candidate push list. The following Figure 3 shows a schematic diagram of a DIN model shown in an embodiment of the application. In FIG. 3, the negative interest vector of the candidate push content is calculated according to the vector of the candidate push content and the vector of the negative influence content in the historical behavior list. The DIN model can truly reveal the user's desire to click on the candidate push content in the candidate push list based on each negative content in the user's historical behavior list. The behavioral data in the DIN model includes two structures: content diversity and local activation. The content diversity of behavioral data reflects the different points of interest of users. Users often click on a certain content because the content touches part of the user's points of interest. The Attention Unit (activation unit) is added to the input layer of the DIN model. Attention Unit uses the Attention mechanism to achieve negative impact on each candidate push content in the candidate push list based on the negative influence content in the historical behavior list. To determine the interest vector. The Attention Unit includes FCs and Concat, where FCs are fieldbus control, and Concat is used to connect the negative influence content in the historical behavior list and the candidate push content in the candidate push list.
在一种可能的实现方式中,根据候选推送列表中每一个候选推送内容的负向兴趣权重和历史行为列表中每一个消极影响内容的向量,计算候选推送列表中每一个候选推送内容的负向兴趣向量,也即是通过加权池化层基于候选推送列表中每一个候选推送内容的负向兴趣权重和历史行为列表中每一个消极影响内容的向量,得到每一个候选推送内容的负向兴趣向量。其中,通过加权池化层得到候选推送列表中每一个候选推送内容的负向兴趣向量的表达公式如下:In a possible implementation, the negative interest weight of each candidate push content in the candidate push list and each negative content vector in the historical behavior list are calculated to calculate the negative direction of each candidate push content in the candidate push list. Interest vector, that is, through the weighted pooling layer, based on the negative interest weight of each candidate push content in the candidate push list and each negative interest vector in the historical behavior list to obtain the negative interest vector of each candidate push content . Among them, the expression formula of the negative interest vector of each candidate push content in the candidate push list obtained through the weighted pooling layer is as follows:
Figure PCTCN2021087230-appb-000001
Figure PCTCN2021087230-appb-000001
在上述公式中,N为消极影响内容的数目,V i表示历史行为列表中消极影响内容i的向量,V a是候选推送列表中第a个候选推送内容的负向兴趣向量,g V i,V a)表示的是历史行为列表中消极影响内容i和候选推送内容的向量的内积,也即是候选推送内容的负向兴趣权重,也对应于上述公式中的W iIn the above formula, N is the number of negative effects content, V i represents the historical behavior list the negative effects of contents of the vector of i, V a candidate push list of a candidate push content negative interest vector, g V i, V a ) represents the inner product of the vector of negatively affecting content i and the candidate push content in the historical behavior list, that is, the negative interest weight of the candidate push content, which also corresponds to W i in the above formula.
需要说明的是,服务器可以选择上述任一种实现方式确定候选推送列表中每一个候选推送内容的负向兴趣向量,本申请实施例对此不做限定。It should be noted that the server can select any of the foregoing implementation manners to determine the negative interest vector of each candidate push content in the candidate push list, which is not limited in the embodiment of the present application.
第二步、根据该候选推送列表中每一个候选推送内容对应的负向兴趣向量确定对应候选推送内容的点击率。The second step is to determine the click rate of the corresponding candidate push content according to the negative interest vector corresponding to each candidate push content in the candidate push list.
在一种可能的实现方式中,服务器基于上述第一步得到的候选推送内容的负向兴趣向量,计算该候选推送内容的点击率。In a possible implementation manner, the server calculates the click rate of the candidate push content based on the negative interest vector of the candidate push content obtained in the first step.
例如,第一候选推送内容的负向兴趣向量为(2,1,2),计算该负向兴趣向量的模长L,
Figure PCTCN2021087230-appb-000002
将该负向兴趣向量的模长作为该候选推送内容的点击率,也即是该第一候选推送内容的点击率为3。
For example, the negative interest vector of the first candidate push content is (2, 1, 2), calculate the modulus length L of the negative interest vector,
Figure PCTCN2021087230-appb-000002
The modulus length of the negative interest vector is taken as the click rate of the candidate push content, that is, the click rate of the first candidate push content is 3.
在一种可能的实现方式中,为了使该候选推送内容的点击率的计算更加准确,还可以根据候选推送内容的负向兴趣向量和正向兴趣向量来计算候选推送内容的点击率。其中,候选推送内容的负向兴趣向量的计算过程如上述第一步的过程。候选推送内容的正向兴趣向量的计算过程如下:In a possible implementation manner, in order to make the calculation of the click-through rate of the candidate push content more accurate, the click-through rate of the candidate push content may also be calculated according to the negative interest vector and the positive interest vector of the candidate push content. Wherein, the calculation process of the negative interest vector of the candidate push content is as the process of the first step described above. The calculation process of the forward interest vector of the candidate push content is as follows:
在一种可能的实现方式中,用户的历史行为列表中还可以包括积极影响内容,该积极影响内容可以是用户历史点击内容,确定该积极影响内容对应的向量,得到至少一个第三向量。基于该至少一个第三向量和至少一个第二向量,得到该候选推送列表中每一个候选推送内容对应的正向兴趣权重。计算该候选推送列表中每一个候选推送内容对应的正向兴趣权重和至少一个第三向量之间的加权平均值,将加权平均值作为候选推送列表中每一个候选推送内容对应的正向兴趣向量。In a possible implementation manner, the user's historical behavior list may also include positive influence content. The positive influence content may be the user's historical click content, the vector corresponding to the positive influence content is determined, and at least one third vector is obtained. Based on the at least one third vector and the at least one second vector, a forward interest weight corresponding to each candidate pushing content in the candidate pushing list is obtained. Calculate the weighted average between the forward interest weight corresponding to each candidate push content in the candidate push list and at least one third vector, and use the weighted average as the forward interest vector corresponding to each candidate push content in the candidate push list .
其中,基于该至少一个第三向量和至少一个第二向量,得到该候选推送列表中每一个候选推送内容对应的正向兴趣权重的过程与上述步骤1中候选推送内容对应的负向兴趣权重的计算过程一致,在此不再赘述。计算该候选推送列表中每一个候选推送内容对应的正向兴趣 权重和至少一个第三向量之间的加权平均值,将加权平均值作为候选推送列表中每一个候选推送内容对应的正向兴趣向量的过程与上述第一步中的候选推送内容的负向兴趣向量的计算过程一致,在此不再赘述。Wherein, based on the at least one third vector and at least one second vector, the process of obtaining the positive interest weight corresponding to each candidate push content in the candidate push list is the same as the negative interest weight corresponding to the candidate push content in step 1 above. The calculation process is the same, so I won't repeat it here. Calculate the weighted average between the forward interest weight corresponding to each candidate push content in the candidate push list and at least one third vector, and use the weighted average as the forward interest vector corresponding to each candidate push content in the candidate push list The process of is consistent with the calculation process of the negative interest vector of the candidate push content in the first step above, and will not be repeated here.
在一种可能的实现方式中,对该候选推送内容的负向兴趣向量和正向兴趣向量进行加权平均计算,得到该候选推送内容的兴趣向量,基于该候选推送内容的兴趣向量,确定该候选推送内容的点击率。In a possible implementation manner, a weighted average calculation is performed on the negative interest vector and the positive interest vector of the candidate push content to obtain the interest vector of the candidate push content, and the candidate push is determined based on the interest vector of the candidate push content The click-through rate of the content.
例如,第一候选推送内容的负向兴趣向量为(2,1,2),正向兴趣向量为(1,2,1),基于该负向兴趣向量和正向兴趣向量,得到该第一候选推送内容的兴趣向量(2,2,2),计算该兴趣向量的模长L,
Figure PCTCN2021087230-appb-000003
也即是该第一候选推送内容的点击率为
For example, the negative interest vector of the first candidate push content is (2, 1, 2), and the positive interest vector is (1, 2, 1). Based on the negative interest vector and the positive interest vector, the first candidate is obtained Push the interest vector (2, 2, 2) of the content, calculate the modulus L of the interest vector,
Figure PCTCN2021087230-appb-000003
That is, the click-through rate of the first candidate push content
Figure PCTCN2021087230-appb-000004
Figure PCTCN2021087230-appb-000004
需要说明的是,若该候选推送列表中的第一候选推送内容的点击率是基于负向兴趣向量计算得到的,则该候选推送列表中的其他候选推送内容的点击率的计算也基于负向兴趣向量进行计算。若该候选推送列表中的第一候选推送内容的点击率是基于负向兴趣向量和正向兴趣向量计算得到的,则该候选推送列表中的其他候选推送内容的点击率的计算也基于负向兴趣向量和正向兴趣向量进行计算。It should be noted that if the click-through rate of the first candidate push content in the candidate push list is calculated based on the negative interest vector, then the click-through rate calculation of the other candidate push content in the candidate push list is also based on the negative The interest vector is calculated. If the click-through rate of the first candidate push content in the candidate push list is calculated based on the negative interest vector and the positive interest vector, then the click-through rate calculation of the other candidate push content in the candidate push list is also based on the negative interest The vector and the forward interest vector are calculated.
在步骤204中,按照候选推送列表中每一个候选推送内容的点击率,确定推送内容。In step 204, the push content is determined according to the click rate of each candidate push content in the candidate push list.
在本申请实施例中,由于终端中安装和运行的客户端的界面上显示的推送内容的数量是有限的,因此需要从候选推送内容中确定目标个数个推送内容。推送内容的确定方法可以有下述任一种:In the embodiment of the present application, since the number of push contents displayed on the interface of the client installed and running in the terminal is limited, it is necessary to determine the target number of push contents from the candidate push contents. The method for determining the content to be pushed can be any of the following:
实现方式一、基于候选推送列表中每一个候选推送内容的点击率,确定推送内容。Implementation method 1: Determine the push content based on the click-through rate of each candidate push content in the candidate push list.
按照候选推送列表中每一个候选推送内容的点击率,对候选推送列表中的候选推送内容进行排序;根据排序结果,从候选推送列表中选择参考数量的候选推送内容,作为推送内容。Sort the candidate push content in the candidate push list according to the click rate of each candidate push content in the candidate push list; according to the sorting result, select a reference number of candidate push content from the candidate push list as the push content.
例如,候选推送列表中有5个候选推送内容,第一候选推送内容的点击率为0.83,第二候选推送内容的点击率为0.95,第三候选推送内容的点击率为0.80,第四候选推送内容的点击率为0.90,第五候选推送内容的点击率为0.88,按照候选推送内容的点击率进行排序,得到的排序结果为第二候选推送内容、第四候选推送内容、第五候选推送内容、第一候选推送内容、第三候选推送内容。在该排序结果中确定排在前三位的候选推送内容作为推送内容,也即是确定第二候选推送内容、第四候选推送内容、第五候选推送内容为推送内容。For example, there are 5 candidate push content in the candidate push list, the first candidate push content has a click rate of 0.83, the second candidate push content has a click rate of 0.95, the third candidate push content has a click rate of 0.80, and the fourth candidate push has a click rate of 0.80. The click-through rate of the content is 0.90, and the click-through rate of the fifth candidate push content is 0.88, sorted according to the click-through rate of the candidate push content, and the ranking results obtained are the second candidate push content, the fourth candidate push content, and the fifth candidate push content. , The first candidate push content, and the third candidate push content. In the ranking result, the top three push content candidates are determined as push content, that is, the second push content candidate, the fourth push content candidate, and the fifth push content candidate are determined to be push content.
需要说明的是,该参考数量可以基于经验进行设置,也可以根据不同的客户端进行调整,还可以由用户进行手动设置,本申请实施例对该参考数量的取值不做限定。It should be noted that the reference quantity can be set based on experience, can also be adjusted according to different clients, or can be manually set by the user, and the embodiment of the application does not limit the value of the reference quantity.
实现方式二、将候选推送列表中点击率超过目标点击率的候选推送内容确定为推送内容。Implementation method 2: Determine the candidate push content whose click rate exceeds the target click rate in the candidate push list as the push content.
服务器可以设置目标点击率,在候选推送列表中筛选点击率高于目标点击率的候选推送内容,将筛选出的候选推送内容确定为推送内容。The server can set a target click rate, filter the candidate push content with a click rate higher than the target click rate in the candidate push list, and determine the filtered candidate push content as the push content.
例如,候选推送列表中有5个候选推送内容,第一候选推送内容的点击率为0.83,第二候选推送内容的点击率为0.95,第三候选推送内容的点击率为0.80,第四候选推送内容的点击率为0.90,第五候选推送内容的点击率为0.88。目标点击率为0.85。将点击率高于目标点击率的候选推送内容确定为推送内容,也即是将第二候选推送内容、第四候选推送内容、第五候选推送内容确定为推送内容。For example, there are 5 candidate push content in the candidate push list, the first candidate push content has a click rate of 0.83, the second candidate push content has a click rate of 0.95, the third candidate push content has a click rate of 0.80, and the fourth candidate push has a click rate of 0.80. The click-through rate of the content is 0.90, and the click-through rate of the fifth candidate push content is 0.88. The target click rate is 0.85. The candidate push content whose click rate is higher than the target click rate is determined as the push content, that is, the second candidate push content, the fourth candidate push content, and the fifth candidate push content are determined as the push content.
需要说明的是,该目标点击率可以基于经验进行设置,也可以根据不同的客户端进行调 整,还可以由用户进行手动设置,本申请实施例对该目标点击率的取值不做限定。It should be noted that the target click-through rate can be set based on experience, or adjusted according to different clients, or manually set by the user. The embodiment of the application does not limit the value of the target click-through rate.
在步骤205中,将推送内容发送至终端。In step 205, the push content is sent to the terminal.
在本申请实施例中,服务器根据用户的用户标识,向该用户标识对应的终端发送推送内容,由终端中安装的客户端对该推送内容进行展示。In the embodiment of the present application, the server sends the push content to the terminal corresponding to the user identification according to the user identification of the user, and the client installed in the terminal displays the push content.
在本申请提供的实施例中,根据历史行为列表中每一个消极影响内容和候选推送内容列表中每一个候选推送内容,确定候选推送列表中每一个候选推送内容的点击率,使得每一个候选推送内容的点击率的确定更加准确,从而可以增加推送内容的推荐准确度。In the embodiment provided in this application, according to each negative influence content in the historical behavior list and each candidate push content in the candidate push content list, the click rate of each candidate push content in the candidate push list is determined, so that each candidate push The determination of the click-through rate of the content is more accurate, so that the accuracy of the recommendation of the pushed content can be increased.
参见图4,图4是本申请实施例提供的一种内容推送方法的流程图,以图4所示的本申请实施例提供的一种内容推送方法的流程图为例,该方法可由图1中的终端101和服务器102之间的交互进行说明。如图4所示,该方法包括下述步骤:Referring to FIG. 4, FIG. 4 is a flowchart of a content pushing method provided by an embodiment of the present application. Taking the flowchart of a content pushing method provided by an embodiment of the present application shown in FIG. 4 as an example, the method can be described in FIG. 1 The interaction between the terminal 101 and the server 102 in FIG. As shown in Figure 4, the method includes the following steps:
在步骤401中,终端向服务器发送搜索请求。In step 401, the terminal sends a search request to the server.
在本申请实施例中,终端中安装和运行有支持内容浏览的应用程序客户端,该客户端可以是社交应用客户端,也可以是休闲购物客户端,本申请实施例对该客户端的类型不做限定。用户可以在该终端设备上安装的客户端上进行内容的浏览。用户可以在该客户端的搜索框中输入用户想要搜索的内容的名称,点击搜索按钮,终端响应于用户的搜索操作,生成搜索请求,该搜索请求中携带用户的用户标识,该用户标识可以是用户的账号信息,也可以是用户的其他信息,只要可以用来标识该用户即可,本申请实施例对用户标识不做限定。In the embodiment of this application, an application client that supports content browsing is installed and running in the terminal. The client can be a social application client or a casual shopping client. Make a limit. The user can browse the content on the client installed on the terminal device. The user can enter the name of the content that the user wants to search in the search box of the client, and click the search button. The terminal responds to the user's search operation and generates a search request. The search request carries the user ID of the user. The user ID can be The user's account information may also be other user information, as long as it can be used to identify the user, and the embodiment of the present application does not limit the user identification.
在一种可能的实现方式中,终端获取到搜索请求后,可以直接将该搜索请求发送至服务器。In a possible implementation manner, after the terminal obtains the search request, it can directly send the search request to the server.
在步骤402中,服务器接收终端发送的搜索请求,基于该搜索请求,获取候选推送列表,候选推送列表中包括至少一个候选推送内容。In step 402, the server receives the search request sent by the terminal, and obtains a push candidate list based on the search request, and the push candidate list includes at least one push candidate content.
在该步骤402中,获取候选推送列表的方法与上述步骤201中的方法一致,在此不再赘述。In this step 402, the method for obtaining the candidate push list is the same as the method in the above step 201, and will not be repeated here.
在步骤403中,服务器获取用户的历史行为列表,历史行为列表包括消极影响内容。In step 403, the server obtains the user's historical behavior list, and the historical behavior list includes negative influence content.
在该步骤403中,获取用户的历史行为列表的方法与上述步骤202中的方法一致,在此不再赘述。In this step 403, the method of obtaining the user's historical behavior list is the same as the method in the above step 202, and will not be repeated here.
在步骤404中,服务器基于历史行为列表中每一个消极影响内容和候选推送列表中每一个候选推送内容,确定候选推送列表中每一个候选推送内容的点击率。In step 404, the server determines the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list.
在该步骤404中,确定候选推送列表中每一个候选推送内容的点击率的方法与上述步骤203中的方法一致,在此不再赘述。In this step 404, the method for determining the click rate of each candidate push content in the candidate push list is the same as the method in the above step 203, and will not be repeated here.
在步骤405中,服务器按照候选推送列表中每一个候选推送内容的点击率,确定推送内容。In step 405, the server determines the push content according to the click rate of each candidate push content in the candidate push list.
在该步骤405中,确定推送内容的方法与上述步骤204中的方法一致,在此不再赘述。In this step 405, the method for determining the content to be pushed is the same as the method in the above step 204, and will not be repeated here.
在步骤406中,服务器将推送内容发送至终端。In step 406, the server sends the pushed content to the terminal.
在该步骤406中,服务器将推送内容发送至终端的过程与上述步骤205中的过程一致,在此不再赘述。In this step 406, the process of the server sending the pushed content to the terminal is the same as the process in the foregoing step 205, and will not be repeated here.
在步骤407中,终端接收服务器发送的推送内容,将该推送内容进行显示。In step 407, the terminal receives the push content sent by the server, and displays the push content.
在该步骤407中,终端接收到服务器发送的推送内容后,将该推送内容显示在终端上安 装的客户端的界面上,以便于用户对推送内容进行浏览和查看。In this step 407, after the terminal receives the push content sent by the server, the push content is displayed on the interface of the client installed on the terminal, so that the user can browse and view the push content.
在本申请提供的实施例中,根据历史行为列表中每一个消极影响内容和候选推送内容列表中每一个候选推送内容,确定候选推送列表中每一个候选推送内容的点击率,使得每一个候选推送内容的点击率的确定更加准确,从而可以增加推送内容的推荐准确度。In the embodiment provided in this application, according to each negative influence content in the historical behavior list and each candidate push content in the candidate push content list, the click rate of each candidate push content in the candidate push list is determined, so that each candidate push The determination of the click-through rate of the content is more accurate, so that the accuracy of the recommendation of the pushed content can be increased.
图5所示为本申请实施例提供的一种内容推送装置的结构示意图,如图5所示,该装置包括:FIG. 5 is a schematic structural diagram of a content pushing device provided by an embodiment of the application. As shown in FIG. 5, the device includes:
第一获取模块501,用于基于终端的搜索请求,获取候选推送列表,该候选推送列表中包括至少一个候选推送内容;The first obtaining module 501 is configured to obtain a push candidate list based on a search request of the terminal, and the push candidate list includes at least one push candidate content;
第二获取模块502,用于获取用户的历史行为列表,该历史行为列表包括消极影响内容;The second obtaining module 502 is configured to obtain a user's historical behavior list, and the historical behavior list includes negative influence content;
第一确定模块503,用于基于该历史行为列表中每一个消极影响内容和该候选推送列表中每一个候选推送内容,确定该候选推送列表中每一个候选推送内容的点击率;The first determining module 503 is configured to determine the click-through rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list;
第二确定模块504,用于按照该候选推送列表中每一个候选推送内容的点击率,确定推送内容;The second determining module 504 is configured to determine the push content according to the click rate of each candidate push content in the candidate push list;
发送模块505,用于将该推送内容发送至该终端。The sending module 505 is configured to send the pushed content to the terminal.
在一种可能的实现方式中,该第一确定模块503,用于确定该历史行为列表中每一个消极影响内容对应的向量,得到至少一个第一向量;确定该候选推送列表中每一个候选推送内容对应的向量,得到至少一个第二向量;基于该至少一个第一向量和该至少一个第二向量,确定该候选推送列表中每一个候选推送内容的点击率。In a possible implementation manner, the first determining module 503 is configured to determine the vector corresponding to each negative influence content in the historical behavior list to obtain at least one first vector; determine each candidate push in the candidate push list The vector corresponding to the content obtains at least one second vector; based on the at least one first vector and the at least one second vector, the click rate of each candidate push content in the candidate push list is determined.
在一种可能的实现方式中,该第一确定模块503,用于基于该至少一个第一向量和该至少一个第二向量,得到该候选推送列表中每一个候选推送内容对应的负向兴趣权重;基于该候选推送列表中每一个候选推送内容对应的负向兴趣权重和该至少一个第一向量,确定该候选推送列表中每一个候选推送内容的点击率。In a possible implementation manner, the first determining module 503 is configured to obtain the negative interest weight corresponding to each candidate push content in the candidate push list based on the at least one first vector and the at least one second vector ; Based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, the click rate of each candidate push content in the candidate push list is determined.
在一种可能的实现方式中,该第一确定模块503,用于计算该候选推送列表中每一个候选推送内容对应的负向兴趣权重和该至少一个第一向量之间的加权平均值,将该加权平均值作为该候选推送列表中每一个候选推送内容对应的负向兴趣向量;根据该候选推送列表中每一个候选推送内容对应的负向兴趣向量确定对应候选推送内容的点击率。In a possible implementation manner, the first determining module 503 is configured to calculate the weighted average value between the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, and The weighted average is used as the negative interest vector corresponding to each candidate push content in the candidate push list; the click rate of the corresponding candidate push content is determined according to the negative interest vector corresponding to each candidate push content in the candidate push list.
在一种可能的实现方式中,该第二确定模块504,用于按照该候选推送列表中每一个候选推送内容的点击率,对该候选推送列表中的候选推送内容进行排序;根据排序结果从该候选推送列表中选择参考数量的候选推送内容,作为推送内容。In a possible implementation, the second determining module 504 is configured to sort the candidate push content in the candidate push list according to the click-through rate of each candidate push content in the candidate push list; A reference number of candidate push content is selected from the candidate push list as the push content.
在一种可能的实现方式中,该消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;该短时停留内容为用户浏览时间小于目标浏览时间的内容;该首位曝光未点击内容为历史推送内容中排在第一位,且未被点击的内容。In a possible implementation manner, the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content; the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content The clicked content is the first in the historical push content and the content that has not been clicked.
在一种可能的实现方式中,该消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;该短时停留内容为用户浏览时间小于目标浏览时间的内容;该首位曝光未点击内容包括在历史推送内容中显示于页面的第一位,且在该用户已滑动该页面的情况下未被点击的内容。In a possible implementation manner, the negatively affected content includes at least one of short-term stay content and first-place exposure unclicked content; the short-term stay content is content whose user browsing time is less than the target browsing time; and the first-place exposure unclicked content The clicked content includes the content that is displayed in the first position of the page in the historical push content and is not clicked when the user has swiped the page.
上述装置根据历史行为列表中每一个消极影响内容和候选推送内容列表中每一个候选推送内容,确定候选推送列表中每一个候选推送内容的点击率,使得每一个候选推送内容的点 击率的确定更加准确,从而可以增加推送内容的推荐准确度。The above device determines the click rate of each candidate push content in the candidate push list according to each negatively affected content in the historical behavior list and each candidate push content in the candidate push content list, so that the click rate of each candidate push content is more determined. Accurate, which can increase the recommendation accuracy of the pushed content.
需要说明的是:上述实施例提供的内容推送装置在进行内容推送时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将内容推送装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的内容推送装置与内容推送方法实施例属于同一构思,其实现过程详见方法实施例,这里不再赘述。It should be noted that when the content pushing device provided in the above embodiment pushes content, only the division of the above functional modules is used as an example for illustration. In actual applications, the above functions can be allocated by different functional modules as needed. That is, the internal structure of the content pushing device is divided into different functional modules to complete all or part of the functions described above. In addition, the content pushing device provided in the foregoing embodiment and the content pushing method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
图6是本申请实施例提供的一种服务器600的结构示意图,该服务器600可因配置或性能不同而产生比较大的差异,可以包括一个或多个处理器(central processing units,CPU)601和一个或多个存储器602,其中,该一个或多个存储器602中存储有至少一条指令,该至少一条指令由该一个或多个处理器601加载并执行以实现上述方法实施例提供的内容推送方法。当然,该服务器600还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器600还可以包括其他用于实现设备功能的部件,在此不做赘述。6 is a schematic structural diagram of a server 600 provided by an embodiment of the present application. The server 600 may have relatively large differences due to different configurations or performance, and may include one or more central processing units (CPU) 601 and One or more memories 602, wherein at least one instruction is stored in the one or more memories 602, and the at least one instruction is loaded and executed by the one or more processors 601 to implement the content pushing method provided by the above method embodiment . Of course, the server 600 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output. The server 600 may also include other components for implementing device functions, which will not be repeated here.
图7是本申请实施例提供的一种终端的结构示意图。该终端700可以是:智能手机、平板电脑、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端700还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present application. The terminal 700 may be a smart phone, a tablet computer, an MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compression standard audio layer 4) player, a notebook computer, or a desktop computer. The terminal 700 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
通常,终端700包括有:一个或多个处理器701和一个或多个存储器702。Generally, the terminal 700 includes: one or more processors 701 and one or more memories 702.
处理器701可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器701可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器701也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器701可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器701还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 can adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). accomplish. The processor 701 may also include a main processor and a co-processor. The main processor is a processor used to process data in the awake state, also called a CPU (Central Processing Unit, central processing unit); the co-processor is A low-power processor used to process data in the standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing content that needs to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
存储器702可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器702还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器702中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器701所执行以实现本申请实施例中方法实施例提供的内容推送方法。The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 701 to implement the method provided in the embodiment of the present application. Content push method.
在一些实施例中,终端700还可选包括有:外围设备接口703和至少一个外围设备。处理器701、存储器702和外围设备接口703之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口703相连。示例性地,外围设备包括:射频电路704、显示屏705、摄像头组件706、音频电路707、定位组件708和电源709中的至少一种。In some embodiments, the terminal 700 may optionally further include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702, and the peripheral device interface 703 may be connected by a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 703 through a bus, a signal line, or a circuit board. Exemplarily, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera component 706, an audio circuit 707, a positioning component 708, and a power supply 709.
外围设备接口703可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器701和存储器702。在一些实施例中,处理器701、存储器702和外围设备接口703被集成在同一芯片或电路板上;在一些其他实施例中,处理器701、存储器702和外围设备接口703中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 703 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, the processor 701, the memory 702, and the peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 701, the memory 702, and the peripheral device interface 703 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
射频电路704用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路704通过电磁信号与通信网络以及其他通信设备进行通信。射频电路704将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路704包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路704可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路704还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请实施例对此不加以限定。The radio frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 704 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on. The radio frequency circuit 704 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include a circuit related to NFC (Near Field Communication), which is not limited in the embodiment of the present application.
显示屏705用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏705是触摸显示屏时,显示屏705还具有采集在显示屏705的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器701进行处理。此时,显示屏705还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏705可以为一个,设置终端700的前面板;在另一些实施例中,显示屏705可以为至少两个,分别设置在终端700的不同表面或呈折叠设计;在一些实施例中,显示屏705可以是柔性显示屏,设置在终端700的弯曲表面上或折叠面上。甚至,显示屏705还可以设置成非矩形的不规则图形,也即异形屏。显示屏705可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 705 is used to display a UI (User Interface, user interface). The UI can include graphics, text, icons, videos, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to collect touch signals on or above the surface of the display screen 705. The touch signal can be input to the processor 701 as a control signal for processing. At this time, the display screen 705 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards. In some embodiments, there may be one display screen 705, which is provided with the front panel of the terminal 700; in other embodiments, there may be at least two display screens 705, which are respectively arranged on different surfaces of the terminal 700 or in a folding design; In some embodiments, the display screen 705 may be a flexible display screen, which is arranged on a curved surface or a folding surface of the terminal 700. Furthermore, the display screen 705 can also be set as a non-rectangular irregular pattern, that is, a special-shaped screen. The display screen 705 may be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
摄像头组件706用于采集图像或视频。可选地,摄像头组件706包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件706还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The camera assembly 706 is used to capture images or videos. Optionally, the camera assembly 706 includes a front camera and a rear camera. Generally, the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal. In some embodiments, there are at least two rear cameras, each of which is a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera Integrate with the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
音频电路707可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,将声波转换为电信号输入至处理器701进行处理,或者输入至射频电路704以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端700的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器701或射频电路704的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路707还可以包括耳机插孔。The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, convert the sound waves into electrical signals and input them to the processor 701 for processing, or input to the radio frequency circuit 704 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively set in different parts of the terminal 700. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only can the electrical signal be converted into human audible sound waves, but also the electrical signal can be converted into human inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 707 may also include a headphone jack.
定位组件708用于定位终端700的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件708可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。The positioning component 708 is used to locate the current geographic location of the terminal 700 to implement navigation or LBS (Location Based Service, location-based service). The positioning component 708 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.
电源709用于为终端700中的各个组件进行供电。电源709可以是交流电、直流电、一次性电池或可充电电池。当电源709包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。The power supply 709 is used to supply power to various components in the terminal 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 709 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
在一些实施例中,终端700还包括有一个或多个传感器170。该一个或多个传感器170包括但不限于:加速度传感器711、陀螺仪传感器712、压力传感器711、指纹传感器714、光学传感器715以及接近传感器716。In some embodiments, the terminal 700 further includes one or more sensors 170. The one or more sensors 170 include, but are not limited to: an acceleration sensor 711, a gyroscope sensor 712, a pressure sensor 711, a fingerprint sensor 714, an optical sensor 715, and a proximity sensor 716.
加速度传感器711可以检测以终端700建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器711可以用于检测重力加速度在三个坐标轴上的分量。处理器701可以根据加速度传感器711采集的重力加速度信号,控制显示屏705以横向视图或纵向视图进行用户界面的显示。加速度传感器711还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 711 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 700. For example, the acceleration sensor 711 may be used to detect the components of gravitational acceleration on three coordinate axes. The processor 701 may control the display screen 705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for the collection of game or user motion data.
陀螺仪传感器712可以检测终端700的机体方向及转动角度,陀螺仪传感器712可以与加速度传感器711协同采集用户对终端700的3D动作。处理器701根据陀螺仪传感器712采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 712 can detect the body direction and the rotation angle of the terminal 700, and the gyroscope sensor 712 can cooperate with the acceleration sensor 711 to collect the user's 3D actions on the terminal 700. The processor 701 can implement the following functions according to the data collected by the gyroscope sensor 712: motion sensing (for example, changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
压力传感器711可以设置在终端700的侧边框和/或显示屏705的下层。当压力传感器711设置在终端700的侧边框时,可以检测用户对终端700的握持信号,由处理器701根据压力传感器711采集的握持信号进行左右手识别或快捷操作。当压力传感器711设置在显示屏705的下层时,由处理器701根据用户对显示屏705的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 711 may be arranged on the side frame of the terminal 700 and/or the lower layer of the display screen 705. When the pressure sensor 711 is arranged on the side frame of the terminal 700, the user's holding signal of the terminal 700 can be detected, and the processor 701 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 711. When the pressure sensor 711 is arranged on the lower layer of the display screen 705, the processor 701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 705. The operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
指纹传感器714用于采集用户的指纹,由处理器701根据指纹传感器714采集到的指纹识别用户的身份,或者,由指纹传感器714根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器701授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器714可以被设置终端700的正面、背面或侧面。当终端700上设置有物理按键或厂商Logo时,指纹传感器714可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 714 is used to collect the fingerprint of the user, and the processor 701 recognizes the user's identity according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 recognizes the user's identity according to the collected fingerprint. When it is recognized that the user's identity is a trusted identity, the processor 701 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 714 may be provided on the front, back, or side of the terminal 700. When a physical button or a manufacturer logo is provided on the terminal 700, the fingerprint sensor 714 can be integrated with the physical button or the manufacturer logo.
光学传感器715用于采集环境光强度。在一个实施例中,处理器701可以根据光学传感器715采集的环境光强度,控制显示屏705的显示亮度。示例性地,当环境光强度较高时,调高显示屏705的显示亮度;当环境光强度较低时,调低显示屏705的显示亮度。在另一个实施例中,处理器701还可以根据光学传感器715采集的环境光强度,动态调整摄像头组件706的拍摄参数。The optical sensor 715 is used to collect the ambient light intensity. In an embodiment, the processor 701 may control the display brightness of the display screen 705 according to the ambient light intensity collected by the optical sensor 715. Exemplarily, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 may also dynamically adjust the shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 715.
接近传感器716,也称距离传感器,通常设置在终端700的前面板。接近传感器716用于采集用户与终端700的正面之间的距离。在一个实施例中,当接近传感器716检测到用户与终端700的正面之间的距离逐渐变小时,由处理器701控制显示屏705从亮屏状态切换为息屏状态;当接近传感器716检测到用户与终端700的正面之间的距离逐渐变大时,由处理器701控制显示屏705从息屏状态切换为亮屏状态。The proximity sensor 716, also called a distance sensor, is usually arranged on the front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 gradually decreases, the processor 701 controls the display screen 705 to switch from the on-screen state to the off-screen state; when the proximity sensor 716 detects When the distance between the user and the front of the terminal 700 gradually increases, the processor 701 controls the display screen 705 to switch from the rest screen state to the bright screen state.
本领域技术人员可以理解,图7中示出的结构并不构成对终端700的限定,可以包括比 图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 7 does not constitute a limitation on the terminal 700, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
在示例性实施例中,还提供了一种计算机可读存储介质,该存储介质中存储有至少一条程序代码,该至少一条程序代码由计算机设备的处理器加载并执行,以实现上述任一种内容推送方法。In an exemplary embodiment, a computer-readable storage medium is also provided, the storage medium stores at least one piece of program code, and the at least one piece of program code is loaded and executed by a processor of a computer device to implement any of the foregoing Content push method.
可选地,上述计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。Optionally, the foregoing computer-readable storage medium may be Read-Only Memory (ROM), Random Access Memory (RAM), Compact Disc Read-Only Memory, CD-ROM ), magnetic tapes, floppy disks and optical data storage devices.
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that the "plurality" mentioned herein refers to two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.
以上仅为本申请的示例性实施例,并不用以限制本申请实施例,凡在本申请实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请实施例的保护范围之内。The above are only exemplary embodiments of the application, and are not intended to limit the embodiments of the application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the application shall be included in the application Within the protection scope of the embodiment.

Claims (16)

  1. 一种内容推送方法,其中,所述方法包括:A content pushing method, wherein the method includes:
    基于终端的搜索请求,获取候选推送列表,所述候选推送列表中包括至少一个候选推送内容;Obtaining a push candidate list based on the search request of the terminal, where the push candidate list includes at least one push candidate content;
    获取用户的历史行为列表,所述历史行为列表包括消极影响内容;Acquiring a list of historical behaviors of the user, the list of historical behaviors including negative influence content;
    基于所述历史行为列表中每一个消极影响内容和所述候选推送列表中每一个候选推送内容,确定所述候选推送列表中每一个候选推送内容的点击率;Determine the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list;
    按照所述候选推送列表中每一个候选推送内容的点击率,确定推送内容;Determine the push content according to the click rate of each candidate push content in the candidate push list;
    将所述推送内容发送至所述终端。Sending the pushed content to the terminal.
  2. 根据权利要求1所述的方法,其中,所述基于所述历史行为列表中每一个消极影响内容和所述候选推送列表中每一个候选推送内容,确定所述候选推送列表中每一个候选推送内容的点击率,包括:The method according to claim 1, wherein said determining each candidate push content in said candidate push list based on each negative influence content in said historical behavior list and each candidate push content in said candidate push list The click-through rate, including:
    确定所述历史行为列表中每一个消极影响内容对应的向量,得到至少一个第一向量;Determine the vector corresponding to each negative influence content in the historical behavior list to obtain at least one first vector;
    确定所述候选推送列表中每一个候选推送内容对应的向量,得到至少一个第二向量;Determining a vector corresponding to each candidate pushing content in the candidate pushing list to obtain at least one second vector;
    基于所述至少一个第一向量和所述至少一个第二向量,确定所述候选推送列表中每一个候选推送内容的点击率。Based on the at least one first vector and the at least one second vector, the click rate of each candidate push content in the candidate push list is determined.
  3. 根据权利要求2所述的方法,其中,所述基于所述至少一个第一向量和所述至少一个第二向量,确定所述候选推送列表中每一个候选推送内容的点击率,包括:The method according to claim 2, wherein the determining the click-through rate of each candidate push content in the candidate push list based on the at least one first vector and the at least one second vector comprises:
    基于所述至少一个第一向量和所述至少一个第二向量,得到所述候选推送列表中每一个候选推送内容对应的负向兴趣权重;Obtaining, based on the at least one first vector and the at least one second vector, a negative interest weight corresponding to each candidate pushing content in the candidate pushing list;
    基于所述候选推送列表中每一个候选推送内容对应的负向兴趣权重和所述至少一个第一向量,确定所述候选推送列表中每一个候选推送内容的点击率。Based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, the click rate of each candidate push content in the candidate push list is determined.
  4. 根据权利要求3所述的方法,其中,所述基于所述候选推送列表中每一个候选推送内容对应的负向兴趣权重和所述至少一个第一向量,确定所述候选推送列表中每一个候选推送内容的点击率,包括:The method according to claim 3, wherein said determining each candidate in the candidate pushing list based on the negative interest weight corresponding to each candidate pushing content in the candidate pushing list and the at least one first vector The click-through rate of the pushed content, including:
    计算所述候选推送列表中每一个候选推送内容对应的负向兴趣权重和所述至少一个第一向量之间的加权平均值,将所述加权平均值作为所述候选推送列表中每一个候选推送内容对应的负向兴趣向量;Calculate the weighted average between the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, and use the weighted average as each candidate push in the candidate push list The negative interest vector corresponding to the content;
    根据所述候选推送列表中每一个候选推送内容对应的负向兴趣向量确定对应候选推送内容的点击率。The click rate of the corresponding candidate push content is determined according to the negative interest vector corresponding to each candidate push content in the candidate push list.
  5. 根据权利要求1所述的方法,其中,所述按照所述候选推送列表中每一个候选推送内容的点击率,确定推送内容,包括:The method according to claim 1, wherein the determining the push content according to the click-through rate of each candidate push content in the candidate push list comprises:
    按照所述候选推送列表中每一个候选推送内容的点击率,对所述候选推送列表中的候选推送内容进行排序;Sorting the candidate push content in the candidate push list according to the click rate of each candidate push content in the candidate push list;
    根据排序结果从所述候选推送列表中选择参考数量的候选推送内容,作为推送内容。According to the sorting result, a reference number of candidate push content is selected from the candidate push list as the push content.
  6. 根据权利要求1-5任一所述的方法,其中,所述消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;The method according to any one of claims 1 to 5, wherein the negative influence content includes at least one of short-term stay content and first-place exposure unclicked content;
    所述短时停留内容为用户浏览时间小于目标浏览时间的内容;The short stay content is content for which the user's browsing time is less than the target browsing time;
    所述首位曝光未点击内容为历史推送内容中排在第一位,且未被点击的内容。The first exposed unclicked content is the first unclicked content in the historical push content.
  7. 根据权利要求1-5任一所述的方法,其中,所述消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;The method according to any one of claims 1 to 5, wherein the negatively influencing content includes at least one of short-term stay content and first-place exposure unclicked content;
    所述短时停留内容为用户浏览时间小于目标浏览时间的内容;The short stay content is content for which the user's browsing time is less than the target browsing time;
    所述首位曝光未点击内容包括在历史推送内容中显示于页面的第一位,且在所述用户已滑动所述页面的情况下未被点击的内容。The first exposed unclicked content includes content that is displayed first in the page in the historical push content and is not clicked when the user has swiped the page.
  8. 一种内容推送装置,其中,所述装置包括:A content pushing device, wherein the device includes:
    第一获取模块,用于基于终端的搜索请求,获取候选推送列表,所述候选推送列表中包括至少一个候选推送内容;The first obtaining module is configured to obtain a push candidate list based on a search request of the terminal, where the push candidate list includes at least one push candidate content;
    第二获取模块,用于获取用户的历史行为列表,所述历史行为列表包括消极影响内容;The second acquisition module is configured to acquire a user's historical behavior list, where the historical behavior list includes negative influence content;
    第一确定模块,用于基于所述历史行为列表中每一个消极影响内容和所述候选推送列表中每一个候选推送内容,确定所述候选推送列表中每一个候选推送内容的点击率;The first determining module is configured to determine the click rate of each candidate push content in the candidate push list based on each negative influence content in the historical behavior list and each candidate push content in the candidate push list;
    第二确定模块,用于按照所述候选推送列表中每一个候选推送内容的点击率,确定推送内容;The second determining module is configured to determine the push content according to the click rate of each candidate push content in the candidate push list;
    发送模块,用于将所述推送内容发送至所述终端。The sending module is used to send the pushed content to the terminal.
  9. 根据权利要求8所述的装置,其中,所述第一确定模块,用于确定所述历史行为列表中每一个消极影响内容对应的向量,得到至少一个第一向量;确定所述候选推送列表中每一个候选推送内容对应的向量,得到至少一个第二向量;基于所述至少一个第一向量和所述至少一个第二向量,确定所述候选推送列表中每一个候选推送内容的点击率。8. The device according to claim 8, wherein the first determining module is configured to determine a vector corresponding to each negative influence content in the historical behavior list to obtain at least one first vector; and determine the candidate push list The vector corresponding to each candidate push content obtains at least one second vector; based on the at least one first vector and the at least one second vector, the click rate of each candidate push content in the candidate push list is determined.
  10. 根据权利要求9所述的装置,其中,所述第一确定模块,用于基于所述至少一个第一向量和所述至少一个第二向量,得到所述候选推送列表中每一个候选推送内容对应的负向兴趣权重;基于所述候选推送列表中每一个候选推送内容对应的负向兴趣权重和所述至少一个第一向量,确定所述候选推送列表中每一个候选推送内容的点击率。The device according to claim 9, wherein the first determining module is configured to obtain the corresponding content of each candidate push in the candidate push list based on the at least one first vector and the at least one second vector Based on the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, the click rate of each candidate push content in the candidate push list is determined.
  11. 根据权利要求10所述的装置,其中,所述第一确定模块计算所述候选推送列表中每一个候选推送内容对应的负向兴趣权重和所述至少一个第一向量之间的加权平均值,将所述加权平均值作为所述候选推送列表中每一个候选推送内容对应的负向兴趣向量;根据所述候选推送列表中每一个候选推送内容对应的负向兴趣向量确定对应候选推送内容的点击率。The apparatus according to claim 10, wherein the first determining module calculates a weighted average value between the negative interest weight corresponding to each candidate push content in the candidate push list and the at least one first vector, The weighted average is used as the negative interest vector corresponding to each candidate push content in the candidate push list; the click of the corresponding candidate push content is determined according to the negative interest vector corresponding to each candidate push content in the candidate push list Rate.
  12. 根据权利要求8所述的装置,其中,所述第二确定模块按照所述候选推送列表中每一个候选推送内容的点击率,对所述候选推送列表中的候选推送内容进行排序;根据排序结果 从所述候选推送列表中选择参考数量的候选推送内容,作为推送内容。8. The device according to claim 8, wherein the second determining module sorts the candidate push content in the candidate push list according to the click-through rate of each candidate push content in the candidate push list; according to the sorting result A reference number of candidate push content is selected from the candidate push list as the push content.
  13. 根据权利要求8-12任一所述的装置,其中,所述消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;所述短时停留内容为用户浏览时间小于目标浏览时间的内容;所述首位曝光未点击内容为历史推送内容中排在第一位,且未被点击的内容。The device according to any one of claims 8-12, wherein the negatively influencing content includes at least one of short-term stay content and top-exposure unclicked content; the short-term stay content is that the user browsing time is less than the target browsing time Time content; the first exposed unclicked content is the first unclicked content in the historical push content.
  14. 根据权利要求8-12任一所述的装置,其中,所述消极影响内容包括短时停留内容和首位曝光未点击内容中的至少一种;所述短时停留内容为用户浏览时间小于目标浏览时间的内容;所述首位曝光未点击内容包括在历史推送内容中显示于页面的第一位,且在所述用户已滑动所述页面的情况下未被点击的内容。The device according to any one of claims 8-12, wherein the negatively influencing content includes at least one of short-term stay content and top-exposure unclicked content; the short-term stay content is that the user browsing time is less than the target browsing time Time content; the first exposed unclicked content includes content that is displayed first in the page in the historical push content and is not clicked when the user has swiped the page.
  15. 一种服务器,其中,所述服务器包括处理器和存储器,所述存储器中存储有至少一条程序代码,所述至少一条程序代码由所述处理器加载并执行,以实现如权利要求1至7任一所述的内容推送方法。A server, wherein the server includes a processor and a memory, and at least one piece of program code is stored in the memory, and the at least one piece of program code is loaded and executed by the processor to implement any of claims 1 to 7 1. The content push method described.
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有至少一条程序代码,所述至少一条程序代码由处理器加载并执行,以实现如权利要求1至7任一所述的内容推送方法。A computer-readable storage medium, wherein at least one piece of program code is stored in the computer-readable storage medium, and the at least one piece of program code is loaded and executed by a processor, so as to implement any one of claims 1 to 7 Content push method.
PCT/CN2021/087230 2020-04-29 2021-04-14 Content pushing WO2021218634A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010354131.5A CN111563201A (en) 2020-04-29 2020-04-29 Content pushing method, device, server and storage medium
CN202010354131.5 2020-04-29

Publications (1)

Publication Number Publication Date
WO2021218634A1 true WO2021218634A1 (en) 2021-11-04

Family

ID=72071592

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/087230 WO2021218634A1 (en) 2020-04-29 2021-04-14 Content pushing

Country Status (2)

Country Link
CN (1) CN111563201A (en)
WO (1) WO2021218634A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563201A (en) * 2020-04-29 2020-08-21 北京三快在线科技有限公司 Content pushing method, device, server and storage medium
CN112989198B (en) * 2021-03-30 2022-06-07 北京三快在线科技有限公司 Push content determination method, device, equipment and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428044A (en) * 2000-09-20 2003-07-02 皇家菲利浦电子有限公司 Method and apparatus for generating recommendation scores using implicit and explicit viewing preference
CN104965890A (en) * 2015-06-17 2015-10-07 深圳市腾讯计算机系统有限公司 Advertisement recommendation method and apparatus
CN108307207A (en) * 2017-12-28 2018-07-20 北京达佳互联信息技术有限公司 A kind of video pushing method and device
CN108710656A (en) * 2018-05-10 2018-10-26 苏州跃盟信息科技有限公司 A kind of content delivery method and device
CN109522426A (en) * 2018-12-05 2019-03-26 北京达佳互联信息技术有限公司 Multi-medium data recommended method, device, equipment and computer readable storage medium
CN111563201A (en) * 2020-04-29 2020-08-21 北京三快在线科技有限公司 Content pushing method, device, server and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004194108A (en) * 2002-12-12 2004-07-08 Sony Corp Information processor and information processing method, recording medium, and program
CN103544663B (en) * 2013-06-28 2017-06-09 Tcl集团股份有限公司 The recommendation method of network open class, system and mobile terminal
CN109862432A (en) * 2019-01-31 2019-06-07 厦门美图之家科技有限公司 Clicking rate prediction technique and device
CN109829116B (en) * 2019-02-14 2021-07-30 北京达佳互联信息技术有限公司 Content recommendation method and device, server and computer readable storage medium
CN110489644B (en) * 2019-08-13 2024-06-25 腾讯科技(北京)有限公司 Information pushing method, information pushing device, computer readable storage medium and computer equipment
CN110830812B (en) * 2019-10-31 2021-11-30 广州市网星信息技术有限公司 Similar anchor classification model training method, anchor recommendation method and related device
CN110929206B (en) * 2019-11-20 2023-04-07 腾讯科技(深圳)有限公司 Click rate estimation method and device, computer readable storage medium and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428044A (en) * 2000-09-20 2003-07-02 皇家菲利浦电子有限公司 Method and apparatus for generating recommendation scores using implicit and explicit viewing preference
CN104965890A (en) * 2015-06-17 2015-10-07 深圳市腾讯计算机系统有限公司 Advertisement recommendation method and apparatus
CN108307207A (en) * 2017-12-28 2018-07-20 北京达佳互联信息技术有限公司 A kind of video pushing method and device
CN108710656A (en) * 2018-05-10 2018-10-26 苏州跃盟信息科技有限公司 A kind of content delivery method and device
CN109522426A (en) * 2018-12-05 2019-03-26 北京达佳互联信息技术有限公司 Multi-medium data recommended method, device, equipment and computer readable storage medium
CN111563201A (en) * 2020-04-29 2020-08-21 北京三快在线科技有限公司 Content pushing method, device, server and storage medium

Also Published As

Publication number Publication date
CN111563201A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN109918669B (en) Entity determining method, device and storage medium
WO2022033227A1 (en) Information display method and device
WO2022057435A1 (en) Search-based question answering method, and storage medium
CN109902089B (en) Query method and device using heterogeneous index, electronic equipment and medium
WO2022088765A1 (en) Interaction processing method and computer device
WO2021218634A1 (en) Content pushing
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN113032587B (en) Multimedia information recommendation method, system, device, terminal and server
CN111796990A (en) Resource display method, device, terminal and storage medium
CN112989198B (en) Push content determination method, device, equipment and computer-readable storage medium
CN112000264B (en) Dish information display method and device, computer equipment and storage medium
CN113469779A (en) Information display method and device
CN110149408B (en) Service data display method and device, terminal and server
CN111782950A (en) Sample data set acquisition method, device, equipment and storage medium
CN111159551B (en) User-generated content display method and device and computer equipment
CN112230822B (en) Comment information display method and device, terminal and storage medium
CN112417263B (en) Data recommendation method, device and storage medium
CN112560472B (en) Method and device for identifying sensitive information
CN113051485A (en) Group searching method, device, terminal and storage medium
CN110928913A (en) User display method, device, computer equipment and computer readable storage medium
CN111258673A (en) Fast application display method and terminal equipment
CN111753154B (en) User data processing method, device, server and computer readable storage medium
CN112100528B (en) Method, device, equipment and medium for training search result scoring model
CN111526221B (en) Domain name quality determining method, device and storage medium
CN111581481B (en) Search term recommendation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21796204

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21796204

Country of ref document: EP

Kind code of ref document: A1