Material recommendation method, device, electronic device and storage medium

By dynamically adjusting the elevating coefficient and similarity of active materials, the difficulty in exposure control caused by the fixed position of active materials is solved, accurate exposure and user preference sorting are achieved, and the total target exposure of active materials is ensured.

CN113901323BActive Publication Date: 2024-09-20BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111242044.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2024-09-20
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

In the existing technology, the fixed position of the movable materials cannot achieve precise exposure control, resulting in the failure to ensure the completion of the target total exposure of the movable materials.

Method used

By obtaining the current exposure change of the active material, adjusting its elevating coefficient, and combining the similarity between the material feature vector and the object feature vector, the sorting position of the active material in the recommendation list is dynamically adjusted to ensure that the exposure of the active material reaches the target.

Benefits of technology

It achieves precise control over the exposure of active materials, ensures the completion of the total target exposure, and sorts them according to user preferences, reflecting the sequential relationship between active materials and other materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113901323B
    Figure CN113901323B
Patent Text Reader

Abstract

The present disclosure relates to a material recommendation method, device, electronic device and storage medium, the method comprising: obtaining multiple materials including active materials; obtaining the current exposure change of the active material according to the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure; adjusting the historical weighting coefficient according to the current exposure change to obtain the current weighting coefficient; obtaining the target similarity according to the first similarity between the first material feature vector of the active material and the object feature vector of the target object and the current weighting coefficient; determining the target material including the active material except the one recommended to the target object from multiple materials according to the second similarity between the second material feature vector of other materials and the object feature vector and the target similarity. The present disclosure controls the recommended sorting position of the active material through the current weighting coefficient to achieve precise control of the exposure of the active material.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a material recommendation method, device, electronic device and storage medium. Background Art

[0002] Recommendation refers to recommending materials of interest to users based on their interests and historical behaviors. However, the number of times a specific material is displayed to users depends on the ranking model of the recommendation system. In some application scenarios (such as some event scenarios), it is necessary to accurately control the number of exposures of certain materials while taking into account the quality of exposure.

[0003] In the related art, the most matching activity material can be selected and inserted according to different users at a fixed position other than the head of the recommendation list. However, the position of the activity material is fixed and cannot be sorted according to the user's preferences. The sequential relationship between the activity material and other materials cannot be reflected. In addition, when the activity material is positioned at the back, there is no guarantee that the user will see the activity material, thereby failing to achieve precise control over the exposure of the activity material and further failing to ensure the target total exposure of the activity material. Summary of the invention

[0004] The present disclosure provides a material recommendation method, device, electronic device and storage medium to at least solve the problem in the related art that the position of the active material is fixed, and the exposure of the active material cannot be accurately controlled, thereby failing to ensure the target total exposure of the active material. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a material recommendation method is provided, including:

[0006] Acquire multiple materials including active materials; the active materials represent materials that reach a target total exposure amount within a target time period;

[0007] According to the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure, the current exposure change of the active material is obtained; the current cumulative exposure represents the actual exposure of the active material between the start time and the current time of the target time period, the historical cumulative exposure represents the actual exposure of the active material between the start time and the historical time, the current target exposure represents the expected exposure of the active material between the start time and the current time, the historical target exposure represents the expected exposure of the active material between the start time and the historical time, the historical time is the time before the current time, and the current time and the historical time are within the target time period;

[0008] Adjusting the historical weighting coefficient of the activity material according to the current exposure change to obtain the current weighting coefficient of the activity material; the weighting coefficient is used to control the ranking position of the activity material in the recommendation list;

[0009] Obtaining a target similarity between the first material feature vector and the object feature vector of the target object according to a first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient;

[0010] According to the second similarity between the second material feature vector of other materials and the object feature vector and the target similarity, a target material including the active material is determined from the multiple materials, the other materials are materials other than the active material among the multiple materials, and the similarity between the third material feature vector of the target material and the object feature vector meets a preset condition;

[0011] The target material is recommended to the target object.

[0012] In an exemplary embodiment, after recommending the target material to the target object, the method further includes:

[0013] Acquire operation behavior data in real time, wherein the operation behavior data is data generated by the target object operating the activity material within a preset time period after the current time;

[0014] According to the operation behavior data, a real-time cumulative exposure amount of the active material is obtained; the real-time cumulative exposure amount represents the exposure amount of the active material between the start time and the end time of the preset time period;

[0015] When it is determined that the real-time cumulative exposure is less than the target total exposure, the real-time cumulative exposure is used as the current cumulative exposure, and the end time is used as the current time;

[0016] Repeat the step of acquiring multiple materials including the active material, to obtain the real-time cumulative exposure of the active material according to the operation behavior data, until the real-time cumulative exposure is greater than or equal to the target total exposure.

[0017] In an exemplary embodiment, before obtaining the target similarity between the first material feature vector of the activity material and the object feature vector of the target object according to the first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient, the method further includes:

[0018] Input the multiple materials into a preset rough sorting network, and calculate the initial rough sorting similarity between the material feature vectors corresponding to each of the multiple materials and the object feature vector;

[0019] Sorting the multiple materials in descending order according to their respective initial rough sorting similarities to obtain a first sequence;

[0020] In the case that the active material is not included in the first preset number of materials in the first sequence, the product of the initial rough ranking similarity between the first material feature vector and the object feature vector and the preset weighting coefficient is used as the target rough ranking similarity between the first material feature vector and the object feature vector; the target rough ranking similarity is greater than the initial rough ranking similarity between the material feature vector of the last material in the first sequence and the object feature vector;

[0021] Replacing the last material in the first sequence based on the active material to obtain a second sequence;

[0022] The materials in the second sequence are input into a preset refined sorting network to calculate the first similarity and the second similarity between the second material feature vector of the materials in the second sequence except the active material and the object feature vector.

[0023] In an exemplary embodiment, determining the target material including the active material from the multiple materials according to the second similarity between the second material feature vector of the other materials and the object feature vector and the target similarity includes:

[0024] Using the second similarity as the ranking similarity of materials other than the activity material in the second sequence, and using the target similarity as the ranking similarity of the activity material;

[0025] Sort the materials in the second sequence in descending order according to their corresponding sorting similarities to obtain a third sequence;

[0026] The second first preset number of materials in the third sequence are used as the target materials.

[0027] In an exemplary embodiment, the calculation formula for obtaining the current exposure change of the active material based on the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure is as follows:

[0028]

[0029] in, is the current exposure change, K p is the proportionality coefficient, Ki is the integration coefficient, K d is the differential coefficient, is the current target exposure, is the current cumulative exposure, and is the historical target exposure, and is the historical cumulative exposure, k is the round of repeating the step of obtaining multiple materials including active materials until obtaining the real-time cumulative exposure of the active material according to the operation behavior data, n is a variable from 0 to k, and k is a positive integer greater than or equal to 1.

[0030] In an exemplary implementation, the adjusting the historical weighting coefficient of the activity material according to the current exposure change to obtain the current weighting coefficient of the activity material includes:

[0031] When the current exposure change is greater than a preset exposure threshold, increasing the historical weighting coefficient to obtain the current weighting coefficient;

