CN112632906A - Lyric generation method, device, electronic equipment and computer readable storage medium - Google Patents

Lyric generation method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112632906A
CN112632906A CN202011628542.5A CN202011628542A CN112632906A CN 112632906 A CN112632906 A CN 112632906A CN 202011628542 A CN202011628542 A CN 202011628542A CN 112632906 A CN112632906 A CN 112632906A
Authority
CN
China
Prior art keywords
lyric
lyrics
theme
song
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011628542.5A
Other languages
Chinese (zh)
Inventor
陈纯
马小坤
张馨予
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202011628542.5A priority Critical patent/CN112632906A/en
Publication of CN112632906A publication Critical patent/CN112632906A/en
Priority to PCT/CN2021/134102 priority patent/WO2022142946A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/64Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/685Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using automatically derived transcript of audio data, e.g. lyrics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Computational Linguistics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The present disclosure relates to a lyric generating method, apparatus, electronic device, computer-readable storage medium, and computer program product. The method comprises the following steps: responding to the adding operation of the song theme, and displaying the added target song theme; activating a lyric generation key of a song configuration page under the condition that the theme of the target song is added; responding to the trigger operation of a lyric generation key, and displaying candidate lyrics matched with the target song theme; and acquiring target lyrics from the candidate lyrics. According to the scheme disclosed by the invention, the system can intelligently generate the lyrics according to the target song theme by supporting the user to autonomously configure the target song theme, so that the user can be assisted to quickly complete the lyric creation, and the lyric creation efficiency is greatly improved.

Description

