A method and device for determining target media information
By dividing the quality interval of media information and determining the information to be pushed according to the target push probability, and dynamically adjusting the push probability, the problem of low media information recommendation efficiency in the existing technology is solved and the recommendation effect is improved.
Patent Information
- Application Number
- CN202110062582.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-18
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-01-18
AI Technical Summary
In the existing technology, the media information recommendation efficiency is low and the threshold setting is not flexible enough, resulting in poor recommendation results under extreme quality conditions.
By obtaining the quality value of media information, multiple quality intervals are divided, and the media information to be pushed is determined according to the target push probability of each interval, and the push probability is dynamically adjusted to improve recommendation efficiency.
This achieves the purpose of determining the media information to be pushed based on the quality value of all current media information, improves the efficiency of media information recommendation, and solves the problem of low recommendation efficiency.
Smart Images

Figure CN112800327B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a method and device for determining target media information. Background Art
[0002] With the development of the Internet, recommendation systems have widely supported various applications on the entire Internet. For example, the recommendation function on the website platform that caters to different people requires the support of the recommendation system. Many content displays on the Internet come from the recommendation results returned by the recommendation system, and there is a need to filter out a certain number of preferred media information from the dynamically changing number of media information for recommendation. In the related technology, a threshold is set as the basis for quality judgment. By default, all media information greater than the threshold is the preferred media information. When the total number of recommendations is met, the recommendation is stopped. However, the threshold setting of this method is not flexible enough. When the quality of the media information is extreme, the recommendation effect is not good.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The present application provides a method and device for determining target media information, so as to at least solve the technical problem of low efficiency of media information recommendation in related technologies.
[0005] According to one aspect of an embodiment of the present application, a method for determining target media information is provided, including: obtaining a quality value corresponding to first media information received within a predetermined time period; determining the first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range; and determining the target media information to be pushed according to the target push probability corresponding to the first quality interval.
[0006] Optionally, before determining the target media information to be pushed according to the target push probability corresponding to the first quality interval, the method also includes: obtaining the cumulative push value of the currently pushed media information; adjusting the first push probability corresponding to the target quality interval according to the relationship between the cumulative push value and the predetermined push value to obtain a second push probability, wherein the target quality interval is one or more quality intervals among the multiple second quality intervals.
[0007] Optionally, adjusting the first push probability corresponding to the target quality interval according to the relationship between the cumulative push value and the predetermined push value to obtain the second push probability includes: calculating the difference between the cumulative push value and the predetermined push value to obtain a first numerical value; determining the target quality interval based on the first numerical value, and determining an adjustment plan based on the first numerical value; adjusting the first push probability corresponding to the target quality interval based on the adjustment plan to obtain the second push probability.
[0008] Optionally, determining the target quality interval based on the first numerical value includes: sorting the first media information in descending order of the quality values; determining the second media information at the target sorting position, wherein the ratio of the media information before the target sorting position to the initial media information satisfies a predetermined threshold; determining the quality interval where the quality value of the second media information is located as a third quality interval; and determining the target quality interval based on the first numerical value and the third quality interval.
[0009] Optionally, determining the target quality interval based on the first numerical value and the third quality interval includes: detecting whether the first numerical value is less than a first set threshold value to obtain a first detection result, wherein the first set threshold value is a natural number less than zero; when the first detection result is used to indicate that the first numerical value is less than the first set threshold value, determining the third quality interval and a predetermined number of quality intervals adjacent to the third quality interval as target quality intervals; when the first detection result is used to indicate that the first numerical value is greater than or equal to the set threshold value, determining the third quality interval as the target quality interval.
[0010] Optionally, determining the adjustment scheme based on the first numerical value includes: detecting whether the first numerical value is less than a second set threshold value to obtain a second detection result; when the second detection result is used to indicate that the first numerical value is less than the second set threshold value, determining that the adjustment scheme is to upward adjust the first push probability corresponding to the target quality interval; when the second detection result is used to indicate that the first numerical value is greater than or equal to the second set threshold value, determining that the adjustment scheme is to downward adjust the first push probability corresponding to the target quality interval.
[0011] According to another aspect of an embodiment of the present application, a device for determining target media information is also provided, including: a first acquisition module, used to obtain a quality value corresponding to first media information received within a predetermined time period; a first determination module, used to determine the first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range; a second determination module, used to determine the target media information to be pushed according to the target push probability corresponding to the first quality interval.
[0012] Optionally, the device also includes: a second acquisition module, used to obtain the cumulative push value of the currently pushed media information before determining the target media information to be pushed according to the target push probability corresponding to the first quality interval; an adjustment module, used to adjust the first push probability corresponding to the target quality interval according to the relationship between the cumulative push value and the predetermined push value to obtain a second push probability, wherein the target quality interval is one or more quality intervals among the multiple second quality intervals.
[0013] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above method is executed when the program is run.
[0014] According to another aspect of an embodiment of the present application, an electronic device is further provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above method through the computer program.
[0015] In the embodiment of the present application, a quality value corresponding to the first media information received within a predetermined time period is obtained; a first quality interval corresponding to the quality value of each first media information is determined, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range; a method of determining the target media information to be pushed according to the target push probability corresponding to the first quality interval is adopted, by setting the quality interval of the media information, each quality interval corresponds to a recommendation probability, and according to the determined quality value of the first media information, the first quality interval corresponding to the quality value of the first media information is determined, and according to the recommendation probability corresponding to the first quality interval, the target media information to be pushed is determined. Compared with the method of determining whether to push the media information by setting a threshold value for evaluating the quality value in the related art, the embodiment of the present invention can achieve the purpose of determining the media information to be pushed according to the quality value of all the current media information, thereby achieving the technical effect of improving the efficiency of media information recommendation, and thus solving the technical problem of low efficiency of media information recommendation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0018] Figure 1 is a schematic diagram of a hardware environment of a method for determining target media information according to an embodiment of the present application;
[0019] Figure 2 is a flowchart of an optional method for determining target media information according to an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of an optional quality interval according to an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of an optional device for determining target media information according to an embodiment of the present application;
[0022] Figure 5 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] According to one aspect of the embodiments of the present application, a method embodiment for determining target media information is provided.
[0026] Optionally, in this embodiment, the above method for determining target media information can be applied to: Figure 1 The hardware environment shown is composed of a terminal 101 and a server 103. Figure 1 is a schematic diagram of the hardware environment of the method for determining target media information according to an embodiment of the present application, such as Figure 1 As shown, the server 103 is connected to the terminal 101 through a network, and can be used to provide services (such as data computing services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 103. The above network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, etc. The method for determining the target media information of the embodiment of the present application can be executed by the server 103, or by the terminal 101, or by the server 103 and the terminal 101. Among them, the terminal 101 executes the method for determining the target media information of the embodiment of the present application, and it can also be executed by the client installed thereon.
[0027] Figure 2 is a flowchart of an optional method for determining target media information according to an embodiment of the present application. Figure 2 As shown, the method may include the following steps:
[0028] Step S202, obtaining a quality value corresponding to the first media information received within a predetermined time period;
[0029] Step S204: determining the first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range;
[0030] Step S206: determining target media information to be pushed according to the target push probability corresponding to the first quality interval.
[0031] Through the above steps S202 to S206, by setting the quality intervals of the media information, each quality interval corresponds to a recommendation probability, and according to the determined quality value of the first media information, the first quality interval corresponding to the quality value of the first media information is determined, and according to the recommendation probability corresponding to the first quality interval, the target media information to be pushed is determined. Compared with the method of determining whether to push the media information by setting a threshold of the evaluation quality value in the related art, the embodiment of the present invention can achieve the purpose of determining the media information to be pushed according to the quality values of all the current media information, thereby achieving the technical effect of improving the efficiency of media information recommendation, and further solving the technical problem of low efficiency of media information recommendation.
[0032] In the technical solution provided in step S202, the scheduled time period may include but is not limited to 1 hour, 5 hours, 20 hours, etc. The scheduled time period may be flexibly set according to demand, and this solution does not limit this.
[0033] Optionally, in this embodiment, the first media information may be, but is not limited to, advertisements, videos, audios, news, product pictures, etc., and this solution does not limit this.
[0034] Optionally, in this embodiment, the quality value can be, but is not limited to, obtained by scoring according to the clarity, number of bytes, picture color and other dimensions of the media information through a scoring model. The larger the quality value, the more likely the media information is to be accepted by the user.
[0035] Optionally, in this embodiment, the quality value of the first media information may be stored in Redis (Remote Dictionary Server, remote dictionary service).
[0036] In the technical solution provided in step S204, the preset quality value range is determined according to the quality value evaluation model. Different quality value evaluation models correspond to different preset quality value ranges. The preset quality value range can be 0 to 10, 0 to 100, 0 to 200, and so on.
[0037] Optionally, in this embodiment, the step size of the first quality interval can be set arbitrarily according to needs. For example, when the preset quality value range of the second quality interval is 0 to 10, the interval range of the first quality interval can be set to 1, and the first quality interval is 0 to 1, 1 to 2, 2 to 3...9 to 10.
[0038] In the technical solution provided in step S206, the method for determining the target media information to be pushed according to the target push probability may be determined based on the target push probability through a random number algorithm.
[0039] As an optional embodiment, before determining the target media information to be pushed according to the target push probability corresponding to the first quality interval, the method further includes:
[0040] S11, obtaining the cumulative push value of the currently pushed media information;
[0041] S12: adjusting the first push probability corresponding to the target quality interval according to the relationship between the accumulated push value and the predetermined push value to obtain a second push probability, wherein the target quality interval is one or more quality intervals among the plurality of the second quality intervals.
[0042] Optionally, in this embodiment, the number of quality intervals included in the target quality interval may be 1, 2, 3, etc.
[0043] Optionally, in this embodiment, the first push probability may be adjusted by increasing or decreasing the value of the push probability.
[0044] Through the above steps, by determining the relationship between the cumulative push value and the expected push value, the first push probability of the target quality interval is adjusted according to the relationship, thereby achieving dynamic adjustment of the push probability value of the quality interval, and then dynamically adjusting the push amount of the media information according to the push amount.
[0045] As an optional embodiment, adjusting the first push probability corresponding to the target quality interval according to the relationship between the accumulated push value and the predetermined push value to obtain the second push probability includes:
[0046] S21, calculating the difference between the accumulated push value and the predetermined push value to obtain a first value;
[0047] S22, determining a target quality interval based on the first value, and determining an adjustment scheme based on the first value;
[0048] S23: Adjust the first push probability corresponding to the target quality interval based on the adjustment scheme to obtain the second push probability.
[0049] Optionally, in this embodiment, the first push destination may be, but is not limited to, a difference between a cumulative push value and a predetermined push value, a cumulative push probability, etc., and this solution does not limit this.
[0050] Through the above steps, the adjustment strategy and the target quality interval to be adjusted are determined according to the difference between the cumulative push value and the predetermined push value, and the push probability value of the corresponding target quality interval is adjusted based on the adjustment strategy, thereby improving the accuracy of the second push probability.
[0051] As an optional embodiment, determining the target quality interval based on the first value includes:
[0052] S31, sorting the first media information in descending order of the quality values;
[0053] S32, determining the second media information at the target sorting position, wherein the ratio of the media information before the target sorting position to the initial media information satisfies a predetermined threshold;
[0054] S33, determining the quality interval in which the quality value of the second media information lies as a third quality interval;
[0055] S34: Determine the target quality interval based on the first value and the third quality interval.
[0056] Optionally, in this embodiment, the target sorting position may be set according to demand, such as setting the target position according to demand to the sorting position where the critical mass values of 50%, 60%, and 70% are located in the sorting order.
[0057] Optionally, in this embodiment, the method for determining the target sorting position may be to calculate the quality value up to the current time, adopt a minimum heap data structure, and obtain the top N, thereby determining the target sorting position.
[0058] Optionally, in this embodiment, the target mass interval may include only the third mass interval, or may include the third mass interval and one or two intervals adjacent to the third mass interval, and so on.
[0059] Through the above steps, by determining the second media information at the target sorting position, the quality interval where the second media information at the target sorting position is located is determined as the third quality interval, and the target quality interval is determined based on the first value and the third quality interval, rather than the determined target quality interval, thereby providing a prerequisite for obtaining accurate media information to be pushed.
[0060] As an optional embodiment, determining the target quality interval based on the first value and the third quality interval includes:
[0061] S41, detecting whether the first value is less than a first set threshold value to obtain a first detection result, wherein the first set threshold value is a natural number less than zero;
[0062] S42, when the first detection result indicates that the first value is less than the first set threshold, determining the third quality interval and a predetermined number of quality intervals adjacent to the third quality interval as target quality intervals;
[0063] S43: When the first detection result indicates that the first value is greater than or equal to a set threshold, determine the third quality interval as the target quality interval.
[0064] Optionally, in this embodiment, the predetermined number may be 1, 2, 3, etc. For example, when the step value of the interval is 1 and the third quality interval is 3 to 4, the target quality intervals are 2 to 3, 3 to 4, and 4 to 5.
[0065] Optionally, in this embodiment, the first set threshold may be randomly set according to business requirements, for example, the first set threshold may be set to 0.5, 0.6, 1, 2, 3, 5, etc.
[0066] Through the above steps, the target quality interval is determined by comparing the first value with the first set threshold. When the first value is greater than the first set threshold, it proves that the push volume is far from meeting the business demand, and the push probability values of more quality intervals need to be adjusted to avoid frequent changes in the adjustment space.
[0067] As an optional embodiment, determining the adjustment scheme based on the first value includes:
[0068] S51, detecting whether the first value is less than a second set threshold value to obtain a second detection result;
[0069] S52, when the second detection result indicates that the first value is less than the second set threshold, determining that the adjustment scheme is to adjust upward the first push probability corresponding to the target quality interval;
[0070] S53: When the second detection result indicates that the first value is greater than or equal to the second set threshold, determine that the adjustment scheme is to downwardly adjust the first push probability corresponding to the target quality interval.
[0071] Optionally, in this embodiment, the second set threshold may be a natural number set according to business requirements.
[0072] Through the above steps, the adjustment strategy is determined by setting the second set threshold, and the push probability of the target quality interval is adjusted accordingly, thereby avoiding the actual push probability from seriously deviating from the expected push probability and improving the accuracy of the method.
[0073] Figure 3is a schematic diagram of an optional quality interval according to an embodiment of the present application, such as Figure 3 As shown: the preset quality value range of the quality interval is (0,1), and the preset quality value range is divided into 10 intervals with a step value of 0.1, and a target push probability is set for each interval. According to the push probability corresponding to each interval, the corresponding number of media information in the corresponding interval is extracted for push. Since the media information in the database is in a state of continuous increase, the quality of all media information in the database is calculated every two minutes, and the media information ranked in the top 90% of the quality value is set as high-quality media information, and the interval where the high-quality media information ranked at the end is located is used as the critical interval. If the current critical interval is within the interval range of (0.4, 0.5) in the figure, the difference between the cumulative number of pushed media information and the expected number of pushed media information is calculated. When the difference exceeds the tolerable value, the threshold up to the current time is used as the basis, and the adjustment interval is selected forward or backward according to the direction of the arrow in the figure. When the difference does not exceed the tolerable value, the current critical interval can be determined as the adjustment interval, and the push probability of the adjustment interval is determined to be adjusted up or down according to whether the difference between the cumulative number of pushed media information and the expected number of pushed media information is greater than the set threshold.
[0074] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0075] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for an electronic device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0076] According to another aspect of an embodiment of the present application, a device for determining target media information for implementing the above-mentioned method for determining target media information is also provided. Figure 4 is a schematic diagram of an optional device for determining target media information according to an embodiment of the present application, such as Figure 4As shown, the device may include:
[0077] A first acquisition module 42, configured to acquire a quality value corresponding to first media information received within a predetermined time period;
[0078] A first determination module 44 is configured to determine the first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range;
[0079] The second determining module 46 is configured to determine the target media information to be pushed according to the target push probability corresponding to the first quality interval.
[0080] It should be noted that the first acquisition module 42 in this embodiment can be used to execute step S202 in the embodiment of the present application, the first determination module 44 in this embodiment can be used to execute step S204 in the embodiment of the present application, and the second determination module 46 in this embodiment can be used to execute step S206 in the embodiment of the present application.
[0081] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware.
[0082] Through the above modules, the technical problem of low efficiency of media information recommendation can be solved, thereby achieving the technical effect of improving the efficiency of media information recommendation.
[0083] Optionally, the device also includes: a second acquisition module, used to obtain the cumulative push value of the currently pushed media information before determining the target media information to be pushed according to the target push probability corresponding to the first quality interval; an adjustment module, used to adjust the first push probability corresponding to the target quality interval according to the relationship between the cumulative push value and the predetermined push value to obtain a second push probability, wherein the target quality interval is one or more quality intervals among the multiple second quality intervals.
[0084] Optionally, the adjustment module includes: a calculation unit, used to calculate the difference between the cumulative push value and the predetermined push value to obtain a first value; a determination unit, used to determine a target quality interval based on the first value, and determine an adjustment scheme based on the first value; an adjustment unit, used to adjust the first push probability corresponding to the target quality interval based on the adjustment scheme to obtain the second push probability.
[0085] Optionally, the determination unit is used to: sort the first media information in descending order of the quality value; determine the second media information at the target sorting position, wherein the ratio of the media information before the target sorting position to the initial media information satisfies a predetermined threshold; determine the quality interval where the quality value of the second media information is located as a third quality interval; and determine the target quality interval based on the first value and the third quality interval.
[0086] Optionally, the determination unit is used to include: detecting whether the first numerical value is less than a first set threshold to obtain a first detection result, wherein the first set threshold is a natural number less than zero; when the first detection result is used to indicate that the first numerical value is less than the first set threshold, determining the third quality interval and a predetermined number of quality intervals adjacent to the third quality interval as target quality intervals; when the first detection result is used to indicate that the first numerical value is greater than or equal to the set threshold, determining the third quality interval as the target quality interval.
[0087] Optionally, the determination unit is used to: detect whether the first value is less than a second set threshold to obtain a second detection result; when the second detection result is used to indicate that the first value is less than the second set threshold, determine that the adjustment scheme is to upward adjust the first push probability corresponding to the target quality interval; when the second detection result is used to indicate that the first value is greater than or equal to the second set threshold, determine that the adjustment scheme is to downward adjust the first push probability corresponding to the target quality interval.
[0088] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.
[0089] According to another aspect of an embodiment of the present application, an electronic device for implementing the above-mentioned method for determining target media information is also provided.
[0090] Figure 5 is a structural block diagram of an electronic device according to an embodiment of the present application, such as Figure 5 As shown, the electronic device may include: one or more (only one is shown in the figure) processors 501, a memory 503, and a transmission device 505, such as Figure 5 As shown, the electronic device may further include an input / output device 507 .
[0091] Among them, the memory 503 can be used to store software programs and modules, such as program instructions / modules corresponding to the method and device for determining the target media information in the embodiment of the present application. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 503, that is, the above-mentioned method for determining the target media information is realized. The memory 503 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 503 may further include a memory remotely arranged relative to the processor 501, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0092] The above-mentioned transmission device 505 is used to receive or send data via a network, and can also be used for data transmission between a processor and a memory. The above-mentioned network specific examples may include wired networks and wireless networks. In one example, the transmission device 505 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 505 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
[0093] Specifically, the memory 503 is used to store application programs.
[0094] The processor 501 can call the application stored in the memory 503 through the transmission device 505 to perform the following steps: obtain the quality value corresponding to the first media information received within a predetermined time period; determine the first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range; determine the target media information to be pushed according to the target push probability corresponding to the first quality interval.
[0095] By adopting the embodiment of the present application, a method and device for determining target media information are provided. By setting the quality interval of the media information, each quality interval corresponds to a recommendation probability, and according to the quality value of the determined first media information, the first quality interval corresponding to the quality value of the first media information is determined, and the target media information to be pushed is determined according to the recommendation probability corresponding to the first quality interval. Compared with the method of determining whether to push media information by setting a threshold of the evaluation quality value in the related art, the embodiment of the present invention can achieve the purpose of determining the media information to be pushed according to the quality value of all the current media information, thereby achieving the technical effect of improving the efficiency of media information recommendation, and thus solving the technical problem of low efficiency of media information recommendation.
[0096] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0097] It can be understood by those skilled in the art that Figure 5 The structure shown is for illustration only, and the electronic device may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other electronic devices. Figure 5 The structure of the electronic device is not limited. Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 5 Different configurations are shown.
[0098] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the electronic device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0099] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to execute the program code of the method for determining target media information.
[0100] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.
[0101] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: obtaining a quality value corresponding to first media information received within a predetermined time period; determining the first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range; determining the target media information to be pushed according to the target push probability corresponding to the first quality interval.
[0102] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0103] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0104] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0105] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0106] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0107] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0108] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0109] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0110] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for determining target media information, characterized in that: include: Acquire a quality value corresponding to the first media information received within a predetermined time period; Determine a first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range; determining the target media information to be pushed according to the target push probability corresponding to the first quality interval; Before determining the target media information to be pushed according to the target push probability corresponding to the first quality interval, the method further includes: obtaining a cumulative push value of the currently pushed media information; calculating the difference between the cumulative push value and the predetermined push value to obtain a first value; sorting the first media information in descending order according to the quality value, determining that the second media information at the target sorting position, the ratio of the media information before the target sorting position to the initial media information satisfies a predetermined threshold, determining the quality interval where the quality value of the second media information is located as a third quality interval, detecting whether the first value is less than a first set threshold to obtain a first detection result, the first set threshold being a natural number less than zero, and when the first detection result indicates that the first value is less than the first set threshold, determining the third quality interval and a predetermined number of quality intervals adjacent to the third quality interval as target quality intervals, and when the first detection result indicates that the first value is greater than or equal to the set threshold, determining the third quality interval as the target quality interval, and determining an adjustment scheme based on the first value; and adjusting the first push probability corresponding to the target quality interval based on the adjustment scheme to obtain a second push probability.
2. The method according to claim 1, characterized in that Determining an adjustment solution based on the first value includes: Detecting whether the first value is less than a second set threshold value to obtain a second detection result; When the second detection result indicates that the first value is less than the second set threshold, determining that the adjustment scheme is to adjust upward the first push probability corresponding to the target quality interval; When the second detection result indicates that the first value is greater than or equal to the second set threshold, determining the adjustment scheme is to downwardly adjust the first push probability corresponding to the target quality interval.
3. A device for determining target media information, characterized in that: include: A first acquisition module, used to acquire a quality value corresponding to first media information received within a predetermined time period; a first determination module, configured to determine a first quality interval corresponding to the quality value of each of the first media information, wherein the first quality interval is an interval included in a plurality of second quality intervals, and the plurality of second quality intervals are intervals obtained by dividing a preset quality value range; A second determination module, configured to determine target media information to be pushed according to the target push probability corresponding to the first quality interval; The device further includes: a second acquisition module, configured to acquire a cumulative push value of the currently pushed media information before determining the target media information to be pushed according to the target push probability corresponding to the first quality interval; an adjustment module, configured to: calculate the difference between the cumulative push value and the predetermined push value to obtain a first value, sort the first media information in descending order according to the quality value, determine that the second media information at the target sorting position, the ratio of the media information before the target sorting position to the initial media information meets a predetermined threshold, determine the quality interval where the quality value of the second media information is located as a third quality interval, detect whether the first value is less than a first set threshold to obtain a first detection result, the first set threshold is a natural number less than zero, and when the first detection result indicates that the first value is less than the first set threshold, determine the third quality interval and a predetermined number of quality intervals adjacent to the third quality interval as target quality intervals, and when the first detection result indicates that the first value is greater than or equal to the set threshold, determine the third quality interval as the target quality interval, and determine an adjustment scheme based on the first value, and adjust the first push probability corresponding to the target quality interval based on the adjustment scheme to obtain a second push probability.
4. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 2 when executed.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The processor executes the method described in any one of claims 1 to 2 through the computer program.