[0032] When the current exposure change is less than or equal to the preset exposure threshold, the historical weighting coefficient is reduced to obtain the current weighting coefficient.

[0033] According to a second aspect of an embodiment of the present disclosure, there is provided a material recommendation device, comprising:

[0034] A material coefficient acquisition module is configured to acquire a plurality of materials including an active material; the active material represents a material that reaches a target total exposure amount within a target time period;

[0035] The current exposure variation determination module is configured to execute, according to the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure, to obtain the current exposure variation of the active material; the current cumulative exposure represents the actual exposure of the active material between the start time and the current time of the target time period, the historical cumulative exposure represents the actual exposure of the active material between the start time and the historical time, the current target exposure represents the expected exposure of the active material between the start time and the current time, the historical target exposure represents the expected exposure of the active material between the start time and the historical time, the historical time is the time before the current time, and the current time and the historical time are within the target time period;

[0036] an adjustment module, configured to adjust the historical weighting coefficient of the activity material according to the current exposure change amount to obtain a current weighting coefficient of the activity material; the weighting coefficient is used to control the ranking position of the activity material in the recommendation list;

[0037] A target similarity determination module is configured to obtain a target similarity between the first material feature vector and the object feature vector according to a first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient;

[0038] a target material determination module, configured to determine a target material including the active material from the multiple materials according to a second similarity between a second material feature vector of other materials and the object feature vector and the target similarity, wherein the other materials are materials other than the active material among the multiple materials, and the similarity between a third material feature vector of the target material and the object feature vector meets a preset condition;

[0039] The recommendation module is configured to recommend the target material to the target object.

[0040] In an exemplary embodiment, the device further comprises:

[0041] An operation behavior data acquisition module is configured to acquire operation behavior data in real time, wherein the operation behavior data is data generated when the target object operates the activity material within a preset time period after the current time;

[0042] A real-time cumulative exposure determination module is configured to obtain the real-time cumulative exposure of the active material according to the operation behavior data; the real-time cumulative exposure represents the exposure of the active material between the start time and the end time of the preset time period;

[0043] a redetermining module, configured to execute, when it is determined that the real-time cumulative exposure is less than the target exposure, resetting the real-time cumulative exposure as the current cumulative exposure and resetting the end time as the current time;

[0044] The repetition module is configured to execute the step of repeatedly acquiring multiple materials including active materials, obtaining the real-time cumulative exposure of the active materials according to the operation behavior data, and until the real-time cumulative exposure is greater than or equal to the target total exposure.

[0045] In an exemplary embodiment, the device further comprises:

[0046] An initial rough sorting similarity acquisition module is configured to input the plurality of materials into a preset rough sorting network, and calculate an initial rough sorting similarity between a material feature vector corresponding to each of the plurality of materials and the object feature vector;

[0047] A first sequence acquisition module is configured to sort the multiple materials in descending order according to their respective initial rough sorting similarities to obtain a first sequence;

[0048] The target rough sorting similarity acquisition module is configured to execute, when the first preset number of materials in the first sequence does not include the active material, taking the product of the initial rough sorting similarity between the first material feature vector and the object feature vector and a preset weighting coefficient as the target rough sorting similarity between the first material feature vector and the object feature vector; the target rough sorting similarity is greater than the initial rough sorting similarity between the material feature vector of the last material in the first sequence and the object feature vector;

[0049] A second sequence acquisition module is configured to replace the last material in the first sequence based on the active material to obtain a second sequence;

[0050] The second similarity acquisition module is configured to input the materials in the second sequence into a preset refined sorting network, calculate the first similarity and the second similarity between the second material feature vector of the materials in the second sequence except the active material and the object feature vector.

[0051] In an exemplary embodiment, the target material determination module includes:

[0052] a sorting similarity determination unit, configured to use the second similarity as the sorting similarity of materials other than the active material in the second sequence, and use the target similarity as the sorting similarity of the active material;

[0053] A third sequence determining unit is configured to sort the materials in the second sequence in descending order according to their corresponding sorting similarities to obtain a third sequence;

[0054] The target material determination unit is configured to execute the second preset number of materials in the third sequence as the target material.

[0055] In an exemplary embodiment, the current exposure change amount determination module is configured to execute the following calculation formula:

[0056]

[0057] in, is the current exposure change, K p is the proportionality coefficient, K i is the integration coefficient, K d is the differential coefficient, is the current target exposure, is the current cumulative exposure, and is the historical target exposure, and is the historical cumulative exposure, k is the round of repeating the step of obtaining multiple materials including active materials until obtaining the real-time cumulative exposure of the active material according to the operation behavior data, n is a variable from 0 to k, and k is a positive integer greater than or equal to 1.

[0058] In an exemplary embodiment, the adjustment module includes:

[0059] A first adjustment unit is configured to increase the historical weighting coefficient to obtain the current weighting coefficient when the current exposure change is greater than a preset exposure threshold;

[0060] The second adjustment unit is configured to reduce the historical weighting coefficient to obtain the current weighting coefficient when the current exposure change is less than or equal to the preset exposure threshold.

[0061] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0062] processor;

[0063] a memory for storing instructions executable by the processor;

[0064] The processor is configured to execute the instructions to implement the material recommendation method as described in any of the above embodiments.

[0065] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of the electronic device, the electronic device executes the material recommendation method as described in any of the above embodiments.

[0066] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the material recommendation method described in any of the above embodiments is implemented.

[0067] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0068] In the disclosed embodiment, according to the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure, the current exposure change of the active material is obtained, and the historical weighting coefficient of the active material is adjusted according to the current exposure change to obtain the current weighting coefficient of the active material, and the target similarity between the first material feature vector and the object feature vector is determined according to the current weighting coefficient and the first similarity between the first material feature vector of the active material and the object feature vector of the target object, and then according to the second similarity between the second material feature vector and the object feature vector of the other materials except the active material in the multiple materials, and the target similarity, the target material including the active material is determined from the multiple materials, and finally the target material is recommended to the target object. It can be seen that since the current weighting coefficient can control the sorting position of the active material in the recommendation column, the current weighting coefficient can not only determine the target material recommended to the target object according to the preferences of the target object, but also reflect the order relationship between the active material and other materials; in addition, the current weighting coefficient can also ensure that the target object will definitely see the active material, and realize accurate control of the exposure of the active material, thereby ensuring the completion of the target exposure of the active material.

[0069] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0071] Figure 1 Shown is an application environment diagram of a material recommendation method according to an exemplary embodiment.

[0072] Figure 2 The figure is a flow chart of a material recommendation method according to an exemplary embodiment.

[0073] Figure 3 The present invention is a flowchart showing a method of obtaining a current weighting coefficient of an activity material according to an exemplary embodiment.

[0074] Figure 4 The present invention is a flowchart showing a method for obtaining the similarity between a material feature vector and an object feature vector of a material according to an exemplary embodiment.

[0075] Figure 5 The present invention is a flowchart of determining a target material according to an exemplary embodiment.

[0076] Figure 6The figure is a flow chart of another material recommendation method according to an exemplary embodiment.