Lyric generation method, device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for generating lyrics, an electronic device, a computer-readable storage medium, and a computer program product.
Background
With the development of internet technology, more and more applications are emerging to support users in composing songs. The creation of songs includes lyric creation and melody creation.
In the related art, a user can fill in lyrics in an application program in a self-defined manner based on the melody of an existing song to obtain a new lyric. However, the lyric creation in this way requires the user to have a high word success rate, and it is difficult for the ordinary user to write the lyrics completely and sufficiently adapted to the melody in a short time, resulting in a low generation efficiency of the lyrics.
Disclosure of Invention
The present disclosure provides a lyric generating method, apparatus, electronic device, computer-readable storage medium, and computer program product to at least solve the problem of low lyric generating efficiency in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a lyric generating method, including:
responding to the adding operation of the song theme, and displaying the added target song theme;
activating a lyric generation key of a song configuration page under the condition that the target song theme is added;
displaying candidate lyrics matched with the target song theme in response to the triggering operation of the lyric generating key;
and acquiring target lyrics from the candidate lyrics.
In one embodiment, the displaying the added target song theme in response to the adding operation of the song theme includes:
responding to the addition operation of the song theme, and acquiring an input theme keyword;
displaying candidate song themes matched with the theme keywords;
obtaining the selected target song theme from the candidate song themes;
and displaying the target song theme.
In one embodiment, the method further comprises:
displaying a word number threshold of the subject keyword, wherein the word number threshold is used for controlling the word number of the input subject keyword.
In one embodiment, the displaying the added target song theme in response to the adding operation of the song theme includes:
responding to the addition operation of the song theme, and displaying the acquired recommendation theme;
obtaining the selected target song theme from the recommended theme;
and displaying the target song theme.
In one embodiment, the displaying the candidate lyrics matching with the target song theme in response to the triggering operation of the lyric generating key comprises:
responding to the trigger operation of the lyric generation key, and displaying a lyric generation progress page;
displaying the generation progress of the candidate lyrics in the lyric generation progress page;
displaying the candidate lyrics matching the target song theme when the generation progress indication is completed.
In one embodiment, after the obtaining the target lyric from the candidate lyrics, the method further comprises:
displaying a lyric editing page, the lyric editing page including a regeneration control;
responding to the triggering operation of the regeneration control, and acquiring the replacement lyrics matched with the target song theme;
displaying the replacement lyrics in the lyric editing page.
In one embodiment, the obtaining of the alternative lyrics matching the target song theme in response to the triggering operation on the regeneration control comprises:
responding to the triggering operation of the regeneration control, and displaying a lyric replacement prompt page;
and responding to a regeneration instruction through the lyric replacement prompt page to obtain the replaced lyrics.
In one embodiment, the method further comprises:
and when the generation times of the regenerated lyrics are determined to exceed the preset limit times in response to the triggering operation of the regeneration control, canceling the replacement operation of the target lyrics.
In one embodiment, the method further comprises:
displaying configured target melody attribute information in response to a configuration operation of the melody attribute information;
the displaying the candidate lyrics matched with the target song theme in response to the triggering operation of the lyric generating key comprises:
and acquiring candidate lyrics matched with the target song theme and the target melody attribute information in response to the trigger operation of the lyric generation key.
In one embodiment, the displaying the candidate lyrics matching the target song theme comprises:
and paging and displaying the acquired candidate lyrics.
In one embodiment, the method further comprises:
in response to a lyric switching operation to a lyric display page of a current candidate lyric, displaying a lyric display page of a candidate lyric adjacent to the current candidate lyric.
In one embodiment, the method further comprises:
displaying a sliding prompt bar;
and responding to the lyric switching operation of the lyric display page of the current candidate lyrics, and sliding the sliding prompt bar according to the sliding direction of the lyric switching operation.
According to a second aspect of the embodiments of the present disclosure, there is provided a lyric generating apparatus including:
a theme adding module configured to perform an adding operation in response to the song theme and display the added target song theme;
the key activation module is configured to activate a lyric generation key of a song configuration page under the condition that the target song theme is added;
a candidate lyric obtaining module configured to execute a trigger operation of responding to the lyric generating key and display candidate lyrics matched with the target song theme;
a target lyric determination module configured to perform obtaining target lyrics from the candidate lyrics.
In one embodiment, the theme adding module includes:
a keyword input unit configured to perform an addition operation in response to the song theme, and acquire an input theme keyword;
a candidate theme obtaining unit configured to perform displaying of candidate song themes matched with the theme keywords;
a first theme determining unit configured to perform obtaining the selected target song theme from the candidate song themes;
a first theme display unit configured to perform displaying the target song theme.
In one embodiment, the theme adding module further includes:
a word number display unit configured to perform displaying a word number threshold of the subject keyword, the word number threshold being used to control the word number of the input subject keyword.
In one embodiment, the theme adding module includes:
a recommendation subject acquisition unit configured to perform display of the acquired recommendation subject;
a second theme determination unit configured to perform acquiring the selected target song theme from the recommended theme;
and the second theme display unit is configured to display the target song theme.
In one embodiment, the candidate lyric obtaining module includes:
a progress page display unit configured to perform a trigger operation in response to the lyric generation key, and display a lyric generation progress page;
a progress acquisition unit configured to perform displaying a generation progress of the candidate lyrics in the lyric generation progress page;
a candidate lyric obtaining unit configured to perform displaying candidate lyrics matching the target song theme when the generation progress indication has been completed.
In one embodiment, the apparatus further comprises:
an edit page display module configured to perform displaying a lyric edit page, the lyric edit page including a regeneration control;
a replacement lyric obtaining module configured to perform a trigger operation on the regeneration control to obtain replacement lyrics matching the target song theme;
a replacement lyrics display module configured to perform displaying the replacement lyrics in the lyrics editing page.
In one embodiment, the alternative lyric obtaining module includes:
a prompt page display unit configured to perform a trigger operation in response to the regeneration control, and display a lyric replacement prompt page;
a replacement lyric obtaining unit configured to perform obtaining the replacement lyrics by replacing a prompt page response regeneration instruction with the lyrics.
In one embodiment, the apparatus further comprises:
and the frequency detection module is configured to cancel the replacement operation of the target lyric when the generation frequency of the regenerated lyric is determined to exceed the preset limit frequency in response to the triggering operation of the regeneration control.
In one embodiment, the apparatus further comprises:
a melody attribute configuration module configured to perform a configuration operation in response to the melody attribute information, displaying the configured target melody attribute information;
the candidate lyric obtaining module is configured to execute a trigger operation responding to the lyric generating key to obtain candidate lyrics matched with the target song theme and the target melody attribute information.
In one embodiment, the candidate lyric obtaining module is configured to perform paging display of the obtained candidate lyrics.
In one embodiment, the apparatus further comprises:
a switching module configured to perform a lyric switching operation in response to a lyric display page of a current candidate lyric, displaying a lyric display page of a candidate lyric adjacent to the current candidate lyric.
In one embodiment, the apparatus further comprises:
a cue bar display module configured to perform displaying a sliding cue bar;
a sliding module configured to perform a lyric switching operation in response to the lyric display page of the current candidate lyrics, sliding the sliding cue bar in a sliding direction of the lyric switching operation.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the lyric generating method according to any embodiment of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the lyric generation method according to any one of the embodiments of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the lyric generation method according to any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the user is supported to autonomously configure the target song theme, and the lyric generation key of the song configuration page is activated under the condition that the target song theme is added. Then, in response to the user's trigger operation of the lyric generation key, candidate lyrics matching the subject of the target song are displayed. And finally, acquiring the target lyrics from the candidate lyrics. By enabling the system to intelligently generate the lyrics according to the theme of the target song, the system can assist the user to quickly complete lyric creation, and greatly improve the efficiency of lyric creation. And the lyrics are intelligently generated, so that the threshold of creating the music lyrics is greatly reduced, and users without deep character power can easily create personalized lyrics.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram illustrating an application environment for a method of lyric generation, according to an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a method of lyric generation, according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating a step of adding song themes according to an exemplary embodiment.
FIG. 4 is a diagram illustrating a step of adding a song theme according to an exemplary embodiment.
FIG. 5 is a flowchart illustrating a process for displaying lyric generation according to an exemplary embodiment.
FIG. 6 is a schematic diagram illustrating a progress of lyric generation, according to an example embodiment.
FIG. 7 is a schematic diagram illustrating a display of candidate lyrics, according to an example embodiment.
FIG. 8 is a flow diagram illustrating regeneration of lyrics, according to an example embodiment.
FIG. 9 is a schematic diagram illustrating a regeneration of lyrics, according to an example embodiment.
FIG. 10 is a schematic diagram illustrating a lyric replacement prompt page, according to an exemplary embodiment.
FIG. 11 is a flow diagram illustrating a method of lyric generation, according to an exemplary embodiment.
FIG. 12 is a block diagram illustrating a lyric generating apparatus according to an exemplary embodiment.
FIG. 13 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The lyric generation method provided by the present disclosure may be applied to an application environment as shown in fig. 1. Wherein the terminal 110 interacts with the server 120 through the network. The terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers. The terminal 110 may have an application program installed therein to support the lyric generating function. The application may be a social-type application, a short-video-type application, an instant messaging-type application, a music composition-type application, and the like. The lyric generation function may be deployed in these applications in the form of a plug-in, applet, or the like. The terminal 110 may provide a lyric creation page to the user through the application program, so that the user can perform operations of adding a theme of a song, reading candidate lyrics, selecting target lyrics from the candidate lyrics, and the like through the lyric creation page. Intelligent lyric generation logic may be deployed in server 120. The lyric generation logic may be implemented based on deep learning models, lookup algorithms, and the like. The deep learning model may be any model that can be used to determine candidate lyrics, such as a linear model, a neural network model, a support vector machine, and the like. The lookup algorithm may be a sequential lookup, a binary lookup, or the like.
In a specific implementation, the terminal 110 displays the added target song theme in response to the adding operation of the song theme. And the terminal 110 activates the lyric generation key of the song configuration page under the condition that the theme of the target song is added. The terminal 110 sends a lyric generation request to the server 120 in response to a trigger operation of the lyric generation key, the lyric generation request carrying a target song theme. The server 120 obtains the candidate lyrics matching the target song theme based on the lyric generation logic, and transmits the candidate lyrics to the terminal 110. The terminal 110 displays the candidate lyrics and acquires the target lyrics from the candidate lyrics.
Fig. 2 is a flowchart illustrating a lyric generating method according to an exemplary embodiment, and as shown in fig. 2, the lyric generating method is used in a terminal, including the following steps.
In step S210, in response to the addition operation of the song theme, the target song theme that has been added is displayed.
The song theme may be used to reflect the type of the lyric content, such as the theme of youth, testimony, love, praise, campus, etc. The multi-level song themes may be predefined, for example, the one-level song themes include youth, testimony, love, praise, campus. The primary song theme "youth" may also include secondary song themes such as neighborhoods girls, 70 th, 80 th, etc. The target song theme may be used to reflect the user's desire for core content of the lyrics, and the number may be at least one.
Specifically, when the user wants to compose lyrics, the addition operation of the song theme is triggered by the client. The adding operation of the song theme is not limited to a single-click operation, a double-click operation, a long-press operation, a sliding operation, a gesture operation, an operation on a preset operation control, and the like. For example, an "add theme" control is deployed in a page, so that a user can trigger the adding operation of a song theme by clicking the control; or responding to the long-time pressing operation of the user, displaying an operation menu so that the user can trigger the addition operation of the song theme from the operation menu; or, arranging an input prompt box of the song theme in the page, so that the user triggers the addition operation of the song theme by clicking the input prompt box.
The client may display a theme addition page of the song theme in response to the addition operation of the song theme. One or more of a theme input area, a theme recommendation area, a history area, a material uploading area and the like can be included in the theme addition page. The user may enter the subject of the target song through any of the fields.
For example, the subject input area is displayed with a text entry box. The user can manually input text information through the text input box, so that the client determines a target song theme from a plurality of predefined song themes based on the text information. For example, semantic understanding is carried out on text information based on a deep learning model, and the search intention of a user is determined; and then, extracting keywords from the text information, and aligning the keywords to obtain the target song theme. The theme recommendation area is displayed with a plurality of recommendation themes. The client can respond to the triggering operation of any one or more recommendation themes in the theme recommendation area, and the triggered recommendation theme is used as the target song theme. The history area displays the history theme records which are searched by the user account. The client can respond to the triggering operation of any one or more history themes in the history recording area, and the triggered history themes are used as target song themes.
A material upload control can be included in the material upload area. The client can respond to the triggering operation of the material uploading control to acquire the material uploaded by the user. The material may be a picture, a video, music, or the like. The client can intelligently identify the materials uploaded by the user based on a deep learning model and other modes to obtain the target song theme. For example, the deep learning model may be a classification model. And classifying and identifying the materials uploaded by the user by using the classification model, and taking the obtained category as the target song theme. It can be understood that the deep learning model in the embodiment has been trained by using several material samples, and has the capability of detecting and identifying the material uploaded by the user.
In step S220, in the case that the addition of the theme of the target song is completed, the lyric generation key of the song configuration page is activated.
Wherein the lyric generation key is an object with which a user may interact to trigger intelligent generation of lyrics based on the subject of the target song. The lyric generating key is not limited to be displayed at any position of the song configuration page in a fixed control manner; or flexibly presented in a song configuration page in a floating button mode and the like.
Specifically, the theme addition completion may be determined in response to a theme input completion instruction of the user, or may be determined by the client after the user selects the target song theme. And under the condition that the client judges that the addition of the target song theme is finished, changing the lyric generation key in the song configuration page from the inactivated state to the activated state so as to prompt the user to carry out the next operation.
Further, the display pattern of the lyric generating key in the activated state and the inactivated state may be configured. For example, the lyric generating key in the activated state is rendered in color, and the lyric generating key in the inactivated state is rendered in gray. By configuring different display styles for lyric generating keys, a user can be given an obvious visual prompt.
In step S230, in response to a trigger operation of the lyric generation key, candidate lyrics matching the target song theme are displayed.
In step S240, target lyrics are acquired from the candidate lyrics.
Specifically, the client-side responds to the trigger operation of the lyric generation key, and can send a lyric generation request to the server, wherein the lyric generation request carries a target song theme, so as to request the server to generate a candidate theme matched with the target song theme. And after acquiring the candidate lyrics based on the lyric generating logic, the server sends the candidate lyrics to the client and displays the candidate lyrics through the page of the client. The number of the candidate lyrics may be one or more. If the number of the candidate lyrics is multiple, the target lyric may be any one or more of the candidate lyrics; if the number of the candidate lyrics is one, the target lyric and the candidate lyric may be the same lyric.
In some possible embodiments, the candidate lyrics that match the target song theme may be obtained by: the server is provided with the corresponding relation between the song theme and the lyrics. After the server receives the lyric generation request, at least one lyric matched with the target song theme is obtained through retrieval based on the corresponding relation between the song theme and the lyrics and serves as a candidate lyric.
In some possible embodiments, the correspondence between the song theme and the lyrics may be obtained by: a plurality of lyrics are obtained in advance. The lyrics can be obtained by one or more of collecting lyrics in existing songs, independently-created lyrics of a user, combining lyrics and words through a deep learning model and the like. And analyzing and processing each lyric based on the text theme model to obtain the song theme of each lyric. Creating a lyric library corresponding to the song theme, and storing the lyrics into the lyric library corresponding to the song theme; or marking each lyric with a corresponding song theme label, thereby forming a corresponding relation between the song theme and the lyric.
Further, the number of subjects of the target song may be plural. In this case, lyrics matching each target song theme may be taken as candidate lyrics, or lyrics matching a plurality of target song themes may be taken as candidate lyrics.
Of course, the above determination manner of the candidate lyrics may also be obtained by the client. The candidate lyrics are determined by the server and the client, and the difference between the candidate lyrics and the lyrics is only the difference between the implementation bodies, and the implementation principle and the implementation process are similar.
In the lyric generating method, the user is supported to autonomously configure the target song theme, and the lyric generating key of the song configuration page is activated under the condition that the target song theme is added. Then, in response to the user's trigger operation of the lyric generation key, candidate lyrics matching the subject of the target song are displayed. And finally, acquiring the target lyrics from the candidate lyrics. By enabling the system to intelligently generate the lyrics according to the theme of the target song, the system can assist the user to quickly complete lyric creation, and greatly improve the efficiency of lyric creation. And the lyrics are intelligently generated, so that the threshold of creating the music lyrics is greatly reduced, and users without deep character power can easily create personalized lyrics.
In an exemplary embodiment, one manner of determining the subject of a target song is described. As shown in fig. 3, in step S210, in response to the adding operation of the song theme, the added target song theme is displayed, including:
in step S310, in response to an addition operation of a song theme, an input theme keyword is acquired.
In step S320, candidate song themes matching the theme keywords are displayed.
In step S330, the selected target song theme is acquired from the candidate song themes.
In step S340, the target song theme is displayed.
The topic keyword may be text information input by a user. Specifically, as the user topic keyword is input, the client can inquire candidate song topics matched with the topic keyword from a plurality of song topics in real time. Illustratively, the client may search for song topics containing topic keywords from predefined song topics based on a search algorithm as candidate song topics. Or, converting the input subject keywords into corresponding feature vectors in real time; calculating the similarity between the feature vector of the topic keyword and the feature vector of each song topic based on a deep learning model, wherein the similarity can be represented by cosine similarity, Hamming distance, Mahalanobis distance and the like; and taking the song themes with the highest similarity in preset number as candidate song themes. The client displays the candidate song theme. When the triggering operation of the user on any one of the candidate song themes is detected, the triggered candidate song theme is used as the target song theme.
For example, as shown in FIG. 4, after the user triggers lyric creation, the client displays a topic addition prompt page 410. A theme addition control 412, song creation prompt information, and the like may be displayed in the theme addition prompt page 410. After the client detects the trigger operation on the theme addition control 412, the theme addition page 420 is displayed in response to the trigger operation.
In one example, the present application further provides a method for displaying recommended topics in the topic addition prompt page 410 to optimize the user experience and give the user a heuristic for setting the theme of a song. Wherein, the recommendation theme can be a topical theme for a period of time; or may be a theme that is personalized to the recommendation based on user information or lyrics authored by the user's history. The recommended topics are displayed in the topic addition prompt page 410, and may be displayed in a preset area or may be displayed in a rolling manner on the page in the form of a bullet screen.
And displaying the recommended subject in a bullet screen mode in a rolling manner on the subject adding prompt page 410, wherein the subject adding prompt page 410 at least comprises a first display layer and a second display layer, a display subject adding control 412 is displayed on the first display layer, the recommended subject is displayed on the second display layer, the first display layer is arranged on the second display layer, an area outside the subject adding control 412 is displayed in a semi-transparent manner, and the recommended subject in the bullet screen mode in the second display layer is exposed.
A theme addition page 420 includes a theme input area 422. The user may enter a topic keyword in the topic input area 422, edit the entered topic keyword, and delete some or all of the content in the topic keyword, for example. As shown in fig. 4, the client obtains a topic keyword "my", searches candidate song topics including "my" content from a plurality of song topics, and displays the candidate song topics, such as "my youth", "my lovers", and "my neighbor girl". When the client detects the triggering operation on any one of the candidate song themes, the triggered candidate song theme is used as the target song theme. The client jumps to the song configuration page 430.
The song configuration page 430 has a target song theme displayed therein. In addition, the song configuration page 430 may also display a theme addition control to enable the user to add more song themes through the theme addition control. The song configuration page 430 may also display a lyric generation button 432. in the event that the addition of the target song theme is complete, the lyric generation button 432 is changed from an inactive state to an active state to prompt the user that further action may be taken.
In the embodiment, the user is allowed to independently input the theme keywords, and the matched candidate song theme is determined based on the theme keywords, so that the flexibility of song theme configuration can be improved, and the automation degree of lyric generation can be improved.
In an exemplary embodiment, when the user inputs the topic keyword, the client may also display a word count threshold of the topic keyword in the topic addition page. The word count threshold is used to prompt the user for the maximum number of characters that can be entered. As shown at 424 in fig. 4, a prompt message "8 words can be input at most" is displayed in the topic addition page. In the embodiment, the input requirement of the theme key words can be conveniently and visually known by the user by displaying the threshold value of the number of words which can be input on the page, so that the use convenience of the user can be improved, and the lyric generating function is more comprehensive.
In an exemplary embodiment, another manner of determining the subject of a target song is described. Step S210, responding to the adding operation of the song theme, displaying the added target song theme, including: responding to the addition operation of the song theme, and displaying the acquired recommendation theme; obtaining the selected target song theme from the recommended theme; the target song theme is displayed.
The recommendation theme can be obtained by recommending by the recommendation system based on recommendation logic. The recommendation logic may be deployed based on similarity between the user account and the song theme, search popularity of the song theme, and the like, for example, the theme with a larger search volume, the theme with a higher popularity, the theme with a better match with the behavior data of the user account, and the like, among a plurality of predefined song themes.
Specifically, a recommendation system may be deployed in the server. The personalized song theme aiming at the user account can be acquired online in real time through the recommendation system. For example, behavior data, attribute information (such as name, equipment information, occupation, and the like) and the like of the user account are calculated, the similarity between the behavior data and the attribute information and a plurality of predefined song themes is calculated, and a preset number of song themes with the highest similarity are recommended to the client. Or acquiring a preset number of song themes with the maximum searching times in a period of time, and recommending the preset number of song themes with the maximum searching times to the client. And the client acquires the recommendation theme and displays the recommendation theme in a theme recommendation area of the theme adding page for the user to read and select.
In the embodiment, the recommended theme is displayed on the client page for the user to read and directly select, so that the user can know the current lyric creation theme trend on one hand, and can be assisted to select a more appropriate lyric theme on the other hand.
In an exemplary embodiment, melody attribute information of the song may also be configured. The method further comprises the following steps: and displaying the configured target melody attribute information in response to the configuration operation of the melody attribute information.
The melody is the primary element of music. Generally refers to an organized, rhythmic sequence of tones through artistic conception. The melody is formed by combining a plurality of basic music elements, such as mode, rhythm, beat, strength, timbre performance method and the like. The melody attribute is used to reflect the category of the music basic elements.
Specifically, the target melody attribute information may be manually configured by the user. The client may provide a song melody configuration page. The song melody configuration page comprises at least one melody attribute and attribute information corresponding to each melody attribute. The attribute information of each melody attribute may be displayed in the song melody configuration page in the form of a list, a button, or the like, so that the user can configure the melody attribute through a pull-down menu of the list, clicking the button, or the like.
For example, as shown in fig. 4, a song melody configuration page 434 may be provided in the song configuration page 430. The song melody configuration page 434 includes therein at least one or more of the following musical primitives: pitch, style and tempo. And the attribute selection controls of a plurality of corresponding attribute information are displayed under each music basic element, and for example, four attribute selection controls of male height, male middle height, female height and female middle height are displayed under the pitch of each music basic element. The user can perform triggering operation on the attribute selection control of the attribute information, so that the client acquires the triggered attribute information as the target melody attribute information. Referring to fig. 4, the target melody attribute information is pitch-boy height, style-fashion, rhythm-middle.
Furthermore, the target melody attribute information may also be obtained based on intelligent recognition such as a deep learning model, for example, the target melody attribute information is obtained by performing classification recognition on audio data, video data and the like uploaded by the user through the deep learning model.
Further, after the client acquires the target melody attribute information, the client can further screen the candidate lyrics based on the target melody attribute information. The screening may be performed in a variety of ways. For example, the correspondence between the melody attribute information and the lyrics may be configured in advance. And searching the lyrics corresponding to the attribute information of the target melody from the candidate lyrics. Further, the priority of each melody attribute may be set in advance. If the lyrics corresponding to the target melody attribute information do not exist in the candidate lyrics, the candidate lyrics corresponding to each target melody attribute information are sequentially searched according to the priority of the melody attributes.
Or, a character number interval value corresponding to the melody attribute information may be configured in advance, and the candidate lyrics are screened based on the character number interval value. In the specific implementation, after the candidate lyrics are obtained, the number of characters corresponding to each candidate lyric is detected. And comparing the number of characters corresponding to each candidate lyric with the character number interval value corresponding to the melody attribute information. If the number of the characters corresponding to the candidate lyrics is in the interval value of the number of the characters corresponding to the attribute information of the target melody, the candidate lyrics are reserved; otherwise, deleting the candidate lyrics.
In this embodiment, by allowing the user to configure the melody attribute information autonomously and adjusting the candidate lyrics based on the melody attribute information, the lyrics satisfying the melody attribute information can be provided to the user, so that the user can be assisted in creating a complete song.
In an exemplary embodiment, as shown in fig. 5, step S230, in response to the triggering operation of the lyric generating key, displaying candidate lyrics matching the target song theme, includes:
in step S510, a lyric generation progress page is displayed in response to a triggering operation of the lyric generation key.
In step S520, the generation progress of the candidate lyrics is displayed in the lyric generation progress page.
In step S530, when the generation progress indication is completed, the candidate lyrics matching the target song theme are displayed.
Specifically, after the client detects the trigger operation of the lyric generation key, a lyric generation request can be sent to the server so as to request the server to generate candidate lyrics based on the target song theme. Possible implementations of generating the candidate lyrics may refer to the above-described embodiments, which are not specifically set forth herein. The server sends the current generation progress of the candidate lyrics to the client in real time, and the current generation progress is displayed in the forms of a popup window, a sub-page, a preset position of a song configuration page and the like through the client. When the generation progress indication is completed, the client acquires the candidate lyrics from the server and displays the candidate lyrics.
For example, as shown in FIG. 6, in the event that the target song theme is added, the lyric generation button 612 of the song configuration page 610 is activated. The client sends a lyric generation request to the server in response to a trigger operation of the lyric generation button 612, and displays a lyric generation progress page 620. The client acquires the current generation progress from the server and displays the current generation progress in the lyric generation progress page 620.
In the embodiment, the generation progress of the candidate lyrics is displayed to the user in real time, so that the user can visually know the generation progress, the operability of lyric generation is improved, and the lyric generation function is more comprehensive.
In an exemplary embodiment, displaying the candidate lyrics matching the target song theme includes: and paging and displaying the acquired candidate lyrics.
Wherein, the pagination display may refer to presenting each candidate lyric in a separate page, presenting each candidate lyric in the form of a card page in the same page, and so on. Specifically, in the case where the number of the candidate lyrics is plural, the client may page the plural candidate lyrics. Each page displays a corresponding one of the candidate lyrics. The user can control the switching among the candidate lyrics by sliding a page, clicking a designated control, clicking a key and the like.
Furthermore, the client may also display the lyric related information of the candidate lyrics in a list or the like, so that the user can directly jump to the corresponding candidate lyrics by selecting the lyric related information in the list. The list may be presented in the form of a hidden sidebar, a drop down menu, and the like.
Further, the total number of the plurality of candidate lyrics, the ranking of the current candidate lyric in all the candidate lyrics, and the like can be displayed on the lyric display page of the candidate lyrics. For example, the total number of the plurality of candidate lyrics and the currently displayed number of the candidate lyrics are displayed; or displaying a prompt bar corresponding to each candidate lyric, and highlighting the prompt bar corresponding to the current candidate lyric.
Further, a lyric selection key may be displayed on the lyric display page of the candidate lyrics. The client may respond to a trigger operation of the lyric selection key and take the currently displayed candidate lyrics as target lyrics.
FIG. 7 illustrates a schematic diagram of a lyrics display page of a candidate lyric. As shown in fig. 7, a plurality of candidate lyrics are presented in the form of card pages. The client may present a lyrics display page of candidate lyrics adjacent to the current candidate lyrics in response to a user-implemented lyrics switching operation (e.g., sliding the page left or right).
As shown in fig. 7, a slide bar 702 may also be included in the lyrics display page. The slide bar 702 may slide in the same direction as the switching operation with the lyric switching operation.
As shown in fig. 7, a lyrics selection button 704 may also be included in the lyrics display page. The client may take the currently displayed candidate lyric as the target lyric in response to the triggering operation of the lyric select key 704.
In the embodiment, when the number of the candidate lyrics is multiple, the candidate lyrics are displayed in a paging mode, so that a user can read the lyrics conveniently, and the use convenience of the user is improved. By displaying the prompt information of lyric switching in the page, the user can read the total number of the candidate lyrics and the sequence of the currently displayed candidate lyrics in all the candidate lyrics.
In an exemplary embodiment, as shown in fig. 8, after obtaining the target lyric from the candidate lyrics, the method further includes:
in step S810, a lyrics editing page is displayed, the lyrics editing page including a regeneration control.
In step S820, in response to the triggering operation on the re-generation control, the replacement lyrics matching the target song theme are acquired. Say that
In step S830, the replacement lyrics are displayed in the lyric edit page.
Specifically, after acquiring target lyrics from the candidate lyrics, the client displays a lyric editing page, and displays the target lyrics and regenerates the control and other contents in the lyric editing page. The client may retrieve whether there are alternative lyrics matching the target song theme in response to a triggering operation to the re-generation control. The alternative lyrics may be determined in a manner that is not specifically described herein with reference to the manner of determining the candidate lyrics described above. The replacement lyrics may be the same lyrics as the target lyrics. And if so, changing the target lyrics in the lyric editing page into the replacement lyrics by the client.
Further, a save control can be displayed in the lyric editing page. The client can respond to the triggering operation of the user on the saving control to save the target lyrics or replace the lyrics.
FIG. 9 illustrates a schematic diagram of a lyrics editing page. As shown in fig. 9, the lyrics editing page has displayed therein target lyrics and a regeneration control 902. The client may retrieve any lyrics matching the target theme song as replacement lyrics in response to a triggering operation on the regeneration control 902. And changing the target lyrics in the lyric editing page into the replacement lyrics.
In the embodiment, after the target lyrics are obtained, the lyric editing page is displayed for the user to further edit the target lyrics, so that the user can directly enter the lyric editing process, and the operability of lyric generation is improved.
In an exemplary embodiment, in response to a triggering operation on the re-generation control, acquiring the alternative lyrics matching the target song theme, including: responding to the triggering operation of the re-generating control, and displaying a lyric replacement prompt page; and responding to the regeneration instruction through a lyric replacement prompt page to obtain replaced lyrics.
Specifically, after the client responds to the trigger operation of the regeneration control, a lyric replacement prompt page can be displayed. The lyric replacement prompt page may be displayed in a pop-up window, status bar, or the like. The lyric replacement prompt page comprises contents such as a determination key, a cancel key, replacement prompt information and the like. If the client side obtains the regeneration instruction through the lyric replacement prompt page (if the trigger operation of the determined key is detected), the replacement lyrics can be obtained, and the target lyrics in the lyric editing page are changed into the replacement lyrics.
FIG. 10 illustrates a schematic diagram of a lyric replacement prompt page. As shown in fig. 10, the lyric replacement prompt page includes replacement prompt information "to rewrite lyrics using the theme of the song, the current lyrics will be replaced after the rewriting, the lyrics cannot be restored", a determination key "rewrite lyrics", and a cancel key. When the client detects a triggering operation for the re-generation control, a lyric replacement prompt page as shown in fig. 10 may be displayed. If the client detects the triggering operation of the lyric rewriting key, the replacement lyrics can be obtained, and the target lyrics in the lyric editing page are changed into the replacement lyrics. If the client detects the trigger operation of the cancel key, the acquisition of the replacement lyrics can be cancelled, and the lyrics can return to a lyrics editing page on which the target lyrics are displayed.
In the embodiment, by configuring a secondary determining mechanism for replacing lyrics, the client displays the prompt information of whether to replace the lyrics after detecting the triggering operation of the regeneration control, so that a user can know the lyrics replacement rule conveniently, and the problem of lyrics loss caused by misoperation and the like can be prevented.
In an exemplary embodiment, the client is also configured with a limit number of times for regenerating lyrics in advance. The limit number may be for a limit number within a preset condition. The preset condition may be regenerated for a preset time period, for example, up to 5 times every 2 hours, 1 day, and other arbitrary time periods; the lyric creation process can be repeated for each time, for example, 3 times after each time of triggering the lyric creation; it is also possible to target the process of client log-in-log-out once, e.g. the client re-generates up to 5 times per log-in. When the client detects the trigger operation of the regeneration control once, the current regeneration times can be recorded in a data table increasing mode, a key value increasing mode and the like. And if the client detects that the current regeneration times do not reach the limit times, directly carrying out lyric replacement operation. And if the client detects that the current regeneration times reach the limit times, canceling the replacement operation of the target lyrics. Further, the client may also display an overrun prompt, such as "failing to regenerate lyrics, being reproducible up to 5 times in XX, and trying again after XX", where XX is used to indicate a preset condition.
In this embodiment, by configuring the limit number of times for regenerating the lyrics, memory consumption of the client and/or the server for acquiring the replaced lyrics each time can be reduced, thereby reducing the operating pressure of the device.
Fig. 11 is a flowchart illustrating a lyric generating method according to an exemplary embodiment, and as shown in fig. 11, the lyric generating method is used in a terminal, including the following steps.
In step S1102, in response to an addition operation of the song theme, a theme addition page is displayed. Referring to fig. 4, the adding operation of the song theme may be a trigger operation to the "add theme" key. The "add theme" button is deployed in theme addition prompt page 410 and song configuration page 430. A schematic diagram of a topic addition page is illustrated at 420 in fig. 4.
In step S1104, a topic keyword input by the user is acquired.
In step S1106, candidate song themes matching the theme keyword are displayed.
In step S1108, the selected target song theme is acquired from the candidate song themes.
A specific implementation manner of determining the theme of the target song based on the theme keyword may refer to fig. 4 and the above-described embodiments. In some possible embodiments, the target song theme may also be obtained by a recommendation theme, a history theme, and the like, which are not specifically described herein.
In step S1110, in the case where the addition of the target song theme is completed, the lyric generation key of the song configuration page is activated. Continuing with FIG. 4, in the event that the target song theme has been added, the status of lyric generation key 432 is changed from inactive to active.
In step S1112, in response to a trigger operation of the lyric generation key, a lyric generation progress page is displayed. A schematic diagram of a lyric generation progress page is exemplarily shown at 620 in fig. 6.
In step S1114, a generation progress of the candidate lyrics is displayed in the lyric generation progress page, and when the generation progress indication has been completed, the candidate lyrics matching the subject of the target song are displayed.
The method for determining the candidate lyrics may refer to the above embodiments, and is not specifically described herein. Referring to fig. 7 and the corresponding embodiments, the candidate lyrics may be displayed in pages. The lyric display page of the candidate lyrics can also comprise a sliding prompt bar, a lyric selection key and the like.
In step S1116, the currently displayed candidate lyric is taken as the target lyric in response to the trigger operation of the lyric selection key.
In step S1118, a lyric edit page is displayed. Referring to fig. 9, the lyric edit page may include target lyrics, a regeneration control, a save button, and the like.
In step S1120, in response to a triggering operation for the re-generation control, a lyric replacement prompt page is displayed. Referring to fig. 10, the lyric replacement prompt page may include replacement prompt information, a decision key, a cancel key, and the like. If the client detects the trigger operation on the determination key, continue to step S1122; and if the client detects the trigger operation of the cancel key, returning to the lyric editing page.
In step S1122, the replacement lyrics matching the target song theme are acquired, and the target lyrics in the lyric editing page are changed to the replacement lyrics.
Further, a limit number of times of regenerating lyrics may be configured, and when the number of times of obtaining the regenerated lyrics has exceeded the limit number of times, the replacement operation of the target lyrics is cancelled. Specific implementations may refer to the above-described embodiments, which are not specifically set forth herein.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the above-mentioned flowcharts may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in other steps.
Fig. 12 is a block diagram illustrating a lyric generating apparatus 1200 according to an exemplary embodiment. Referring to FIG. 12, the apparatus includes a theme addition module 1202, a key activation module 1204, a candidate lyric acquisition module 1206, and a target lyric determination module 1208.
A theme adding module 1202 configured to perform an adding operation in response to a song theme, and display a target song theme that has been added; a key activation module 1204, configured to activate a lyric generation key of the song configuration page when the addition of the target song theme is completed; a candidate lyric obtaining module 1206, configured to execute a trigger operation responding to the lyric generating key, and display candidate lyrics matched with the target song theme; a target lyric determination module 1208 configured to perform obtaining target lyrics from the candidate lyrics.
In an exemplary embodiment, the theme addition module 1202 includes: a keyword input unit configured to perform an addition operation in response to a song theme, and acquire an input theme keyword; a candidate theme obtaining unit configured to perform displaying of candidate song themes matched with the theme keywords; a first theme determining unit configured to perform obtaining a selected target song theme from the candidate song themes; and the first theme display unit is configured to display the theme of the target song.
In an exemplary embodiment, the theme adding module 1202 further includes: a word number display unit configured to perform displaying a word number threshold of the subject keyword, the word number threshold being used to control the number of words of the input subject keyword.
In an exemplary embodiment, the theme addition module 1202 includes: a recommendation subject acquisition unit configured to perform display of the acquired recommendation subject; the second theme determining unit is configured to execute obtaining of the selected target song theme from the recommended theme; and a second theme display unit configured to perform displaying of the theme of the target song.
In an exemplary embodiment, the candidate lyric obtaining module 1206 includes: a progress page display unit configured to perform a trigger operation in response to the lyric generation key, and display a lyric generation progress page; a progress acquisition unit configured to perform displaying a generation progress of the candidate lyrics in a lyric generation progress page; and the candidate lyric acquisition unit is configured to display the candidate lyrics matched with the target song theme when the generation progress indication is completed.
In an exemplary embodiment, the apparatus 1200 further comprises: an edit page display module configured to perform displaying a lyric edit page, the lyric edit page including a regeneration control; a replacement lyric obtaining module configured to execute a trigger operation responding to the re-generation control to obtain replacement lyrics matched with the target song theme; a replacement lyrics display module configured to perform displaying replacement lyrics in a lyrics editing page.
In an exemplary embodiment, the replacement lyric obtaining module includes: a prompt page display unit configured to perform a trigger operation in response to the re-generation control, and display a lyric replacement prompt page; and a replacement lyric obtaining unit configured to perform obtaining of replacement lyrics by replacing the lyric with a prompt page in response to the regeneration instruction.
In an exemplary embodiment, the apparatus 1200 further comprises: and the number detection module is configured to cancel the replacement operation of the target lyrics when the generation number of the regenerated lyrics is determined to exceed the preset limit number in response to the triggering operation of the regenerated lyrics control.
In an exemplary embodiment, the apparatus 1200 further comprises: a melody attribute configuration module configured to perform a configuration operation in response to the melody attribute information, displaying the configured target melody attribute information; and the candidate lyric acquisition module is configured to execute triggering operation responding to the lyric generation key to acquire candidate lyrics matched with the target song theme and the target melody attribute information.
In an exemplary embodiment, the candidate lyric obtaining module 1206 is configured to perform a pagination display of the obtained candidate lyrics.
In an exemplary embodiment, the apparatus 1200 further comprises: a switching module configured to perform a lyric switching operation in response to a lyric display page for a current candidate lyric, to display a lyric display page for a candidate lyric adjacent to the current candidate lyric.
In an exemplary embodiment, the apparatus 1200 further comprises: a cue bar display module configured to perform displaying a sliding cue bar; a sliding module configured to perform a lyric switching operation in response to a lyric display page for the current candidate lyrics, sliding the cue bar in a sliding direction of the lyric switching operation.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 13 is a block diagram illustrating an electronic device Z00 for generating lyrics in accordance with an exemplary embodiment. For example, electronic device Z00 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 13, electronic device Z00 may include one or more of the following components: a processing component Z02, a memory Z04, a power component Z06, a multimedia component Z08, an audio component Z10, an interface for input/output (I/O) Z12, a sensor component Z14 and a communication component Z16.
The processing component Z02 generally controls the overall operation of the electronic device Z00, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component Z02 may include one or more processors Z20 to execute instructions to perform all or part of the steps of the method described above. Further, the processing component Z02 may include one or more modules that facilitate interaction between the processing component Z02 and other components. For example, the processing component Z02 may include a multimedia module to facilitate interaction between the multimedia component Z08 and the processing component Z02.
The memory Z04 is configured to store various types of data to support operations at the electronic device Z00. Examples of such data include instructions for any application or method operating on electronic device Z00, contact data, phonebook data, messages, pictures, videos, and the like. The memory Z04 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component Z06 provides power to the various components of the electronic device Z00. The power component Z06 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device Z00.
The multimedia component Z08 comprises a screen providing an output interface between the electronic device Z00 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component Z08 includes a front facing camera and/or a rear facing camera. When the electronic device Z00 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component Z10 is configured to output and/or input an audio signal. For example, the audio component Z10 includes a Microphone (MIC) configured to receive external audio signals when the electronic device Z00 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory Z04 or transmitted via the communication component Z16. In some embodiments, the audio component Z10 further includes a speaker for outputting audio signals.
The I/O interface Z12 provides an interface between the processing component Z02 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly Z14 includes one or more sensors for providing status assessment of various aspects to the electronic device Z00. For example, the sensor assembly Z14 may detect the open/closed state of the electronic device Z00, the relative positioning of the components, such as the display and keypad of the electronic device Z00, the sensor assembly Z14 may also detect a change in the position of one component of the electronic device Z00 or the electronic device Z00, the presence or absence of user contact with the electronic device Z00, the orientation or acceleration/deceleration of the electronic device Z00, and a change in the temperature of the electronic device Z00. The sensor assembly Z14 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly Z14 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly Z14 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component Z16 is configured to facilitate wired or wireless communication between the electronic device Z00 and other devices. The electronic device Z00 may have access to a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component Z16 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component Z16 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device Z00 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer readable storage medium is also provided, for example the memory Z04, comprising instructions executable by the processor Z20 of the electronic device Z00 to perform the above method. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program which, when executed by a processor, implements the lyric generation method of any of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for generating lyrics, comprising:
responding to the adding operation of the song theme, and displaying the added target song theme;
activating a lyric generation key of a song configuration page under the condition that the target song theme is added;
displaying candidate lyrics matched with the target song theme in response to the triggering operation of the lyric generating key;
and acquiring target lyrics from the candidate lyrics.
2. The lyric generating method according to claim 1, wherein said displaying the added target song theme in response to the addition operation of the song theme comprises:
responding to the addition operation of the song theme, and acquiring an input theme keyword;
displaying candidate song themes matched with the theme keywords;
obtaining the selected target song theme from the candidate song themes;
and displaying the target song theme.
3. The lyric generating method according to claim 1, further comprising, after said obtaining target lyrics from said candidate lyrics:
displaying a lyric editing page, the lyric editing page including a regeneration control;
responding to the triggering operation of the regeneration control, and acquiring the replacement lyrics matched with the target song theme;
displaying the replacement lyrics in the lyric editing page.
4. The lyric generating method according to claim 3, wherein the obtaining of the replacement lyrics matching the target song theme in response to the triggering operation of the regeneration control comprises:
responding to the triggering operation of the regeneration control, and displaying a lyric replacement prompt page;
and responding to a regeneration instruction through the lyric replacement prompt page to obtain the replaced lyrics.
5. The lyric generating method according to claim 3, wherein said method further comprises:
and when the generation times of the regenerated lyrics are determined to exceed the preset limit times in response to the triggering operation of the regeneration control, canceling the replacement operation of the target lyrics.
6. The lyric generating method according to claim 1, wherein said method further comprises:
displaying configured target melody attribute information in response to a configuration operation of the melody attribute information;
the displaying the candidate lyrics matched with the target song theme in response to the triggering operation of the lyric generating key comprises:
and acquiring candidate lyrics matched with the target song theme and the target melody attribute information in response to the trigger operation of the lyric generation key.
7. A lyric generating apparatus, characterized by comprising:
a theme adding module configured to perform an adding operation in response to the song theme and display the added target song theme;
the key activation module is configured to activate a lyric generation key of a song configuration page under the condition that the target song theme is added;
a candidate lyric obtaining module configured to execute a trigger operation of responding to the lyric generating key and display candidate lyrics matched with the target song theme;
a target lyric determination module configured to perform obtaining target lyrics from the candidate lyrics.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the lyric generating method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the lyric generation method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the lyric generation method of any one of claims 1 to 6.
CN202011628542.5A 2020-12-30 2020-12-30 Lyric generation method, device, electronic equipment and computer readable storage medium Pending CN112632906A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011628542.5A CN112632906A (en) 2020-12-30 2020-12-30 Lyric generation method, device, electronic equipment and computer readable storage medium
PCT/CN2021/134102 WO2022142946A1 (en) 2020-12-30 2021-11-29 Lyric generation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011628542.5A CN112632906A (en) 2020-12-30 2020-12-30 Lyric generation method, device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112632906A true CN112632906A (en) 2021-04-09

