Media content processing method, device, electronic device and storage medium
By updating the interactive behavior characteristic values of new media content and processing the media content in combination with the characteristic values of other media content, the problem that the sorting conditions in the prior art cannot fully reflect the search needs, and more accurate search results and better search results are achieved.
Patent Information
- Application Number
- CN202011602954.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2040-12-29
AI Technical Summary
When searching media content based on search terms, the sorting conditions in the prior art cannot fully reflect the search needs, resulting in inaccurate search results.
By determining the multiple media content corresponding to the search terms, obtaining the interactive behavior characteristic values of new media content, and updating them, combining the interactive behavior characteristic values of other media contents, multiple media contents are processed to obtain the sorted search results.
It realizes flexible sorting of search results, can meet search needs more accurately, and improves search accuracy and effectiveness.
Smart Images

Figure CN114691906B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the computer field, and in particular to a method, device, electronic device and storage medium for processing media content. Background Art
[0002] Currently, when searching for media content based on a search term, search results including multiple media content are obtained. When displaying the search results, the search results are usually displayed after being sorted according to certain sorting conditions. However, the sorting conditions often cannot fully reflect the search requirements, so there is a problem of inaccurate search results. Summary of the invention
[0003] The present disclosure provides a method, device, electronic device and storage medium for processing media content, so as to at least solve the problem of inaccurate search results in the related art. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a method for processing media content is provided, comprising: determining multiple media content corresponding to a search term, wherein the multiple media content includes new media content whose release time is later than a predetermined time point and other media content whose release time is not later than the predetermined time point; obtaining a first feature value of interactive behavior for the new media content; updating the first feature value to obtain a second feature value of interactive behavior for the new media content; processing the multiple media content according to the second feature value of interactive behavior for the new media content and other feature values of interactive behavior respectively for the other media content to obtain search results corresponding to the search term, wherein the search results include results of sorting the multiple media content.
[0005] Optionally, obtaining the first characteristic value of the interactive behavior for the new media content includes: obtaining log data of the new media content; and obtaining the first characteristic value of the interactive behavior of the new media content according to statistics of the log data of the new media content.
[0006] Optionally, updating the first feature value to obtain a second feature value of the interactive behavior for the new media content includes: obtaining an overall feature value of the interactive behavior for the multiple media contents; and updating the first feature value according to the overall feature value to obtain a second feature value of the interactive behavior for the new media content.
[0007] Optionally, updating the first eigenvalue according to the overall eigenvalue to obtain a second eigenvalue of the interactive behavior for the new media content includes: assigning a first weight to the first eigenvalue and assigning a second weight to the overall eigenvalue; summing the first eigenvalue after assigning the first weight and the overall eigenvalue after assigning the second weight to obtain the second eigenvalue.
[0008] Optionally, the first weight is an increasing function with time as a variable, and the second weight is a decreasing function with time as a variable.
[0009] Optionally, the first weight is a monotonically increasing function α with a value range of 0 to 1, and the second weight is 1-α.
[0010] Optionally, the multiple media contents are processed according to the second feature value of the interactive behavior for the new media content and the other feature values of the interactive behaviors for the other media contents respectively to obtain the search results corresponding to the search term, including: when there are multiple types of interactive behaviors, respectively obtaining the second feature values and other feature values corresponding to the multiple interactive behaviors; respectively obtaining the search results corresponding to each interactive behavior according to the second feature values and other feature values corresponding to the multiple interactive behaviors; and determining the search results corresponding to the search term according to the obtained search results corresponding to each interactive behavior.
[0011] Optionally, the interactive behavior includes at least one of the following: a click operation, a like operation, a follow operation, a favorite operation, a message operation, and a share operation.
[0012] Optionally, the media content includes at least one of the following: video content, image content, sound content, text content, and animation content.
[0013] A second aspect of an embodiment of the present disclosure provides a method for processing media content, comprising: displaying a search box on an interactive interface; displaying an input search term in the search box; and determining search results corresponding to the search term in response to the search term, wherein the search term corresponds to a plurality of media content, the plurality of media content comprising new media content whose release time is later than a predetermined time point and other media content whose release time is not later than the predetermined time point, the search results being obtained by processing the plurality of media content according to a second feature value of an interactive behavior for the new media content and other feature values of the interactive behavior for the other media content respectively, the second feature value being obtained by updating a first feature value of the interactive behavior for the new media content, the search results comprising a result of sorting the plurality of media content; and displaying the search results corresponding to the search term on the interactive interface.
[0014] According to a third aspect of an embodiment of the present disclosure, a media content processing device is provided, comprising: a first determination module, configured to determine a plurality of media contents corresponding to a search term, wherein the plurality of media contents include new media contents whose release time is later than a predetermined time point and other media contents whose release time is not later than the predetermined time point; a first acquisition module, configured to acquire a first characteristic value of interactive behavior for the new media contents; a second determination module, configured to update the first characteristic value to obtain a second characteristic value of interactive behavior for the new media contents; and a first processing module, configured to process the plurality of media contents according to the second characteristic value of interactive behavior for the new media contents and other characteristic values of interactive behavior for the other media contents respectively to obtain search results corresponding to the search term, wherein the search results include results of sorting the plurality of media contents.
[0015] According to a fourth aspect of an embodiment of the present disclosure, a media content processing device is provided, comprising: a first display module, configured to display a search box on an interactive interface; a second display module, configured to display a search term input in the search box; a second processing module, configured to respond to the search term and determine a search result corresponding to the search term, wherein the search term corresponds to a plurality of media contents, the plurality of media contents comprising new media contents whose publishing time is later than a predetermined time point and other media contents whose publishing time is not later than the predetermined time point, the search result being obtained by processing the plurality of media contents according to a second feature value of an interactive behavior for the new media contents and other feature values of the interactive behavior for the other media contents respectively, the second feature value being obtained by updating a first feature value of the interactive behavior for the new media contents, the search result comprising a result of sorting the plurality of media contents; and a third display module, configured to display the search result corresponding to the search term on the interactive interface.
[0016] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method for processing media content as described in any one of the above items.
[0017] According to a sixth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute any one of the above-mentioned methods for processing media content.
[0018] According to a seventh aspect of the embodiments of the present disclosure, a computer program product is provided. When a computer program in the computer program product is executed by a processor of a terminal, the terminal is enabled to execute any one of the above-mentioned methods for processing media content.
[0019] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0020] By updating the first characteristic value of the interactive behavior corresponding to the new media content, the sorting of the new media content is not simply determined directly by the behavior data, but the characteristic value for sorting can also be updated to adjust the sorting result. The search results are not sorted according to a simple sorting condition, but the sorting result can be adjusted according to the update of the data, which solves the problem in the related art that the simple sorting condition cannot fully reflect the search demand, resulting in inaccurate search results, thereby achieving the goal of flexibly meeting the search demand, effectively improving the search accuracy, and optimizing the search effect.
[0021] 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
[0022] 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.
[0023] Figure 1 The present invention is a hardware structure block diagram of a computer terminal for implementing a method for processing media content according to an exemplary embodiment.
[0024] Figure 2 The figure is a flowchart of a first method for processing media content according to an exemplary embodiment.
[0025] Figure 3 It is a flowchart of a second method for processing media content according to an exemplary embodiment.
[0026] Figure 4 It is a flowchart of a third method for processing media content according to an exemplary embodiment.
[0027] Figure 5 It is a flowchart of a fourth method for processing media content according to an exemplary embodiment.
[0028] Figure 6 The figure is a flowchart of a fifth method for processing media content according to an exemplary embodiment.
[0029] Figure 7 is a device block diagram of a first device for processing media content according to an exemplary embodiment.
[0030] Figure 8 It is a device block diagram of a second device for processing media content according to an exemplary embodiment.
[0031] Fig. 9 It is a device block diagram of a third device for processing media content according to an exemplary embodiment.
[0032] Fig.10 It is a device block diagram of a terminal according to an exemplary embodiment.
[0033] Fig.11 The figure is a structural block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0034] 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.
[0035] 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.
[0036] Example 1
[0037] According to an embodiment of the present disclosure, a method embodiment of a method for processing media content is proposed. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here.
[0038] The method embodiment provided in Embodiment 1 of the present disclosure may be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for processing media content according to an exemplary embodiment. Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more (shown as 102a, 102b, ..., 102n in the figure) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0039] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As involved in the embodiments of the present disclosure, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0040] The memory 104 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the media content processing method in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, to implement the vulnerability detection method of the above-mentioned application program. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0041] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 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 one example, the transmission device can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
[0042] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0043] It should be noted that, in some optional embodiments, the above Figure 1 The computer device (or mobile device) shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the above-described computer device (or mobile device).
[0044] Under the above operating environment, the present disclosure provides Figure 2 The method for processing the media content shown. Figure 2 is a flowchart of a method for processing media content according to an exemplary embodiment. Figure 2 As shown, the method includes the following steps.
[0045] In step S21, multiple media contents corresponding to the search term are determined, wherein the multiple media contents include new media contents whose publishing time is later than the predetermined time point and other media contents whose publishing time is not later than the predetermined time point.
[0046] In step S22, a first characteristic value of the interactive behavior for the new media content is obtained.
[0047] In step S23, the first characteristic value is updated to obtain a second characteristic value of the interactive behavior for the new media content.
[0048] In step S24, multiple media contents are processed according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for other media contents to obtain search results corresponding to the search term, wherein the search results include results of sorting the multiple media contents.
[0049] By adopting the above processing, by updating the first characteristic value of the interactive behavior corresponding to the new media content, the sorting of the new media content is not simply determined directly by the behavior data, but the characteristic value for sorting can also be updated to adjust the sorting result. Instead of sorting the search results based on a simple sorting condition, the sorting result can be adjusted based on the update of the data, which solves the problem in the related art that a simple sorting condition cannot fully reflect the search demand, resulting in inaccurate search results, thereby achieving the goal of flexibly meeting the search demand, effectively improving the search accuracy, and optimizing the search effect.
[0050] In the related art, for some newly released new media content, due to little or no behavior data, the display position in the search results may always be at the back, and there is no chance of being ranked in the front, so it may not be viewed, resulting in inaccurate search results. By updating the first feature value of the interactive behavior corresponding to the new media content, the ranking of the new media content in multiple media content is not always at the back, and it can have a chance to be viewed, thereby giving the new media content a proper chance to be viewed, effectively improving search accuracy, and optimizing search results.
[0051] In one or more optional embodiments, the search term may be a term that the user needs to input based on the search scenario. The search term may be in various forms: for example, it may be a sentence input by the user, or it may be a word input by the user. Input may be in various ways, for example, it may be text directly edited by the user, or it may be obtained by receiving the user's voice and converting the voice, or it may be provided that some word options are selected by the user by clicking on the word options, thereby determining the input content.
[0052] In one or more optional embodiments, the above media content may also include multiple types, for example, may include at least one of the following: video content, image content, sound content, text content, animation content, etc. Among them, the above media content is only an enumeration and is not exhaustive. The above media content can be used alone in the embodiments of the present invention, or can be used in combination in the embodiments of the present invention. When used alone, it can be considered as a single media content, and when used in combination, it can be considered as multimedia.
[0053] In one or more optional embodiments, the new media content described herein is new media content. That is, it is media content that is released later than a predetermined time point. New media content is distinguished from other media content by whether the release time is later than the predetermined time. Since the release time of new media content is later than the predetermined time, that is, the new media content was released not long ago, there is less or even no behavioral data of users interacting with the new video. However, less or even no behavioral data does not mean that the new video is untrustworthy, that is, it is not worthy of recommendation or approval. Therefore, in order to increase the speed of new video confidence, the following method can be used to process the new video before sorting the videos.
[0054] In one or more optional embodiments, when obtaining the first characteristic value of the interactive behavior for the new media content, a variety of methods can be used. For example, the log data of the new media content can be obtained first; then, the first characteristic value of the interactive behavior of the new media content is obtained based on the log data statistics of the new media content. Since the log data of the media content records all the data of the interactive operations performed on the media content, it is relatively simple and fast to obtain the characteristic value for sorting the media content. In addition, it should be noted that the log data can be log data in a variety of scenarios based on specific needs. For example, it can be search log data based on a search scenario, or it can be the entire operation log data when the application software is running, and it can be flexibly selected according to needs.
[0055] In one or more optional embodiments, the interactive behaviors referred to above may be multiple, for example, may include at least one of the following: click operation, like operation, follow operation, favorite operation, message operation, share operation. It should be noted that the above interactive behavior is only an example, not an exhaustive list, and all interactive operations performed by users based on media content can be considered to be part of the embodiments of the present invention. The above interactive behavior can be characterized by some characteristic values, for example, it can be characterized by specific statistical values, or it can be characterized by the processing results (for example, ratios, means, etc.) obtained after processing specific statistical values. For example, if the above interactive behavior is a click operation, then the characteristic value of the above interactive behavior can be the number of clicks, or the click rate, the click mean, etc. When the media content corresponds to the above new media content, the first characteristic value of the interactive behavior of the new media content can be the number of clicks, or the click rate, etc. of the click operation on the new media content.
[0056] Figure 3 is a flowchart of a second method for processing media content according to an exemplary embodiment. Figure 3 As shown, in step S23, the first feature value is updated to obtain a second feature value of the interactive behavior for the new media content, including:
[0057] In step S31, the overall characteristic value of the interactive behavior for multiple media contents is obtained;
[0058] In step S32, the first feature value is updated according to the overall feature value to obtain a second feature value of the interactive behavior for the new media content.
[0059] In one or more optional embodiments, when the first characteristic value is updated to obtain the second characteristic value for the interactive behavior of the new media content, multiple methods can be used. As long as the first characteristic value used by the new media content when sorting the video can be improved, the update operation of the first characteristic value can be realized. For example, relatively simply, a fixed value can be added to the first characteristic value to obtain a second characteristic value, thereby realizing the update of the first characteristic value. In an optional embodiment, the overall characteristic value of the interactive behavior of multiple media contents can be counted in real time, and the first characteristic value is updated according to the overall characteristic value to obtain the second characteristic value. Since the interactive behavior of the media content is changed in real time, the overall characteristic value of the interactive behavior of multiple media contents is also changed in real time. The first characteristic value of the new media content is updated according to the overall characteristic value of the multiple media contents, and the real-time update of the first characteristic value can be realized. On the other hand, since the overall characteristic value of multiple media contents is updated, the second characteristic value obtained after the update is also more accurate.
[0060] In one or more optional embodiments, the first feature value may be updated according to the overall feature value to obtain the second feature value of the interactive behavior for the new media content in a variety of ways. Figure 4 is a flowchart of a third method for processing media content according to an exemplary embodiment. Figure 4 As shown, in step S32, the first feature value is updated according to the overall feature value to obtain the second feature value of the interactive behavior for the new media content, including:
[0061] In step S41, a first weight is assigned to the first eigenvalue and a second weight is assigned to the overall eigenvalue;
[0062] In step S42, the first eigenvalue after the first weight is assigned and the overall eigenvalue after the second weight is assigned are summed to obtain a second eigenvalue.
[0063] Through the above processing, the first eigenvalue is updated by assigning weights to the first eigenvalue and the overall eigenvalue and summing them up, thereby obtaining the updated second eigenvalue. By adopting the weighted summation method, on the one hand, it is possible to see the contribution of each part to the updated first eigenvalue, that is, the second eigenvalue, and on the other hand, it is also possible to more clearly reflect the change of the first eigenvalue itself. Therefore, through the above weighted summation processing method, the process of updating the first eigenvalue can be made more intuitive and accurate.
[0064] In one or more optional embodiments, the first weight can be an increasing function with time as a variable, and the second weight can be a decreasing function with time as a variable. Among them, the types of the increasing function and decreasing function with time as a variable can be multiple, for example, a linear function, an exponential function, a sine function, etc. Optionally, as the change over time, especially when the new media content reaches the stage of confidence, the new media content can be sorted completely according to the first characteristic value of the new media content. Therefore, the first weight can be set to a monotonically increasing function α with a value range of 0 to 1, and the second weight is 1-α. The process of the value range of the first weight increasing from 0 to 1 is the process of the new media content confidence. In the process of the new media content confidence, the first part of the first characteristic value assigned with the first weight increases with time, and the second part of the overall characteristic value assigned with the second weight decreases, so that as time changes, the above-mentioned first part contributes more and more to the sorting of the media content. When the first weight reaches 1, the media content completes the confidence, and the first characteristic value of the media content is completely determined based on the behavior data of the media content itself.
[0065] In one or more optional embodiments, multiple media contents are processed based on the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behaviors for other media contents respectively, and the search results corresponding to the search term can be obtained in the following manner: when there are multiple types of interactive behaviors, the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors are obtained respectively; based on the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors, the search results corresponding to each interactive behavior are obtained respectively; based on the obtained search results corresponding to each interactive behavior, the search results corresponding to the search term are determined. For example, when the interactive behavior includes click operations, like operations and share operations, the second feature value and other feature values corresponding to the click operation, the second feature value and other feature values corresponding to the like operation, and the second feature value and other feature values corresponding to the share operation are counted respectively; a first sorting result of new media content and other media content is obtained based on the second feature value and other feature values corresponding to the click operation, a second sorting result of new media content and other media content is obtained based on the second feature value and other feature values corresponding to the like operation, and a third sorting result of new media content and other media content is obtained based on the second feature value and other feature values corresponding to the share operation; then a final sorting result is determined based on the first sorting result, second sorting result and third sorting result obtained respectively, and the final sorting result is used as the search result of the search term.
[0066] Figure 5 is a flowchart of a fourth method for processing media content according to an exemplary embodiment. Figure 5 As shown, the method includes the following steps.
[0067] In step S51, a search box is displayed on the interactive interface.
[0068] In step S52, the input search word is displayed in the search box.
[0069] In step S53, in response to the search term, search results corresponding to the search term are determined, wherein the search term corresponds to multiple media contents, the multiple media contents include new media contents released later than a predetermined time point and other media contents released no later than the predetermined time point, and the search results are obtained by processing the multiple media contents according to a second characteristic value of the interactive behavior for the new media contents and other characteristic values of the interactive behavior for the other media contents, the second characteristic value being obtained by updating the first characteristic value of the interactive behavior for the new media contents, and the search results include results of sorting the multiple media contents.
[0070] In step S54, the search results corresponding to the search term are displayed on the interactive interface.
[0071] By adopting the above-mentioned processing, the search words to be searched are displayed on the interactive interface, as well as the search results after the search. In the process of obtaining the search results, the first characteristic value of the interactive behavior corresponding to the new media content is updated, so that the order of the new media content is not simply determined directly by the behavior data, and the characteristic value for sorting can also be updated to adjust the sorting result. The search results are not sorted according to a simple sorting condition, but can be adjusted according to the update of the data, which solves the problem that the simple sorting condition in the related technology cannot fully reflect the search requirements, resulting in inaccurate search results, thereby achieving flexible satisfaction of search requirements, effectively improving search accuracy, and optimizing search results. In addition, by updating the first characteristic value of the interactive behavior corresponding to the new media content, the new media content is not always ranked at the back among multiple media contents, and thus has the opportunity to be viewed, thereby giving the new media content an appropriate opportunity to be viewed, effectively improving search accuracy, and optimizing search results.
[0072] Figure 6 is a flowchart of a fifth method for processing media content according to an exemplary embodiment. Figure 6 As shown, the method includes the following steps.
[0073] In step S61, the front-end client receives a search request, wherein the search request carries a search term.
[0074] In step S62, the front-end client sends the search request to the back-end server;
[0075] In step S63, the front-end client receives search results corresponding to the search terms returned by the back-end server, wherein the search terms correspond to multiple media contents, including new media contents released later than a predetermined time point and other media contents released no later than the predetermined time point, and the search results are obtained by processing the multiple media contents according to a second characteristic value of the interactive behavior for the new media contents and other characteristic values of the interactive behaviors for the other media contents, the second characteristic value being obtained by updating the first characteristic value of the interactive behavior for the new media contents, and the search results include results of sorting the multiple media contents.
[0076] By adopting the above-mentioned processing, the search results are returned based on the search request through the interaction between the front-end client and the back-end server. In the process of returning the search results, the first characteristic value of the interactive behavior corresponding to the new media content is updated, so that the order of the new media content is not simply determined directly by the behavior data, and the characteristic value for sorting can also be updated to adjust the order result. Instead of sorting the search results based on a simple sorting condition, the order result can be adjusted based on the update of the data, which solves the problem that the simple sorting condition in the related technology cannot fully reflect the search demand, resulting in inaccurate search results, thereby achieving flexible satisfaction of search demand, effectively improving search accuracy, and optimizing search results. In addition, by updating the first characteristic value of the interactive behavior corresponding to the new media content, the new media content is not always ranked at the back among multiple media contents, and thus has the opportunity to be viewed, thereby giving the new media content an appropriate opportunity to be viewed, effectively improving search accuracy, and optimizing search results.
[0077] Based on the above embodiments and optional embodiments, the following explanation is given by taking video as the media content. It should be noted that the video referred to here can be a recorded video, or a live video that is being broadcast live, etc. In the process of video search scenarios, a scenario often occurs: a video newly uploaded by a user or a video newly added to the indexing system (hereinafter referred to as a new system). Although the user may "define" some tags or text information for this video, the new video is a "new work" and lacks the user's interaction data (or behavioral data, or interactive behavior data) of interacting with this video. As a result, when it is sorted, it will be "disadvantaged" compared to old videos (the user's interaction behavior with the video is sufficient). For example:
[0078] For a search term, out of 10 videos indexed, 9 are old videos and 1 is a new video. Generally, when sorting videos, there are several features, among which the typical features corresponding to consumption behavior (or interactive behavior) include: number of clicks, click-through rate, number of likes, like rate, etc.
[0079] For old videos, these videos have sufficient behavioral data and these behavioral features are relatively accurate, but for new videos, these data are either unreliable or non-existent. Therefore, in the sorting model, these new videos will naturally be ranked at the back.
[0080] Obviously, an excellent search system cannot allow videos to have the Matthew effect, that is, always showing old videos. Therefore, some new videos also need to be ranked at the front so that consumers can see new content.
[0081] Based on the above, this optional embodiment provides a generalized processing method for new video consumption characteristics in a search scenario (the same as the characteristic values of the interactive behavior referred to above), or a personalized video sorting method in a search scenario, which is used to solve the new video sorting problem in a search scenario. Among them, the method includes: based on the feature mean of the search term, extracting the consumption characteristics of the new video during the cold start of the new video; calculating the generalized characteristics of the new video based on the moving average; based on the generalized characteristics of the new video and the consumption characteristics of other videos, obtaining search results based on the search term. The following are explained separately.
[0082] In a media content search system, any search term has a corresponding search log. The log can be in various forms, for example, the following forms:
[0083] <query,userid,photoid,click,like,follow,..,date> .
[0084] (1) Extract consumption features based on query mean
[0085] For any search term, through its search log, we can count the average consumption characteristics of all videos (photo) under the search term (query) within a period of time, such as click-through rate (ctr), like rate (ltr), follow rate (ftr), etc. Take ctr as an example:
[0086]
[0087] in, Represents the average consumption characteristics of all video clicks under the search term within the #SHOW time.
[0088] Similarly, the average consumption characteristics of a video (photo) under a search term (query) within a period of time are:
[0089]
[0090] in, Indicates the average consumption characteristics of a video click under the search term within the #SHOW time.
[0091] (2) Calculate generalized features based on moving average
[0092] For a new video, use moving average as the feature of this video. Take ctr as an example, the details are as follows:
[0093]
[0094] The new features replace the original statistical features and are input into the model for sorting.
[0095] (3) Determination of α attenuation coefficient
[0096] Since all the videos in the training data are old videos, the consumption characteristics of these videos are relatively stable. However, in the online system, new videos are not reliable due to insufficient behavioral data accumulation, so α is increased according to time. Among them, α can be an increasing function with respect to time t: α = f(t)α∈[0,1]. More generally, f can be selected as the sin function. The sin trigonometric function is The value range is [0,1].
[0097] Assume that after N days of display, the data is reliable and fully used That is, α=1. Then
[0098]
[0099] Note:
[0100] The features referred to here are the features of the input model, and the model can be a ranking model used in related technologies. That is, the method proposed in the above implementation is used to process the features before the input model.
[0101] In addition, it should be pointed out that the trigonometric function used here is only an example, and any other f satisfying α=f(t)α∈[0,1] can be used, for example, a linear function.
[0102] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, 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 disclosure.
[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, 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 a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present disclosure.
[0104] Example 2
[0105] According to an embodiment of the present disclosure, a device for implementing the above-mentioned media content processing method 1 is also provided. Figure 7 FIG. 1 is a device block diagram of a first device for processing media content according to an exemplary embodiment. Figure 7 The device includes a first determination module 71, a first acquisition module 72, a second determination module 73 and a first processing module 74. The device is described below.
[0106] The first determination module 71 is used to determine multiple media contents corresponding to the search term, wherein the multiple media contents include new media contents whose publishing time is later than the predetermined time point and other media contents whose publishing time is not later than the predetermined time point; the first acquisition module 72 is connected to the above-mentioned first determination module 71, and is used to obtain the first characteristic value of the interactive behavior for the new media contents; the second determination module 73 is connected to the above-mentioned first acquisition module 72, and is used to update the first characteristic value to obtain the second characteristic value of the interactive behavior for the new media contents; the first processing module 74 is connected to the above-mentioned second determination module 73, and is used to process the multiple media contents according to the second characteristic value of the interactive behavior for the new media contents and other characteristic values of the interactive behavior for other media contents respectively, to obtain the search results corresponding to the search term, wherein the search results include the results of sorting the multiple media contents.
[0107] It should be noted that the first determination module 71, the first acquisition module 72, the second determination module 73 and the first processing module 74 correspond to steps S21 to S24 in Example 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.
[0108] According to an embodiment of the present disclosure, a device for implementing the fourth method for processing media content is also provided. Figure 8 FIG. 1 is a device block diagram of a second device for processing media content according to an exemplary embodiment. Figure 8 The device includes a first display module 81, a second display module 82, a second processing module 83 and a third display module 84. The device is described below.
[0109] The first display module 81 is used to display a search box on the interactive interface; the second display module 82 is connected to the above-mentioned first display module 81, and is used to display the input search term in the search box; the second processing module 83 is connected to the above-mentioned second display module 82, and is used to respond to the search term and determine the search result corresponding to the search term, wherein the search term corresponds to multiple media contents, and the multiple media contents include new media contents with a release time later than a predetermined time point and other media contents with a release time not later than the predetermined time point, and the search results are obtained by processing the multiple media contents according to the second characteristic value of the interactive behavior for the new media contents and other characteristic values of the interactive behavior for the other media contents, and the second characteristic value is obtained by updating the first characteristic value of the interactive behavior for the new media contents, and the search results include the results of sorting the multiple media contents; the third display module 84 is connected to the above-mentioned second processing module 83, and is used to display the search results corresponding to the search term on the interactive interface.
[0110] It should be noted that the first display module 81, the second display module 82, the second processing module 83 and the third display module 84 correspond to steps S51 to S54 in Example 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in Example 1.
[0111] According to an embodiment of the present disclosure, a device for implementing the fifth method for processing media content is also provided. Fig. 9 FIG. 1 is a device block diagram of a third device for processing media content according to an exemplary embodiment. Fig. 9 The device includes a first receiving module 91, a sending module 92 and a second receiving module 93. The device is described below.
[0112] The first receiving module 91 is used for the front-end client to receive a search request, wherein the search request carries a search term; the sending module 92 is connected to the first receiving module 91 and is used for the front-end client to send the search request to the back-end server; the second receiving module 93 is connected to the sending module 92 and is used for the front-end client to receive search results corresponding to the search term returned by the back-end server, wherein the search term corresponds to multiple media contents, and the multiple media contents include new media contents released later than a predetermined time point and other media contents released no later than the predetermined time point, and the search results are obtained by processing the multiple media contents according to a second characteristic value of the interactive behavior for the new media contents and other characteristic values of the interactive behavior for the other media contents, and the second characteristic value is obtained by updating the first characteristic value of the interactive behavior for the new media contents, and the search results include results of sorting the multiple media contents.
[0113] It should be noted that the first receiving module 91, the sending module 92 and the second receiving module 93 correspond to steps S61 to S63 in Example 1, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1. It should be noted that the modules as part of the device can be run in the computer terminal 10 provided in Example 1.
[0114] 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.
[0115] Example 3
[0116] An embodiment of the present disclosure may provide an electronic device, wherein the electronic device may be a terminal or a server.
[0117] In the embodiment of the present disclosure, the electronic device is a terminal, which can be any computer terminal device in a computer terminal group. Optionally, in the present embodiment, the terminal can also be a terminal device such as a mobile terminal.
[0118] Optionally, in this embodiment, the terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0119] Optionally, Fig.10 FIG. 1 is a block diagram of a terminal according to an exemplary embodiment. Fig.10 As shown, the terminal may include: one or more (only one is shown in the figure) processors 101, and a memory 102 for storing processor executable instructions; wherein the processor is configured to execute instructions to implement any of the above-mentioned media content processing methods.
[0120] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the media content processing method and device in the embodiment of the present disclosure. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned media content processing method. The memory 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 may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal 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.
[0121] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: determine multiple media contents corresponding to the search term, wherein the multiple media contents include new media contents whose release time is later than a predetermined time point and other media contents whose release time is not later than the predetermined time point; obtain a first characteristic value of the interactive behavior for the new media content; update the first characteristic value to obtain a second characteristic value of the interactive behavior for the new media content; process the multiple media contents according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for other media contents respectively, to obtain search results corresponding to the search term, wherein the search results include the results of sorting the multiple media contents.
[0122] Optionally, obtaining the first characteristic value of the interactive behavior for the new media content includes: obtaining log data of the new media content; and obtaining the first characteristic value of the interactive behavior of the new media content according to statistics of the log data of the new media content.
[0123] Optionally, updating the first feature value to obtain a second feature value of the interactive behavior for the new media content includes: obtaining an overall feature value of the interactive behavior for multiple media contents; and updating the first feature value according to the overall feature value to obtain a second feature value of the interactive behavior for the new media content.
[0124] Optionally, updating the first eigenvalue according to the overall eigenvalue to obtain a second eigenvalue of the interactive behavior for the new media content includes: assigning a first weight to the first eigenvalue and assigning a second weight to the overall eigenvalue; summing the first eigenvalue after the first weight is assigned and the overall eigenvalue after the second weight is assigned to obtain the second eigenvalue.
[0125] Optionally, the first weight is an increasing function with time as a variable, and the second weight is a decreasing function with time as a variable.
[0126] Optionally, the first weight is a monotonically increasing function α with a value range of 0 to 1, and the second weight is 1-α.
[0127] Optionally, multiple media contents are processed according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for other media contents respectively, and the search results corresponding to the search term are obtained, including: when there are multiple types of interactive behaviors, respectively obtaining the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; respectively obtaining the search results corresponding to each interactive behavior according to the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; and determining the search results corresponding to the search term according to the obtained search results corresponding to each interactive behavior.
[0128] Optionally, the interactive behavior includes at least one of the following: a click operation, a like operation, a follow operation, a favorite operation, a message operation, and a share operation.
[0129] Optionally, the media content includes at least one of the following: video content, image content, sound content, text content, and animation content.
[0130] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: display a search box on the interactive interface; display the input search term in the search box; in response to the search term, determine the search results corresponding to the search term, wherein the search term corresponds to multiple media content, the multiple media content includes new media content with a release time later than a predetermined time point and other media content with a release time no later than the predetermined time point, the search results are obtained by processing the multiple media content according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for the other media content, the second characteristic value is obtained by updating the first characteristic value of the interactive behavior for the new media content, the search results include the results of sorting the multiple media content; and the search results corresponding to the search term are displayed on the interactive interface.
[0131] The processor can call the information and application stored in the memory through the transmission device to execute the following steps: the front-end client receives a search request, wherein the search request carries a search term; the front-end client sends the search request to the back-end server; the front-end client receives the search result corresponding to the search term returned by the back-end server, wherein the search term corresponds to multiple media contents, and the multiple media contents include new media contents with a release time later than a predetermined time point and other media contents with a release time no later than the predetermined time point, and the search results are obtained by processing the multiple media contents according to a second characteristic value of the interactive behavior for the new media contents and other characteristic values of the interactive behavior for the other media contents, and the second characteristic value is obtained by updating the first characteristic value of the interactive behavior for the new media contents, and the search results include the result of sorting the multiple media contents.
[0132] In an embodiment of the present disclosure, the electronic device may be a server. Fig.11 FIG. 1 is a structural block diagram of a server according to an exemplary embodiment. Fig.11 As shown, the server 110 may include: one or more (only one is shown in the figure) processing components 111, a memory 112 for storing executable instructions of the processing component 111, a power supply component 113 for providing power, a network interface 114 for communicating with an external network, and an I / O input and output interface 115 for data transmission with the outside; wherein the processing component 111 is configured to execute instructions to implement any of the above-mentioned media content processing methods.
[0133] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the media content processing method and device in the embodiment of the present disclosure. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned media content processing method. The memory 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 may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal 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.
[0134] The processing component can call the information and application programs stored in the memory through the transmission device to perform the following steps: determine multiple media contents corresponding to the search term, wherein the multiple media contents include new media contents whose release time is later than the predetermined time point and other media contents whose release time is not later than the predetermined time point; obtain a first characteristic value of the interactive behavior for the new media content; update the first characteristic value to obtain a second characteristic value of the interactive behavior for the new media content; process the multiple media contents according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for other media contents respectively, to obtain search results corresponding to the search term, wherein the search results include the results of sorting the multiple media contents.
[0135] Optionally, the processing component may also execute program code of the following steps: obtaining a first characteristic value of the interactive behavior for the new media content includes: obtaining log data of the new media content; and obtaining the first characteristic value of the interactive behavior of the new media content according to statistics of the log data of the new media content.
[0136] Optionally, the processing component may also execute the program code of the following steps: updating the first characteristic value to obtain a second characteristic value of the interactive behavior for the new media content, including: obtaining the overall characteristic value of the interactive behavior for multiple media contents; updating the first characteristic value according to the overall characteristic value to obtain the second characteristic value of the interactive behavior for the new media content.
[0137] Optionally, the processing component may also execute the program code of the following steps: updating the first eigenvalue according to the overall eigenvalue to obtain a second eigenvalue of the interactive behavior for the new media content, including: assigning a first weight to the first eigenvalue and assigning a second weight to the overall eigenvalue; summing the first eigenvalue after the first weight is assigned and the overall eigenvalue after the second weight is assigned to obtain the second eigenvalue.
[0138] Optionally, the processing component may also execute program code of the following steps: the first weight is an increasing function with time as a variable, and the second weight is a decreasing function with time as a variable.
[0139] Optionally, the processing component may also execute program code of the following steps: the first weight is a monotonically increasing function α with a value range of 0 to 1, and the second weight is 1-α.
[0140] Optionally, the processing component may also execute program code for the following steps: processing multiple media contents according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behaviors for other media contents respectively, and obtaining search results corresponding to the search term including: in the case where there are multiple types of interactive behaviors, obtaining the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors respectively; obtaining search results corresponding to each interactive behavior respectively according to the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; determining the search results corresponding to the search term according to the obtained search results corresponding to each interactive behavior.
[0141] Optionally, the processing component may also execute program code of the following steps: the interactive behavior includes at least one of the following: a click operation, a like operation, a follow operation, a favorite operation, a message operation, and a share operation.
[0142] Optionally, the processing component may also execute program code of the following steps: the media content includes at least one of the following: video content, image content, sound content, text content, and animation content.
[0143] The processing component can call the information and application programs stored in the memory through the transmission device to perform the following steps: display a search box on the interactive interface; display the input search term in the search box; respond to the search term and determine the search results corresponding to the search term, wherein the search term corresponds to multiple media content, the multiple media content includes new media content with a release time later than a predetermined time point and other media content with a release time no later than the predetermined time point, the search results are obtained by processing the multiple media content according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for the other media content respectively, the second characteristic value is obtained by updating the first characteristic value of the interactive behavior for the new media content, the search results include the results of sorting the multiple media content; and the search results corresponding to the search term are displayed on the interactive interface.
[0144] The processing component can call the information and application programs stored in the memory through the transmission device to execute the following steps: the front-end client receives a search request, wherein the search request carries a search term; the front-end client sends the search request to the back-end server; the front-end client receives the search results corresponding to the search term returned by the back-end server, wherein the search term corresponds to multiple media contents, and the multiple media contents include new media contents whose release time is later than a predetermined time point and other media contents whose release time is not later than the predetermined time point, and the search results are obtained by processing the multiple media contents according to the second characteristic value of the interactive behavior for the new media contents and other characteristic values of the interactive behavior for the other media contents, and the second characteristic value is obtained by updating the first characteristic value of the interactive behavior for the new media contents, and the search results include the results of sorting the multiple media contents.
[0145] It can be understood by those skilled in the art that Fig.10 , Fig.11 The structure shown is for illustration only. For example, the terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (MID), a PAD, or other terminal devices. Fig.10 , Fig.11 It does not limit the structure of the above electronic device. For example, it may also include 10, Fig.11 More or fewer components (such as network interface, display device, etc.) shown in, or having the same as 10, Fig.11 Different configurations are shown.
[0146] 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 terminal 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.
[0147] Example 4
[0148] In an exemplary embodiment, a storage medium including instructions is also provided, and when the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to perform any of the above-mentioned methods for processing media content. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0149] Optionally, in this embodiment, the storage medium may be used to store program codes executed by the media content processing method provided in the first embodiment.
[0150] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0151] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: determining multiple media content corresponding to a search term, wherein the multiple media content includes new media content whose release time is later than a predetermined time point and other media content whose release time is no later than the predetermined time point; obtaining a first characteristic value of the interactive behavior for the new media content; updating the first characteristic value to obtain a second characteristic value of the interactive behavior for the new media content; processing the multiple media contents according to the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for other media content respectively, to obtain search results corresponding to the search term, wherein the search results include results of sorting the multiple media content.
[0152] Optionally, in this embodiment, the storage medium is also configured to store program code for executing the following steps: obtaining a first characteristic value of the interactive behavior for the new media content includes: obtaining log data of the new media content; and obtaining the first characteristic value of the interactive behavior of the new media content based on statistics of the log data of the new media content.
[0153] Optionally, in this embodiment, the storage medium is also configured to store program code for executing the following steps: updating the first characteristic value to obtain a second characteristic value of the interactive behavior for the new media content, including: obtaining an overall characteristic value of the interactive behavior for multiple media contents; updating the first characteristic value according to the overall characteristic value to obtain a second characteristic value of the interactive behavior for the new media content.
[0154] Optionally, in this embodiment, the storage medium is also configured to store program code for executing the following steps: updating the first eigenvalue according to the overall eigenvalue to obtain a second eigenvalue of the interactive behavior for the new media content, including: assigning a first weight to the first eigenvalue and assigning a second weight to the overall eigenvalue; summing the first eigenvalue after the first weight is assigned and the overall eigenvalue after the second weight is assigned to obtain the second eigenvalue.
[0155] Optionally, in this embodiment, the storage medium is further configured to store program codes for executing the following steps: the first weight is an increasing function with time as a variable, and the second weight is a decreasing function with time as a variable.
[0156] Optionally, in this embodiment, the storage medium is further configured to store program codes for executing the following steps: the first weight is a monotonically increasing function α with a value range of 0 to 1, and the second weight is 1-α.
[0157] Optionally, in this embodiment, the storage medium is also configured to store program code for executing the following steps: processing multiple media contents based on the second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behaviors for other media contents respectively, to obtain search results corresponding to the search term including: in the case where there are multiple types of interactive behaviors, respectively obtaining the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; respectively obtaining search results corresponding to each interactive behavior based on the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; and determining the search result corresponding to the search term based on the obtained search results corresponding to each interactive behavior.
[0158] Optionally, in this embodiment, the storage medium is also configured to store program codes for executing the following steps: the interactive behavior includes at least one of the following: a click operation, a like operation, a follow operation, a favorite operation, a message operation, and a share operation.
[0159] Optionally, in this embodiment, the storage medium is also configured to store program codes for executing the following steps: the media content includes at least one of the following: video content, image content, sound content, text content, animation content.
[0160] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: displaying a search box on an interactive interface; displaying an input search term in the search box; in response to the search term, determining search results corresponding to the search term, wherein the search term corresponds to multiple media content, the multiple media content includes new media content released later than a predetermined time point and other media content released no later than the predetermined time point, the search results are obtained by processing the multiple media content according to a second feature value of the interactive behavior for the new media content and other feature values of the interactive behavior for the other media content, the second feature value is obtained by updating the first feature value of the interactive behavior for the new media content, the search results include results of sorting the multiple media content; and displaying the search results corresponding to the search term on the interactive interface.
[0161] Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: the front-end client receives a search request, wherein the search request carries a search term; the front-end client sends the search request to the back-end server; the front-end client receives search results corresponding to the search term returned by the back-end server, wherein the search term corresponds to multiple media content, the multiple media content includes new media content with a release time later than a predetermined time point and other media content with a release time no later than the predetermined time point, the search results are obtained by processing the multiple media content based on a second characteristic value of the interactive behavior for the new media content and other characteristic values of the interactive behavior for the other media content, the second characteristic value is obtained by updating the first characteristic value of the interactive behavior for the new media content, and the search results include results of sorting the multiple media content.
[0162] In an exemplary embodiment, a computer program product is further provided. When a computer program in the computer program product is executed by a processor of a terminal, the terminal is enabled to execute any one of the above-mentioned methods for processing media content.
[0163] The serial numbers of the above-mentioned embodiments of the present disclosure are only for description and do not represent the advantages or disadvantages of the embodiments.
[0164] In the above embodiments of the present disclosure, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0165] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and 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.
[0166] 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.
[0167] In addition, each functional unit in each embodiment of the present disclosure 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.
[0168] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0169] 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.
[0170] 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 method for processing media content, characterized in that: include: Determine a plurality of media contents corresponding to the search term, wherein the plurality of media contents include new media contents whose publishing time is later than a predetermined time point and other media contents whose publishing time is not later than the predetermined time point; Acquire a first characteristic value of an interactive behavior for the new media content; Updating the first characteristic value to obtain a second characteristic value of the interactive behavior for the new media content; Processing the plurality of media contents according to the second feature value of the interactive behavior for the new media content and the other feature values of the interactive behaviors for the other media contents respectively, to obtain search results corresponding to the search term, wherein the search results include results of sorting the plurality of media contents; Among them, the multiple media contents are processed according to the second characteristic value of the interactive behavior with the new media content and the other characteristic values of the interactive behaviors with the other media contents respectively to obtain the search results corresponding to the search term, including: when there are multiple types of interactive behaviors, respectively obtaining the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; respectively obtaining the search results corresponding to each interactive behavior according to the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; and determining the search results corresponding to the search term according to the obtained search results corresponding to each interactive behavior.
2. The method according to claim 1, characterized in that: Acquiring a first characteristic value of the interactive behavior for the new media content includes: Obtaining log data of the new media content; A first characteristic value of the interactive behavior of the new media content is obtained according to log data statistics of the new media content.
3. The method according to claim 1, characterized in that Updating the first feature value to obtain a second feature value of the interactive behavior for the new media content includes: Acquire overall characteristic values of the interactive behaviors for the plurality of media contents; The first feature value is updated according to the overall feature value to obtain a second feature value of the interactive behavior for the new media content.
4. The method according to claim 3, characterized in that Updating the first feature value according to the overall feature value to obtain a second feature value for the interactive behavior of the new media content includes: assigning a first weight to the first eigenvalue and a second weight to the overall eigenvalue; The first eigenvalue after the first weight is assigned and the overall eigenvalue after the second weight is assigned are summed to obtain the second eigenvalue.
5. The method according to claim 4, characterized in that The first weight is an increasing function with time as a variable, and the second weight is a decreasing function with time as a variable.
6. The method according to claim 5, characterized in that The first weight is a monotonically increasing function α with a value range of 0 to 1, and the second weight is 1-α.
7. The method according to claim 1, characterized in that The interactive behavior includes at least one of the following: a click operation, a like operation, a follow operation, a favorite operation, a message operation, and a share operation.
8. The method according to claim 7, characterized in that The media content includes at least one of the following: video content, image content, sound content, text content, and animation content.
9. A method for processing media content, characterized in that: include: Display the search box in the interactive interface; Displaying the input search term in the search box; In response to the search term, a search result corresponding to the search term is determined, wherein the search term corresponds to a plurality of media contents, the plurality of media contents include new media contents whose publishing time is later than a predetermined time point and other media contents whose publishing time is not later than the predetermined time point, the search result is obtained by processing the plurality of media contents according to a second feature value of the interactive behavior for the new media contents and other feature values of the interactive behavior for the other media contents respectively, the second feature value is obtained by updating the first feature value of the interactive behavior for the new media contents, and the search result includes a result of sorting the plurality of media contents; Displaying search results corresponding to the search term on the interactive interface; Among them, the multiple media contents are processed according to the second characteristic value of the interactive behavior with the new media content and the other characteristic values of the interactive behaviors with the other media contents respectively to obtain the search results corresponding to the search term, including: when there are multiple types of interactive behaviors, respectively obtaining the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; respectively obtaining the search results corresponding to each interactive behavior according to the second characteristic values and other characteristic values corresponding to the multiple interactive behaviors; and determining the search results corresponding to the search term according to the obtained search results corresponding to each interactive behavior.
10. A media content processing device, characterized in that: include: A first determination module, configured to determine a plurality of media contents corresponding to the search term, wherein the plurality of media contents include new media contents whose publishing time is later than a predetermined time point and other media contents whose publishing time is not later than the predetermined time point; A first acquisition module, used to acquire a first characteristic value of an interactive behavior for the new media content; A second determining module, configured to update the first characteristic value to obtain a second characteristic value of the interactive behavior for the new media content; A first processing module, configured to process the plurality of media contents according to the second feature value of the interactive behavior for the new media content and other feature values of the interactive behavior for the other media contents respectively, to obtain search results corresponding to the search term, wherein the search results include results of sorting the plurality of media contents; Among them, the first processing module is also used for: when there are multiple types of interactive behaviors, respectively obtaining second feature values and other feature values corresponding to multiple interactive behaviors; obtaining search results corresponding to each interactive behavior according to the second feature values and other feature values corresponding to the multiple interactive behaviors; and determining the search result corresponding to the search term according to the obtained search results corresponding to each interactive behavior.
11. A media content processing device, characterized in that: include: A first display module, used to display a search box on the interactive interface; A second display module, used to display the search term input in the search box; a second processing module, configured to respond to the search term and determine a search result corresponding to the search term, wherein the search term corresponds to a plurality of media contents, the plurality of media contents including new media contents released later than a predetermined time point and other media contents released no later than the predetermined time point, the search result being obtained by processing the plurality of media contents according to a second feature value of an interactive behavior for the new media contents and other feature values of the interactive behavior for the other media contents respectively, the second feature value being obtained by updating a first feature value of the interactive behavior for the new media contents, and the search result comprising a result of sorting the plurality of media contents; A third display module, used to display the search results corresponding to the search term on the interactive interface; Among them, when there are multiple types of interactive behaviors, the search results determined by the second processing module are determined in the following manner: respectively obtaining second feature values and other feature values corresponding to the multiple interactive behaviors; respectively obtaining search results corresponding to each interactive behavior based on the second feature values and other feature values corresponding to the multiple interactive behaviors; and determining the search results corresponding to the search term based on the obtained search results corresponding to each interactive behavior.
12. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the media content processing method as described in any one of claims 1 to 9.
13. A storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method for processing media content as claimed in any one of claims 1 to 9.
Citation Information
Patent Citations
Music search sorting method and device, equipment and storage medium
CN111444380A