[0077] Figure 7 The figure is a flow chart of another material recommendation method according to an exemplary embodiment.

[0078] Figure 8 The present invention is a block diagram of a material recommendation device according to an exemplary embodiment.

[0079] Fig. 9 The invention is a block diagram of an electronic device for material recommendation according to an exemplary embodiment. DETAILED DESCRIPTION

[0080] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0081] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0082] See also Figure 1 , Figure 1 The figure shows an application environment diagram of a material recommendation method according to an exemplary embodiment. The application environment may include a client 01 and a server 02 .

[0083] The client 01 can be used to operate the target material recommended by the server 02, thereby generating operation behavior data. Optionally, the client 01 can include a terminal device such as a smart phone, a desktop computer, a tablet computer, a laptop computer, a digital assistant, an augmented reality (AR) / virtual reality (VR) device, a smart wearable device, etc., and can also include an independently operated server, or a distributed server, or a server cluster consisting of multiple servers.

[0084] The server 02 can be used to obtain multiple materials including active materials; and to obtain the current exposure change of the active material according to the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure; and to adjust the historical weighting coefficient of the active material according to the current exposure change to obtain the current weighting coefficient of the active material; and to obtain the target similarity between the first material feature vector of the active material and the object feature vector of the target object according to the first similarity between the first material feature vector of the active material and the object feature vector of the target object and the current weighting coefficient; and to determine the target material including the active material from multiple materials according to the second similarity between the second material feature vector of other materials and the object feature vector and the target similarity; and to recommend the above target material to the above target object. Optionally, the server 02 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0085] In addition, it should be noted that Figure 1 What is shown is only an application environment diagram of the material recommendation method provided by the present disclosure. In actual application, other application environments may also be included.

[0086] Figure 2 is a flow chart of a material recommendation method according to an exemplary embodiment. Figure 2 As shown, this method can be used to Figure 1 In the server 02, the following steps are included.

[0087] In step S11, a plurality of materials including active materials are acquired; the active materials represent materials that reach a target total exposure amount within a target time period.

[0088] Specifically, exposure refers to the number of times the campaign material is viewed by the target object (eg, user).

[0089] Specifically, the active material represents the material that reaches the target exposure amount within the target time period, for example, the target exposure amount of 2 million is reached within 2 hours (9:00 am to 11:00 am).

[0090] In step S13, the current exposure change of the above-mentioned active material is obtained according to the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure; the above-mentioned current cumulative exposure represents the actual exposure of the above-mentioned active material between the start time of the above-mentioned target time period and the current time, the above-mentioned historical cumulative exposure represents the actual exposure of the above-mentioned active material between the above-mentioned start time and the historical time, the above-mentioned current target exposure represents the expected exposure of the above-mentioned active material between the above-mentioned start time and the above-mentioned current time, the above-mentioned historical target exposure represents the expected exposure of the above-mentioned active material between the above-mentioned start time and the above-mentioned historical time, the above-mentioned historical time is the time before the above-mentioned current time, and the above-mentioned current time and the above-mentioned historical time are within the above-mentioned target time period.

[0091] Specifically, the current cumulative exposure represents the exposure of the activity material between the start time of the target time period and the current time, and the current time is within the target time period. For example, if the target time period is a 2-hour period from 9:00 to 11:00 in the morning, and the current time is 10:00, then the current cumulative exposure can be the cumulative exposure of the activity material between 9:00 and 10:00.

[0092] Specifically, the historical cumulative exposure represents the exposure of the activity material between the start time and the historical time, the historical time is the time before the current time, and the historical time is within the target time period. For example, if the target time period is a 2-hour period from 9:00 to 11:00 in the morning, and the historical time is 09:30, then the historical cumulative exposure can be the cumulative exposure of the activity material between 9:00 and 09:30.

[0093] Specifically, the current target exposure represents the expected exposure of the active material between the start time and the current time, and the historical target exposure represents the expected exposure of the active material between the start time and the historical time. For example, if the target time period is a 2-hour period from 9:00 to 11:00 in the morning, the current target exposure may be the expected exposure of the active material between 9:00 and 10:00, and the historical time is 09:30, then the historical target exposure may be the expected exposure of the active material between 9:00 and 09:30.

[0094] Exemplarily, the equal proportion algorithm can be used to process the above target time period and the above target exposure amount to obtain the above current target exposure amount and the above historical target exposure amount. For example, the target time period is a 2-hour period from 9:00 to 11:00 in the morning, the target exposure amount is 2 million, and the current time is 10:00. According to the equal proportion algorithm, the current target exposure amount at 10:00 is 1 million, and the historical time is 9:30, then the historical target exposure amount at 9:30 is 500,000.

[0095] Optionally, the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure can be controlled by proportional differential integral through the PID algorithm to obtain the above-mentioned current exposure change. PID is the abbreviation of Proportional, Integral, and Differential. The above-mentioned proportional differential integral control includes three coefficients: proportional coefficient (K p )、Integral coefficient (K i ) and differential coefficient (K d ).

[0096] The proportional coefficient is used to control the exposure amount from the dimension that proportionally reflects the exposure deviation. Once the exposure deviation occurs, the control action is immediately taken to reduce the deviation. The output of the proportional controller is proportional to the exposure deviation, which can quickly respond to the deviation and thus reduce the deviation.

[0097] The integral coefficient is used to control the exposure from the dimension of the exposure deviation existence time. The effect of integral control is related to the existence time of exposure deviation. As long as there is a deviation in the system, the integral link will continue to work and integrate the input deviation.

[0098] The differential coefficient is used to control the exposure from the dimension of exposure deviation and exposure rate. The differential control can reflect the changing trend of exposure deviation.

[0099] Exemplarily, the calculation formula for obtaining the current exposure change of the above-mentioned active material based on the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure can be as follows:

[0100]

[0101] in, is the current exposure change, K p is the proportionality coefficient, K i is the integration coefficient, K d is the differential coefficient, is the current target exposure, is the current cumulative exposure, and is the historical target exposure, and is the historical cumulative exposure, k is the round of repeating the above steps of obtaining multiple materials including active materials, and subsequently obtaining the real-time cumulative exposure of the active materials based on the operation behavior data, n is a variable from 0 to k, and k is a positive integer greater than or equal to 1.

[0102] It should be noted that each execution of step S11 to subsequent step S115 by the recommendation service system is called a round.

[0103] It should be noted that:

[0104]

[0105] Exemplarily, the server 02 may include a recommendation service system, and the processes in step S11 and step S13 may be performed by the recommendation service system.

[0106] In the disclosed embodiment, the current exposure change of the active material is determined by the PID algorithm, and the exposure can be controlled from the dimension of proportionally reflecting the deviation, the dimension of the deviation existence time and the dimension of the deviation change rate, thereby improving the determination accuracy of the current exposure change of the active material, thereby improving the speed of determining the current weighting coefficient of the subsequent active material, and then accurately controlling the sorting position of the active material in the recommendation list, thereby achieving precise control of the exposure of the active material.

[0107] In step S15, the historical weighting coefficient of the activity material is adjusted according to the current exposure change to obtain the current weighting coefficient of the activity material; the weighting coefficient is used to control the ranking position of the activity material in the recommendation list.

[0108] Specifically, the current weighting coefficient is used to control the recommended ranking position of the activity material, for example, to make the activity material be ranked higher or lower in the recommended ranking process.

[0109] Figure 3 FIG. 1 is a flow chart showing a method of obtaining the current weighting coefficient of an activity material according to an exemplary embodiment. Figure 3 In an optional embodiment, in the step S15, adjusting the historical weighting coefficient of the activity material according to the current exposure change to obtain the current weighting coefficient of the activity material may include:

[0110] In step S1501, when the current exposure change is greater than a preset exposure threshold, the historical weighting coefficient is increased to obtain the current weighting coefficient.

[0111] In step S1503, when the current exposure change is less than or equal to the preset exposure threshold, the historical weighting coefficient is reduced to obtain the current weighting coefficient.

[0112] It should be noted that if the current round is the first round, the current cumulative exposure, the current target exposure, the historical cumulative exposure, and the historical target exposure are all 0, and the current weighting coefficient can be defaulted to 1.

[0113] Specifically, the larger the current exposure change is, the larger the amount of exposure the activity material here needs to have. Therefore, it is necessary to increase the historical weighting coefficient to obtain the current weighting coefficient, so that the activity material can be ranked higher in the recommendation process, thereby ensuring that the user will definitely see the activity material, and then ensuring that the activity material can reach the target exposure within the target time period; the smaller the current exposure change is, the smaller the amount of exposure the activity material here needs. Therefore, the historical weighting coefficient can be appropriately reduced to obtain the current weighting coefficient, so that the activity material is ranked later in the recommendation process, which facilitates the ranking of other activity materials. This can not only ensure that the activity material reaches the target total exposure within the target time period, but also ensure that the user will definitely see other activity materials, and ensure that other activity materials can reach the target total exposure within the target time period.

[0114] In an optional embodiment, the server 02 may include a recommendation service system, and the processes in the above steps S15, S1501-S1503 may be performed by the recommendation service system.

[0115] In another optional embodiment, the server 02 may include a recommendation service system and a traffic control system, and the traffic control system may include a PID module. Then, the processes in the above steps S15, S1501-S1503 may be executed by the PID module in the traffic control system.

[0116] Specifically, when the process in steps S1501-S1503 is performed by the PID module in the flow control system, after calculating the current weighting coefficient of the active material, the flow control system can store the current weighting coefficient in a cache, and the cache can also store multiple materials to be recommended to the target object. Accordingly, the recommendation service can obtain multiple materials including the active material and the current weighting coefficient from the cache.

[0117] In step S17, the target similarity between the first material feature vector of the activity material and the object feature vector of the target object is obtained according to the first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient.

[0118] Optionally, the product of the first similarity between the first material feature vector and the object feature vector of the target object (eg, user) and the current weighting coefficient may be used as the target similarity between the first material feature vector and the object feature vector.

[0119] In an optional embodiment, before obtaining the target similarity between the first material feature vector of the activity material and the object feature vector of the target object based on the first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient, the method may further include: in step S16, obtaining the similarity between the material feature vector of the material and the object feature vector. Specifically, Figure 4 FIG. 1 is a flow chart showing a method for obtaining the similarity between a material feature vector and an object feature vector of a material according to an exemplary embodiment. Figure 4 As shown, the similarity between the material feature vector and the object feature vector of the acquired material may include:

[0120] In step S1601, the above-mentioned multiple materials are input into a preset rough sorting network, and the initial rough sorting similarity between the material feature vectors corresponding to each of the multiple materials and the above-mentioned object feature vector is calculated.

[0121] Specifically, feature extraction can be performed on each material and target object in advance to obtain material feature data corresponding to each material and object feature data corresponding to the target object, and the material feature data and object feature data of each material are used as inputs of the preset rough sorting network.

[0122] Optionally, the preset coarse-grained network may be a neural network model.

[0123] Specifically, the material feature data and object feature data of each material may be input into a preset coarse sorting network to obtain an initial coarse sorting similarity between a material feature vector corresponding to the material feature data of each material and an object feature vector corresponding to the object feature data.

[0124] In step S1603, the above-mentioned multiple materials are sorted in descending order according to their corresponding initial rough sorting similarities to obtain a first sequence.

[0125] Specifically, multiple materials may be sorted in the order of initial rough similarity to obtain the above-mentioned first sequence.

[0126] In an optional embodiment, multiple materials may also be sorted in ascending order according to their respective initial rough similarities to obtain a corresponding ascending sequence.

[0127] In step S1605, when the active material is not included in the first preset number of materials in the first sequence, the initial rough similarity between the first material feature vector and the object feature vector and the product of the preset weighting coefficient are used as the target rough similarity between the first material feature vector and the object feature vector; the target rough similarity is greater than the initial rough similarity between the material feature vector of the last material sorted in the first sequence and the object feature vector.

[0128] Specifically, the preset weighting coefficient is a fixed value. When the active material is not included in the first preset number of materials in the first sequence, the target rough ranking similarity between the first material feature vector and the object feature vector is obtained by multiplying the initial rough ranking similarity between the first material feature vector of the active material and the object feature vector by the preset weighting coefficient. Since the target rough ranking similarity is greater than the initial rough ranking similarity between the material feature vector of the last material sorted in the first sequence and the object feature vector, it can ensure that the active material enters the preset fine ranking network to participate in the fine ranking process.

[0129] Optionally, when the first preset number of materials in the first sequence include the active material, it indicates that the active material can enter the preset fine sorting network and participate in the fine sorting process. At this time, the preset weighting coefficient may not be multiplied.

[0130] Optionally, when the first sequence is an ascending sequence, the subsequent step of determining the target rough sorting similarity can be performed when the preset number of materials before and after the first sequence do not include the active material. Accordingly, the target rough sorting similarity is greater than the initial rough sorting similarity between the material feature vectors of the materials ranked at the front and back in the first sequence and the object feature vector.

[0131] In step S1607, the last material in the first sequence is replaced with the active material to obtain a second sequence.

[0132] Specifically, after multiplying the initial rough sorting similarity between the above-mentioned first material feature vector and the above-mentioned object feature vector, since the target rough sorting similarity is greater than the initial rough sorting similarity between the material feature vector of the last material sorted in the above-mentioned first sequence and the above-mentioned object feature vector, the active material can be used to replace the last material sorted in the above-mentioned first sequence to obtain a second sequence, so that the active material can enter the preset fine sorting network and participate in the second sequence of the fine sorting process.

[0133] In step S1609, the materials in the second sequence are input into a preset refined sorting network to calculate the first similarity and the second similarity between the second material feature vector of the materials in the second sequence except the active material and the object feature vector.

[0134] Optionally, the preset coarse-grained network may be a neural network model.

[0135] Specifically, the material feature data corresponding to each material in the second sequence and the object feature data can be input into a preset refined sorting network to calculate the first similarity and the second similarity between the second material feature vector of the materials in the second sequence except the active material and the object feature vector.

[0136] Specifically, the above steps S1601-S1609 can be performed by the recommendation service system.