Family

ID=75289862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011628542.5A Pending CN112632906A (en) 2020-12-30 2020-12-30 Lyric generation method, device, electronic equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112632906A (en)
WO (1) WO2022142946A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113539217A (en) * 2021-06-29 2021-10-22 广州酷狗计算机科技有限公司 Lyric creation navigation method and device, equipment, medium and product thereof
CN113572977A (en) * 2021-07-06 2021-10-29 上海哔哩哔哩科技有限公司 Video production method and device
US20210375246A1 (en) * 2020-05-28 2021-12-02 Beijing Dajia Internet Information Technology Co., Ltd. Method, device, and storage medium for generating vocal file
WO2022142946A1 (en) * 2020-12-30 2022-07-07 北京达佳互联信息技术有限公司 Lyric generation method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239464A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Method and device for displaying search interface
WO2018200268A1 (en) * 2017-04-26 2018-11-01 Microsoft Technology Licensing, Llc Automatic song generation
CN109815363A (en) * 2018-12-12 2019-05-28 平安科技(深圳)有限公司 Generation method, device, terminal and the storage medium of lyrics content
CN109815493A (en) * 2019-01-09 2019-05-28 厦门大学 A kind of modeling method that the intelligence hip-hop music lyrics generate
CN110362696A (en) * 2019-06-11 2019-10-22 平安科技(深圳)有限公司 Lyrics generation method, system, computer equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632906A (en) * 2020-12-30 2021-04-09 北京达佳互联信息技术有限公司 Lyric generation method, device, electronic equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239464A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Method and device for displaying search interface
WO2018200268A1 (en) * 2017-04-26 2018-11-01 Microsoft Technology Licensing, Llc Automatic song generation
CN109815363A (en) * 2018-12-12 2019-05-28 平安科技(深圳)有限公司 Generation method, device, terminal and the storage medium of lyrics content
CN109815493A (en) * 2019-01-09 2019-05-28 厦门大学 A kind of modeling method that the intelligence hip-hop music lyrics generate
CN110362696A (en) * 2019-06-11 2019-10-22 平安科技(深圳)有限公司 Lyrics generation method, system, computer equipment and computer readable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210375246A1 (en) * 2020-05-28 2021-12-02 Beijing Dajia Internet Information Technology Co., Ltd. Method, device, and storage medium for generating vocal file
WO2022142946A1 (en) * 2020-12-30 2022-07-07 北京达佳互联信息技术有限公司 Lyric generation method and apparatus
CN113539217A (en) * 2021-06-29 2021-10-22 广州酷狗计算机科技有限公司 Lyric creation navigation method and device, equipment, medium and product thereof
CN113539217B (en) * 2021-06-29 2024-05-31 广州酷狗计算机科技有限公司 Lyric creation navigation method and device, equipment, medium and product thereof
CN113572977A (en) * 2021-07-06 2021-10-29 上海哔哩哔哩科技有限公司 Video production method and device
CN113572977B (en) * 2021-07-06 2024-02-27 上海哔哩哔哩科技有限公司 Video production method and device

