Search

CN-122019829-A - Data processing method, device, equipment, medium and product

CN122019829ACN 122019829 ACN122019829 ACN 122019829ACN-122019829-A

Abstract

The application relates to the technical field of computers and discloses a data processing method, a device, equipment, a medium and a product, wherein the method comprises the steps of determining a plurality of candidate songs according to song listening behavior data of a user in a preset time period; the method comprises the steps of determining color categories corresponding to candidate songs according to cover images of the candidate songs, selecting target color categories from the color categories corresponding to the candidate songs, determining target songs contained in the target color categories, and generating target pages corresponding to the target color categories according to the cover images of the target songs. The application aggregates the preference of the song listening behavior of the user and the color of the cover image, can generate the user color portrait with strong visual impact, has better visual effect and more visual display content.

Inventors

  • JIA YANWEI

Assignees

  • 杭州网易云音乐科技有限公司

Dates

Publication Date
20260512
Application Date
20251224

Claims (10)

  1. 1. A method of data processing, the method comprising: determining a plurality of candidate songs according to the song listening behavior data of the user in a preset time period; determining the color category corresponding to each candidate song according to the cover image of each candidate song; Selecting a target color category from the color categories corresponding to the candidate songs; determining a target song contained in the target color category; and generating a target page corresponding to the target color category according to the cover image of each target song.
  2. 2. The method of claim 1, wherein the determining a plurality of candidate songs from the user's listening behavior data over a preset period of time comprises: determining the interaction times of each song according to the song listening behavior data of the user in a preset time period; And taking the songs with the interaction times meeting the preset interaction conditions as candidate songs.
  3. 3. The method of claim 1, wherein determining the color class corresponding to each candidate song based on the cover image of each candidate song comprises: determining the color of each pixel in the cover image of the candidate song; clustering each pixel to preset multiple color categories according to the color of each pixel; and taking the color category with the largest pixel number as the color category corresponding to the candidate song.
  4. 4. The method of claim 1, wherein selecting the target color category from the color categories corresponding to the candidate songs comprises: counting each candidate song according to the color category of each candidate song, and determining the number of candidate songs corresponding to each color category; And determining the target color category according to the number of candidate songs corresponding to the various color categories.
  5. 5. The method of claim 4, wherein determining the target color category based on the number of candidate songs corresponding to each color category comprises: Determining a maximum number of candidate songs; and under the condition that the maximum candidate song number meets the preset number condition, determining a target color category according to the color category corresponding to the maximum candidate song number, wherein the target color category comprises the color category corresponding to the maximum candidate song number.
  6. 6. The method of claim 5, wherein the predetermined number of conditions comprises: the maximum number of candidate songs is greater than a first preset number; And/or the number of the groups of groups, The maximum number of candidate songs is smaller than a first preset number, the sum of the maximum number of candidate songs and the number of adjacent candidate songs is larger than a second preset number, and the second preset number is larger than or equal to the first preset number, wherein the number of adjacent candidate songs is the number of candidate songs corresponding to other color categories adjacent to the color category corresponding to the maximum number of candidate songs.
  7. 7. A data processing apparatus, the apparatus comprising: the song determining module is used for determining a plurality of candidate songs according to the song listening behavior data of the user in a preset time period; the color classification module is used for determining the color class corresponding to each candidate song according to the cover image of each candidate song; The processing module is used for selecting a target color category from color categories corresponding to the candidate songs; And the generation module is used for generating a target page corresponding to the target color category according to the cover images of the target songs.
  8. 8. An electronic device, comprising: A memory and a processor in communication with each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the data processing method of any of claims 1 to 6.
  9. 9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon computer instructions for causing a computer to execute the data processing method according to any one of claims 1 to 6.
  10. 10. A computer program product comprising computer instructions for causing a computer to perform the data processing method of any one of claims 1 to 6.

Description

Data processing method, device, equipment, medium and product Technical Field The present application relates to the field of computer technologies, and in particular, to a data processing method, apparatus, device, medium, and product. Background With the continuous development of computer technology, users can play music on terminal devices such as mobile terminals and personal computers, and music can be played by a music player (a music application program) or a browser installed on the terminal devices. In addition, the music content service provider also provides a user behavior report function, such as annual song listening report, and the like, so that the abstract song listening behavior data of the user can be converted into a more apparent song listening report, personalized services of the user can be enriched, and the user can share the song listening report, thereby being beneficial to content transmission. The song listening report mainly comprises statistical results of user behavior data and is displayed in a text form, and visual image elements are also arranged in part of the song listening report, but are fixed and irrelevant to the actual behaviors of a user, so that the individuation degree of the user behavior portrait in the song listening report is lower, the visual effect is poor, and the visual memory point cannot be enhanced. Disclosure of Invention In view of the above, the application provides a data processing method, device, equipment, medium and product, so as to solve the problems of low individuation degree and poor visual effect of user behavior portraits. In a first aspect, the present application provides a data processing method, the method comprising: determining a plurality of candidate songs according to the song listening behavior data of the user in a preset time period; determining the color category corresponding to each candidate song according to the cover image of each candidate song; Selecting a target color category from the color categories corresponding to the candidate songs; determining a target song contained in the target color category; and generating a target page corresponding to the target color category according to the cover image of each target song. In some optional embodiments, the determining the target color category according to the number of candidate songs corresponding to the various color categories includes: Determining a maximum number of candidate songs; And under the condition that the maximum number of candidate songs does not meet the preset number condition, taking various color categories corresponding to the candidate songs as target color categories. In some optional embodiments, the generating a target page corresponding to the target color category according to the cover image of each target song includes: determining a target document corresponding to the target color category; And generating a target page corresponding to the target color category according to the target document and the cover images of the target songs. In some optional embodiments, the determining the target document corresponding to the target color category includes: And determining a target text corresponding to the target color category according to the corresponding relation between the color category and the text, wherein the text in the corresponding relation is text related to emotion and/or music style determined based on the corresponding color category. In some optional embodiments, the generating a target page corresponding to the target color category according to the cover image of each target song includes: Matching target musical instruments according to song information of each target song; generating a target document according to the song information and the target musical instrument; And generating a target page corresponding to the target color category according to the target document and the cover images of the target songs. In some optional embodiments, the generating a target page corresponding to the target color category according to the cover image of each target song includes: Determining a target pattern corresponding to the target color category; and generating a target page corresponding to the target color category according to the target pattern and the cover image of each target song. In some optional embodiments, the generating a target page corresponding to the target color category according to the cover image of each target song includes: Determining a second preset number of target cover images, wherein the target cover images comprise cover images corresponding to the target songs; Arranging the second preset number of target cover images according to a preset arrangement mode to generate target images containing the second preset number of target cover images; and generating a target page corresponding to the target color category according to the target image. In some alternative embodiments, the determining th