[0137] In the disclosed embodiment, in the rough ranking stage, when the first preset number of materials in the first sequence do not include the above-mentioned active material, the product of the initial rough ranking similarity between the first material feature vector of the active material and the object feature vector of the above-mentioned target object and the preset weighting coefficient is used as the target rough ranking similarity between the first material feature vector and the above-mentioned object feature vector, thereby improving the degree of association between the active material and the target object, so that the active material can smoothly enter the preset fine ranking network to participate in the fine ranking, thereby achieving the purpose of controlling the ranking position of the active material, not only allowing the active material to be sorted according to the user's preferences, but also reflecting the sequential relationship between the active material and other materials, ensuring that the active material will definitely be seen by the target object, thereby ensuring that the target total exposure of the active material is completed.

[0138] In an exemplary embodiment, in both the rough sorting stage and the fine sorting stage, the cosine distance between the material characteristic vector and the object characteristic vector can be calculated, and the pre-distance can be used as the similarity between the material characteristic vector of the material and the object vector of the target object.

[0139] In another exemplary embodiment, in both the rough sorting stage and the fine sorting stage, the vector inner product between the material characteristic vector and the object feature vector can be calculated, and the similarity can be represented by the vector inner product. For example, the larger the vector inner product, the smaller the angle between the two vectors, the greater the similarity, and the higher the similarity; the smaller the vector inner product, the larger the angle between the two vectors, the smaller the similarity, and the lower the similarity. Among them, "vector inner product" refers to the operation of multiplying the corresponding bits of two vectors one by one and then summing them.

[0140] In step S19, based on the second similarity between the second material feature vector of other materials and the above-mentioned object feature vector and the above-mentioned target similarity, the target material including the above-mentioned active material is determined from the above-mentioned multiple materials, the above-mentioned other materials are materials among the above-mentioned multiple materials except the above-mentioned active material, and the similarity between the third material feature vector of the above-mentioned target material and the above-mentioned object feature vector meets the preset conditions.

[0141] In an optional embodiment, if Figure 5 As shown, Figure 5 FIG. 1 is a flow chart showing a method of determining a target material according to an exemplary embodiment. Figure 5 As shown, in the above step S19, according to the second similarity between the second material feature vector of other materials and the above object feature vector and the above target similarity, determining the target material including the above activity material from the above multiple materials may include:

[0142] In step S1901, the second similarity is used as the ranking similarity of the materials in the second sequence except the activity material, and the target similarity is used as the ranking similarity of the activity material.

[0143] In step S1903, the materials in the second sequence are sorted in descending order according to their corresponding sorting similarities to obtain a third sequence.

[0144] In step S1905, the second first preset number of materials in the third sequence are used as the target materials.

[0145] Optionally, the materials in the second sequence may be sorted in descending order according to their corresponding sorting similarities to obtain a third sequence, and the second first preset number of materials in the third sequence may be used as the target materials.

[0146] Optionally, the materials in the second sequence may be sorted in ascending order according to their corresponding sorting similarities to obtain a corresponding ascending sequence, and the last preset number of materials in the ascending sequence are used as the target materials.

[0147] In the disclosed embodiment, since the target similarity is determined by the first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the above-mentioned current weighting coefficient, the activity material is sorted according to the target similarity, which improves the degree of association between the activity material and the target object, so that the activity material can definitely be in the target material, thereby achieving the purpose of controlling the sorting position of the activity material, so that the activity material will definitely be seen by the target object, thereby ensuring the completion of the target total exposure of the activity material.

[0148] Specifically, the above steps S1901 to S1905 can be executed by the recommendation service system.

[0149] In step S111 , the target material is recommended to the target object.

[0150] Specifically, the target material may be recommended to the target object by a recommendation service system.

[0151] In an alternative embodiment, Figure 6 FIG. 1 is a flow chart of another material recommendation method according to an exemplary embodiment. Figure 6 As shown, after recommending the target material to the target object, the method may further include:

[0152] In step S113, the operation behavior data is acquired in real time, where the operation behavior data is data generated when the target object operates the activity material within a preset time period after the current time.

[0153] In step S115, the real-time cumulative exposure of the above-mentioned active material is obtained according to the above-mentioned operation behavior data; the above-mentioned real-time cumulative exposure represents the exposure of the above-mentioned active material between the above-mentioned start time and the end time of the above-mentioned preset time period.

[0154] Optionally, in the above step S113, real-time stream data processing technology can be used to obtain in real time the data generated by the target object operating the above activity material within a preset time period after the current time. Among them, the real-time stream processing technology refers to the real-time collection of the data generated by the target object operating the activity material, which is handed over to the stream processing framework for cleaning, statistics, etc., and the statistical results can be displayed in real time in a visual way.

[0155] Specifically, “operating the above-mentioned activity materials” may include browsing the above-mentioned activity materials, clicking on the above-mentioned activity materials, etc.

[0156] Specifically, in step S115, based on the above-mentioned operation behavior data, the number of times the target object (for example, user) browses the above-mentioned activity materials (or clicks on the above-mentioned activity materials, etc.) within a preset time period after the current time can be counted to obtain real-time cumulative exposure.

[0157] In step S117, when it is determined that the real-time cumulative exposure is less than the target total exposure, the real-time cumulative exposure is reset as the current cumulative exposure, and the end time is reset as the current time.

[0158] In step S119, the above step of acquiring multiple materials including active materials, and obtaining the real-time cumulative exposure of the active materials according to the above operation behavior data is repeated until the real-time cumulative exposure is greater than or equal to the above target total exposure.

[0159] Optionally, the server may include a recommendation service system, and steps S111 to S119 may be performed by the recommendation service system.

[0160] Optionally, the server 02 may include a recommendation service system, a traffic control system, and a real-time data statistics service system. Steps S113 to S115 may be performed by the real-time data statistics service, step S117 may be performed by the traffic control system, and step S119 may be performed by the recommendation service system and the real-time data statistics service system: the real-time data statistics service system may send the real-time cumulative exposure obtained by statistics to the traffic control system, and the traffic control system determines whether the real-time cumulative exposure is greater than or equal to the target total exposure. If so, it means that the active material has reached the target total exposure within a preset time period, and the exposure process of the active material may be terminated. If not, the traffic control system re-uses the real-time cumulative exposure as the current cumulative exposure, and re-uses the end time as the current time. The traffic control system may recalculate the current weighting coefficient according to the PID algorithm, and re-store the current weighting coefficient into the cache. In the above step S119, the recommendation service system can repeat the step of obtaining multiple materials including active materials from the cache, to the step of recommending the target material to the above target object, and the real-time data statistics service system can repeat the step of obtaining the operation behavior data in real time, to the step of obtaining the real-time cumulative exposure of the above active material according to the above operation behavior data, until the real-time cumulative exposure is greater than or equal to the above target total exposure.

