A song customization method and device, electronic equipment and storage medium
By synthesizing and sending customized songs to the client on the server side, the problem of music players being unable to customize personalized songs is solved, enabling the display and playback of personalized songs and improving the user experience.
Patent Information
- Application Number
- CN202210613666.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2042-05-31
AI Technical Summary
Existing music players cannot customize personalized songs for different users, resulting in a poor user experience.
The server obtains the client's associated account information and the corresponding customized song push time, synthesizes the customized song, and sends it to the client for display. The client receives and plays the customized song through a preset interface.
It enables customized songs for different users, improving the user experience.
Smart Images

Figure CN114896448B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, and particularly relates to a song customization method and device, electronic equipment and storage medium. BACKGROUND
[0002] This section is intended to provide background or context to the embodiments of the application. The description herein does not constitute admission of prior art.
[0003] The music player is a multimedia player software for playing various music files. A user can search for a song to be listened to by inputting a song name, a musician, or the like in a search box. The music player can provide a visual interface for the user when playing music, and display a currently played song name, lyrics, a singer, or the like in a playing interface. However, there is no personalized song customized for different users in the songs played by the music player of the client. SUMMARY
[0004] Embodiments of the present application provide a song customization method and device, electronic equipment and storage medium, which realize customization and playing of personalized songs for different users, and improve user experience.
[0005] In one aspect, an embodiment of the present application provides a song customization method implemented on a server side, comprising:
[0006] obtaining associated account information of a client and a corresponding customized song push time thereof;
[0007] comparing the customized song push time with a current date, and if it is determined that the comparison result is consistent, sending customized song information corresponding to the associated account information to the client for display, wherein the customized song is synthesized according to the associated account information and an original song.
[0008] In one possible implementation, the method further comprises:
[0009] in response to a received playing request for the customized song, sending the customized song to the client for playing.
[0010] In one possible implementation, the customized song information comprises a customized song name.
[0011] synthesizing the customized song according to the associated account information and an original song, comprising:
[0012] generating the customized song name according to the associated account information;
[0013] According to the association account information and the original song selected according to the customized song push time, the customized song is synthesized.
[0014] In a possible implementation, the association account information includes user avatar information.
[0015] The method further includes:
[0016] According to the user avatar, a customized song cover image is generated; and
[0017] The customized song cover image is sent to the client, so that the client displays the customized song cover image on a playing page.
[0018] In a possible implementation, the association account information includes user ID information.
[0019] The customized song name is generated according to the association account information, including:
[0020] According to the user ID, a customized song name is generated.
[0021] In a possible implementation, the customized song is synthesized according to the association account information and the original song selected according to the customized song push time, including:
[0022] According to the customized song push time, an original song of a corresponding type is determined;
[0023] Music features in the original song are extracted;
[0024] According to the user ID and a preset text, a customized lyric is generated;
[0025] According to the music features, a music score matching the original song is generated;
[0026] According to the customized lyric and the music score, a customized song audio segment is generated;
[0027] The customized song audio segment is replaced to a specified position of the original song, to generate the customized song.
[0028] In a possible implementation, the method further includes:
[0029] In response to a received download request of the customized song;
[0030] Download path information is sent to the client, so that the client downloads the customized song according to the download path information.
[0031] In a possible implementation, the method further includes:
[0032] restoring the customized song to the original song at a preset time point, the preset time point being a next time point of the customized song push time.
[0033] In a possible implementation, the customized song push time comprises a birthday date of the user.
[0034] In an aspect, an embodiment of the present application provides a song customization device implemented on a server side, comprising:
[0035] an obtaining unit configured to obtain associated account information of a display unit and corresponding customized song push time of the display unit;
[0036] a first sending unit configured to compare the customized song push time with a current date, and if it is determined that the comparison result is consistent, send customized song information corresponding to the associated account information to the display unit for display by the display unit, wherein the customized song is synthesized according to the associated account information and an original song.
[0037] In a possible implementation, the device further comprises:
[0038] a first response unit configured to, in response to a received playing request for the customized song, send the customized song to a playing unit for playing by the playing unit.
[0039] In a possible implementation, the customized song information comprises a customized song name; and the device further comprises:
[0040] a generating unit configured to generate the customized song name according to the associated account information, and synthesize the customized song according to the associated account information and an original song selected according to the customized song push time.
[0041] In a possible implementation, the associated account information comprises user avatar information.
[0042] The generating unit is further configured to generate a customized song cover image according to the user avatar; and the device further comprises:
[0043] a second sending unit configured to send the customized song cover image to the display unit for displaying the customized song cover image on a playing page by the display unit.
[0044] In a possible implementation, the associated account information comprises user ID information.
[0045] The first sending unit is configured to generate a customized song name according to the user ID.
[0046] In a possible implementation, the first sending unit is configured to determine a corresponding type of original song according to the customized song push time; extract a music feature in the original song; generate customized lyrics according to the user ID and a preset text; generate a music score matched with the original song according to the music feature; generate a customized song audio segment according to the customized lyrics and the music score; and replace the customized song audio segment to a specified position of the original song to generate the customized song.
[0047] In a possible implementation, the apparatus further includes:
[0048] A second response unit configured to respond to a received download request of the customized song.
[0049] A third sending unit configured to send download path information to the display unit, so that the display unit downloads the customized song according to the download path information.
[0050] In a possible implementation, the apparatus further includes:
[0051] A recovery unit configured to recover the customized song to the original song at a preset time point, the preset time point being a next time point of the customized song push time.
[0052] In a possible implementation, the customized song push time includes a birthday date of a user.
[0053] In an aspect, an embodiment of the present application provides a song customization method implemented on a client side, including:
[0054] receiving customized song information sent by a server through a preset interface, the customized song information being sent by the server to the client when a comparison result is consistent, the comparison result being obtained by comparing a customized song push time of an associated account information of the client with a current date, the customized song being synthesized by the server according to the associated account information and an original song;
[0055] displaying the customized song information.
[0056] In a possible implementation, the method further includes:
[0057] sending a play request for the customized song to the server;
[0058] playing the customized song in response to a play instruction carrying the customized song sent by the server.
[0059] In a possible implementation, the customized song information includes a customized song name, the customized song name is generated by the server according to the associated account information, and the customized song is synthesized by the server according to the associated account information and a selected original song according to the customized song push time;
[0060] In response to the playing instruction sent by the server and carrying the customized song, the customized song is played, and the customized song name is displayed on the playing page.
[0061] According to the playing instruction, the customized song is played through the preset playing interface, and the customized song name is displayed on the playing page.
[0062] In a possible implementation, the associated account information includes user avatar information.
[0063] The method further includes:
[0064] The method further includes:
[0065] The customized song cover image is displayed on the playing page.
[0066] In a possible implementation, the method further includes:
[0067] The method further includes:
[0068] The method further includes:
[0069] The method further includes:
[0070] In one aspect, an embodiment of the present application provides a song customization device implemented on a client side, including:
[0071] A first receiving unit is configured to receive customized song information sent by a control unit through a preset interface, the customized song information is sent by the control unit to a display unit when a comparison result is consistent, the control unit compares a customized song push time with a current date by acquiring the associated account information of the display unit and the corresponding customized song push time, and the customized song is synthesized by a generating unit according to the associated account information and an original song;
[0072] A display unit is configured to display the customized song information.
[0073] In a possible implementation, the device further includes:
[0074] The first sending unit is configured to send a playing request for the customized song to the control unit.
[0075] The playing unit is configured to play the customized song in response to the playing instruction carrying the customized song sent by the control unit.
[0076] In a possible implementation, the customized song information includes a customized song name, the customized song name is generated by the generating unit according to the associated account information, and the customized song is synthesized by the generating unit according to the associated account information and an original song selected according to the customized song push time.
[0077] The playing unit is specifically configured to play the customized song according to the playing instruction by clicking a preset playing interface, and display the customized song name on a playing page.
[0078] In a possible implementation, the associated account information includes user avatar information.
[0079] The device further includes:
[0080] The second receiving unit is configured to receive a display instruction carrying a customized song cover image sent by the control unit, the customized song cover image being generated by the generating unit according to the user avatar; and
[0081] The display unit is further configured to display the customized song cover image on the playing page.
[0082] In a possible implementation, the device further includes:
[0083] The second sending unit is configured to send a download request for the customized song to the control unit.
[0084] The third receiving unit is configured to receive a download instruction sent by the control unit, the download instruction carrying download path information.
[0085] The downloading unit is configured to download the customized song according to the download path information.
[0086] In one aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the song customization method when executing the computer program.
[0087] In one aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer program instructions, and the computer program instructions are executed by a processor to implement steps in the song customization method.
[0088] The song customization method and device provided by the embodiments of the present application, the electronic device and the storage medium, the server obtains the associated account information of the client and the corresponding customized song push time, compares the customized song push time with the current date, if the comparison result is consistent, the customized song information corresponding to the associated account information is sent to the client for display, wherein the customized song is synthesized according to the associated account information and the original song, and the client receives the customized song information sent by the server through the preset interface and displays it, thereby realizing that the server customizes different personalized songs for different associated account information of the client, that is, different personalized songs are customized for different users, and according to the corresponding relationship between the associated account information of the client and the customized song push time, the customized personalized song information is pushed to the client when the customized song push time is reached, and the customized personalized song information is displayed on the client, realizing that personalized songs are customized and played for different users, and improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0089] Figure 1 An application scenario of the song customization method provided by the embodiments of the present application is shown in the figure.
[0090] Figure 2 A flowchart of the song customization method provided by the embodiments of the present application is shown in the figure.
[0091] Figure 3 A flowchart of synthesizing a customized song provided by the embodiments of the present application is shown in the figure.
[0092] Figure 4 An example of a song list of the music player of the client provided by the embodiments of the present application is shown in the figure.
[0093] Figure 5 A schematic diagram of displaying a song cover image on the play page of the music player of the client provided by the embodiments of the present application is shown in the figure.
[0094] Figure 6 A schematic diagram of displaying the lyrics of a customized song on the play page of the music player of the client provided by the embodiments of the present application is shown in the figure.
[0095] Figure 7 A flowchart of the song customization method implemented on the server side provided by the embodiments of the present application is shown in the figure.
[0096] Figure 8 A flowchart of the song customization method implemented on the client side provided by the embodiments of the present application is shown in the figure.
[0097] Figure 9 A structural schematic diagram of the song customization device implemented on the server side provided by the embodiments of the present application is shown in the figure.
[0098] Figure 10A structural schematic diagram of a song customization device implemented on a client side according to an embodiment of the present application is provided.
[0099] Figure 11 A structural schematic diagram of an electronic device according to an embodiment of the present application is provided. DETAILED DESCRIPTION
[0100] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0101] In this document, it should be understood that the number of any elements in the drawings is used only for example and not limitation, and any naming is only used for distinction and does not have any limiting meaning. SUMMARY
[0103] A music player is a multimedia playing software for playing various music files. A user can find a song to be listened to by inputting a song name, a musician, or the like in a search box. The music player can provide a visual interface for the user when playing music, and display a currently played song name, lyrics, a singer, or the like in a playing interface. However, there is no personalized song customized for different users in a song played by a client using the music player.
[0104] Based on this, the embodiments of the present application provide a song customization method. A server obtains associated account information of a client and a corresponding customized song push time, compares the customized song push time with a current date, and if it is determined that the comparison result is consistent, sends customized song information corresponding to the associated account information to the client for display. The customized song is synthesized according to the associated account information and an original song. The client receives the customized song information sent by the server through a preset interface and displays it. Thus, the server customizes different personalized songs for different associated account information of the client, i.e., customizes personalized songs for different users, and according to the corresponding relationship between the associated account information of the client and the customized song push time, pushes the customized personalized song information to the client when the customized song push time is reached, and displays it on the client. This realizes customization and playing of personalized songs for different users and improves user experience.
[0105] OVERVIEW OF APPLICATION SCENARIOS
[0106] REFERENCE Figure 1, which is an application scenario of the song customization method provided by the embodiment of the present application. The application scenario can include a server 101 and a client 102, the server 101 and the client 102 are connected through a communication network, the client 102 is installed with a music player, and the server 101 can synthesize a corresponding customized song according to the associated account information of the client 102 and the original song. The client in the embodiment of the present application refers to a program that provides services for users. In order to facilitate understanding and description, the program is described as a client. The execution action of the server in the embodiment of the present application refers to the execution action of a program in the server. In order to facilitate description, the “program in the server” is described as “server”, that is, the execution action of the server involved in the embodiment is the execution action of the program in the server. The associated account information can be the account information bound by the user when registering in the music player APP (Application, application program) through the client 102, and can include but is not limited to the following information: user ID (Identity document, identity) information (such as user nickname), user avatar information, user birthday information, etc. The server 101 obtains the associated account information of the client 102 and the push time of the corresponding customized song, wherein the push time of the customized song can include but is not limited to the birthday date of the user. The push time of the customized song is compared with the current date, if it is determined that the comparison result is consistent, the customized song information corresponding to the associated account information is sent to the client 102 for display. The customized song information can include but is not limited to the following information: customized song name, customized song cover image, customized song link, etc. The client 102 receives the customized song information sent by the server 101 through a preset interface and displays it. The client 102 sends a play request for the customized song to the server 101, and the server 101 sends the customized song to the client 102 in response to the received play request for the customized song. The client 102 plays the received customized song using the music player.
[0107] The communication network can be a local area network, a wide area network, a mobile Internet, etc. The server 101 can include a standalone physical server, or can include a cloud server that provides cloud server, cloud database, cloud storage, and other basic cloud computing services. The client 102 can be but not limited to: a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. The embodiment of the present application does not limit this.
[0108] Exemplary Method
[0109] The song customization method according to the exemplary embodiments of the present application will be described below in conjunction with the above application scenarios. It should be noted that the above application scenarios are merely shown for the purpose of facilitating the understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. On the contrary, the embodiments of the present application can be applied to any applicable scenario.
[0110] Reference Figure 2 The embodiments of the present application provide a song customization method, which can specifically include the following steps:
[0111] S21, the server acquires the associated account information of the client and the corresponding customized song push time thereof.
[0112] In a specific implementation, the client is installed with a music player, and the music player can be used to request songs from the server for playing. The server can pre-combine corresponding customized songs according to the associated account information of the client and the original songs and store them. The associated account information can be the account information bound by the user when registering in the music player APP through the client, and can include but is not limited to the following information: user ID information (such as user nickname), user avatar information, user birthday information (i.e. birthday date), registration time information, etc. The server stores the account information when the user registers. The server acquires the stored associated account information of the client and the corresponding customized song push time thereof. The customized song push time is a time rule set by the server for pushing customized songs to the client. The customized song push time can include but is not limited to the user's birthday date. If the customized song push time is the user's birthday date, the server pushes the customized song related to the birthday theme to the user on the user's birthday. The customized song push time can also include a holiday date. If the customized song push time is the holiday date, the server pushes the customized song related to the holiday theme to the user on the holiday.
[0113] As a possible implementation, the step of combining the customized song according to the associated account information of the client and the original song includes the following:
[0114] Step one, generating a customized song name according to the associated account information.
[0115] In a specific implementation, the server generates a customized song name according to the user ID.
[0116] Specifically, the server can generate a customized song name containing the user ID according to the user ID in the associated account information of the client. For example, the user ID is "Xiao A", and the customized song push time is the user's birthday date. Then, the customized song name "Happy Birthday to Xiao A" can be generated.
[0117] Step two, synthesizing the customized song according to the associated account information and the original song selected according to the customized song push time.
[0118] In different embodiments of the synthesized customized song, step one and step two described above can be optionally included simultaneously or only one of them.
[0119] In specific implementation, the customized song can be synthesized according to the flow as shown in Figure 3 , which includes the following steps:
[0120] S211, determining the original song of the corresponding type according to the customized song push time.
[0121] In specific implementation, the server determines the original song of the corresponding type according to the type of the customized song push time. For example, if the customized song push time is the birthday date of the user, the original song can be determined as a birthday song or a song related to the birthday theme. In addition, the song related to the birthday theme can also be selected according to the user's favorite style by combining the user's historical listening behavior information. The server can send the original song to an AI (Artificial Intelligence) song synthesis system, which synthesizes the customized song according to steps S212-S216.
[0122] S212, extracting the music features in the original song.
[0123] In specific implementation, the AI song synthesis system extracts the music features in the original song, which can include but is not limited to at least one of the following features: structural features of music, chord sequence, melody sequence, style label, song tempo, lyrics text, arrangement tag, etc.
[0124] S213, generating the customized lyrics according to the user ID and the preset text.
[0125] In specific implementation, the AI song synthesis system inserts the user ID into the preset text to generate the customized lyrics. The preset text can be set as needed, and the embodiments of the present application do not limit it. For example, the preset text is "XXX, happy birthday, this is the Nth year of accompanying you, may all happiness follow you", and the user ID is still taken as "A", then "XXX" is "A", and the Nth year can be determined according to the user registration time. Assuming that the account is the 5th year after registration, the generated customized lyrics are "A, happy birthday, this is the 5th year of accompanying you, may all happiness follow you".
[0126] S214, generating the music score matching the original song according to the music features.
[0127] In practice, the AI singing synthesis system combines the generated customized lyrics and extracted musical features to generate one or more musical scores that can be matched and integrated with the original song in terms of musical structure and music theory.
[0128] S215. Generate customized song audio segments based on customized lyrics and sheet music.
[0129] In practice, the AI vocal synthesis system inputs customized lyrics and sheet music into the AI arrangement module, AI composition module, and AI vocal generation module to generate one or more multi-track customized song audios containing dry vocal accompaniment.
[0130] S216. Replace the custom song audio segment with the specified position in the original song to generate the custom song.
[0131] In practice, the AI vocal synthesis system replaces the customized song audio segment with a specified position in the original song to generate the customized song.
[0132] For example, the original song was a birthday song sung in multiple languages, with the following lyrics:
[0133] Happy birthday to you
[0134] Happy birthday to you
[0135] Happy birthday to you
[0136] Happy birthday to you
[0137] Happy birthday! Happy birthday!
[0138] Happy birthday! Happy birthday!
[0139] Happy birthday to you
[0140] Happy birthday to you
[0141] Happy birthday!
[0142] Zu nei sang san fai lao
[0143] Happy birthday!
[0144] Zu nei sang san fai lao ......
[0146] The lyrics of the customized song after inserting the customized song audio segment are:
[0147] Happy birthday to you
[0148] Happy birthday to you
[0149] Happy birthday to you
[0150] Happy birthday to you
[0151] Happy birthday Happy birthday
[0152] Happy birthday Happy birthday
[0153] Happy birthday to you
[0154] Happy birthday to you
[0155] Happy birthday to you
[0156] This is the 5th year with you
[0157] May all the happiness follow you
[0158] Happy birthday to you
[0159] Zu nei sang san fai lao
[0160] Happy birthday to you
[0161] Zu nei sang san fai lao ...
[0163] The above steps S214 and S215 generate the score and audio segment of the customized song in the manner of adding a new score corresponding to the newly generated customized lyrics. As another possible implementation, the new score can also not be modified for the newly generated customized song lyrics, but the score in the original song is used to fuse with the customized lyrics to generate the customized song audio. Specifically, any segment of the existing score in the original song can be used to synthesize the customized song audio with the customized lyrics according to the position of the customized lyrics, and the present application embodiments do not limit this.
[0164] S22, the server compares the customized song push time with the current date, and if the comparison result is consistent, step S23 is performed.
[0165] In implementation, if the customized song push time is the user's birthday date, the acquired user's birthday date in the associated account information of the client is compared with the current date, and if the current date is the user's birthday date, step S23 is executed.
[0166] S23, the server sends the customized song information corresponding to the associated account information to the client.
[0167] In implementation, the server sends the customized song information corresponding to the associated account information of the client to the client, wherein the customized song information may, but is not limited to, include the following information: customized song name and customized song link and the like.
[0168] As a possible implementation, the customized song information can further include a customized song cover image, and the song customized cover image is generated by the server according to the user avatar in the associated account information of the client, then the server can also send the customized song cover image to the client, so that the client can display the customized song cover image on the play page, and the song customized cover image can be displayed as an icon of the customized song on the client.
[0169] S24, the client receives the customized song information sent by the server through a preset interface, and displays the customized song information.
[0170] In implementation, the client can pre-set an interface for receiving the customized song information sent by the server.
[0171] The client can display the received customized song information on a preset page of the music player, such as displaying the customized song information on the main page of the music player, or displaying the customized song information on the "daily recommendation" page, such as Figure 4 As shown, it is a song list of the music player of the client (such as a song recommendation list of the "daily recommendation" page), the uppermost displayed is the customized song information, which can include: customized song cover image, customized song name, customized song link, wherein the customized song link can be activated by clicking the song request interface behind the customized song name, and sending a play request for the customized song to the server.
[0172] S25, the client sends a play request for the customized song to the server.
[0173] S26, the server sends the customized song to the client in response to the received play request for the customized song sent by the client.
[0174] In implementation, the server sends the customized song to the client in the play instruction in response to the received play request for the customized song sent by the client.
[0175] S27, the client plays the customized song in response to the playing instruction carrying the customized song sent by the server.
[0176] In a possible implementation, the client jumps to the playing page and plays the customized song in response to the playing instruction carrying the customized song sent by the server.
[0177] As a possible implementation, the method further includes:
[0178] The client receives the display instruction carrying the customized song cover image sent by the server, and displays the customized song cover image on the playing page.
[0179] Still taking the birthday song customized for the user Xiaoa as an example, when the client plays the customized song, the customized song cover image can be displayed, as shown in FIG. 6, the customized song cover image can be displayed at a specified position on the playing page, and the specified position can be set by the user, which is not limited in the embodiments of the present application. The lyrics of the customized song can also be displayed on the playing page, as shown in FIG. 7. Figure 5 Figure 6
[0180] As a possible implementation, the client can also download the customized song, specifically:
[0181] The client sends a download request of the customized song to the server; the server sends a download instruction to the client in response to the received download request of the customized song, the download instruction carrying download path information; and the client receives the download instruction sent by the server and downloads the customized song according to the download path information.
[0182] As a possible implementation, the method further includes:
[0183] The customized song is restored to the original song at a preset time point, wherein the preset time point is a next time point of the push time of the customized song.
[0184] In a possible implementation, the push time of the customized song can be the birthday of the user, and the next time point can be the next day of the birthday of the user, which is not limited in the embodiments of the present application.
[0185] As a possible implementation, the client can also share the customized song, and a sharing control can be set on the playing page, and the sharing control receives an interaction instruction to share the customized song.
[0186] The song customization method provided by the embodiments of the present application comprises the following steps: a server acquires the associated account information of a client and the corresponding customized song push time, compares the customized song push time with the current date, and if it is determined that the comparison result is consistent, sends the customized song information corresponding to the associated account information to the client for display, wherein the customized song is synthesized according to the associated account information and an original song, and the client receives the customized song information sent by the server through a preset interface and displays it, so that the server customizes different personalized songs for different associated account information of the client, that is, different personalized songs are customized for different users, and according to the corresponding relationship between the associated account information of the client and the customized song push time, the customized personalized song information is pushed to the client when the customized song push time is reached, and the client displays it, the client sends a play request for the customized song to the server, the server sends the customized song in a play instruction to the client in response to the play request for the customized song sent by the client, and the client plays the customized song in response to the play instruction sent by the server, so that the personalized songs are customized and played for different users, and the user experience is improved.
[0187] Based on the same inventive concept, the embodiments of the present application also provide a song customization method implemented on the server side. Since the principle of solving the problem of the above-mentioned song customization method implemented on the server side is similar to that of the above-mentioned song customization method for interaction between the server and the client, the implementation of the above-mentioned song customization method implemented on the server side can be referred to the implementation of the song customization method for interaction between the server and the client, and the repeated parts will not be described here.
[0188] As shown in Figure 7 , it is a flowchart of the song customization method implemented on the server side provided by the embodiments of the present application, which can comprise the following steps:
[0189] S31, acquiring the associated account information of a client and the corresponding customized song push time.
[0190] S32, comparing the customized song push time with the current date, and if it is determined that the comparison result is consistent, sending the customized song information corresponding to the associated account information to the client for display, wherein the customized song is synthesized according to the associated account information and an original song.
[0191] In a possible implementation, the method further comprises the following steps:
[0192] In response to the received play request for the customized song, the customized song is sent to the client for playing.
[0193] In a possible implementation, the customized song information comprises a customized song name.
[0194] synthesizing the customized song according to the associated account information and the original song, comprising:
[0195] generating the customized song name according to the associated account information;
[0196] synthesizing the customized song according to the associated account information and the original song selected according to the customized song push time.
[0197] In a possible implementation, the associated account information comprises user avatar information.
[0198] The method further comprises:
[0199] generating a customized song cover image according to the user avatar; and
[0200] sending the customized song cover image to the client for displaying the customized song cover image on a playing page.
[0201] In a possible implementation, the associated account information comprises user ID information.
[0202] The generating the customized song name according to the associated account information comprises:
[0203] generating a customized song name according to the user ID.
[0204] In a possible implementation, the synthesizing the customized song according to the associated account information and the original song selected according to the customized song push time comprises:
[0205] determining an original song of a corresponding type according to the customized song push time;
[0206] extracting music features in the original song;
[0207] generating a customized song lyric according to the user ID and a preset text;
[0208] generating a musical score matching the original song according to the music features;
[0209] generating a customized song audio segment according to the customized song lyric and the musical score;
[0210] replacing the customized song audio segment to a specified position of the original song to generate the customized song.
[0211] In a possible implementation, the method further comprises:
[0212] in response to a received download request of the customized song;
[0213] sending the client with download path information for the client to download the customized song according to the download path information.
[0214] In a possible implementation, the method further includes:
[0215] restoring the customized song to the original song at a preset time point, the preset time point being a next time point of the customized song push time.
[0216] In a possible implementation, the customized song push time includes a birthday date of the user.
[0217] Based on the same inventive concept, the embodiment of the present application further provides a song customization method implemented on a client side. Since the song customization method implemented on the client side solves problems in the same principle as the song customization method with server-client interaction, the implementation of the song customization method implemented on the client side can refer to the implementation of the song customization method with server-client interaction, and the repeated parts will not be described herein.
[0218] As shown in Figure 8 FIG. 1, which is a flowchart of the song customization method implemented on the client side provided by the embodiment of the present application, can include the following steps:
[0219] S41, receiving customized song information sent by the server through a preset interface, the customized song information being sent by the server to the client when the customized song push time is consistent with the current date, the customized song push time being determined by the server by acquiring the associated account information of the client and the corresponding customized song push time, the customized song being synthesized by the server according to the associated account information and the original song;
[0220] S42, displaying the customized song information.
[0221] In a possible implementation, the method further includes:
[0222] sending a play request for the customized song to the server;
[0223] playing the customized song in response to the play instruction carrying the customized song sent by the server.
[0224] In a possible implementation, the customized song information includes a customized song name, the customized song name being generated by the server according to the associated account information, and the customized song being synthesized by the server according to the associated account information and the original song selected according to the customized song push time;
[0225] playing the customized song in response to the play instruction carrying the customized song sent by the server, specifically including:
[0226] According to the playing instruction, the customized song is played through a preset playing interface, and the name of the customized song is displayed on a playing page.
[0227] In a possible implementation, the associated account information includes user avatar information.
[0228] The method further includes:
[0229] The display instruction carrying the customized song cover image is received, the customized song cover image being generated by the server according to the user avatar;
[0230] The customized song cover image is displayed on the playing page.
[0231] In a possible implementation, the method further includes:
[0232] A download request of the customized song is sent to the server;
[0233] The download instruction carrying the download path information is received.
[0234] The customized song is downloaded according to the download path information.
[0235] Exemplary Device
[0236] After the song customization method of the example embodiments of the present application is introduced, next, the song customization device of the example embodiments of the present application is introduced.
[0237] Based on the same inventive concept, the present application also provides a song customization device implemented on the server side. Since the principle of solving problems of the above-mentioned song customization device implemented on the server side is similar to that of the above-mentioned song customization method of interaction between the server and the client, the implementation of the above-mentioned song customization device implemented on the server side can be referred to the implementation of the song customization method of interaction between the server and the client, and the repeated parts will not be described here.
[0238] As shown in Figure 9 Fig. 1 is a structural schematic diagram of a song customization device implemented on the server side provided by an embodiment of the present application, which can include:
[0239] The acquisition unit 51 is configured to acquire the associated account information of the display unit and the corresponding customized song pushing time thereof.
[0240] The first sending unit 52 is configured to compare the customized song push time with the current date, and if it is determined that the comparison result is consistent, send the customized song information corresponding to the associated account information to the display unit for display.
[0241] In a possible implementation, the device further includes:
[0242] The first response unit is configured to, in response to the received playing request for the customized song, send the customized song to a playing unit for playing by the playing unit.
[0243] In a possible implementation, the customized song information includes a customized song name; and the device further includes:
[0244] The generating unit is configured to generate the customized song name according to the associated account information, and synthesize the customized song according to the associated account information and an original song selected according to the customized song push time.
[0245] In a possible implementation, the associated account information includes user avatar information.
[0246] The generating unit is further configured to generate a customized song cover image according to the user avatar; and the device further includes:
[0247] The second sending unit is configured to send the customized song cover image to the display unit, so that the display unit displays the customized song cover image on a playing page.
[0248] In a possible implementation, the associated account information includes user ID information.
[0249] The first sending unit 52 is configured to generate a customized song name according to the user ID.
[0250] In a possible implementation, the first sending unit is configured to determine an original song of a corresponding type according to the customized song push time, extract a music feature in the original song, generate a customized lyric according to the user ID and a preset text, generate a music score matching the original song according to the music feature, generate a customized song audio segment according to the customized lyric and the music score, and replace the customized song audio segment to a specified position of the original song to generate the customized song.
[0251] In a possible implementation, the device further includes:
[0252] A second response unit is configured to respond to the received download request of the customized song.
[0253] A third sending unit is configured to send the download path information to the display unit, so that the display unit downloads the customized song according to the download path information.
[0254] In a possible implementation, the apparatus further includes:
[0255] A recovery unit is configured to recover the customized song into the original song at a preset time point, which is a next time point of the customized song push time.
[0256] In a possible implementation, the customized song push time includes a birthday date of the user.
[0257] Based on the same inventive concept, the embodiment of the present application further provides a client-side implemented song customization apparatus. Since the above-mentioned client-side implemented song customization apparatus solves problems in the same principle as the above-mentioned server-side and client-side interactive song customization method, the implementation of the above-mentioned client-side implemented song customization apparatus can be referred to the implementation of the server-side and client-side interactive song customization method, and the repeated parts will not be described herein.
[0258] As shown in Figure 10 FIG. 1, which is a structural schematic diagram of the client-side implemented song customization apparatus provided by the embodiment of the present application, can include:
[0259] A first receiving unit 61 is configured to receive the customized song information sent by the control unit through a preset interface, wherein the customized song information is sent by the control unit to the display unit when the customized song push time is consistent with the current date, and the customized song is synthesized by the generating unit according to the associated account information and the original song.
[0260] A display unit 62 is configured to display the customized song information.
[0261] In a possible implementation, the apparatus further includes:
[0262] A first sending unit is configured to send a play request for the customized song to the control unit.
[0263] A playing unit is configured to play the customized song in response to the play instruction carrying the customized song sent by the control unit.
[0264] In a possible implementation, the customized song information includes a customized song name, the customized song name is generated by the generation unit according to the associated account information, and the customized song is synthesized by the generation unit according to the associated account information and an original song selected according to the customized song push time;
[0265] The playing unit is specifically configured to play the customized song according to the playing instruction by clicking a preset playing interface, and display the customized song name on a playing page.
[0266] In a possible implementation, the associated account information includes user avatar information.
[0267] The device further includes:
[0268] The second receiving unit is configured to receive the display instruction carrying the customized song cover image sent by the control unit, and the customized song cover image is generated by the generation unit according to the user avatar.
[0269] The display unit 62 is further configured to display the customized song cover image on the playing page.
[0270] In a possible implementation, the device further includes:
[0271] The second sending unit is configured to send a download request of the customized song to the control unit.
[0272] The third receiving unit is configured to receive a download instruction sent by the control unit, and the download instruction carries download path information.
[0273] The downloading unit is configured to download the customized song according to the download path information.
[0274] Based on the same inventive concept as the above song customization method, the embodiments of the present application further provide an electronic device 70. As shown in the Figure 11 The electronic device 70 can include a processor 701 and a memory 702.
[0275] The processor 701 can be a general processor, such as a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, and can implement or execute the song customization method, steps and logic block diagram disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor. The steps of the song customization method disclosed in the embodiments of the present application can be directly embodied as hardware processor execution or executed by a combination of hardware and software modules in the processor.
[0276] The memory 702 is a non-volatile computer readable storage medium, which can be used to store non-volatile software programs, non-volatile computer executable programs and modules, and has computer program instructions stored thereon, which are executed by the processor to implement the steps of the song customization method described in the present application. The memory can include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card type memory, random access memory (RAM), static random access memory (SRAM), programmable read only memory (PROM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), magnetic memory, magnetic disk, optical disk, etc. The memory is any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. The memory 702 in the embodiments of the present application can also be a circuit or any other device capable of realizing the storage function, used to store program instructions and / or data.
[0277] It should be noted that although several units or sub-units of the song customization device are mentioned in the above detailed description, such division is only exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units.
[0278] Furthermore, although the operations of the song customization method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0279] While the spirit and principles of this application have been described with reference to several specific embodiments, it should be understood that this application is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for convenience of expression. This application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims
1. A song customization method characterized by comprising: The method comprises: obtaining associated account information of a client and corresponding customized song push time; comparing the customized song push time with the current date, and if the comparison result is determined to be consistent, sending customized song information corresponding to the associated account information to the client for display in a song recommendation list on a preset page of a music player, wherein the customized song is synthesized according to the associated account information and an original song, and the customized song information includes a customized song name, a customized song cover image, and a customized song link; synthesizing the customized song according to the associated account information and the original song, comprising: generating the customized song name according to the associated account information; determining the original song of a corresponding type according to the customized song push time; extracting music features in the original song, including at least one of the following features: structural features of music, chord sequences, style tags, and arrangement tags; generating customized lyrics according to a user ID and a preset text; generating one or more pieces of music score that are compatible with the original song in terms of music structure and music theory; generating a customized song audio segment according to the customized lyrics and the music score; replacing the customized song audio segment to a specified position of the original song to generate the customized song; wherein generating the customized song audio segment according to the customized lyrics and the music score specifically comprises: generating one or more pieces of multi-track customized song audio containing dry accompaniment according to the customized lyrics and the music score through an AI arrangement module, an AI composition module, and an AI singing generation module.
2. The method of claim 1, wherein, Further comprising: in response to a received play request for the customized song, sending the customized song to the client for playing.
3. The method of claim 1 or 2, wherein, The associated account information includes user avatar information; The method further comprises: generating a customized song cover image according to the user avatar; and sending the customized song cover image to the client for displaying the customized song cover image on a play page.
4. The method of claim 1, wherein, The associated account information includes user ID information; The method of generating the customized song name according to the associated account information comprises: generating a customized song name according to a user ID.
5. The method of claim 2, wherein, Further comprising: in response to a received download request for the customized song; sending download path information to the client for downloading the customized song according to the download path information.
6. The method of claim 2, wherein, Further comprising: restoring the customized song to the original song at a preset time point, which is the next time point of the customized song push time.
7. The method of claim 1, wherein, The customized song push time includes the user's birthday date.
8. A song customization method characterized by comprising: Comprise: Receive the customized song information sent by the server through the preset interface, the customized song information is sent by the server by acquiring the associated account information of the client and the corresponding customized song push time, comparing the customized song push time with the current date, and determining that the comparison result is consistent, and sending to the client, the customized song is synthesized by the server according to the associated account information and the original song, the customized song information includes the customized song name, the customized song cover image, and the customized song link, and the customized song is synthesized by the server in the following way: generating the customized song name according to the associated account information; According to the customized song push time, determine the corresponding type of original song; extract the music features in the original song, the music features include at least one of the following features: music structure features, chord sequence, style label, and arrangement label; generate customized lyrics according to the user ID and the preset text; generate one or more pieces of music score that are compatible with the original song in music structure and music theory according to the music features; generate a customized song audio segment according to the customized lyrics and the music score; Replace the customized song audio segment to the specified position of the original song to generate the customized song; wherein generating a customized song audio segment according to the customized lyrics and the music score specifically includes: generating one or more pieces of multi-track customized song audio containing dry sound accompaniment through AI composition module, AI composition module and AI singing generation module according to the customized lyrics and the music score; Display the customized song information in the song recommendation list of the preset page of the music player.
9. The method of claim 8, wherein, Also includes: Send a play request for the customized song to the server; In response to the play instruction sent by the server carrying the customized song, play the customized song.
10. The method of claim 9, wherein, The customized song information includes the customized song name, which is generated by the server according to the associated account information, and the customized song is synthesized by the server according to the associated account information and the original song selected according to the customized song push time; In response to the play instruction sent by the server carrying the customized song, play the customized song, specifically including: Click the preset play interface to play the customized song according to the play instruction, and display the customized song name on the play page.
11. The method of claim 9 or 10, wherein, The associated account information includes user avatar information; The method further includes: Receive the display instruction sent by the server carrying the customized song cover image, the customized song cover image is generated by the server according to the user avatar; Display the customized song cover image on the play page.
12. The method of claim 9, wherein, Also includes: Send a download request for the customized song to the server; Receive the download instruction sent by the server, the download instruction carries the download path information; Download the customized song according to the download path information.
13. A song customization apparatus characterized by comprising: Includes: An acquisition unit is configured to acquire associated account information of a display unit and corresponding customized song push time; The first sending unit is configured to compare the customized song push time with a current date, and if it is determined that the comparison result is consistent, send the customized song information corresponding to the associated account information to the display unit, so that the display unit displays the customized song information on a song recommendation list of a preset page of a music player, wherein the customized song is synthesized according to the associated account information and an original song, and the customized song information includes a customized song name, a customized song cover image, and a customized song link. The device further includes: The generating unit is configured to generate the customized song name according to the associated account information, determine an original song of a corresponding type according to the customized song push time, extract music features in the original song, the music features including at least one of the following features: structural features of music, chord sequences, style labels, and arrangement labels, generate customized lyrics according to a user ID and a preset text, generate one or more pieces of music scores that are compatible with the original song in terms of music structure and music theory according to the music features, generate a customized song audio segment according to the customized lyrics and the music scores, and replace the customized song audio segment to a specified position of the original song to generate the customized song. The generating unit is specifically configured to generate one or more pieces of multi-track customized song audio containing dry sound accompaniment according to the customized lyrics and the music scores by using an AI arrangement module, an AI composition module, and an AI singing generation module.
14. The apparatus of claim 13, wherein, Further includes: The first response unit is configured to, in response to the received playing request for the customized song, send the customized song to a playing unit for playing.
15. The apparatus of claim 13 or 14, wherein, The associated account information includes user avatar information. The generating unit is further configured to generate a customized song cover image according to the user avatar. The device further includes: The second sending unit is configured to send the customized song cover image to the display unit, so that the display unit displays the customized song cover image on a playing page.
16. The apparatus of claim 13, wherein, The associated account information includes user ID information. The first sending unit is configured to generate a customized song name according to the user ID.
17. The apparatus of claim 14, wherein, Further includes: The second response unit is configured to respond to a received download request for the customized song. The third sending unit is configured to send download path information to the display unit, so that the display unit downloads the customized song according to the download path information.
18. The apparatus of claim 14, wherein, Further includes: The restoring unit is configured to restore the customized song to the original song at a preset time point, the preset time point being a next time point of the customized song push time.
19. The apparatus of claim 13, wherein, The customized song push time includes a birthday date of the user.
20. A song customization apparatus characterized by comprising: Includes: The first receiving unit is configured to receive customized song information sent by the control unit through a preset interface, the customized song information being sent by the control unit to the display unit when a comparison result is consistent, the control unit being configured to acquire associated account information of the display unit and corresponding customized song push time, compare the customized song push time with a current date, and send the customized song push time to the display unit when the comparison result is consistent, the customized song being synthesized by the generating unit according to the associated account information and an original song, the customized song information including a customized song name, a customized song cover image, and a customized song link, and the customized song being synthesized by a server in the following manner: generating the customized song name according to the associated account information; determining an original song of a corresponding type according to the customized song push time; extracting music features in the original song, the music features including at least one of the following features: structural features of music, chord sequences, style labels, and arrangement labels; generating customized lyrics according to a user ID and a preset text; generating one or more pieces of music scores that are compatible with the original song in terms of music structure and music theory according to the music features; and generating a customized song audio segment according to the customized lyrics and the music scores; replacing the customized song audio segment to a specified position of the original song to generate the customized song, wherein the customized song audio segment is generated according to the customized lyrics and the music scores, specifically including: generating one or more pieces of multi-track customized song audio containing dry sound accompaniment according to the customized lyrics and the music scores by an AI arrangement module, an AI composition module, and an AI singing generation module; The display unit is configured to display the customized song information on a song recommendation list of a preset page of a music player.
21. The apparatus of claim 20, wherein, Further comprising: The first sending unit is configured to send a play request for the customized song to the control unit; The playing unit is configured to play the customized song in response to a play instruction carrying the customized song sent by the control unit.
22. The apparatus of claim 21, wherein, The customized song information includes a customized song name, the customized song name being generated by the generating unit according to the associated account information, and the customized song being synthesized by the generating unit according to the associated account information and an original song selected according to the customized song push time; The playing unit is specifically configured to play the customized song by clicking a preset play interface according to the play instruction, and display the customized song name on a play page.
23. The apparatus of claim 21 or 22, wherein, The associated account information includes user avatar information. The device further comprises: The second receiving unit is configured to receive a display instruction carrying a customized song cover image sent by the control unit, the customized song cover image being generated by the generating unit according to user avatar information; and The display unit is further configured to display the customized song cover image on a play page.
24. The apparatus of claim 21, wherein, Further comprising: The second sending unit is configured to send a download request for the customized song to the control unit; The third receiving unit is configured to receive a download instruction sent by the control unit, the download instruction carrying download path information; The downloading unit is configured to download the customized song according to the download path information.
25. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program comprises instructions for causing the processor to perform the method of any one of claims 1-24. The computer program instructions, when executed by the processor, implement the steps of the song customization method of any one of claims 1 to 12.
26. A computer-readable storage medium having stored thereon computer program instructions, wherein, The computer program instructions, when executed by the processor, implement the steps of the song customization method of any one of claims 1 to 12.
Citation Information
Patent Citations
Birthday prompting method, birthday prompting device, terminal, and computer readable storage medium
CN108418972A
Song generation method and device, readable medium and electronic equipment
CN111445897A