Push processing method, related apparatus and medium
By combining the content to be pushed with the time period and using a task completion probability prediction model, the problem of the timing of push and the content being out of sync on the content push platform has been solved, and higher push accuracy has been achieved.
Patent Information
- Application Number
- CN202310634821.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-05-31
AI Technical Summary
On content delivery platforms, existing technologies cannot effectively combine the timing and content of push notifications, resulting in poor accuracy.
By combining the content to be pushed with the time period to be pushed, and using a task completion probability prediction model, the probability of the target audience completing the task within a specific time period is determined, thereby optimizing the matching of content and time period and improving the accuracy of push notifications.
It enables more accurate delivery of content to target audiences within specific time periods, thus improving the effectiveness of content delivery.
Smart Images

Figure CN119071352B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of big data, and in particular to a push processing method, related apparatus and medium. Background Technology
[0002] On content delivery platforms, to avoid disturbing users, frequency control measures are typically implemented, such as sending two content notifications per day (e.g., short video notifications). However, the timing and content of push notifications are determined based on different models, leading to a disconnect between the chosen content and the timing. Some content requires specific timing to achieve optimal delivery results. The best content to push without considering timing often differs significantly from the best content to push with timing in mind, resulting in inaccurate delivery. Summary of the Invention
[0003] This disclosure provides a push processing method, related apparatus, and medium that can improve the accuracy of content push.
[0004] According to one aspect of this disclosure, a push notification processing method is provided, comprising:
[0005] Obtain a set of content to be pushed, which contains multiple pieces of content to be pushed;
[0006] Obtain a set of time periods to be pushed, which includes multiple time periods to be pushed divided into a predetermined push cycle;
[0007] The features of each content to be pushed in the set of content to be pushed and each time period to be pushed in the set of time periods to be pushed are combined in a first combination. Each first combination is combined with the object features of the target object and input into the task completion probability prediction model to obtain the predicted first task completion probability. The first task completion probability is the probability that the target object completes the task for the content to be pushed in the time period to be pushed.
[0008] Based on the first task completion probability of each first combination, a first target combination is determined among multiple first combinations;
[0009] The time period to be pushed in the first target combination is taken as the target time period, and a reminder message corresponding to the content to be pushed is pushed to the target object during the target time period.
[0010] According to one aspect of this disclosure, a push processing apparatus is provided, comprising:
[0011] The first acquisition unit is used to acquire a set of content to be pushed, which includes multiple pieces of content to be pushed.
[0012] The second acquisition unit is used to acquire a set of time periods to be pushed, which includes multiple time periods to be pushed divided into a predetermined push cycle;
[0013] The first input unit is used to combine the features of each content to be pushed in the set of content to be pushed and each time period to be pushed in the set of time periods to be pushed, and input each first combination together with the object features of the target object into the task completion probability prediction model to obtain the predicted first task completion probability, wherein the first task completion probability is the probability that the target object completes the task for the content to be pushed in the time period to be pushed.
[0014] The first determining unit is configured to determine a first target combination among a plurality of first combinations based on the first task completion probability of each first combination;
[0015] The push unit is used to take the time period to be pushed in the first target combination as the target time period, and push the reminder message corresponding to the content to be pushed to the target object during the target time period.
[0016] Optionally, the first input unit is specifically used to: input each of the first combinations together with the object features of the target object and the scene features in which the target object is located into the task completion probability prediction model to obtain a predicted first task completion probability; wherein, the first task completion probability is the probability that the target object completes the task in the scene for the content to be pushed during the push period.
[0017] Optionally, the push unit is specifically used for:
[0018] Obtain the set of sub-time periods to be pushed for the target time period, which includes multiple sub-time periods to be pushed.
[0019] Among the multiple first combinations, the first combination with the target time period is obtained, and among the first combinations with the target time period, the filtered first combination is selected based on the first task completion probability.
[0020] Each of the first filtered combinations and each of the sub-time periods to be pushed in the set of sub-time periods to be pushed are combined into a second combination. Each second combination, together with the object features of the target object, is input into the task completion probability prediction model to obtain the predicted second task completion probability. The second task completion probability is the probability that the target object completes the task for the content to be pushed in the sub-time period to be pushed in the time period to be pushed.
[0021] Based on the second task completion probability of each second combination, a second target combination is determined among multiple second combinations;
[0022] The period to be pushed in the second target combination is taken as the target period, the sub-period to be pushed is taken as the target sub-period, and the content to be pushed is taken as the target content. During the target sub-period of the target period, a reminder message corresponding to the target content is pushed to the target object.
[0023] Optionally, the push unit is specifically used to: input each of the second combinations together with the object features of the target object and the scene features in which the target object is located into the task completion probability prediction model to obtain the predicted second task completion probability; wherein, the second task completion probability is the probability that the target object completes the task for the content to be pushed in the sub-time period to be pushed during the time period to be pushed and in the scene.
[0024] Optionally, the push processing device further includes:
[0025] The third acquisition unit is specifically used to acquire the added content generated on the content push platform between the generation time of the content set to be pushed and the current time;
[0026] The addition unit is specifically used to add the combination of the features of the added content and the target time period to the first combination after filtering.
[0027] Optionally, the push unit is specifically used for:
[0028] In the first combination with the target time period, determine a first number of the first combinations in which the probability of completing the first task is greater than a first threshold;
[0029] If the first number is not less than the second threshold, then the first number of the first combinations are taken as the first combination after filtering; otherwise, the first second threshold number of the first combinations are taken in descending order of the first task completion probability as the first combination after filtering.
[0030] Optionally, the task completion probability prediction model is trained in the following manner:
[0031] Obtain a sample push event set, wherein the sample push event set contains multiple sample push events, each sample push event contains sample object features, sample content to be pushed features, sample push time period, and sample push sub-time period, and each sample push event has a task training label, the task training label indicating whether the sample object has completed the task for the sample content to be pushed, in the sample push sub-time period of the sample push time period;
[0032] From the sample push event, extract a first sample and a second sample, wherein the first sample includes the sample object features, the sample content features to be pushed, and the sample push time period, and the second sample includes the sample object features, the sample content features to be pushed, the sample push time period, and the sample push sub-time period;
[0033] The first sample and the second sample extracted from each of the sample push events are input into the task completion probability prediction model for training.
[0034] Optionally, the step of inputting the first sample and the second sample extracted from each of the sample push events into the task completion probability prediction model for training includes:
[0035] For each of the first sample and the second sample, for a single task, an error sub-function for the single task is determined based on the training label of the single task and the first task completion probability predicted by the task completion probability prediction model;
[0036] Based on the error sub-functions of multiple tasks, the error function of the sample is determined;
[0037] The task completion probability prediction model is trained based on the error function of each sample.
[0038] Optionally, the task completion probability prediction model includes a vectorization layer, a cascaded layer, multiple expert sub-models, multiple gating nodes corresponding to multiple tasks, and multiple prediction sub-models;
[0039] The first input unit is specifically used for:
[0040] Each of the first combinations and the object features of the target object are vectorized, and the vectorization results are concatenated to obtain the first feature vector.
[0041] The first feature vector is input into multiple expert sub-models;
[0042] By using the gate node corresponding to each task, the outputs of multiple expert sub-models are weighted and summed to obtain the second feature vector corresponding to the task;
[0043] The second feature vector corresponding to the task is input into the prediction model corresponding to the task to obtain the first task completion probability corresponding to the task.
[0044] Optionally, the first input unit is specifically used for:
[0045] Obtain the weight vector of the gate node, the weight vector indicating the weights of the multiple expert sub-models;
[0046] By using the gate node, the outputs of multiple expert sub-models are weighted and summed using the weight vector to obtain a second feature vector corresponding to the task.
[0047] Optionally, the first input unit is specifically used for:
[0048] Obtain a first matrix, wherein the number of rows in the first matrix is the number of expert sub-models, and the number of columns is the dimension of the first feature vector;
[0049] The weight vector of the gated node is obtained by multiplying the first matrix with the transpose of the first eigenvector and normalizing the result by exponential processing.
[0050] Optionally, the first input unit is specifically used for:
[0051] The characteristics of the content to be pushed, the time period to be pushed, and the characteristics of the object are used as the basic characteristics for pushing;
[0052] If the basic feature of the push is a character-type feature, the character-type feature is input into the embedding layer to obtain the vectorized result corresponding to the character-type feature;
[0053] If the basic feature of the push is a numerical feature, the numerical feature is numerically mapped to obtain the vectorized result corresponding to the numerical feature;
[0054] If the basic feature of the push is a variable-length sequence feature, the variable-length sequence feature is pooled to obtain the vectorized result corresponding to the variable-length sequence feature.
[0055] Optionally, the first acquisition unit is specifically used for:
[0056] Obtain the first tag of the target object;
[0057] Retrieve the second tag of the original content in the original content set;
[0058] Based on the matching degree between the first tag and the second tag, the set of content to be pushed is filtered out from the original content set.
[0059] Optionally, the first acquisition unit is specifically used for:
[0060] Based on the matching degree, the matching content that matches the first tag and the second tag is filtered out from the original content set;
[0061] Obtain multiple push metrics for each of the matched contents;
[0062] Based on multiple push metrics, the content to be pushed is selected from the matched content to form the set of content to be pushed.
[0063] Optionally, the first determining unit is specifically used for:
[0064] Among the multiple tasks, the task of interest for the target object is obtained;
[0065] From the first task completion probabilities of the multiple tasks in the first combination, obtain the first task completion probability of the task of interest in the first combination;
[0066] A first target combination is determined among the multiple first combinations based on the first task completion probability of the attention task of the multiple first combinations.
[0067] Optionally, the first determining unit is specifically used for:
[0068] If there are multiple tasks of concern, the first overall first task completion probability of the first combination is determined based on the first task completion probability of each of the multiple tasks of concern in the first combination.
[0069] Based on the first overall first task completion probability of multiple first combinations, a first target combination is determined among the multiple first combinations.
[0070] According to one aspect of this disclosure, an electronic device is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the push processing method as described above.
[0071] According to one aspect of this disclosure, a computer-readable storage medium is provided, the storage medium storing a computer program that, when executed by a processor, implements the push processing method as described above.
[0072] According to one aspect of this disclosure, a computer program product is provided, the computer program product including a computer program that is read and executed by a processor of a computer device, causing the computer device to perform the push processing method as described above.
[0073] In this embodiment, multiple content items to be pushed and multiple time periods to be pushed are combined in pairs. The content items and time periods in each combination are input into a prediction model along with object features. The prediction model predicts the probability that the target object will complete a task (e.g., like, comment) on the content items at the designated push time. Based on the probability, a suitable push time period and content are determined, and the content is pushed during the determined push time period. Because this embodiment combines possible content items and possible push time periods in pairs and filters based on the first task completion probability obtained for each combination, the content items and push time periods are not isolated but interconnected during the filtering process. This achieves optimization of content items under time period constraints and optimization of push time periods under content constraints, improving the accuracy of content push.
[0074] Other features and advantages of this disclosure will be set forth in the following description and will be apparent in part from the description or may be learned by practicing the disclosure. The objectives and other advantages of this disclosure may be realized and obtained by means of the structures particularly pointed out in the description, claims and drawings. Attached Figure Description
[0075] The accompanying drawings are provided to further understand the technical solutions of this disclosure and constitute a part of the specification. They are used together with the embodiments of this disclosure to explain the technical solutions of this disclosure and do not constitute a limitation on the technical solutions of this disclosure.
[0076] Figure 1 This is a system architecture diagram of the push processing method according to an embodiment of the present disclosure;
[0077] Figure 2A -C is a schematic diagram of the interface in the scenario of video content push message application of the embodiments of this disclosure;
[0078] Figure 3 This is a flowchart of a push processing method according to an embodiment of the present disclosure;
[0079] Figure 4 yes Figure 3 A flowchart of obtaining the set of content to be pushed in step 310;
[0080] Figure 5 This is a diagram illustrating how the set of content to be pushed is selected based on the matching degree of the first tag and the second tag;
[0081] Figure 6 yes Figure 4 A flowchart of the process of filtering the set of content to be pushed in step 430;
[0082] Figure 7 This is a diagram illustrating the selection of content to be pushed based on multiple push metrics;
[0083] Figure 8 yes Figure 3 A flowchart for determining the number of time periods to be pushed in step 320;
[0084] Figure 9 yes Figure 3 A schematic diagram of the first combination in step 330;
[0085] Figure 10 yes Figure 3 In step 330, a flowchart is used to obtain the predicted first task completion probability using the task completion probability prediction model.
[0086] Figure 11A This is a schematic diagram of step 330;
[0087] Figure 11B Is Figure 11A Based on this, add a schematic diagram of the scene features where the target object is located;
[0088] Figure 12A -C is a schematic diagram illustrating the generation of vectorized results for different types of push basic features;
[0089] Figure 13 yes Figure 10 A flowchart of step 1030;
[0090] Figure 14 yes Figure 13 A flowchart of step 1310;
[0091] Figure 15 yes Figure 3 A flowchart of step 340 in which the first target combination is determined from multiple first combinations;
[0092] Figure 16 This is a flowchart for determining the first target combination based on multiple attention tasks;
[0093] Figure 17 yes Figure 3 A flowchart of step 350, which involves pushing a reminder message corresponding to the content to be pushed to the target object during the target time period;
[0094] Figure 18 yes Figure 17 A schematic diagram of step 1720 in which the first combination after filtering is selected based on the completion probability of the first task;
[0095] Figure 19 yes Figure 17 A flowchart for selecting the first group after filtering in step 1720;
[0096] Figure 20 Is Figure 17 After step 1720, add a flowchart for adding content;
[0097] Figure 21 This is a diagram illustrating the process of adding new content to the first group after filtering.
[0098] Figure 22 yes Figure 17 A schematic diagram of the second combination in step 1730;
[0099] Figure 23 This is a schematic diagram of the second target combination;
[0100] Figure 24 This is a flowchart for training a task completion probability prediction model;
[0101] Figure 25 This is an example diagram of extracting the first and second samples from a sample push event;
[0102] Figure 26 yes Figure 24 A flowchart of training the task completion probability prediction model in step 2430;
[0103] Figure 27 This is an implementation detail diagram of the push processing method according to an embodiment of the present disclosure.
[0104] Figure 28 This is a block diagram of a push processing apparatus according to an embodiment of the present disclosure;
[0105] Figure 29 Based on embodiments of this disclosure Figure 3 The terminal structure diagram of the push processing method shown is shown below;
[0106] Figure 30 Based on embodiments of this disclosure Figure 3 The server 140 structure diagram of the push processing method shown is illustrated. Detailed Implementation
[0107] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and are not intended to limit the scope of this disclosure.
[0108] Before providing a further detailed description of the embodiments of this disclosure, the terms and concepts used in these embodiments are explained, and they are subject to the following interpretations:
[0109] Deep neural networks are multi-layered unsupervised neural networks. They learn features by using the output features of the previous layer as input to the next layer. Through layer-by-layer feature mapping, they map the features of existing spatial samples to another feature space, thereby learning a better feature representation of the existing input. Deep neural networks possess multiple non-linear feature transformations, enabling them to fit highly complex functions.
[0110] Gradient descent algorithm: a loss function minimization method that calculates the gradient of the loss function at the current position, updates the parameters in the direction of gradient descent, and finds the optimal solution that minimizes the value of the loss function.
[0111] Normalization index (softmax function): Compresses a K-dimensional vector containing arbitrary real numbers into another K-dimensional vector, such that each element is in the range (0,1) and the sum of all elements is 1.
[0112] System architecture and scenario description of the embodiments disclosed herein
[0113] Figure 1 This is a system architecture diagram of the push processing method applied according to embodiments of the present disclosure. It includes: a target terminal 110, an Internet 120, a gateway 130, and a server 140.
[0114] The target terminal 110 is a device used by the target to view the notification messages corresponding to the pushed content. It includes various forms such as desktop computers, laptops, PDAs (Personal Digital Assistants), mobile phones, in-vehicle terminals, home theater terminals, and dedicated terminals. Furthermore, it can be a single device or a collection of multiple devices. For example, multiple devices can be connected via a local area network, sharing a single display device to work collaboratively, forming a single terminal. The terminal can also communicate with the Internet 120 via wired or wireless means to exchange data.
[0115] Gateway 130, also known as an internetwork connector or protocol converter, is a computer system or device that enables network interconnection at the transport layer and acts as a translator. It bridges the gap between two systems using different communication protocols, data formats, languages, or even completely different architectures. Gateway 130 also provides filtering and security functions. Messages sent from target terminal 110 to server 140 are forwarded to the corresponding server 140 via gateway 130. Messages sent from server 140 to target terminal 110 are also forwarded to the corresponding target terminal 110 via gateway 130.
[0116] Server 140 refers to a computer system capable of providing content message push services to target terminal 110. Compared to target terminal 110, server 140 has higher requirements in terms of stability, security, and performance. Server 140 can be a single high-performance computer in a network platform, a cluster of multiple high-performance computers, a portion of a single high-performance computer (e.g., a virtual machine), or a combination of portions of multiple high-performance computers (e.g., virtual machines). Server 140 can also communicate with the Internet 120 via wired or wireless means to exchange data.
[0117] The embodiments disclosed herein can be applied in various scenarios, such as Figure 2A -C illustrates scenarios such as viewing video content push notifications in instant messaging applications.
[0118] like Figure 2A The interface of the instant messaging application in the terminal 110 shown is illustrated. The instant messaging application can be used for instant communication with multiple contacts and for watching videos. After triggering the "SMS" option in the function bar below, a message list is displayed. The message list includes message bars for multiple contacts and a message push bar for video recommendations. At 10:00 AM, there are no new message pushes in the video recommendation message bar. Until 2:00 PM, the instant messaging application's message interface is as follows... Figure 2B As shown.
[0119] exist Figure 2B In the notification bar, a new message is pushed to the recipient, displaying: "You have received an unread message. We recommend video A that you may be interested in." The recipient can watch the recommended video A by clicking the new message in the notification bar or by triggering the "Video" option in the function bar below. When the recipient triggers the "Video" option, the instant messaging application interface looks like this. Figure 2C As shown.
[0120] exist Figure 2C In the instant messaging application, a video interface is opened, and a recommended video A is played. The playback interface also displays the number of likes, favorites, and comments that video A has received up to the current time. Users can also like, favorite, and comment on video A within the interface. The video content and push time pushed to users are determined by server 140. If the content pushed to a user is not what the user wants to watch at the current push time, then even if the pushed content is of interest to the user, the user will not click to watch the content after receiving the push message. Therefore, considering the push timing is crucial when pushing reminder messages corresponding to content to users. This embodiment of the disclosure can improve the accuracy of content push by simultaneously considering the push time period and the push content.
[0121] General Description of Embodiments in this Disclosure
[0122] According to one embodiment of this disclosure, a push processing method is provided.
[0123] The push notification method involves determining the target content and target time period for the target object, and then pushing the reminder message corresponding to the target content to the target object's terminal 110 during the target time period. The target object is the object that wants to view the target content. This embodiment can be applied to pushing different types of content; the target content can be images, videos, articles, applications, etc. The target time period is the time period during which the reminder message corresponding to the target content is pushed to the target object. For example, if the target time period is 8:00-9:00 and the target content is content A, then a reminder message for content A will be sent to the target object at some point between 8:00 and 9:00. To avoid disturbing the target object, a push frequency is generally set. For example, two time periods within a day may be selected as target time periods.
[0124] The push processing method of this embodiment is executed on server 140. After determining the target content and target time period, the reminder message corresponding to the target content is pushed to the target terminal 110 via network and Internet 120 during the target time period.
[0125] Currently, one method determines the target content and target time period separately using independent models. However, this method may result in poor push performance when the target content is pushed to the target audience during the target time period. For example, model A determines the target time period as 6:00 PM to 8:00 PM; model B determines the target content as educational content. However, the target audience is unlikely to view educational content between 6:00 PM and 8:00 PM. Therefore, when a reminder message for the target content is pushed to the target audience during this time period, the target audience is not interested, resulting in poor push performance. If the reminder message for the target content is pushed to the target audience between 10:00 AM and 12:00 PM, when the target audience is studying, they are more likely to view the target content based on the reminder message. This disclosure's embodiments determine the target content and target time period jointly based on a combination of the content to be pushed and the time period to be pushed, enabling the push of target content during the target time period to achieve better push performance and improve push accuracy.
[0126] like Figure 3 As shown, according to one embodiment of this disclosure, the push processing method includes:
[0127] Step 310: Obtain the set of content to be pushed, which contains multiple pieces of content to be pushed;
[0128] Step 320: Obtain the set of time periods to be pushed, which includes multiple time periods to be pushed divided into a predetermined push cycle;
[0129] Step 330: Combine the features of each content to be pushed in the content to be pushed set with the features of each time period to be pushed in the time period to be pushed set. Input each first combination with the object features of the target object into the task completion probability prediction model to obtain the predicted first task completion probability.
[0130] Step 340: Based on the first task completion probability of each first combination, determine the first target combination among multiple first combinations;
[0131] Step 350: Take the time period to be pushed in the first target combination as the target time period, and push the reminder message corresponding to the content to be pushed to the target object during the target time period.
[0132] The following is a detailed description of steps 310-350 above.
[0133] Detailed description of step 310
[0134] In step 310, the content to be pushed is content that the target audience may be interested in. The content to be pushed is selected from the set of content to be pushed as the target content.
[0135] In one embodiment, such as Figure 4 As shown, the set of content to be pushed is obtained, including:
[0136] Step 410: Obtain the first tag of the target object;
[0137] Step 420: Obtain the second tag of the original content in the original content set;
[0138] Step 430: Based on the matching degree of the first tag and the second tag, filter out the content set to be pushed from the original content set.
[0139] In step 410, the first tag refers to the content tag that the target object may be interested in.
[0140] In one embodiment, the first tag of the target object can be obtained by obtaining the first tag that the target object has chosen in advance.
[0141] Note that you must obtain the target's consent before acquiring their first tag. Furthermore, the collection, use, and processing of the first tag will comply with relevant laws, regulations, and standards. When obtaining the target's consent, you can obtain their individual permission or consent through pop-up windows or redirection to a confirmation page.
[0142] When a target user uses software that pushes content, they need to select a tag of interest from a variety of tags provided by the software system as their first tag. For example, the software system provides tags such as "learning," "pets," "games," "sports," "movies," "basketball," "music," and "health." The target user selects "pets," "games," "movies," or "music" as their first tag based on their preferences. When retrieving the target user's first tag, the system can directly retrieve the first tag chosen by the target user.
[0143] The advantage of directly obtaining the first tag chosen by the target object is that it is more efficient, and the first tag is always a content type that the target object is interested in, which improves the accuracy of obtaining the first tag.
[0144] In another embodiment, the target object's first tag can be obtained through the target object's historical viewing logs within a predetermined time period prior to the current time. The historical viewing logs refer to records of the pushed content viewed by the target object within a predetermined time period prior to the current time period.
[0145] The scheduled time period can be one hour, one day, one week, one month, etc. The scheduled time period can be determined based on how frequently the target audience views the push notifications. If the target audience views the push notifications frequently, a shorter viewing period can be used to obtain the types of content they are interested in recently; if the target audience views the push notifications infrequently, a longer viewing period is needed to ensure sufficient data to obtain the target audience's primary tags. The scheduled time period can also be determined based on the type of push notification content. For example, if the push notification content is video, a longer time period can be used to obtain the target audience's long-term preferences; if the push notification content is news, due to the time-sensitive nature of news, a shorter time period is needed.
[0146] Note that obtaining the target's historical viewing logs also requires obtaining the target's consent.
[0147] The content recorded in the viewing history log can include: viewing time, viewing content, content type, whether it was watched in its entirety, and whether there were other actions (such as liking, commenting, or saving the content). For example, Table 1 is an example of the target object's viewing history log for the day prior to the current time.
[0148]
[0149]
[0150] Table 1
[0151] As shown in Table 1, the target user watched content A on May 1, 2023. Content A is a "movie" and the target user watched it completely, but did not perform any other operations on it. "Whether it was watched completely" and "Whether there were any other operations" are tasks related to the watched content in a viewing record. Tasks can also be "Whether it was liked" or "Whether it was commented on", etc.
[0152] Based on the historical viewing logs in Table 1, the first tag of the target object can be obtained.
[0153] In one embodiment, obtaining the first tag of the target object through historical viewing logs includes: determining the target object's preference for the pushed content by counting the number of task completions of viewing logs of each content type in the historical viewing logs; and using the preferred content type as the target object's first tag.
[0154] Because the viewing history log records whether the target audience watched the content completely and whether they performed any other actions, it's possible to make a preliminary judgment about their attitude towards the content. For example, in the viewing history log shown in Table 1, the target audience watched content D completely and performed actions such as liking or commenting on it, indicating they were very interested in content D. However, they neither watched content C completely nor performed any actions on it, suggesting they were not interested in it. By statistically analyzing the number of times the viewing task was completed for the same content type, the target audience's level of interest in that content type can be determined.
[0155] For example, Table 2 shows the statistics of the number of times the viewing tasks for each content type in the historical viewing log in Table 1 were completed.
[0156] Content type Number of views Other operation counts Movie 12 8 music 10 6 read 4 1 pet 15 10 …… …… ……
[0157] Table 2
[0158] As shown in Table 2, the target object watched the content of type "movie" 12 times and performed other operations 8 times.
[0159] Note that when obtaining viewing content of various content types from the historical viewing log, the consent of the target audience must be obtained.
[0160] In one embodiment, the first tag of the target object is determined by statistically analyzing the number of task completions for each content type in the historical viewing log. This includes: calculating the average number of task completions for each content type; and determining the first tag of the target object based on the average of the operational attributes of all content types. For example, according to the task completion statistics for each content type in Table 2, the average number of task completions for movie content is (12+8) / 3 = 10; and the average number of task completions for music content is (10+6) / 2 = 8. After determining the average number of task completions for each content type, the content types are ranked in descending order of the average, and a predetermined number of content types in the ranking are selected as the first tag of the target object. For example, after calculating the average number of task completions for each content type in Table 2, the content types are ranked according to the average, and the top 3 content types in the ranking are selected as the first tag of the target object, which are "pets," "movies," and "music." The advantage of using the average to determine the first tag of the target object is that it fairly reflects the impact of each task on the target object's preferences, improving the fairness of determining the first tag.
[0161] In another embodiment, the first tag of the target object is determined by statistically analyzing the number of task completions for each content type in the historical viewing log. This includes: assigning a weight to each task completion count; and ranking the target object based on the weighted average of task completion counts for all content types to determine the first tag. The reason for assigning weights to different task completion counts is that different tasks may have different impacts on the target object's level of interest. For example, the target object may be more interested in content for which other operations (such as liking or commenting) have been performed than in content for which the content has only been viewed in its entirety. Therefore, weights can be assigned to represent the impact of different tasks on the target object's level of interest. For example, the weight for "number of times the content was viewed in its entirety" is 0.3, and the weight for "number of times other operations were performed" is 0.7. The weighted average of the number of task completions for different content types is calculated based on these weights. For example, in Table 2, the weighted average of the number of task completions for movie content is 12*0.3 + 8*0.7 = 9.2; and the weighted average of the number of task completions for music content is 10*0.3 + 6*0.7 = 7.2. After determining the weighted average of the number of task completions for each content type, the content types are ranked from highest to lowest according to the weighted average, and a predetermined number of content types in the ranking are selected as the first tag of the target object. For example, selecting the top 3 content types in Table 2 as the first tag of the target object, the final first tags of the target object are "pets," "movies," and "music." The advantage of using the weighted average result to determine the first tag of the target object is that different weights can be set for different task completion counts according to the actual application, which improves the flexibility of determining the first tag.
[0162] Obtaining the first tag of a target object by analyzing historical viewing logs can help determine the target object's content preferences in a recent period, thus improving the accuracy of obtaining the first tag.
[0163] In step 420, the original content set includes original content of various types to meet the push requirements of target audiences with different preferences. The second tag indicates the type of original content.
[0164] In one embodiment, obtaining the second tag of the original content in the original content set includes: obtaining the second tag set by the publishing object of the original content for the original content.
[0165] When an object publishes original content, it can set a second tag for the original content. For example, when an object publishes original content, the tags set for the original content are: "music" and "guitar".
[0166] Note that when obtaining the second tag for the original content, you must obtain the consent of the original content's publisher.
[0167] When retrieving the second tag of the original content, the tag set by the publishing object can be directly obtained. The advantage of this embodiment is that it improves the efficiency of retrieving the second tag.
[0168] In another embodiment, obtaining the second tag of the original content in the original content set includes: inputting the original content into a tag prediction model; and the tag prediction model outputting the second tag of the original content. For example, inputting original content into the tag prediction model yields the second tag of the original content as "movie" or "funny".
[0169] The advantage of using a label prediction model to output a second label is that it improves the accuracy of obtaining the second label.
[0170] Note that when obtaining the original content and inputting it into the tag prediction model, you must obtain the consent of the original content's publisher.
[0171] In step 430, the matching degree of the first tag and the second tag represents the matching degree between the original content and the target audience's preferences. The original content that meets the predetermined matching conditions is added to the content set to be pushed.
[0172] In one embodiment, the degree of matching between the first tag and the second tag is the percentage of overlapping tags between the second tag and the first tag among all second tags. For example... Figure 5 As shown, the target object's first tags include "pets," "games," "movies," and "music." The second tags of original content A in the original content set are "movies" and "funny," one of which belongs to the target object's first tag. Therefore, the match between the second and first tags of original content A is 50%. Similarly, all the second tags of original content B belong to the target object's first tag; therefore, the match between the second and first tags of original content B is 100%. Of the three second tags of original content C, "pets" and "movies" belong to the target object's first tag; therefore, the match between the second and first tags of original content C is 66.7%. Of the three second tags of original content D, "games" belongs to the target object's first tag; therefore, the match between the second and first tags of original content D is 33.3%. Original content E has no second tags that match its first tag; therefore, the match is 0%. The advantage of determining the match degree by the proportion of overlapping tags among all second tags is that it allows for quick determination of the match between the original content and the target object's preferences, improving the efficiency of obtaining the content set to be pushed.
[0173] Original content that matches a predetermined condition is added to the content set to be pushed. In one embodiment, the predetermined condition refers to adding original content whose match with the first tag is greater than or equal to a preset match threshold to the content set to be pushed. For example, the preset match threshold is 50%, based on... Figure 5 The matching degree between the first tag and the second tag is shown. Original content with a matching degree greater than or equal to 50% is added to the content set to be pushed. Therefore, the content set to be pushed includes original content A (match degree 50%), original content B (match degree 100%), and original content C (match degree 66.7%). In this embodiment, the advantage of determining the content set to be pushed based on the matching degree threshold is that it ensures that the content to be pushed in the content set is highly matched with the target object, thus improving the accuracy of determining the content to be pushed from the content to be pushed.
[0174] In another embodiment, the preset condition could be: ranking the matching degree of the original content; setting a fixed number, and adding the first fixed number of original content items to the content set to be pushed according to the matching degree ranking from high to low. For example, if the fixed number is set to 10, then the top 10 original content items with the highest matching degree with the first tag are selected from the original content set and added to the content set to be pushed. When the matching degree of the first tag of the target object and the second tag of the original content is low, if the content to be pushed is filtered according to the matching degree threshold, it may be that the number of content items in the content set to be pushed cannot meet the requirements for pushing to the target object. Therefore, through this embodiment, it can be ensured that the number of content items to be pushed in the content set to be pushed meets the requirements for pushing to the target object. By analyzing the target object's reaction to the content in the content set to be pushed, a more accurate first tag can be obtained, so as to improve the matching degree between the target object and the original content in subsequent filtering, thereby obtaining content with a higher matching degree. Therefore, in this embodiment, the advantage of determining the content set to be pushed based on the matching degree ranking is that it provides data support for obtaining a more accurate first tag of the target object, thereby improving the accuracy of determining the content to be pushed in the content set to be pushed step by step.
[0175] In one embodiment, such as Figure 6 As shown, based on the matching degree of the first tag and the second tag, a set of content to be pushed is filtered from the original content set, including:
[0176] Step 610: Based on the matching degree, filter out the matching content that matches the first tag and the second tag from the original content set;
[0177] Step 620: Obtain multiple push metrics for each matched content;
[0178] Step 630: Based on multiple push metrics, filter out the content to be pushed from the matched content to form a set of content to be pushed.
[0179] In step 610, the process of filtering matching content from the original content set based on the matching degree between the first tag and the second tag is the same as the process of filtering the content set to be pushed in step 430 of the aforementioned embodiment, and will not be repeated here.
[0180] In step 620, the push metrics for matched content refer to the metrics used to evaluate the effectiveness of content push. Push effectiveness refers to the target audience's response to the notification message corresponding to the push content. For example, whether the target audience views the push content via notification message, whether the target audience completes viewing the push content, whether the target audience likes or comments on the push content, etc. Push metrics are the statistical representation of the content push effectiveness into specific numerical values for evaluation. Push metrics can be push conversion rate, completion rate, like rate, or comment rate, etc.
[0181] When obtaining multiple push metrics for each matched content, the consent of the recipient of the matched content must be obtained.
[0182] For example Figure 7 As shown, the obtained matching content includes: Matching Content A, Matching Content B, and Matching Content C. The push metrics for each matching content are obtained separately. The push metrics for Matching Content A include: push conversion rate (0.72), completion rate (0.56), like rate (0.68), and comment rate (0.46), etc. Similarly, the push metrics for Matching Content B and Matching Content C can be obtained.
[0183] In step 630, content to be pushed is filtered from the matched content based on multiple push metrics. Since push metrics are numerical representations of the content's push effectiveness, pushing content determined based on these metrics to the target audience may yield better push results. For example, in... Figure 7 In the process, based on the push metrics of three matching contents, the final set of content to be pushed includes matching content A and matching content B.
[0184] In one embodiment, content to be pushed is selected from the matched content based on multiple push metrics to form a set of content to be pushed, including: determining the push score of the matched content based on the values of multiple push metrics; and selecting the content to be pushed based on the push scores of all matched content.
[0185] In one embodiment, the push score for matching content can be determined by summing the values of multiple push metrics. For example, in Figure 7In the example, the push score for matching content A is 0.72 + 0.56 + 0.68 + 0.46 = 2.42; the push score for matching content B is 0.66 + 0.72 + 0.77 + 0.57 = 2.72; and the push score for matching content C is 0.32 + 0.45 + 0.42 + 0.39 = 1.58. The advantage of using the summation to calculate the push score is that it equally reflects the impact of different push metrics on the matched content.
[0186] In another embodiment, the push score for matched content can be determined by calculating a weighted sum of multiple push metrics. In this embodiment, a weight needs to be assigned to each push metric. Based on the example above, the weight of the push conversion rate is 0.7, the weight of the completion rate is 0.5, the weight of the like rate is 0.6, and the weight of the comment rate is 0.6. The push score for matched content A is 0.72*0.7+0.56*0.5+0.68*0.6+0.46*0.6=1.468; the push score for matched content B is 0.66*0.7+0.72*0.5+0.77*0.6+0.57*0.6=1.626; and the push score for matched content C is 0.32*0.7+0.45*0.5+0.42*0.6+0.39*0.6=0.935. The advantage of using weighted summation to calculate push scores is that it allows for flexible setting of the weights of different push metrics based on actual application scenarios, thus improving the flexibility of filtering content to be pushed.
[0187] After determining the push score for all matching content, the content to be pushed is filtered according to the push score based on predetermined criteria. These predetermined criteria can be:
[0188] Set a push score threshold to select content that has a push score greater than the push score threshold as content to be pushed.
[0189] Alternatively, the matched content can be sorted from highest to lowest according to the push score, and the first predetermined number of matched content can be used as the content to be pushed.
[0190] The method of filtering content to be pushed based on the push score is similar to the method of filtering content to be pushed based on the matching degree between the first tag and the second tag in the previous embodiment, and will not be described again here.
[0191] The advantage of determining the content to be pushed based on the push score of each matching content is that the calculation speed is fast, which improves the efficiency of determining the set of content to be pushed.
[0192] The advantage of the embodiment of steps 610-630 is that the original content is further filtered based on the push indicators, so that the filtered content to be pushed is the content with better push effect among the matching content, which is conducive to improving the push effect.
[0193] The advantage of the embodiment of steps 410-430 is that the original content is initially screened according to the tags of the target object, ensuring that the content to be pushed is highly matched with the target object, saving computing resources and improving the matching degree between the content to be pushed and the target object.
[0194] Detailed description of step 320
[0195] The set of time slots to be pushed is a collection of candidate time slots for pushing content to the target audience, containing multiple time slots to be pushed. The predetermined push period is divided into multiple time slots to be pushed according to a predetermined number. The predetermined push period refers to the time period during which content is pushed to the target audience. For example, pushing content to the target audience once or multiple times each day, or once or multiple times each week. The predetermined number refers to the number of multiple time slots to be pushed within the preset predetermined push period.
[0196] In one embodiment, such as Figure 8 As shown, the number of push-to-send time periods in the push-to-send time period set is determined in the following way:
[0197] Step 810: Obtain the prediction accuracy requirements;
[0198] Step 820: Based on the number of content to be pushed in the content set to be pushed and the prediction accuracy requirements, determine the number of time periods to be pushed.
[0199] Prediction accuracy requirement refers to the required precision of the probability of completing the first task. Accuracy requirements can be 0.1, 0.01, etc. A precision requirement of 0.1 means the probability of task completion is constrained to the tenths place; a precision requirement of 0.01 means the probability of task completion is constrained to the hundredths place, and so on. Higher accuracy requirements result in a more accurate probability of completing the first task, but the time range that can be limited may be smaller, and the number of time periods to be pushed may be larger.
[0200] The more content to be pushed in the set, the larger the time range and the more push time periods there may be. This is because in subsequent steps, the content to be pushed needs to be combined with the push time periods. If there are too many pieces of content to be pushed, and too many push time periods due to the small time range, then the number of combinations will be large, resulting in excessive computation and potentially reduced computational efficiency and memory utilization.
[0201] In one embodiment, the number of push time periods is determined based on the number of content to be pushed in the content set and the prediction accuracy requirement, including:
[0202] The first score is determined based on the number of content to be pushed.
[0203] Determine the second score based on the required prediction accuracy;
[0204] Determine the total score based on the first and second scores;
[0205] Based on the total score, determine the number of time slots to be pushed.
[0206] Based on the number of content to be pushed, the first score is determined to pass the first lookup table. Table 3 shows an example of a first lookup table.
[0207] Number of content to be pushed First score 1-100 100 101-200 90 201-300 80 …… Greater than 1000 10
[0208] Table 3
[0209] Referring to Table 3, if the number of content to be pushed is 230, then the corresponding first score is 80.
[0210] Based on the required prediction accuracy, a second lookup table can be used to determine the second score. Table 4 shows an example of a second lookup table.
[0211] Prediction accuracy requirements Second score 0.0001 100 0.001 80 0.01 60 0.1 40
[0212] Table 4
[0213] Referring to Table 4, if the required prediction accuracy is 0.01, then the second score corresponding to the required prediction accuracy is 60.
[0214] The total score is calculated based on the first score and the second score. In one embodiment, the total score is calculated using the average. For example, if the first score is 80 and the second score is 60, then the total score is (80+60) / 2 = 70. The advantage of using the average to calculate the total score is that it ensures that the number of content to be pushed and the prediction accuracy requirements have the same impact on the calculation of the total score, thus improving the fairness of determining the number of push periods.
[0215] In another embodiment, a weighted average is used to calculate the total score. In this embodiment, weights need to be assigned to the first score and the second score. For example, if the weight of the first score is 0.6 and the weight of the second score is 0.4, and the first score is 80 and the second score is 60, then the total score is 80*0.6 + 60*0.4 = 72. The advantage of using a weighted average to calculate the total score is that different weights can be flexibly assigned to the first and second scores according to the needs of the actual application, improving the flexibility in determining the number of push notification periods.
[0216] The number of push notification slots is determined based on the total score. The higher the total score, the more push notification slots are required.
[0217] In one embodiment, the number of pushable time slots can be determined using a third lookup table of total scores and the number of pushable time slots. Table 5 shows an example of such a third lookup table.
[0218] Total score Number of push notification periods 91-100 20 81-90 18 71-80 16 61-70 14 …… 12
[0219] Table 5
[0220] Reference Figure 5 If the total score is 75, then the number of push periods is 16, which means that the scheduled push period is divided into 16 push periods.
[0221] The advantage of using a third lookup table to determine the number of time periods to be pushed is that it is easy to query and has high processing efficiency.
[0222] This embodiment can quickly determine the number of push periods by fraction, improving the efficiency of dividing the predetermined push period into multiple push periods.
[0223] The advantage of the embodiment of steps 810-820 is that the number of push periods is determined according to the number of content to be pushed and the accuracy requirement of the completion probability of the first task, so that the number of push periods can meet the requirements of the task and improve the accuracy of dividing the push periods.
[0224] Detailed description of step 330
[0225] In step 330, the features of each content to be pushed in the content to be pushed set are first combined with each time period to be pushed in the time period set. The first combination means sequentially combining the features of each content to be pushed with all the time periods of the content to be pushed in the time period set. For example... Figure 9As shown, the content to be pushed includes: content A, content B, and content C; the time periods to be pushed include: 0:00-4:00, 4:00-8:00, 8:00-12:00, 12:00-16:00, 16:00-20:00, and 20:00-24:00. The feature of the content to be pushed, A, is sequentially combined with the push time periods in the push time period set to obtain multiple first combinations: (feature of content to be pushed, 0:00-4:00), (feature of content to be pushed, 4:00-8:00), ..., and (feature of content to be pushed, 20:00-24:00); then the feature of the content to be pushed, B, is sequentially combined with the push time periods in the push time period set to obtain multiple first combinations: (feature of content to be pushed, B, 0:00-4:00), (feature of content to be pushed, B, 4:00-8:00), ..., and (feature of content to be pushed, B, 20:00-24:00); then the feature of the content to be pushed, C, is sequentially combined with the push time periods in the push time period set to obtain multiple first combinations: (feature of content to be pushed, C, 0:00-4:00), (feature of content to be pushed, C, 4:00-8:00), ..., and (feature of content to be pushed, C, 20:00-24:00).
[0226] After forming multiple first combinations, each first feature is combined with the object features of the target object and input into the task to complete the prediction probability model.
[0227] The target audience's characteristics refer to the features related to the target audience. These characteristics can be features inherent to the target audience itself, such as its industry or education level. For the same characteristic, different feature values may lead to different content preferences from the target audience. For example, target audiences in different industries may have different content preferences. Taking video content as an example, those in the news industry might be more interested in videos related to trending events, while those in the food and beverage industry might prefer health and wellness videos.
[0228] Note that when obtaining the characteristics of a target object, you must obtain the target object's consent beforehand. Furthermore, the collection, use, and processing of these characteristics must comply with relevant laws, regulations, and standards. When obtaining the target object's consent, you can obtain their individual permission or consent through pop-up windows or redirection to a confirmation page.
[0229] Target characteristics can also be the characteristics of the target target's target group (such as family or work groups). This is because, in some cases, an object's content preferences are greatly influenced by their target group. For example, an object may enjoy music-related videos, but if other members of their family group enjoy game-related videos, the object may also be interested in game-related videos. Considering the characteristics of the target target's target group can improve the accuracy of content recommendations. Similarly, when obtaining the characteristics of the target target's target group (such as family or work groups), it is necessary to obtain the consent of the group members beforehand, which will not be elaborated upon here.
[0230] The task completion prediction probability model is used to predict the probability that a target audience will complete the first task related to the content to be pushed during the time period in the first combination. A task refers to an item related to the content to be pushed, used to measure the target audience's level of interest in the content. For example, a task might be whether the target audience likes or saves the content to be pushed.
[0231] In one embodiment, the task completion probability prediction model is used to predict the probability of a target object completing the first task among multiple tasks during the pending push period. The task completion probability prediction model includes a vectorization layer, a cascaded layer, multiple expert sub-models, multiple gating nodes corresponding to multiple tasks, and multiple prediction sub-models.
[0232] like Figure 10 As shown, each first combination, along with the object features of the target object, is input into the task completion probability prediction model to obtain the predicted first task completion probability, including:
[0233] Step 1010: Vectorize each first combination and the object features of the target object, and concatenate the vectorization results to obtain the first feature vector;
[0234] Step 1020: Input the first feature vector into multiple expert sub-models;
[0235] Step 1030: By using the gate node corresponding to each task, the outputs of multiple expert sub-models are weighted and summed to obtain the second feature vector corresponding to the task.
[0236] Step 1040: Input the second feature vector corresponding to the task into the prediction model corresponding to the task to obtain the first task completion probability corresponding to the task.
[0237] The process of steps 1010-1040 is as follows: Figure 11A As shown in the figure, the right side of the figure represents multiple first combinations of the features of the content to be pushed and the time period to be pushed. One of the first combinations, along with the object features, is input into the vectorization layer of the task completion probability prediction model.
[0238] In another embodiment, each first combination, together with the object features of the target object, is input into the task completion probability prediction model to obtain the predicted first task completion probability. This includes: inputting each first combination, together with the object features of the target object and the scene features in which the target object is located, into the task completion probability prediction model to obtain the predicted first task completion probability.
[0239] Scene features refer to the characteristics of the current scene in which the target object views the push notification content. The same target object may view different push notification content in different scenes. For example, in a work setting, the target object may be more likely to view work-related push notification content; at home, they may be more likely to view push notification content related to their personal preferences. Therefore, scene features also affect the probability of completing the first task. The probability of completing the first task is the probability that the target object will complete the task related to the push notification content in the given scene during the waiting period. Scene features include: the target object's current geographical location, the current input day type (weekday, weekend, or holiday), etc.
[0240] When obtaining the scene characteristics of the target object, the target object's consent must be obtained in advance, similar to the above, so it will not be repeated.
[0241] The current geographical location refers to the characteristics of the geographical area where the target audience is currently located. This geographical area can be an administrative region, such as City A or City B, or a geographical area defined by physical entities on a map, such as the XX shopping mall area or the XX hospital area. For administrative geographical areas, the content pushed to the target audience will have an impact. For example, if the target audience is in City A, the pushed content could be related to tourist attractions or food culture in City A. For geographical areas defined by physical entities, the pushed content will also have an impact on the content pushed to the target audience. For example, if the target audience is in the XX shopping mall area, the pushed content could be information about activities or special projects in that mall; if the target audience is in the XX hospital area, the pushed content could be related to health and wellness.
[0242] The current input day type feature refers to the type of day the target audience views the push notification content. It is categorized into weekdays, weekends, and holidays. The type of push notification content the target audience wants to view may differ depending on the type of day. For example, on weekdays (Monday to Friday), the target audience is often at work and may want to view work-related content; on weekends (Saturday and Sunday), when the target audience is not working, they may want to view content related to their hobbies; and on holidays, the target audience may want to view content related to holiday culture.
[0243] like Figure 11BAs shown, object features, scene features, and each first combination are input into the vectorization layer of the task completion probability prediction model for feature vectorization.
[0244] The advantage of inputting scene features, along with object features and the first combination, into the task completion probability prediction model is that it takes into account the influence of the scene on the content preference of the target object, thereby improving the accuracy of predicting the first task completion probability.
[0245] At the vectorization layer, since the object features, the features of the content to be pushed in the first combination, and the features of the time period to be pushed contain multiple types of features, it is necessary to vectorize the features into a machine-learnable form.
[0246] In one embodiment, vectorizing each first combination with the object features of the target object includes:
[0247] The characteristics of the content to be pushed, the time period to be pushed, and the characteristics of the target audience are used as the basic characteristics of the push.
[0248] If the basic feature of the push is a character-type feature, input the character-type feature into the embedding layer to obtain the vectorized result corresponding to the character-type feature;
[0249] If the basic feature being pushed is a numerical feature, the numerical feature is mapped numerically to obtain the vectorized result corresponding to the numerical feature;
[0250] If the basic feature pushed is a variable-length sequence feature, the variable-length sequence feature is pooled to obtain the vectorized result corresponding to the variable-length sequence feature.
[0251] Based on the aforementioned embodiment of inputting scenario features into the task completion probability prediction model, the basic features for push notifications can include scenario features in addition to the features of the content to be pushed, the time period to be pushed, and the object features.
[0252] The basic features of push notifications can be character-based features, such as industry features in object features and geographical region features in scene features.
[0253] If the basic feature of the push notification is a character-type feature, the character-type feature can be input into the embedding layer to obtain the vectorized result corresponding to the character-type feature.
[0254] Since character-based features are sequences of characters, each character is treated as a discrete symbol, which machines cannot recognize. The role of the embedding layer is to transform these discrete characters into vectors that machines can understand. For example... Figure 12AAs shown, after the character feature "tourism" is input into the embedding layer, the first feature vector [1,0,1,0,...,1,1,0] is obtained; after the character feature "music" is input into the embedding layer, the first feature vector [0,0,1,0,...,0,1,0] is obtained; after the character feature "science popularization" is input into the embedding layer, the first feature vector [1,1,0,1,...,1,0,0] is obtained.
[0255] The basic features of push notifications can also be numerical features, such as the content push volume feature in the features of the content to be pushed.
[0256] If the basic feature being pushed is a numerical feature, the numerical feature is mapped numerically to obtain the vectorized result corresponding to the numerical feature.
[0257] Numerical mapping can be a process of converting numerical values into their corresponding binary form. For example... Figure 12B The numerical mapping transformations shown are as follows: The vectorized result of the numerical feature "33" after numerical transformation is "00100001"; the vectorized result of the numerical feature "620" after numerical transformation is "1001101100"; and the vectorized result of the numerical feature "99" after numerical transformation is "01100011".
[0258] Push notification features can also be variable-length sequence features. Variable-length sequence features refer to string features consisting of a large number of characters, but not an indeterminate number. For example, a custom signature for an object within an object feature.
[0259] If the basic feature pushed is a variable-length sequence feature, the variable-length sequence feature is pooled to obtain the vectorized result corresponding to the variable-length sequence feature.
[0260] Pooling is a process of reducing the dimensionality of a high-dimensional vector. Specifically, pooling combines several feature values within a predetermined neighborhood of a high-dimensional vector generated from features of a variable-length sequence into a new feature value. For example... Figure 12CAs shown, the variable-length sequence feature is the object's custom signature. The object's custom signature is "The scenery is beautiful,...". Based on the variable-length sequence feature, a corresponding high-dimensional feature vector can be obtained, which is [0,1,0,0,0,1,1,1,1,1,0,1,0,0,0,0,0,1,1,1,0,1,1,1]. The preset neighborhood value is set to 3, meaning that every 3 adjacent features in the high-dimensional feature vector are considered as a neighborhood, and the features in a neighborhood are integrated into a single feature value. The integration method can be to take the average value of the features in the neighborhood as the feature value of the neighborhood. For example, in the above high-dimensional feature vector, the first neighborhood is [0,1,0], and the average value of the features in this neighborhood is 0.33, therefore the feature value of this neighborhood is 0.33. The second neighborhood is [0,0,1], and the average value of the features in this neighborhood is 0.33, therefore the feature value of this neighborhood is 0.33. Similarly, the feature values of the subsequent neighborhoods are 1, 0.67, 0, 0.33, 0.67, and 1, respectively. Therefore, the vectorized result of this variable-length sequence feature after pooling is [0.33, 0.33, 1, 0.67, 0, 0.33, 0.67, 1].
[0261] Integrating several features within a preset neighborhood into a new feature can also be achieved by taking the maximum value of the feature quantity in the neighborhood as the feature value of the neighborhood. For example, in the high-dimensional feature vector mentioned above, if the value of the preset neighborhood is set to 3 and the maximum value in the neighborhood is taken as the feature value of the neighborhood, then the first feature vector obtained after pooling of the variable-length sequence feature is [1,1,1,1,0,1,1,1].
[0262] In this embodiment, the advantage of using different vectorization methods for different types of push basic features is that the features can be vectorized according to the characteristics of different types of push basic features, thus ensuring the accuracy of the feature vectorization results.
[0263] Each feature is processed through a vector layer to obtain a corresponding vectorized result. All vectorized results corresponding to all features are then input into a concatenated layer, which concatenates all vectorized results into a single vector.
[0264] Concatenating all vectorized results refers to the process of chaining the vectorized results together in the order of their outputs to form a single vector. For example, the vectorized results might include: [1,0,1,1,0,1,1,0], [0,0,1,0,1,0,1,0], [0,0,0,1,1,0,1,1], [0,1,1,1,1,0,0,1,0,1]. Concatenating these results yields the first eigenvector: [1,0,1,1,0,1,1,0,0,0,1,0,1,0,0,0,0,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1].
[0265] like Figure 11A (or Figure 11B As shown, after obtaining the first feature vector from the cascaded layer output, the first feature vector is input into multiple expert sub-models. These expert sub-models are used to analyze and calculate each dimension of the first feature vector to balance the sharing and mutual exclusion among multiple tasks. Each expert sub-model produces an output based on the input first feature vector. The outputs of the multiple expert sub-models are then input into the gating node corresponding to the task.
[0266] Each task corresponds to a gate node, which integrates the outputs of the expert sub-models into a higher-order vector specific to the task. Within each gate node, the outputs of multiple expert sub-models are weighted and summed to obtain the second feature vector corresponding to the task.
[0267] In one embodiment, such as Figure 13 As shown, by using the gating node corresponding to each task, the outputs of multiple expert sub-models are weighted and summed to obtain the second feature vector corresponding to the task, including:
[0268] Step 1310: Obtain the weight vector of the gate node. The weight vector indicates the weights of multiple expert sub-models.
[0269] Step 1320: Using the gate node, the outputs of multiple expert sub-models are weighted and summed using the weight vector to obtain the second feature vector corresponding to the task.
[0270] A weight vector refers to the weights of the outputs of multiple expert sub-models within a single gate node corresponding to a task, used to output the second feature vector corresponding to the task. The weights of the same expert sub-model's output may differ across different gate nodes. This is because different gate nodes correspond to different tasks, and the contribution of the same expert sub-model may vary for different tasks.
[0271] In one embodiment, such as Figure 14 As shown, the weight vector of the gated node is obtained, including:
[0272] Step 1410: Obtain the first matrix;
[0273] Step 1420: Multiply the first matrix by the transpose of the first eigenvector, and normalize the result by an exponent to obtain the weight vector of the gated node.
[0274] The first matrix is a trainable parameter matrix. The number of rows in the first matrix represents the number of expert sub-models, and the number of columns represents the dimension of the first eigenvector. The dimension of the first eigenvector is the sum of the dimensions of the vectorized results of all features. For example, if there are 4 expert sub-models and the dimension of the first eigenvector is 10, then the first matrix will have 4 rows and 10 columns.
[0275] Multiplying the first matrix by the transpose of the first eigenvector is equivalent to multiplying a matrix by a column vector, resulting in a column vector with a dimension equal to the number of expert sub-models.
[0276] For example, the first matrix is Therefore, the number of expert sub-models is 3, and the dimension of the first feature vector is 4; the first feature vector is [0,1,1,1]. The result of multiplying them is:
[0277] Following the order of the expert sub-models in the task completion probability prediction model, each row in the multiplication result represents the weight of an expert sub-model in the gating node.
[0278] The result of the multiplication is normalized exponentially to obtain the weight vector. Normalization exponential processing limits each value in the result of the multiplication operation to a specific range, ensuring that the first weights of different models are within the same range and are comparable. The normalization exponential processing uses the softmax function. The softmax function takes the result of multiplying the first matrix and the first eigenvector as input and outputs the weight vector of the gate node. Therefore, the process of calculating the first weight of the first shared model is shown in Equation 1:
[0279] g t (X) = softmax(W) t ·X T ) (Formula 1).
[0280] In Formula 1, W t The first matrix in the gating node corresponding to the task, X refers to the first eigenvector, and g is the first matrix in the gating node. t (X) refers to the weight vector of the gating node corresponding to the task. Each row of the weight vector represents the weight of an expert sub-model.
[0281] The advantage of obtaining the weight vector through normalized exponent processing in this embodiment is that the first weights of each model are within the same numerical range, which can more effectively reflect the influence of different expert sub-models on obtaining the second feature vector and improve the accuracy of obtaining the second feature vector.
[0282] In step 1320, at the gate node, the outputs of multiple expert sub-models are weighted and summed using weight vectors to obtain the second feature vector corresponding to the task. The process of obtaining the second feature vector is shown in Formula 2:
[0283]
[0284] In Formula 2, g t (X) refers to the weight vector of the gated node, where i represents the weight of the i-th expert sub-model in the weight vector, and e i (X) refers to the output of the i-th expert sub-model. The output of the expert sub-model is multiplied by the weights, and then the results of the K (number of expert sub-models) multiplications are summed to obtain the second feature vector.
[0285] The advantage of the embodiment in steps 1310-1320 is that by weighting the output of the expert sub-model based on the weight vector, it reflects the different influences of different expert sub-models on the task and improves the accuracy of determining the second feature vector corresponding to the task.
[0286] like Figure 11A (or Figure 11B As shown, after the gate node outputs the second feature vector, it is input into the prediction sub-model corresponding to the task. The prediction sub-model outputs the probability of the target object completing the first task related to the content to be pushed during the waiting period. For example, the task corresponding to the prediction sub-model is: whether the target object will like the content to be pushed during the period from 1:00 to 2:00. Inputting the second feature vector into the prediction sub-model, the probability of completing the first task output by the prediction sub-model is 0.65, meaning that the target object has a 65% probability of liking the content to be pushed during the period from 1:00 to 2:00.
[0287] The process of obtaining the first task completion probability of the corresponding task from the prediction sub-model is shown in Formula 3:
[0288]
[0289] In Formula 3, p represents the second feature vector output by the gating node corresponding to the task. t θ represents the probability of completing the first task obtained from the prediction sub-model; t (*) indicates the prediction sub-model corresponding to the task, which can be a deep neural network model.
[0290] The advantage of the embodiment of steps 1010-1040 is that by analyzing the target object's preference for the content to be pushed during the push period through multiple tasks, the prediction results are more comprehensive, and the accuracy of determining the first target combination based on the completion probability of the first task is improved.
[0291] Detailed description of step 340
[0292] In step 340, the first target combination is determined based on the first task completion probability of each first combination.
[0293] The first target combination is the combination of the time period to be pushed to the target audience and the content to be pushed.
[0294] The number of first target combinations can be determined based on the preset number of pushes to the target audience within the predetermined push period. For example, if the predetermined push period is 1 day and the preset number of pushes is 1, then only 1 first target combination needs to be determined from all first combinations; similarly, if the preset number of pushes is 3, then 3 first target combinations need to be determined from all first combinations.
[0295] Based on the completion probability of the first task of each first group, determine the first target group, including: sorting the completion probabilities of the first task of all first groups from high to low; and selecting the top N first groups in the sort as the first target group, where N represents the preset number of pushes.
[0296] In the foregoing embodiments, the task completion probability prediction model is used to predict the first task completion probability of multiple tasks. Therefore, in one embodiment, determining a first target combination based on the first task completion probability of each first combination includes: determining a first overall task completion probability of the first combination based on the first task completion probability of the first combination for multiple tasks; and determining a first target combination based on the first overall task completion probability of each first combination.
[0297] In one embodiment, the first overall task completion probability of the first combination can be calculated by averaging the first task completion probabilities of multiple tasks. For example, the task completion probability prediction model predicts the first task completion probabilities of the first combination for the three tasks as 0.34, 0.56, 0.74, and 0.59, respectively. Therefore, the first overall task completion probability of the first combination is (0.34 + 0.56 + 0.74 + 0.59) / 4 = 0.56. The advantage of using the average to determine the first overall task completion probability is that it ensures that the first task completion probability of each task has the same impact on determining the first target combination, thus improving the fairness of determining the first target combination in multi-task scenarios.
[0298] Determining the first target combination based on the first overall task completion probability of each first combination includes: sorting the first overall task completion probabilities of all first combinations; and selecting the top N first combinations from the sorting as the first target combinations.
[0299] In this embodiment, the advantage of determining the first target combination based on the first task completion probability of multiple tasks is that it comprehensively considers the impact of each task on determining the first target combination, thereby improving the comprehensiveness of determining the first target combination.
[0300] In another embodiment, such as Figure 15 As shown, based on the first task completion probability of each first combination, a first target combination is determined from multiple first combinations, including:
[0301] Step 1510: Among multiple tasks, obtain the tasks that the target object is interested in;
[0302] Step 1520: Obtain the first task completion probability of the task of interest in the first group from the first task completion probabilities of multiple tasks in the first group;
[0303] Step 1530: Based on the first task completion probability of the multiple first combinations, determine the first target combination among the multiple first combinations.
[0304] The target audience's attention task refers to the task among multiple tasks that represents their interest in the pushed content. For example, multiple tasks might include: liking, commenting, and sharing. If the target audience likes to comment on content that interests them when viewing pushed content, then their attention task is "commenting."
[0305] In one embodiment, obtaining the target object's attention tasks includes: obtaining the target object's task completion table for a predetermined time period before the current time; and determining the target object's attention tasks based on the task completion table.
[0306] When acquiring the attention of a target audience, their consent must be obtained beforehand. This is similar to the previous points, so it will not be repeated here.
[0307] The task completion table is used to track the completion status of various tasks by the target object within a predetermined time period prior to the current time. Table 6 shows an example of a task completion table.
[0308] Task Number of tasks completed (within 1 day) Like or dislike 10 Comment 5 Add to favorites 2
[0309] Table 6
[0310] Table 6 shows the statistics of the number of times the target object completed each task in the day prior to the current time. The number of times "liked" was 10, "commented" was 5, and "favorited" was 2.
[0311] Determining the tasks of interest for a target object based on the task completion table can be done by selecting the task with the highest number of completions as the task of interest for the target object.
[0312] Taking the task completion table in Table 6 as an example, the task "Whether to Like" was completed 10 times, the highest number among all tasks. This means the target audience tends to like content they are interested in. Therefore, "Whether to Like" is a task of interest to the target audience.
[0313] In this embodiment, the number of times the target object completes each task is counted to determine the tasks to be followed, ensuring that the tasks to be followed are the actions that the target object performs most frequently in response to the pushed content, thus improving the accuracy of obtaining the tasks to be followed.
[0314] After obtaining the target object's focus task, the first task completion probability of the focus task is obtained from the first task completion probabilities of multiple tasks. For example, if the target object's focus task is task B, the first task completion probability of task B corresponding to the first combination A is 0.56, the first task completion probability of task B corresponding to the first combination B is 0.37, and the first task completion probability of task B corresponding to the first combination C is 0.73.
[0315] The first groups are sorted in descending order of the probability of completing the first task of the target task. The top N groups are selected as the first target groups. This is because a higher probability of completing the first task of the target task means that the target audience is more likely to complete the target task, which means that the target audience is more likely to be interested in the content to be pushed during the push period in the first group. For example, assuming the number of pushes N is 1, based on the above example, the first group with the highest probability of completing the first task of task B is selected as the first target group. Therefore, the first target group is the first group C.
[0316] The advantage of the embodiment of steps 1510-1530 is that the first target combination is determined by the first task completion probability of the target object's attention task, which improves the matching degree between the first target combination and the target object and improves the accuracy of obtaining the first target combination.
[0317] In another embodiment, such as Figure 16 As shown, based on the first task completion probability of the multiple first combinations of attention tasks, a first target combination is determined among the multiple first combinations, including:
[0318] Step 1610: If there are multiple tasks of interest, determine the first overall task completion probability of the first group based on the first task completion probability of the multiple tasks of interest in each first group.
[0319] Step 1620: Based on the first overall task completion probability of multiple first combinations, determine the first target combination among the multiple first combinations.
[0320] The target audience may perform multiple tasks in response to content they are interested in. For example, if the target audience is interested in a push notification, they may like and comment on it.
[0321] If there are multiple tasks to focus on, then obtain the first task completion probability of each task to focus on in the first group, and then determine the first overall task completion probability of the first group based on the first task completion probability of each task to focus on.
[0322] For example, the completion probability of the first task of multiple attention tasks in multiple first combinations is shown in Table 7:
[0323] First Group Focus on Task A Focus on Task B Group A 0.45 0.56 Group B 0.39 0.78 First group C 0.69 0.44
[0324] Table 7
[0325] As shown in Table 7, the target object's attention tasks include attention content A and attention content B.
[0326] The probability of completing the first overall task can be determined by calculating the average of the probabilities of completing the first task for multiple tasks of interest. For example, Table 7 shows that the probability of completing the first overall task for the first combination A is (0.45 + 0.56) / 2 = 0.505. The probability of completing the first overall task for the first combination B is (0.39 + 0.78) / 2 = 0.585. The probability of completing the first overall task for the first combination C is (0.69 + 0.44) / 2 = 0.565.
[0327] The advantage of calculating the probability of completion of the first overall task by means of the average is that the probability of completion of the first task for different tasks of interest has the same impact on determining the probability of completion of the first overall task, thus improving the fairness of determining the probability of completion of the first overall task.
[0328] Another way to determine the overall completion probability of the first task is by calculating the weighted average of the completion probabilities of the first tasks for multiple tasks of interest. In this embodiment, weights must first be assigned to different tasks of interest. For example, in the previous example, the weight assigned to task A is 0.6, and the weight assigned to task B is 0.4. Then, the overall completion probability of the first task for the first combination A is 0.45*0.6 + 0.56*0.4 = 0.494; the overall completion probability of the first task for the first combination B is 0.39*0.6 + 0.78*0.4 = 0.546; and the overall completion probability of the first task for the first combination C is 0.69*0.6 + 0.44*0.4 = 0.59.
[0329] The advantage of calculating the first overall task completion probability using a weighted average is that the weights of the first task completion probabilities for different tasks of interest can be adjusted according to the actual application, thus improving the flexibility of calculating the first overall task completion probability.
[0330] After determining the overall task completion probability of multiple first combinations, the first combinations are sorted in descending order of their overall task completion probability. The top N first combinations in the sorted list are then selected as the first target combinations. For example, the overall task completion probability of first combination A is 0.49, that of first combination B is 0.55, and that of first combination C is 0.59. If the preset number of push notifications N is 1, then the first combination with the highest overall task completion probability is selected as the first target combination. Therefore, the first target combination is first combination C.
[0331] The advantage of the embodiment of steps 1610-1620 is that by obtaining multiple attention tasks of the target object to determine the first target combination, the obtained first target combination does not depend solely on the task completion probability of the first task of a single task, thus improving the accuracy of determining the first target combination.
[0332] Detailed description of step 350
[0333] The time period to be pushed in the first target combination is taken as the target time period, and the reminder message corresponding to the content to be pushed in the first target combination is pushed to the target object during the target time period.
[0334] For example, if the first target combination is (content to be pushed, 10:00-12:00), then a reminder message corresponding to content to be pushed, A, will be pushed to the target audience during the time period of 10:00-12:00.
[0335] Pushing notification messages corresponding to the content to be pushed to a target audience can be done by sending the notification message to the target audience from the application displaying the content to be pushed, so that the target audience can see the notification message when they open the application; or by sending the notification message to the target audience's terminal device, so that the target audience can see the notification message even if they do not open the application.
[0336] Note that sending reminder messages to a target requires the target's prior consent. This is similar to the previous points, so it will not be repeated here.
[0337] In one embodiment, such as Figure 17 As shown, a reminder message corresponding to the content to be pushed is sent to the target audience during the target time period, including:
[0338] Step 1710: Obtain the set of sub-time periods to be pushed for the target time period, which includes multiple sub-time periods to be pushed.
[0339] Step 1720: Among multiple first combinations, obtain the first combination with the target time period, and among the first combinations with the target time period, filter out the filtered first combination based on the first task completion probability;
[0340] Step 1730: Combine each filtered first combination with the sub-time period to be pushed into a second combination. Input each second combination with the object features of the target object into the task completion probability prediction model to obtain the predicted second task completion probability.
[0341] Step 1740: Based on the second task completion probability of each second combination, determine the second target combination among multiple second combinations;
[0342] Step 1750: Take the time period to be pushed in the second target combination as the target time period, the sub-time period to be pushed as the target sub-time period, and the content to be pushed as the target content, and push the reminder message corresponding to the target content to the target object in the target sub-time period of the target time period.
[0343] In step 1710, the set of sub-time periods to be pushed is a collection of target time periods divided into a predetermined number of sub-time periods to be pushed. For example, if the target time period is 20:00-22:00, the target time period is divided into 8 sub-time periods to be pushed, with each sub-time period having a time interval of 15 minutes: 20:00-20:14, 20:15-20:29, 20:30-20:44, 20:45-20:59, 21:00-21:14, 21:15-21:29, 21:30-21:44, and 21:44-22:00. The method for determining the predetermined number of sub-time periods to be pushed in the set of sub-time periods to be pushed is similar to the method for determining the number of sub-time periods to be pushed in the set of sub-time periods to be pushed in the previous embodiment, and will not be repeated here.
[0344] In step 1720, among multiple first combinations, the first combination whose target time period is the one to be pushed is selected. For example... Figure 18 As shown, the target time period is 20:00-24:00. The first combinations with the target time period obtained from multiple first combinations are: (feature of content to be pushed A, 20:00-24:00), (feature of content to be pushed B, 20:00-24:00), and (feature of content to be pushed C, 20:00-24:00).
[0345] Obtain the first task completion probability for each first combination with a target time period. It should be noted that the aforementioned embodiments for determining the target combination based on the first task completion probabilities of multiple first combinations include various embodiments based on the first task completion probability of a single task and on the first overall task completion probability of multiple tasks. Therefore, obtaining the first completion probability for each first combination with a target time period can also be considered as obtaining the first overall task completion probability for each first combination with a target time period.
[0346] The first combination after filtering is selected from multiple first combinations with target time periods.
[0347] In one embodiment, selecting the first group after filtering based on the first task completion probability includes: ranking multiple first groups with target time periods in descending order based on the first task completion probability, and obtaining the top M first groups in the ranking as the first group after filtering, where M refers to a preset number of filters.
[0348] The preset number of filters is set in advance, and it must be less than the number of the first group. If the preset number of filters is greater than the number of the first group containing the target time period, then all the first groups containing the target time period will be used as the first group after filtering.
[0349] like Figure 18As shown, the completion probability of the first task for the first group A (feature A of the content to be pushed, 20:00-24:00) is 0.65, the completion probability of the first task for the first group B (feature B of the content to be pushed, 20:00-24:00) is 0.47, and the completion probability of the first task for the first group C (feature C of the content to be pushed, 20:00-24:00) is 0.23. With a preset selection of 2 groups, the first groups with the highest completion probabilities from these three groups are selected as first group A and first group B.
[0350] The advantage of filtering the first group after filtering based on the preset number of filters is that the first group can be quickly filtered out by ranking the completion probability of the first task of the first group, which improves the efficiency of determining the first group after filtering.
[0351] In another embodiment, such as Figure 19 As shown, based on the completion probability of the first task, the first combination after filtering is selected, including:
[0352] Step 1910: In the first combination with the target time period, determine the first number of the first combination whose first task completion probability is greater than the first threshold;
[0353] Step 1920: If the first number is not less than the second threshold, then the first number of first combinations are used as the first combination after filtering; otherwise, the first second threshold number of first combinations are taken in descending order of the first task completion probability as the first combination after filtering.
[0354] In this embodiment, a first threshold is used to filter out first combinations that meet the criteria. A first number of combinations with a target time period are selected using the first threshold. The purpose of setting the first threshold is that if multiple first combinations have a high probability of completing the first task, then all of these first combinations can proceed to the next round of confirmation to obtain a more accurate push time period and push content.
[0355] The second threshold is used to ensure that the number of first combinations after filtering meets the minimum preset number of filters. If the first number is not less than the second threshold, that is, if the number of first combinations with a first task completion probability greater than the first threshold has exceeded the minimum preset number of filters, then the first number of first combinations are directly used as the first combinations after filtering. For example, the first task completion probability of first combination A is 0.56, the first task completion probability of first combination B is 0.39, the first task completion probability of first combination C is 0.76, the first task completion probability of first combination D is 0.63, and the first task completion probability of first combination E is 0.47. If the first threshold is 0.5, then the first number of first combinations are: first combination A, first combination C, and first combination D. The first number is 3. If the second threshold is 2, then the first number is greater than the second threshold, and first combination A, first combination C, and first combination D are used as the first combinations after filtering.
[0356] If the first number is less than the second threshold, it means that the first number of first combinations has not met the minimum preset screening requirement, and further screening of the first combinations is needed. The first combinations with the target time period are sorted in descending order of the first task completion probability, and the top two first combinations (within the second threshold) are selected as the filtered first combinations. Based on the example above, if the second threshold is 4, then the first number is less than the second threshold. Therefore, the top four first combinations with the highest first task completion probability in the first combination AE are selected as the filtered first combinations: first combination C, first combination D, first combination A, and first combination E.
[0357] This embodiment uses a combination of a first threshold and a second threshold to select the first combination after screening. This ensures that the first combination with a high probability of completion is not missed, and also ensures that the number of the first combination after screening meets the minimum preset screening number requirement, thereby improving the accuracy of determining the first combination after screening.
[0358] There may be a time interval between the generation time of the content set to be pushed and the time when the first group is selected after filtering. For example, if the planned push cycle is one day, then the content set to be pushed is generated at 0:00 every day, and the first target group is determined to identify the target time period and the content to be pushed on that day. However, if you want to further confirm the target sub-time period within the target time period, you can perform the process of further confirming the target sub-time period when the natural time reaches the target time period. For example, if the target time period in the first target group is 12:00-14:00, when the natural time reaches 12:00, you can then confirm which sub-time period is the target sub-time period. During the time interval of 0:00-12:00, it is very likely that content will be added, and some of this added content may be of particular interest to the target audience. However, since the added content does not belong to the first group, it cannot be further confirmed whether the added content is target content, which can easily lead to content omissions.
[0359] Therefore, in one embodiment, such as Figure 20 As shown, after step 1720, the push processing method further includes:
[0360] Step 2010: Obtain the added content generated on the content push platform between the generation time of the content set to be pushed and the current time;
[0361] Step 2020: Add the combination of the added content features and the target time period to the first group after filtering.
[0362] The method for obtaining the added content is similar to the method for obtaining the set of content to be pushed in the previous embodiments, and will not be described again here.
[0363] The current time can be a preset time point, such as 8:00 or 10:00; or it can be the time point when entering a target time period, for example, if the target time period is 20:00-22:00, then the current time is 20:00. When the natural time reaches this time point, add new content.
[0364] Note that when adding content, you also need to obtain the consent of the content publisher.
[0365] Since there is no specific time slot to be pushed out that is combined with the added content, the target time slot combined with the added content will be added to the first group after filtering. For example... Figure 21As shown, between the generation time of the content set to be pushed and the current time of generating the first filtered combination, the content push platform adds content A, content B, and content C. The added content is retrieved at the current time, and each added content is combined with the target time period and added to the first filtered combination. The original first filtered combination includes: (features of content A to be pushed, 20:00-24:00), (features of content B to be pushed, 20:00-24:00), (features of added content A, 20:00-24:00), (features of added content B, 20:00-24:00), and (features of added content C, 20:00-24:00).
[0366] The advantage of this embodiment is that it includes the added content as the content to be pushed, avoiding the problem of the added content being missed because it does not belong to any of the first groups, and improving the comprehensiveness and accuracy of the first group after the screening.
[0367] In step 1730, the filtered first combination is combined with each of the sub-time periods to be pushed in the set of sub-time periods to be pushed, in a second combination. For example... Figure 22 As shown, the first group after filtering includes (feature A of content to be pushed, 20:00-24:00), (feature B of content to be pushed, 20:00-24:00), (feature A of added content, 20:00-24:00), (feature B of added content, 20:00-24:00), and (feature C of added content, 20:00-24:00). The set of sub-time periods to be pushed is the set of sub-time periods to be pushed within the target time period of 20:00-24:00, divided into 30-minute intervals, including: 20:00-20:30, 20:30-21:00, ..., 23:30-24:00. The first group after filtering is then combined with the sub-time periods to be pushed in the set of sub-time periods to be pushed in turn. After filtering, the first group (feature A of the content to be pushed, 20:00-24:00) is combined sequentially with the sub-time periods to be pushed to obtain the second group: (feature A of the content to be pushed, 20:00-24:00, 20:00-20:30), (feature A of the content to be pushed, 20:00-24:00, 20:30-21:00), ..., (feature A of the content to be pushed, 20:00-24:00, 23:30-24:00). Similarly, the remaining first groups after filtering are combined sequentially with the sub-time periods to be pushed to obtain the following... Figure 22 The multiple second combinations shown.
[0368] Each second combination, along with the target object's features, is input into the task completion probability prediction model. The task completion probability prediction model yields the second task completion probability. The second task completion probability is the probability that the target object will complete the task for the content to be pushed within the sub-period of the waiting push time period.
[0369] Similar to the aforementioned embodiments, in one embodiment, each second combination, together with the object features of the target object, is input into the task completion probability prediction model to obtain the predicted second task completion probability. This includes: inputting each second combination, together with the object features of the target object and the scene features in which the target object is located, into the task completion probability prediction model to obtain the predicted second task completion probability; wherein, the second task completion probability is the probability that the target object will complete the task of the content to be pushed in the sub-period of the push period and in the scene.
[0370] The process of obtaining the second task completion probability based on the second combination, object features, and scene features is the same as the process of obtaining the first task completion probability based on the first combination, object features, and scene features in the aforementioned embodiments, and will not be repeated here.
[0371] The method by which the task completion probability prediction model predicts the completion probability of the second task is the same as the method by which it predicts the completion probability of the first task in the aforementioned embodiments, and will not be repeated here.
[0372] In step 1740, the process of determining the second target combination from multiple second combinations based on the second task completion probability of each second combination is similar to the process of determining the first target combination from multiple first combinations based on the first task completion probability of each first combination in the aforementioned embodiment, and will not be repeated here.
[0373] In step 1750, the time period to be pushed in the second target combination is designated as the target time period, the sub-time period to be pushed is designated as the target sub-time period, and the content to be pushed is designated as the target content. When the natural time arrives at the target sub-time period of the target time period, a reminder message corresponding to the target content is pushed to the target recipient. For example, Figure 23 As shown, the second target combination is (features of content to be pushed, 20:00-24:00, 20:30-21:00). "Content to be pushed B" is used as the target content, "20:00-24:00" as the target time period, and "20:30-21:00" as the target sub-time period. When the natural time reaches 20:30-21:00 between 20:00-24:00, a reminder message corresponding to content to be pushed B is pushed to the target audience.
[0374] Note that sending notification messages to the target audience requires their prior consent, which will not be elaborated here.
[0375] The advantage of the embodiment of steps 1710-1750 is that it further refines the time period to be pushed to obtain a smaller time range of sub-time periods to be pushed, thereby improving the accuracy of pushing to the target object.
[0376] The training process of the task completion probability model in this embodiment of the disclosure
[0377] In one embodiment, such as Figure 24 As shown, the task completion probability prediction model is trained in the following way:
[0378] Step 2410: Obtain the sample push event set;
[0379] Step 2420: Extract the first sample and the second sample from the sample push event;
[0380] Step 2430: Input the first and second samples extracted from each sample push event into the task completion probability prediction model for training.
[0381] The sample push event set contains multiple sample push events. Each sample push event includes sample object features, sample content to be pushed features, sample push time period, and sample push sub-time period. Optionally, sample push events may also include sample scene features. Sample push events also have training labels for tasks, indicating whether the sample object completed the task for the sample content to be pushed within the sample push sub-time period of the sample push time period. For example, the training labels in a sample push event might be {Task A: 1, Task B: 0}, where a training label of 1 represents task completion, and a training label of 0 represents task incomplete. That is, in this example, the sample object completed task A but not task B for the sample content to be pushed within the sample push sub-time period of the sample push time period.
[0382] The first sample extracted from the sample push event includes sample object features, sample content to be pushed features, and sample push time period; the second sample includes sample object features, sample content to be pushed features, sample push time period, and sample push sub-time period. The reason for extracting the first and second samples is that, in the process of determining the target content, target time period, and target sub-time period, the task completion probability prediction model was used for two predictions: one based on object features and a first combination (pull content and push time period), predicting the probability of completing the first task; and the other based on object features and a second combination (push content, push time period, and push sub-time period). Therefore, it is necessary to train the task completion probability prediction model using the first and second samples from the same sample push event.
[0383] The process of steps 2410-2430 is as follows: Figure 25As shown, the sample object features, sample content features to be pushed, and sample time period of sample push event A in the sample push event set are extracted as the first sample. The sample object features, sample content features to be pushed, sample time period, and sample sub-time period to be pushed are extracted as the second sample. Both the first and second samples contain training labels for the sample push events. The first and second samples are respectively input into the task completion probability prediction model for training.
[0384] In one embodiment, such as Figure 26 As shown, the first and second samples extracted from each sample push event are input into the task completion probability prediction model for training, including:
[0385] Step 2610: For each sample in the first sample and the second sample, for a single task, determine the error sub-function of the single task based on the training label of the single task and the task completion probability predicted by the task completion probability prediction model.
[0386] Step 2620: Determine the error function of the sample based on the error sub-functions of multiple tasks;
[0387] Step 2630: Train the task completion probability prediction model based on the error function of each sample.
[0388] In step 2610, an error sub-function is calculated for the task completion probability of a single task obtained from the samples based on the task completion probability prediction model. The error sub-function refers to the distance between the task completion probability and the corresponding training label for a single task. A closer distance indicates a smaller error and better prediction performance. First, the task completion probability of a single task is determined; second, the training label corresponding to the task is obtained. If the training label indicates task completion, the training label is 1; otherwise, the training label is 0; finally, based on the task completion probability and the training label of a single task, the error sub-function for that task is determined. The calculation process for determining the error sub-function is shown in Formula 4:
[0389] L t =-q t ·log(p t )-(1-q t )·log(1-p t )(Formula 4).
[0390] In formula 4, q t p represents the training label (0 or 1). t This represents the probability of completing the task. For example, if the training label for task A is 1 and the probability of completion is 0.5, then the error sub-function L for this task... t =-1·log(0.5)=0.3.
[0391] In step 2620, after determining the error sub-function for each individual task, the overall error function for the sample is determined based on the error sub-functions for all tasks. The error function refers to the difference between the completion probability of all tasks and their corresponding training labels; the smaller the difference, the better the model's prediction result.
[0392] In one embodiment, determining the error function of a sample based on error sub-functions of multiple tasks includes summing the error sub-functions of multiple tasks to obtain the error function.
[0393] In this embodiment, the calculation process for determining the error function is shown in Formula 5:
[0394]
[0395] In Formula 5, T represents the number of tasks in the multiple tasks, and L... t This represents the error sub-function for a single task. For example, if the sample includes three tasks, with task A having an error sub-function of 0.3, task B having an error sub-function of 0.45, and task C having an error sub-function of 0.27, then the sample's error function is 0.3 + 0.45 + 0.27 = 1.02.
[0396] The advantage of determining the error function by summing the error sub-functions is that the error sub-function corresponding to each task contributes equally to determining the error function of the sample, thus improving the fairness of training the model for multiple tasks.
[0397] In another embodiment, determining the error function of a sample based on error sub-functions of multiple tasks includes:
[0398] Obtain the task weights of multiple tasks;
[0399] Based on the task weights, the error sub-functions of multiple tasks are weighted and summed to obtain the error function.
[0400] In this embodiment, the calculation process for determining the error function is shown in Formula 6:
[0401]
[0402] In Formula 6, T represents the number of tasks in the multiple tasks, and W t L represents the task weight of a single task. tThis represents the error sub-function for a single task. The task weights for multiple tasks can be determined based on the specific application scenario. For example, if the sample includes three tasks, with task A having a weight of 0.5, task B having a weight of 0.3, and task C having a weight of 0.2, then the error sub-function for task A is 0.3; for task B, it is 0.45; and for task C, it is 0.27. Therefore, the total error function for the sample is 0.5 * 0.3 + 0.3 * 0.45 + 0.2 * 0.27 = 0.339.
[0403] The advantage of weighting and determining the error function by calculating the error sub-function is that different weights can be set for different tasks according to the actual application scenario, which improves the flexibility of training the model.
[0404] In step 2630, after determining the error function for each sample, a task completion probability prediction model is trained based on the error function. The purpose of training is to reduce the error function, as a lower error function indicates more accurate prediction results. Therefore, the training process involves updating the parameters in the task completion probability prediction model, thereby reducing the error function obtained based on the updated model.
[0405] The gradient descent method can be used to train a task completion probability prediction model based on the error function, so that the parameters of the task completion probability prediction model can be updated in the direction of gradient descent of the error function.
[0406] The advantage of the embodiment in steps 2610-2630 is that the error function of the whole sample is determined by the error sub-function of a single task, so that the prediction result of each task affects the training model, thereby improving the comprehensiveness and accuracy of the training model.
[0407] The advantage of the embodiment in steps 2410-2430 is that the first sample and the second sample are divided according to the sample push event, so that the task completion probability prediction model can be trained in combination based on the two types of samples, which is conducive to improving the model training effect and thus improving the accuracy of obtaining the first task completion probability and the second task completion probability based on the task completion probability prediction model.
[0408] Detailed implementation diagrams of the push processing method according to the embodiments of this disclosure.
[0409] The following reference Figure 27 The following provides a detailed and exemplary description of the implementation details of the push processing method according to the embodiments of this disclosure.
[0410] In step 2710, matching content is filtered out from the original content set based on the first tag of the target object and the second tag of the original content in the original content set; and content to be pushed is filtered out from the matching content based on multiple push metrics to form a set of content to be pushed.
[0411] In step 2711, a set of time periods to be pushed is obtained, which includes multiple time periods to be pushed divided into a predetermined push cycle.
[0412] In step 2712, the features of each content to be pushed in the content to be pushed set and the push time period in the push time period set are combined in the first combination.
[0413] In step 2713, each first combination, together with the object features of the target object and the scene features in which the target object is located, is input into the task completion probability prediction model to obtain the predicted first task completion probability.
[0414] In step 2714, a first target combination is determined among multiple first combinations based on the first task completion probability of each first combination.
[0415] In step 2715, the time period to be pushed in the first target combination is taken as the target time period, and the set of sub-time periods to be pushed in the target time period is obtained. The set of sub-time periods to be pushed includes multiple sub-time periods to be pushed.
[0416] In step 2716, among multiple first combinations, a first combination with a target time period is obtained, and among the first combinations with the target time period, a filtered first combination is selected based on the first task completion probability.
[0417] In step 2717, the newly added content generated on the content push platform between the generation time of the content set to be pushed and the current time is obtained; the combination of the characteristics of the newly added content and the target time period is added to the first combination after filtering.
[0418] In step 2718, each filtered first combination and each push sub-time period in the push sub-time period set are combined into a second combination. Each second combination, together with the object features of the target object and the scene features of the target object, is input into the task completion probability prediction model to obtain the predicted second task completion probability.
[0419] In step 2719, a second target combination is determined among multiple second combinations based on the second task completion probability of each second combination.
[0420] In step 2720, the time period to be pushed in the second target combination is taken as the target time period, the sub-time period to be pushed is taken as the target sub-time period, and the content to be pushed is taken as the target content. In the target sub-time period of the target time period, the reminder message corresponding to the target content is pushed to the target object.
[0421] Description of apparatus and devices according to embodiments of this disclosure
[0422] It is understood that although the steps in the above flowcharts are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated in this embodiment, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the above flowcharts may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps.
[0423] It should be noted that in various specific embodiments of this application, when processing is required based on data related to the characteristics of the target content, such as target content attribute information or attribute information sets, permission or consent from the target content provider will be obtained first. Furthermore, the collection, use, and processing of this data will comply with relevant laws, regulations, and standards of the relevant countries and regions. In addition, when embodiments of this application require obtaining target content attribute information, separate permission or consent from the target content provider will be obtained through pop-up windows or redirection to a confirmation page. Only after obtaining the separate permission or consent from the target content provider will the necessary target content-related data for the normal operation of the embodiments of this application be obtained.
[0424] Figure 28 This is a schematic diagram of the structure of a push processing device 2800 provided in an embodiment of the present disclosure. The push processing device 2800 includes:
[0425] The first acquisition unit 2810 is used to acquire a set of content to be pushed, which contains multiple pieces of content to be pushed.
[0426] The second acquisition unit 2820 is used to acquire a set of time periods to be pushed, which includes multiple time periods to be pushed divided into a predetermined push cycle;
[0427] The first input unit 2830 is used to combine the features of each content to be pushed in the content to be pushed set and each time period to be pushed in the time period to be pushed set into a first combination, and input each first combination together with the object features of the target object into the task completion probability prediction model to obtain the predicted first task completion probability, wherein the first task completion probability is the probability that the target object completes the task of the content to be pushed in the time period to be pushed.
[0428] The first determining unit 2840 is used to determine a first target combination among multiple first combinations based on the first task completion probability of each first combination;
[0429] The push unit 2850 is used to take the time period to be pushed in the first target combination as the target time period, and push the reminder message corresponding to the content to be pushed to the target object during the target time period.
[0430] Optionally, the first input unit 2830 is specifically used to: input each first combination together with the object features of the target object and the scene features where the target object is located into the task completion probability prediction model to obtain the predicted first task completion probability; wherein, the first task completion probability is the probability that the target object will complete the task in the scene during the waiting period for the push content.
[0431] Optionally, the push unit 2850 is specifically used for:
[0432] Obtain the set of sub-time periods to be pushed to the target time period, which includes multiple sub-time periods to be pushed;
[0433] Among multiple first combinations, the first combination with the target time period is obtained, and among the first combinations with the target time period, the filtered first combination is selected based on the first task completion probability;
[0434] Each filtered first combination and the push sub-time period are combined into a second combination. Each second combination, together with the object features of the target object, is input into the task completion probability prediction model to obtain the predicted second task completion probability. The second task completion probability is the probability that the target object will complete the task of the push content in the push sub-time period of the push time period.
[0435] Based on the second task completion probability of each second combination, determine the second target combination among multiple second combinations;
[0436] The time period to be pushed in the second target combination is taken as the target time period, the sub-time period to be pushed is taken as the target sub-time period, and the content to be pushed is taken as the target content. Then, during the target sub-time period of the target time period, the reminder message corresponding to the target content is pushed to the target object.
[0437] Optionally, the push unit 2850 is specifically used to: input each second combination together with the object features of the target object and the scene features in which the target object is located into the task completion probability prediction model to obtain the predicted second task completion probability; wherein, the second task completion probability is the probability that the target object will complete the task in the scene of the sub-period of the push period and the content to be pushed.
[0438] Optionally, the push processing device 2800 further includes:
[0439] The third acquisition unit (not shown) is specifically used to acquire the additional content generated on the content push platform between the generation time of the content set to be pushed and the current time;
[0440] The addition unit (not shown) is specifically used to add the combination of the added content features and the target time period to the first combination after filtering.
[0441] Optionally, the push unit 2850 is specifically used for:
[0442] In the first combination with a target time period, determine the first number of the first combination whose first task completion probability is greater than a first threshold;
[0443] If the first number is not less than the second threshold, then the first number of first combinations will be used as the first combination after filtering; otherwise, the first second threshold number of first combinations will be selected in descending order of the first task completion probability as the first combination after filtering.
[0444] Optionally, the task completion probability prediction model is trained in the following way:
[0445] Obtain a sample push event set, which contains multiple sample push events. Each sample push event includes sample object features, sample content to be pushed features, sample push time period, and sample push sub-time period. Each sample push event has a task training label. The task training label indicates whether the sample object has completed the task for the sample content to be pushed, and whether the task has been completed in the sample push sub-time period of the sample push time period.
[0446] From the sample push event, extract the first sample and the second sample. The first sample includes sample object features, sample content features to be pushed, and sample push time period. The second sample includes sample object features, sample content features to be pushed, sample push time period, and sample push sub-time period.
[0447] The first and second samples extracted from each sample push event are used to train the task completion probability prediction model.
[0448] Optionally, the first and second samples extracted from each sample push event are input into the task completion probability prediction model for training, including:
[0449] For each sample in the first and second samples, for a single task, the error sub-function of the single task is determined based on the training label of the single task and the first task completion probability predicted by the task completion probability prediction model.
[0450] Based on the error sub-functions of multiple tasks, the error function of the sample is determined;
[0451] A task completion probability prediction model is trained based on the error function of each sample.
[0452] Optionally, the task completion probability prediction model includes a vectorization layer, a cascaded layer, multiple expert sub-models, multiple gating nodes corresponding to multiple tasks, and multiple prediction sub-models;
[0453] The first input unit 2830 is specifically used for:
[0454] Each first combination is vectorized with the object features of the target object, and the vectorization results are concatenated to obtain the first feature vector.
[0455] The first feature vector is input into multiple expert sub-models;
[0456] By using the gate node corresponding to each task, the outputs of multiple expert sub-models are weighted and summed to obtain the second feature vector corresponding to the task.
[0457] The second feature vector corresponding to the task is input into the prediction model corresponding to the task to obtain the first task completion probability corresponding to the task.
[0458] Optionally, the first input unit 2830 is specifically used for:
[0459] Obtain the weight vector of the gate node, which indicates the weights of multiple expert sub-models;
[0460] By using gate nodes, the outputs of multiple expert sub-models are weighted and summed using weight vectors to obtain the second feature vector corresponding to the task.
[0461] Optionally, the first input unit 2830 is specifically used for:
[0462] Obtain the first matrix, where the number of rows in the first matrix is the number of expert sub-models, and the number of columns is the dimension of the first feature vector;
[0463] Multiply the first matrix by the transpose of the first eigenvector, and then normalize the result to obtain the weight vector of the gated node.
[0464] Optionally, the first input unit 2830 is specifically used for:
[0465] The characteristics of the content to be pushed, the time period to be pushed, and the characteristics of the target audience are used as the basic characteristics of the push.
[0466] If the basic feature of the push is a character-type feature, input the character-type feature into the embedding layer to obtain the vectorized result corresponding to the character-type feature;
[0467] If the basic feature being pushed is a numerical feature, the numerical feature is mapped numerically to obtain the vectorized result corresponding to the numerical feature;
[0468] If the basic feature pushed is a variable-length sequence feature, the variable-length sequence feature is pooled to obtain the vectorized result corresponding to the variable-length sequence feature.
[0469] Optionally, the first acquisition unit 2810 is specifically used for:
[0470] Get the first tag of the target object;
[0471] Retrieve the second tag of the original content in the original content set;
[0472] Based on the matching degree of the first tag and the second tag, a set of content to be pushed is selected from the original content set.
[0473] Optionally, the first acquisition unit 2810 is specifically used for:
[0474] Based on the matching degree, filter out the matching content that matches the first tag and the second tag from the original content set;
[0475] Obtain multiple push metrics for each matched content;
[0476] Based on multiple push metrics, content to be pushed is filtered from the matched content to form a set of content to be pushed.
[0477] Optionally, the first determining unit 2840 is specifically used for:
[0478] Among multiple tasks, identify the tasks that the target object is interested in;
[0479] From the completion probabilities of the first task of multiple tasks in the first group, obtain the completion probability of the first task of the task of interest in the first group;
[0480] Based on the first task completion probability of the multiple first combinations, the first target combination is determined among the multiple first combinations.
[0481] Optionally, the first determining unit 2840 is specifically used for:
[0482] If there are multiple tasks of concern, the first overall first task completion probability of the first group is determined based on the first task completion probability of the multiple tasks of concern in each first group.
[0483] Based on the first overall first task completion probability of multiple first combinations, the first target combination is determined among the multiple first combinations.
[0484] Reference Figure 29 , Figure 29To illustrate the structural block diagram of a terminal implementing the push processing method of this embodiment, the terminal includes: a radio frequency (RF) circuit 2910, a memory 2915, an input unit 2930, a display unit 2940, a sensor 2950, an audio circuit 2960, a wireless fidelity (WiFi) module 2970, a processor 2980, and a power supply 2990, among other components. Those skilled in the art will understand that... Figure 29 The terminal structure shown does not constitute a limitation on mobile phones or computers and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0485] The RF circuit 2910 can be used to receive and transmit signals during information transmission or calls. In particular, it receives downlink information from the base station and processes it with the processor 2980; in addition, it transmits uplink data to the base station.
[0486] The memory 2915 can be used to store software programs and modules, and the processor 2980 executes various functional applications and data processing of the content terminal by running the software programs and modules stored in the memory 2915.
[0487] The input unit 2930 can be used to receive input numeric or character information, and to generate key signal inputs related to the settings and function control of the content terminal. Specifically, the input unit 2930 may include a touch panel 2931 and other input devices 2932.
[0488] The display unit 2940 can be used to display input or provided information, as well as various menus of the content terminal. The display unit 2940 may include a display panel 2941.
[0489] Audio circuitry 2960, speaker 2961, and microphone 2962 provide an audio interface.
[0490] In this embodiment, the processor 2980 included in the terminal can execute the push processing method of the previous embodiment.
[0491] The terminals disclosed in this embodiment include, but are not limited to, mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, and aircraft. The embodiments of this invention can be applied to various scenarios, including but not limited to content recommendation and data filtering.
[0492] Figure 30This is a partial structural block diagram of a server implementing the push processing method of this disclosure embodiment. The server can vary significantly due to different configurations or performance, and may include one or more Central Processing Units (CPUs) 3022 (e.g., one or more processors) and a memory 3032, and one or more storage media 2130 (e.g., one or more mass storage devices) for storing application programs 3042 or data 3044. The memory 3032 and storage media 3030 can be temporary or persistent storage. The program stored in the storage media 3030 may include one or more modules (not shown in the figure), each module including a series of instruction operations on the server. Furthermore, the CPU 3022 may be configured to communicate with the storage media 3030 and execute the series of instruction operations in the storage media 3030 on the server.
[0493] The server may also include one or more power supplies 3026, one or more wired or wireless network interfaces 3050, one or more input / output interfaces 3058, and / or one or more operating systems 3041, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0494] The central processing unit 3022 in the server can be used to execute the push processing method of the present disclosure embodiments.
[0495] This disclosure also provides a computer-readable storage medium for storing program code for executing the push processing methods of the foregoing embodiments.
[0496] This disclosure also provides a computer program product comprising a computer program. A processor of a computer device reads and executes the computer program, causing the computer device to perform the aforementioned push processing method.
[0497] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in this disclosure and the foregoing drawings are used to distinguish similar terms and are not necessarily used to describe a particular order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this disclosure described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “including,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatuses.
[0498] It should be understood that in this disclosure, "at least one item" refers to one or more items, and "more than one item" refers to two or more items. "And / or" is used to describe the relationship between related content, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related content are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0499] It should be understood that in the description of the embodiments disclosed herein, "multiple" means two or more, "greater than", "less than", "exceeding" etc. are understood to exclude the number itself, and "above", "below", "within" etc. are understood to include the number itself.
[0500] In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.
[0501] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0502] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0503] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0504] It should also be understood that the various implementation methods provided in this disclosure can be combined arbitrarily to achieve different technical effects.
[0505] The above is a detailed description of the embodiments of this disclosure. However, this disclosure is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this disclosure. All such equivalent modifications or substitutions are included within the scope defined by the claims of this disclosure.
Claims
1. A push notification processing method, characterized in that, include: Obtain a set of content to be pushed, which contains multiple pieces of content to be pushed; Obtain a set of time periods to be pushed, which includes multiple time periods to be pushed divided into a predetermined push cycle; The features of each content to be pushed in the set of content to be pushed and each time period to be pushed in the set of time periods to be pushed are combined in a first combination. Each first combination is combined with the object features of the target object and input into the task completion probability prediction model to obtain the predicted first task completion probability. The first task completion probability is the probability that the target object completes the task for the content to be pushed in the time period to be pushed. Based on the first task completion probability of each first combination, a first target combination is determined among multiple first combinations; Take the time period to be pushed in the first target combination as the target time period, and obtain the set of sub-time periods to be pushed in the target time period, the set of sub-time periods to be pushed includes multiple sub-time periods to be pushed; Among the multiple first combinations, the first combination with the target time period is obtained, and among the first combinations with the target time period, the filtered first combination is selected based on the first task completion probability. Retrieve additional content generated on the content push platform between the generation time of the content set to be pushed and the current time; The combination of the added content features and the target time period is added to the first combination after filtering; Each of the first filtered combinations and each of the sub-time periods to be pushed in the set of sub-time periods to be pushed are combined into a second combination. Each second combination, together with the object features of the target object, is input into the task completion probability prediction model to obtain the predicted second task completion probability. The second task completion probability is the probability that the target object completes the task for the content to be pushed in the sub-time period to be pushed in the time period to be pushed. Based on the second task completion probability of each second combination, a second target combination is determined among multiple second combinations; The period to be pushed in the second target combination is taken as the target period, the sub-period to be pushed is taken as the target sub-period, and the content to be pushed is taken as the target content. During the target sub-period of the target period, a reminder message corresponding to the target content is pushed to the target object.
2. The push processing method according to claim 1, characterized in that, The step of inputting each of the first combinations together with the object features of the target object into the task completion probability prediction model to obtain the predicted first task completion probability includes: inputting each of the first combinations together with the object features of the target object and the scene features in which the target object is located into the task completion probability prediction model to obtain the predicted first task completion probability; Wherein, the first task completion probability is the probability that the target object completes the task for the content to be pushed in the scenario during the period to be pushed.
3. The push processing method according to claim 1, characterized in that, The step of inputting each of the second combinations together with the object features of the target object into the task completion probability prediction model to obtain the predicted second task completion probability includes: inputting each of the second combinations together with the object features of the target object and the scene features in which the target object is located into the task completion probability prediction model to obtain the predicted second task completion probability; Wherein, the second task completion probability is the probability that the target object completes the task for the content to be pushed, in the sub-period of the time period to be pushed, and in the scenario.
4. The push processing method according to claim 1, characterized in that, The step of selecting the first combination after filtering based on the first task completion probability includes: In the first combination with the target time period, determine a first number of the first combinations in which the probability of completing the first task is greater than a first threshold; If the first number is not less than the second threshold, then the first number of the first combinations are taken as the first combination after filtering; otherwise, the first second threshold number of the first combinations are taken in descending order of the first task completion probability as the first combination after filtering.
5. The push processing method according to claim 1, characterized in that, The task completion probability prediction model was trained in the following way: Obtain a sample push event set, wherein the sample push event set contains multiple sample push events, each sample push event contains sample object features, sample content to be pushed features, sample push time period, and sample push sub-time period, and each sample push event has a task training label, the task training label indicating whether the sample object has completed the task for the sample content to be pushed, in the sample push sub-time period of the sample push time period; From the sample push event, extract a first sample and a second sample, wherein the first sample includes the sample object features, the sample content features to be pushed, and the sample push time period, and the second sample includes the sample object features, the sample content features to be pushed, the sample push time period, and the sample push sub-time period; The first sample and the second sample extracted from each of the sample push events are input into the task completion probability prediction model for training.
6. The push processing method according to claim 5, characterized in that, The step of inputting the first sample and the second sample extracted from each of the sample push events into the task completion probability prediction model for training includes: For each of the first sample and the second sample, for a single task, an error sub-function for the single task is determined based on the training label of the single task and the first task completion probability predicted by the task completion probability prediction model; Based on the error sub-functions of multiple tasks, the error function of the sample is determined; The task completion probability prediction model is trained based on the error function of each sample.
7. The push processing method according to claim 1, characterized in that, The task completion probability prediction model includes a vectorization layer, a cascaded layer, multiple expert sub-models, multiple gating nodes corresponding to multiple tasks, and multiple prediction sub-models. The step of inputting each of the first combinations together with the object features of the target object into the task completion probability prediction model to obtain the predicted first task completion probability includes: Each of the first combinations and the object features of the target object are vectorized, and the vectorization results are concatenated to obtain the first feature vector. The first feature vector is input into multiple expert sub-models; By using the gate node corresponding to each task, the outputs of multiple expert sub-models are weighted and summed to obtain the second feature vector corresponding to the task; The second feature vector corresponding to the task is input into the prediction model corresponding to the task to obtain the first task completion probability corresponding to the task.
8. The push processing method according to claim 7, characterized in that, The step of weighted summing of the outputs of multiple expert sub-models through a gating node corresponding to each task to obtain a second feature vector corresponding to the task includes: Obtain the weight vector of the gate node, the weight vector indicating the weights of the multiple expert sub-models; By using the gate node, the outputs of multiple expert sub-models are weighted and summed using the weight vector to obtain a second feature vector corresponding to the task.
9. The push processing method according to claim 8, characterized in that, The step of obtaining the weight vector of the gated node includes: Obtain a first matrix, wherein the number of rows in the first matrix is the number of expert sub-models, and the number of columns is the dimension of the first feature vector; The weight vector of the gated node is obtained by multiplying the first matrix with the transpose of the first eigenvector and normalizing the result by exponential processing.
10. The push processing method according to claim 7, characterized in that, The step of vectorizing the object features of each of the first combinations and the target object includes: The characteristics of the content to be pushed, the time period to be pushed, and the characteristics of the object are used as the basic characteristics for pushing; If the basic feature of the push is a character-type feature, the character-type feature is input into the embedding layer to obtain the vectorized result corresponding to the character-type feature; If the basic feature of the push is a numerical feature, the numerical feature is numerically mapped to obtain the vectorized result corresponding to the numerical feature; If the basic feature of the push is a variable-length sequence feature, the variable-length sequence feature is pooled to obtain the vectorized result corresponding to the variable-length sequence feature.
11. The push processing method according to claim 1, characterized in that, The process of obtaining the set of content to be pushed includes: Obtain the first tag of the target object; Retrieve the second tag of the original content in the original content set; Based on the matching degree between the first tag and the second tag, the set of content to be pushed is filtered out from the original content set.
12. The push processing method according to claim 11, characterized in that, The step of filtering the set of content to be pushed from the original content set based on the matching degree of the first tag and the second tag includes: Based on the matching degree, the matching content that matches the first tag and the second tag is filtered out from the original content set; Obtain multiple push metrics for each of the matched contents; Based on multiple push metrics, the content to be pushed is selected from the matched content to form the set of content to be pushed.
13. The push processing method according to claim 1, characterized in that, The step of determining a first target combination from multiple first combinations based on the first task completion probability of each first combination includes: Among the multiple tasks, the task of interest for the target object is obtained; From the first task completion probabilities of the multiple tasks in the first combination, obtain the first task completion probability of the task of interest in the first combination; A first target combination is determined among the multiple first combinations based on the first task completion probability of the attention task of the multiple first combinations.
14. The push processing method according to claim 13, characterized in that, The step of determining a first target combination among the multiple first combinations based on the first task completion probabilities of the tasks of interest in the multiple first combinations includes: If there are multiple tasks of concern, the first overall first task completion probability of the first combination is determined based on the first task completion probability of each of the multiple tasks of concern in the first combination. Based on the first overall first task completion probability of multiple first combinations, a first target combination is determined among the multiple first combinations.
15. A push processing device, characterized in that, include: The first acquisition unit is used to acquire a set of content to be pushed, which includes multiple pieces of content to be pushed. The second acquisition unit is used to acquire a set of time periods to be pushed, which includes multiple time periods to be pushed divided into a predetermined push cycle; The first input unit is used to combine the features of each content to be pushed in the set of content to be pushed and each time period to be pushed in the set of time periods to be pushed, and input each first combination together with the object features of the target object into the task completion probability prediction model to obtain the predicted first task completion probability, wherein the first task completion probability is the probability that the target object completes the task for the content to be pushed in the time period to be pushed. The first determining unit is configured to determine a first target combination among a plurality of first combinations based on the first task completion probability of each first combination; The push unit is used to take the time period to be pushed in the first target combination as the target time period, and to obtain the set of sub-time periods to be pushed in the target time period, wherein the set of sub-time periods to be pushed includes multiple sub-time periods to be pushed. Among the multiple first combinations, the first combination with the target time period is obtained, and among the first combinations with the target time period, the filtered first combination is selected based on the first task completion probability. Retrieve additional content generated on the content push platform between the generation time of the content set to be pushed and the current time; The combination of the added content features and the target time period is added to the first combination after filtering; Each of the first filtered combinations and each of the sub-time periods to be pushed in the set of sub-time periods to be pushed are combined into a second combination. Each second combination, together with the object features of the target object, is input into the task completion probability prediction model to obtain the predicted second task completion probability. The second task completion probability is the probability that the target object completes the task for the content to be pushed in the sub-time period to be pushed in the time period to be pushed. Based on the second task completion probability of each second combination, a second target combination is determined among multiple second combinations; The period to be pushed in the second target combination is taken as the target period, the sub-period to be pushed is taken as the target sub-period, and the content to be pushed is taken as the target content. During the target sub-period of the target period, a reminder message corresponding to the target content is pushed to the target object.
16. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the push processing method according to any one of claims 1 to 14.
17. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the push processing method according to any one of claims 1 to 14.
18. A computer program product comprising a computer program that is read and executed by a processor of a computer device, causing the computer device to perform the push processing method according to any one of claims 1 to 14.
Citation Information
Patent Citations
Push time prediction method and device, equipment, storage medium and program product
CN113382087A
Media resource recommendation method, and multi-target fusion model training method and device
CN113516522A