[0161] In the disclosed embodiment, the data generated by the target object operating the above-mentioned activity materials is obtained in real time, that is, the real-time cumulative exposure is counted from the dimension of real-time statistics. Since the target object will trigger the log report in real time after seeing the activity materials in real time, thereby generating real-time exposure, the real-time exposure is real exposure, which can accurately reflect the operation behavior of the target object, thereby improving the accuracy of determining the real-time cumulative exposure, and then improving the accuracy of determining the current weighting coefficient, ensuring that the activity materials accurately reach the target total exposure. In the case where the real-time cumulative exposure is less than the above-mentioned target total exposure, the current weighting coefficient calculation, recommendation sorting, and determination of the real-time cumulative exposure of the activity materials are repeated to ensure that the activity materials can reach the target total exposure within the target time period, thereby achieving accurate control of the exposure of the activity materials.

[0162] The following describes the material recommendation method by taking the example that the server 02 may include a recommendation service system, a traffic control system, and a real-time data statistics service system, the target time period is 2 hours (assuming 9:00-11:00 am), and the target exposure is 1 million. Figure 7 is a flow chart of another material recommendation method according to an exemplary embodiment. Figure 7 As shown:

[0163] First round (assuming the first round ends at 9:30):

[0164] The default weighting coefficient is 1, and the flow control system stores the current weighting coefficient in a cache, in which multiple materials including active materials are stored.

[0165] The recommendation service system obtains multiple materials including active materials and default weighting coefficients from the cache.

[0166] Since it is the first round, the current time is any time between 9:00-9:30, the historical target exposure and the historical cumulative exposure are both 0, and according to the proportional algorithm, the current target exposure of the active material at 9:30 (i.e. 30 minutes) is 250,000, and the flow control system calculates the current exposure change of the active material at 9:30 according to the above step S13. If the current exposure change is large, it means that the active material needs a larger exposure at this time, then the default weighting coefficient of the first round (which can be understood as the default historical weighting coefficient) can be increased to obtain the current weighting coefficient of the active material at 9:30; if the current exposure change is small, it means that the active material does not need a larger exposure at this time, then the default weighting coefficient of the first round (which can be understood as the default historical weighting coefficient) can be increased or decreased to obtain the current weighting coefficient of the active material at 9:30, and the current weighting coefficient of the active material at 9:30 is stored in the cache.

[0167] The recommendation service system recommends target materials to target objects.

[0168] The real-time data statistics service system obtains in real time the operation behavior data generated by the target object operating the activity material between 9:00 and 9:30, and counts the operation behavior data to obtain the real-time cumulative exposure of the activity material at 9:30.

[0169] The flow control system determines whether the real-time cumulative exposure is greater than or equal to the target total exposure. If so, the process ends. If not, the flow control system uses the real-time cumulative exposure as the above-mentioned current cumulative exposure and 9:30 as the current time.

[0170] Second round (assuming the second round ends at 10:00):

[0171] A plurality of materials including active materials are stored in the cache.

[0172] The recommendation service system obtains multiple materials including the activity material from the cache.

[0173] Since it is the second round, the historical target exposure can be the target exposure at 9:30 (i.e., 250,000), and the historical cumulative exposure can be the cumulative exposure at 9:30. According to the proportional algorithm, the current target exposure of the active material at 10:00 (i.e., 1h) is 500,000. The flow control system calculates the current exposure change of the active material at 10:00 according to the above step S13. If the current exposure change is large, it means that the active material needs a larger exposure at this time, then the current weighting coefficient obtained in the first round (i.e., the historical weighting coefficient at 9:30) can be increased to obtain the current weighting coefficient of the active material at 10:00. If the current exposure change is small, it means that the active material does not need a larger exposure at this time, then the current weighting coefficient obtained in the first round (i.e., the historical weighting coefficient at 9:30) can be increased or decreased to obtain the current weighting coefficient of the active material at 10:00.

[0174] The recommendation service system recommends target materials to target objects.

[0175] The real-time data statistics service system obtains in real time the operation behavior data generated by the target object operating the activity material between 9:30 and 10:00, and counts the operation behavior data to obtain the real-time cumulative exposure of the activity material at 10:00.

[0176] The flow control system determines whether the real-time cumulative exposure is greater than or equal to the target total exposure. If so, the process ends. If not, the flow control system will reset the real-time cumulative exposure as the above-mentioned current cumulative exposure and reset 10:00 as the current time.

[0177] And so on, until the real-time cumulative exposure is greater than or equal to the target total exposure.

[0178] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0179] Figure 8 is a block diagram of a material recommendation device according to an exemplary embodiment. Figure 8 The device includes a material coefficient acquisition module 21, a current exposure change determination module 23, an adjustment module 25, a target similarity determination module 27, a target material determination module 29 and a recommendation module 211.

[0180] The material coefficient acquisition module 21 is configured to execute acquisition of multiple materials including active materials; the above-mentioned active materials represent materials that reach a target total exposure amount within a target time period.

[0181] The current exposure change determination module 23 is configured to execute, based on the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure, to obtain the current exposure change of the above-mentioned active material; the above-mentioned current cumulative exposure represents the actual exposure of the above-mentioned active material between the start time of the above-mentioned target time period and the current time, the above-mentioned historical cumulative exposure represents the actual exposure of the above-mentioned active material between the above-mentioned start time and the historical time, the above-mentioned current target exposure represents the expected exposure of the above-mentioned active material between the above-mentioned start time and the above-mentioned current time, the above-mentioned historical target exposure represents the expected exposure of the above-mentioned active material between the above-mentioned start time and the above-mentioned historical time, the above-mentioned historical time is the time before the above-mentioned current time, and the above-mentioned current time and the above-mentioned historical time are within the above-mentioned target time period.

[0182] The adjustment module 25 is configured to adjust the historical weighting coefficient of the activity material according to the current exposure change to obtain the current weighting coefficient of the activity material; the weighting coefficient is used to control the ranking position of the activity material in the recommendation list.

[0183] The target similarity determination module 27 is configured to execute the first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient to obtain the target similarity between the first material feature vector and the object feature vector.

[0184] The target material determination module 29 is configured to determine the target material including the above-mentioned active material from the above-mentioned multiple materials based on the second similarity between the second material feature vector of other materials and the above-mentioned object feature vector and the above-mentioned target similarity, the above-mentioned other materials are materials among the above-mentioned multiple materials except the above-mentioned active material, and the similarity between the third material feature vector of the above-mentioned target material and the above-mentioned object feature vector meets the preset conditions.

[0185] The recommendation module 211 is configured to recommend the target material to the target object.

[0186] In an exemplary embodiment, the above device may further include:

[0187] The operation behavior data acquisition module is configured to execute real-time acquisition of operation behavior data, where the operation behavior data is data generated when the target object operates the activity material within a preset time period after the current time.

[0188] The real-time cumulative exposure determination module is configured to execute the real-time cumulative exposure of the above-mentioned active material based on the above-mentioned operation behavior data; the above-mentioned real-time cumulative exposure represents the exposure of the above-mentioned active material between the above-mentioned start time and the end time of the above-mentioned preset time period.

[0189] The redetermination module is configured to execute, when it is determined that the real-time cumulative exposure is less than the target exposure, resetting the real-time cumulative exposure as the current cumulative exposure and resetting the end time as the current time.