Also Published As

Publication number Publication date
WO2022142946A1 (en) 2022-07-07

Similar Documents

Publication Publication Date Title
WO2022142946A1 (en) Lyric generation method and apparatus
WO2022142772A1 (en) Lyric processing method and apparatus
US20120096354A1 (en) Mobile terminal and control method thereof
CN111198956A (en) Multimedia resource interaction method and device, electronic equipment and storage medium
CN110688527A (en) Video recommendation method and device, storage medium and electronic equipment
CN108958503A (en) input method and device
CN108038102A (en) Recommendation method, apparatus, terminal and the storage medium of facial expression image
CN112464031A (en) Interaction method, interaction device, electronic equipment and storage medium
CN110955821A (en) Recommendation method and device and readable medium
CN112000266B (en) Page display method and device, electronic equipment and storage medium
US20210375246A1 (en) Method, device, and storage medium for generating vocal file
CN106415527A (en) Message communication method and device
CN112837664B (en) Song melody generation method and device and electronic equipment
CN114374663B (en) Message processing method and message processing device
CN114205447B (en) Shortcut setting method and device of electronic equipment, storage medium and electronic equipment
CN112506396B (en) Resource display method and device, electronic equipment and storage medium
CN113157972A (en) Recommendation method and device for video cover documents, electronic equipment and storage medium
CN109977390A (en) A kind of method and device generating text
CN109542297A (en) The method, apparatus and electronic equipment of operation guiding information are provided
CN112699269A (en) Lyric display method, device, electronic equipment and computer readable storage medium
CN112306251A (en) Input method, input device and input device
CN113923517B (en) Background music generation method and device and electronic equipment
CN110096163A (en) A kind of expression input method and device
CN112596695A (en) Song guide method and device, electronic equipment and storage medium
CN114676308A (en) Search term recommendation method and device, electronic equipment, storage medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination