CN-121996862-A - Media content processing method, apparatus, device, readable storage medium and product
Abstract
The embodiment of the disclosure provides a media content processing method, a device, equipment, a readable storage medium and a product, wherein the method comprises the steps of responding to a recommendation operation of a first user for target media content, determining at least one second user associated with the recommendation operation; determining a target recommendation mode corresponding to the recommendation operation based on preset recommendation conditions, wherein the recommendation mode comprises a content pushing mode and a content pulling mode; and recommending the target media to the at least one second user by adopting the target recommendation mode. Therefore, the recommendation operation of the target media content can be flexibly performed by selecting the matched recommendation mode according to the actual recommendation operation. The problem of resource consumption caused by recommending the target media content triggered by all users in a single recommending mode is avoided, and the recommending efficiency can be improved.
Inventors
- ZHANG CHUANG
- WANG JUNXIONG
- LI SHUGENG
Assignees
- 北京字跳网络技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241108
Claims (14)
- 1. A method of media content processing, comprising: responsive to a recommendation operation of a first user for target media content, determining at least one second user associated with the recommendation operation; determining a target recommendation mode corresponding to the recommendation operation based on preset recommendation conditions, wherein the recommendation mode comprises a content pushing mode and a content pulling mode; and recommending the target media to the at least one second user by adopting the target recommendation mode.
- 2. The method according to claim 1, wherein the determining, based on a preset recommendation condition, a target recommendation manner corresponding to the recommendation operation includes: Determining a target number of the at least one second user; If the target number is greater than a preset number threshold, determining a content pulling mode as the target recommendation mode; And if the target number is smaller than a preset number threshold, determining a content pushing mode as the target recommending mode.
- 3. The method of claim 1, wherein the determining, in response to a recommendation operation by a first user for target media content, at least one second user associated with the recommendation operation comprises: Responding to the triggering operation of the first user on the recommendation control associated with the target media content, and displaying a preset configuration interface, wherein the configuration interface comprises a recommendation range setting control; Acquiring a target recommended range determined by the first user based on a recommended range setting control in the configuration interface; And determining at least one user corresponding to the target recommendation range and having a preset association relationship with the first user as the at least one second user.
- 4. The method of claim 1, wherein the target recommendation mode comprises a content push mode; The recommending the target media to the at least one second user by adopting the target recommending mode comprises the following steps: determining an original data stream associated with each second user aiming at each second user, wherein the original data stream comprises at least one media content to be pushed; Writing the target media content into first index data associated with the original data stream to obtain updated first index data; recommending the target media to the at least one second user based on the updated first index data.
- 5. The method of claim 4, wherein the updated first index data is used to display the at least one media content to be pushed in a media content display interface when the second user performs a media content browsing operation; Or alternatively The updated first index data is used for sending the at least one media content to be pushed and the target media content to a session interface of the first user and the second user.
- 6. The method of claim 1, wherein the target recommendation mode comprises a content pull mode; The recommending the target media to the at least one second user by adopting the target recommending mode comprises the following steps: Determining recommendation data of the recommendation operation, wherein the recommendation data comprises identification information of the first user, the target media content and timestamp information of the recommendation operation; And storing the recommended data to a preset storage path, so that the terminal equipment of the second user performs pulling operation on the recommended data in the storage path when a preset updating condition is met.
- 7. A method of media content processing, comprising: Determining a media content stream associated with a second user, wherein the media content stream comprises a plurality of media contents to be displayed; Determining target content meeting preset conditions in the media content stream; Pulling recommended data of the target content in a preset storage path according to preset updating conditions; And updating the index data associated with the media content stream based on the associated data to obtain second index data.
- 8. The method of claim 7, wherein determining target content in the media content stream that meets a preset condition comprises: determining at least one media content to be processed associated with a recommendation operation in the media content stream; for each media content to be processed, determining association data of a first user recommending the media content to be processed, wherein the association data comprises the number of users with a preset association relation with the first user, or the association parameters comprise the number of users of a recommendation group corresponding to the recommendation operation; And determining the media content to be processed, of which the associated parameters reach a preset quantity threshold, as the target content.
- 9. The method of claim 7, wherein the method further comprises: Responding to recall operation or search operation triggered by the second user to acquire the second index data; Determining whether the second index data meets a preset return condition; If yes, returning the second index data to the second user; and if not, returning to the step of determining the media content stream associated with the second user, generating updated second index data, and returning the updated second index data to the second user.
- 10. A media content processing device, comprising: A determining module, configured to determine, in response to a recommendation operation of a first user for a target media content, at least one second user associated with the recommendation operation; The processing module is used for determining a target recommendation mode corresponding to the recommendation operation based on preset recommendation conditions, wherein the recommendation mode comprises a content pushing mode and a content pulling mode; and the recommending module is used for recommending the target media to the at least one second user by adopting the target recommending mode.
- 11. A media content processing device, comprising: The content determining module is used for determining a media content stream associated with a second user, wherein the media content stream comprises a plurality of media contents to be displayed; The screening module is used for determining target content meeting preset conditions in the media content stream; The pulling module is used for pulling the recommended data of the target content in a preset storage path according to preset updating conditions; And the updating module is used for updating the index data associated with the media content stream based on the associated data to obtain second index data.
- 12. An electronic device is characterized by comprising a processor and a memory; The memory stores computer-executable instructions; The processor executing computer-executable instructions stored in the memory, causing the processor to perform the media content processing method of any one of claims 1 to 6 or 7-9.
- 13. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the media content processing method of any one of claims 1 to 6 or 7-9.
- 14. A computer program product comprising a computer program which, when executed by a processor, implements the media content processing method of any one of claims 1 to 6 or 7-9.
Description
Media content processing method, apparatus, device, readable storage medium and product Technical Field The embodiment of the disclosure relates to the technical field of data processing, in particular to a media content processing method, a device, equipment, a readable storage medium and a product. Background When a user browses media content by using application software, interaction operations such as praise, recommendation, collection and the like can be generally performed on the media content according to actual requirements. And in response to operations such as recommendation, the media can be recommended to other users with preset association relation with the user, for example, the media is displayed in a media content stream browsed by the associated user. In the related art, a push mode is generally adopted to perform writing operation on storage of other users based on the media content. Or other users pull the media content by way of a pull. However, when the user is associated with high flow and high fan-out, the recommendation of the media content by adopting the method is often resource-consuming and has low recommendation efficiency. Disclosure of Invention The embodiment of the disclosure provides a media content processing method, a device, equipment, a readable storage medium and a product, which are used for solving the technical problems that the existing recommendation method consumes resources and has low recommendation efficiency. In a first aspect, an embodiment of the present disclosure provides a media content processing method, including: responsive to a recommendation operation of a first user for target media content, determining at least one second user associated with the recommendation operation; determining a target recommendation mode corresponding to the recommendation operation based on preset recommendation conditions, wherein the recommendation mode comprises a content pushing mode and a content pulling mode; and recommending the target media to the at least one second user by adopting the target recommendation mode. In a second aspect, an embodiment of the present disclosure provides a media content processing method, including: Determining a media content stream associated with a second user, wherein the media content stream comprises a plurality of media contents to be displayed; Determining target content meeting preset conditions in the media content stream; Pulling recommended data of the target content in a preset storage path according to preset updating conditions; And updating the index data associated with the media content stream based on the associated data to obtain second index data. In a third aspect, an embodiment of the present disclosure provides a media content processing device, including: A determining module, configured to determine, in response to a recommendation operation of a first user for a target media content, at least one second user associated with the recommendation operation; The processing module is used for determining a target recommendation mode corresponding to the recommendation operation based on preset recommendation conditions, wherein the recommendation mode comprises a content pushing mode and a content pulling mode; and the recommending module is used for recommending the target media to the at least one second user by adopting the target recommending mode. In a fourth aspect, an embodiment of the present disclosure provides a media content processing device, including: The content determining module is used for determining a media content stream associated with a second user, wherein the media content stream comprises a plurality of media contents to be displayed; The screening module is used for determining target content meeting preset conditions in the media content stream; The pulling module is used for pulling the recommended data of the target content in a preset storage path according to preset updating conditions; And the updating module is used for updating the index data associated with the media content stream based on the associated data to obtain second index data. In a fifth aspect, an embodiment of the present disclosure provides an electronic device comprising a processor and a memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored by the memory such that the at least one processor performs the media content processing method as described above for the various possible designs of the first aspect and the first aspect or the various possible designs of the second aspect and the second aspect. In a sixth aspect, embodiments of the present disclosure provide a computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement the media content processing method according to the above first aspect and the various possible designs of the first aspect or the second aspect