[0190] The repetition module is configured to execute the step of repeatedly acquiring multiple materials including active materials, obtaining the real-time cumulative exposure of the active materials according to the operation behavior data, and until the real-time cumulative exposure is greater than or equal to the target total exposure.

[0191] In an exemplary embodiment, the above device may further include:

[0192] The initial rough sorting similarity acquisition module is configured to input the above-mentioned multiple materials into a preset rough sorting network, and calculate the initial rough sorting similarity between the material feature vectors corresponding to each of the multiple materials and the above-mentioned object feature vector.

[0193] The first sequence acquisition module is configured to sort the above-mentioned multiple materials in descending order according to their respective initial rough sorting similarities to obtain a first sequence.

[0194] The target rough-sort similarity acquisition module is configured to execute, when the first preset number of materials in the first sequence do not include the active material, using the product of the initial rough-sort similarity between the feature vector of the first material and the feature vector of the object and a preset weighting coefficient as the target rough-sort similarity between the feature vector of the first material and the feature vector of the object; the target rough-sort similarity is greater than the initial rough-sort similarity between the feature vector of the last material in the first sequence and the feature vector of the object.

[0195] The second sequence acquisition module is configured to replace the last material in the first sequence based on the above-mentioned active material to obtain a second sequence.

[0196] The second similarity acquisition module is configured to input the materials in the above-mentioned second sequence into a preset refined sorting network, calculate the above-mentioned first similarity and the second material feature vector of the materials in the above-mentioned second sequence except the above-mentioned active material, and the second similarity between the above-mentioned object feature vector.

[0197] In an exemplary embodiment, the target material determination module 29 may include:

[0198] The sorting similarity determination unit is configured to use the second similarity as the sorting similarity of the materials in the second sequence except the activity material, and use the target similarity as the sorting similarity of the activity material.

[0199] The third sequence determination unit is configured to sort the materials in the second sequence in descending order according to their corresponding sorting similarities to obtain a third sequence.

[0200] The target material determination unit is configured to execute the second preset number of materials in the third sequence as the target materials.

[0201] In an exemplary embodiment, the current exposure change amount determination module is configured to execute the following calculation formula:

[0202]

[0203] in, is the above current exposure change, K p is the proportionality coefficient, K i is the integration coefficient, K d is the differential coefficient, is the current target exposure mentioned above, is the current cumulative exposure above, and For the above historical target exposure, and is the above-mentioned historical cumulative exposure, k is the round of repeating the above-mentioned steps of obtaining multiple materials including active materials, until the above-mentioned steps of obtaining the real-time cumulative exposure of the above-mentioned active materials according to the above-mentioned operation behavior data, n is a variable from 0 to k, and k is a positive integer greater than or equal to 1.

[0204] In an exemplary embodiment, the adjustment module may include:

[0205] The first adjustment unit is configured to increase the historical weighting coefficient to obtain the current weighting coefficient when the current exposure change is greater than a preset exposure threshold.

[0206] The second adjustment unit is configured to reduce the historical weighting coefficient to obtain the current weighting coefficient when the current exposure change is less than or equal to the preset exposure threshold.

[0207] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0208] In an exemplary embodiment, an electronic device is also provided, including a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the steps of any material recommendation method in the above-mentioned embodiments when executing the instructions stored in the memory.

[0209] The electronic device may be a terminal, a server or a similar computing device. For example, the electronic device is a server. Fig. 9 It is a block diagram of an electronic device for material recommendation according to an exemplary embodiment. The electronic device 30 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 31 (the central processing unit 31 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 33 for storing data, and one or more storage media 32 (such as one or more mass storage devices) for storing application programs 323 or data 322. Among them, the memory 33 and the storage medium 32 can be short-term storage or permanent storage. The program stored in the storage medium 32 may include one or more modules, and each module may include a series of instruction operations in the electronic device. Furthermore, the central processing unit 31 can be configured to communicate with the storage medium 32 to execute a series of instruction operations in the storage medium 32 on the electronic device 30. The electronic device 30 may also include one or more power supplies 36, one or more wired or wireless network interfaces 35, one or more input and output interfaces 34, and / or one or more operating systems 321, such as Windows ServerTM, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0210] The input / output interface 34 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the electronic device 30. In one example, the input / output interface 34 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In an exemplary embodiment, the input / output interface 34 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0211] It can be understood by those skilled in the art that Fig. 9 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations are shown.

[0212] In an exemplary embodiment, a computer-readable storage medium is also provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the steps of any material recommendation method in the above-mentioned embodiments.

[0213] In an exemplary embodiment, a computer program product is also provided, including a computer program, which, when executed by a processor, implements the material recommendation method provided in any of the above-mentioned embodiments.

[0214] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present disclosure can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0215] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0216] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A material recommendation method, characterized in that: include Acquire multiple materials including active materials; the active materials represent materials that reach a target total exposure amount within a target time period; Obtaining a current exposure change of the active material according to a deviation between a current target exposure and a current cumulative exposure and a deviation between a historical target exposure and a historical cumulative exposure; The current cumulative exposure represents the actual exposure of the active material between the start time of the target time period and the current time, the historical cumulative exposure represents the actual exposure of the active material between the start time and the historical time, the current target exposure represents the expected exposure of the active material between the start time and the current time, the historical target exposure represents the expected exposure of the active material between the start time and the historical time, the historical time is the time before the current time, and the current time and the historical time are within the target time period; Adjusting the historical weighting coefficient of the activity material according to the current exposure change to obtain the current weighting coefficient of the activity material; the weighting coefficient is used to control the ranking position of the activity material in the recommendation list; Obtaining a target similarity between the first material feature vector and the object feature vector of the target object according to a first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient; According to the second similarity between the second material feature vector of other materials and the object feature vector and the target similarity, a target material including the active material is determined from the multiple materials, the other materials are materials other than the active material among the multiple materials, and the similarity between the third material feature vector of the target material and the object feature vector meets a preset condition; The target material is recommended to the target object.

2. The material recommendation method according to claim 1, characterized in that: After recommending the target material to the target object, the method further includes: Acquire operation behavior data in real time, wherein the operation behavior data is data generated by the target object operating the activity material within a preset time period after the current time; According to the operation behavior data, a real-time cumulative exposure amount of the active material is obtained; the real-time cumulative exposure amount represents the exposure amount of the active material between the start time and the end time of the preset time period; When it is determined that the real-time cumulative exposure is less than the target total exposure, the real-time cumulative exposure is used as the current cumulative exposure, and the end time is used as the current time; Repeat the step of acquiring multiple materials including the active material, to obtain the real-time cumulative exposure of the active material according to the operation behavior data, until the real-time cumulative exposure is greater than or equal to the target total exposure.

3. The material recommendation method according to claim 1, characterized in that: Before obtaining the target similarity between the first material feature vector of the activity material and the object feature vector of the target object according to the first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient, the method further includes: Input the multiple materials into a preset rough sorting network, and calculate the initial rough sorting similarity between the material feature vectors corresponding to each of the multiple materials and the object feature vector; Sorting the multiple materials in descending order according to their respective initial rough sorting similarities to obtain a first sequence; In the case that the active material is not included in the first preset number of materials in the first sequence, the product of the initial rough ranking similarity between the first material feature vector and the object feature vector and the preset weighting coefficient is used as the target rough ranking similarity between the first material feature vector and the object feature vector; the target rough ranking similarity is greater than the initial rough ranking similarity between the material feature vector of the last material in the first sequence and the object feature vector; Replacing the last material in the first sequence based on the active material to obtain a second sequence; The materials in the second sequence are input into a preset refined sorting network to calculate the first similarity and the second similarity between the second material feature vector of the materials in the second sequence except the active material and the object feature vector.

4. The material recommendation method according to claim 3, characterized in that: The determining, from the plurality of materials, a target material including the active material according to the second similarity between the second material feature vector of other materials and the object feature vector and the target similarity, comprises: Using the second similarity as the ranking similarity of materials other than the activity material in the second sequence, and using the target similarity as the ranking similarity of the activity material; Sort the materials in the second sequence in descending order according to their corresponding sorting similarities to obtain a third sequence; The second first preset number of materials in the third sequence are used as the target materials.

5. The material recommendation method according to claim 2, characterized in that: The calculation formula for obtaining the current exposure change of the active material based on the deviation between the current target exposure and the current cumulative exposure and the deviation between the historical target exposure and the historical cumulative exposure is as follows: in, is the current exposure change, K p is the proportionality coefficient, K i is the integration coefficient, K d is the differential coefficient, is the current target exposure, is the current cumulative exposure, and is the historical target exposure, and is the historical cumulative exposure, k is the round of repeating the step of obtaining multiple materials including active materials until obtaining the real-time cumulative exposure of the active material according to the operation behavior data, n is a variable from 0 to k, and k is a positive integer greater than or equal to 1.

6. The material recommendation method according to claim 1, characterized in that: The adjusting the historical weighting coefficient of the activity material according to the current exposure change to obtain the current weighting coefficient of the activity material includes: When the current exposure change is greater than a preset exposure threshold, increasing the historical weighting coefficient to obtain the current weighting coefficient; When the current exposure change is less than or equal to the preset exposure threshold, the historical weighting coefficient is reduced to obtain the current weighting coefficient.

7. A material recommendation device, characterized in that: include A material coefficient acquisition module is configured to acquire a plurality of materials including an active material; the active material represents a material that reaches a target total exposure amount within a target time period; A current exposure variation determination module is configured to obtain a current exposure variation of the active material according to a deviation between a current target exposure and a current cumulative exposure and a deviation between a historical target exposure and a historical cumulative exposure; The current cumulative exposure represents the actual exposure of the active material between the start time of the target time period and the current time, the historical cumulative exposure represents the actual exposure of the active material between the start time and the historical time, the current target exposure represents the expected exposure of the active material between the start time and the current time, the historical target exposure represents the expected exposure of the active material between the start time and the historical time, the historical time is the time before the current time, and the current time and the historical time are within the target time period; an adjustment module, configured to adjust the historical weighting coefficient of the activity material according to the current exposure change amount to obtain a current weighting coefficient of the activity material; the weighting coefficient is used to control the ranking position of the activity material in the recommendation list; A target similarity determination module is configured to obtain a target similarity between the first material feature vector and the object feature vector according to a first similarity between the first material feature vector of the activity material and the object feature vector of the target object and the current weighting coefficient; a target material determination module, configured to determine a target material including the active material from the multiple materials according to a second similarity between a second material feature vector of other materials and the object feature vector and the target similarity, wherein the other materials are materials other than the active material among the multiple materials, and the similarity between a third material feature vector of the target material and the object feature vector meets a preset condition; The recommendation module is configured to recommend the target material to the target object.

8. The material recommendation device according to claim 7, characterized in that: The device also includes: An operation behavior data acquisition module is configured to acquire operation behavior data in real time, wherein the operation behavior data is data generated when the target object operates the activity material within a preset time period after the current time; A real-time cumulative exposure determination module is configured to obtain the real-time cumulative exposure of the active material according to the operation behavior data; the real-time cumulative exposure represents the exposure of the active material between the start time and the end time of the preset time period; a redetermining module configured to execute, when it is determined that the real-time cumulative exposure is less than the target total exposure, resetting the real-time cumulative exposure as the current cumulative exposure and resetting the end time as the current time; The repetition module is configured to execute the step of repeatedly acquiring multiple materials including active materials, obtaining the real-time cumulative exposure of the active materials according to the operation behavior data, and until the real-time cumulative exposure is greater than or equal to the target total exposure.

9. The material recommendation device according to claim 7, characterized in that: The device also includes: An initial rough sorting similarity acquisition module is configured to input the plurality of materials into a preset rough sorting network, and calculate an initial rough sorting similarity between a material feature vector corresponding to each of the plurality of materials and the object feature vector; A first sequence acquisition module is configured to sort the multiple materials in descending order according to their respective initial rough sorting similarities to obtain a first sequence; The target rough sorting similarity acquisition module is configured to execute, when the first preset number of materials in the first sequence does not include the active material, taking the product of the initial rough sorting similarity between the first material feature vector and the object feature vector and a preset weighting coefficient as the target rough sorting similarity between the first material feature vector and the object feature vector; the target rough sorting similarity is greater than the initial rough sorting similarity between the material feature vector of the last material in the first sequence and the object feature vector; A second sequence acquisition module is configured to replace the last material in the first sequence based on the active material to obtain a second sequence; The second similarity acquisition module is configured to input the materials in the second sequence into a preset refined sorting network, calculate the first similarity and the second similarity between the second material feature vector of the materials in the second sequence except the active material and the object feature vector.

10. The material recommendation device according to claim 9, characterized in that: The target material determination module includes: a sorting similarity determination unit, configured to use the second similarity as the sorting similarity of materials other than the active material in the second sequence, and use the target similarity as the sorting similarity of the active material; A third sequence determining unit is configured to sort the materials in the second sequence in descending order according to their corresponding sorting similarities to obtain a third sequence; The target material determination unit is configured to execute the second preset number of materials in the third sequence as the target material.

11. The material recommendation device according to claim 8, characterized in that: The current exposure change determination module is configured to execute the following calculation formula: in, is the current exposure change, K p is the proportionality coefficient, K i is the integration coefficient, K d is the differential coefficient, is the current target exposure, is the current cumulative exposure, and is the historical target exposure, and is the historical cumulative exposure, k is the round of repeating the step of obtaining multiple materials including active materials until obtaining the real-time cumulative exposure of the active material according to the operation behavior data, n is a variable from 0 to k, and k is a positive integer greater than or equal to 1.

12. The material recommendation device according to claim 7, characterized in that: The adjustment module comprises: A first adjustment unit is configured to increase the historical weighting coefficient to obtain the current weighting coefficient when the current exposure change is greater than a preset exposure threshold; The second adjustment unit is configured to reduce the historical weighting coefficient to obtain the current weighting coefficient when the current exposure change is less than or equal to the preset exposure threshold.

13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the material recommendation method as described in any one of claims 1 to 6.

14. A computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the material recommendation method as described in any one of claims 1 to 6.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the material recommendation method according to any one of claims 1 to 6 is implemented.