Cboth case configuration method and device, equipment and storage medium

By combining user input and historical configuration records to determine the proportion of copywriting types and selecting target copywriting from the copywriting library, the problem of a single copywriting type in the existing technology is solved, the diversity and accuracy of copywriting generated by music DJs are improved, and the User experience.

CN118690044APending Publication Date: 2024-09-24GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410724738.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the existing technology, when a music DJ generates song copy for users, the type of copy is relatively single, which cannot meet the user's diverse and personalized needs and affects the user's listening experience.

Method used

By obtaining the prompt information and historical configuration records input by the user, the proportion of the copy type is determined, the target copy is selected from the copy library, and audio that meets the user's needs is generated, which broadens the selection range of copy types and improves the accuracy and accuracy of copy configuration. Conformity.

Benefits of technology

It increases the selection range of target copywriting, avoids a single type of copywriting, improves the user's listening experience, and ensures the accuracy and compliance of copywriting configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690044A
    Figure CN118690044A
Patent Text Reader

Abstract

The invention discloses a copywriting configuration method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: acquiring prompt information input by a user, wherein the prompt information is used for representing a copywriting configuration requirement of the user; according to the prompt information and a historical configuration record, at least one first copywriting type is obtained, and the historical configuration record is used for indicating the configured copywriting type in the historical time period; determining a proportion corresponding to the at least one first copywriting type, wherein the proportion corresponding to the first copywriting type is used for representing a probability that the first copywriting type is configured; and selecting a target copywriting from the copywriting library according to the proportion corresponding to the at least one first copywriting type, the target copywriting being used for the terminal device to generate an audio corresponding to the target copywriting according to the copywriting tone selected by the user. By combining the prompt information and the historical configuration record, the selectable copywriting types of the target copywriting are increased, and the conformity of the target copywriting and the prompt information is ensured through proportion analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a document configuration method, device, equipment and storage medium. Background Art

[0002] Music DJ (Disc Jockey) adds unique storytelling to each song in the form of AI (Artificial Intelligence) intelligent voice broadcasting, allowing users to enjoy a personalized listening experience similar to that of a local radio station.

[0003] In related technologies, after turning on "Music DJ", before the user plays any song, an exclusive audio commentary will be automatically played, and the selected "DJ" will tell the user the story behind the song and its singer. It can also intelligently generate and provide users with a variety of audio interactive content based on the user's personalized listening habits, from the background of song creation to music style analysis, from in-depth interpretation of lyrics to interesting explanations of song meanings, allowing different users to experience different customized commentary content, bringing users a comprehensive and in-depth music appreciation experience.

[0004] However, the above method generates song copy for users in real time based on the user's listening scene, resulting in a relatively single type of generated copy. Summary of the invention

[0005] The embodiment of the present application provides a copywriting configuration method, device, equipment and storage medium. The technical solution provided by the embodiment of the present application is as follows:

[0006] According to one aspect of an embodiment of the present application, a method for configuring a document is provided, the method comprising:

[0007] Acquire prompt information input by the user, where the prompt information is used to indicate the user's copywriting configuration requirements;

[0008] Obtaining at least one first text type according to the prompt information and the historical configuration record, wherein the historical configuration record is used to indicate the text type configured in a historical time period;

[0009] Determine a ratio corresponding to the at least one first text type, wherein the ratio corresponding to the first text type is used to indicate a probability that the first text type is configured;

[0010] According to the proportions corresponding to the at least one first text type, a target text is selected from the text library, and the target text is used by the terminal device to generate audio corresponding to the target text according to the text timbre selected by the user.

[0011] According to one aspect of an embodiment of the present application, a document configuration device is provided, the device comprising:

[0012] An information acquisition module, used to acquire prompt information input by a user, wherein the prompt information is used to indicate the user's copywriting configuration requirements;

[0013] A type determination module, used to obtain at least one first text type according to the prompt information and the historical configuration record, wherein the historical configuration record is used to indicate the text type configured in a historical time period;

[0014] a ratio determination module, used to determine the ratio corresponding to the at least one first text type, wherein the ratio corresponding to the first text type is used to indicate the probability of the first text type being configured;

[0015] The text selection module is used to select a target text from the text library according to the proportions corresponding to the at least one first text type. The target text is used by the terminal device to generate audio corresponding to the target text according to the text tone selected by the user.

[0016] According to one aspect of an embodiment of the present application, a server is provided, the server comprising a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-mentioned document configuration method.

[0017] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned document configuration method.

[0018] According to one aspect of an embodiment of the present application, a computer program product is provided, wherein the computer program product includes a computer program, and the computer program is loaded and executed by a processor to implement the above-mentioned document configuration method.

[0019] The technical solution provided in the embodiments of the present application can bring the following beneficial effects:

[0020] According to the prompt information input by the user and the historical configuration records, at least one first copy label is obtained, and the corresponding ratio of at least one first copy type is determined to obtain the probability of each first copy type being configured, and the target copy is selected from the copy library according to the corresponding ratio of at least one first copy type. Compared with the method of obtaining the target copy based on the user's listening scene in the related art, the present application obtains at least one first copy label by combining the prompt information and the historical configuration records, thereby increasing the selectable copy types of the target copy, broadening the selection range of the target copy, and avoiding the single copy type affecting the user's listening experience. In addition, by performing a proportional analysis on at least one first copy label, the probability of each first copy type being configured is obtained, so that the selected target copy can meet the user's copy configuration requirements as much as possible, ensuring the conformity of the target copy and the prompt information, and ensuring the accuracy of the copy configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0022] Figure 2 is a flow chart of a method for configuring a document provided by an embodiment of the present application;

[0023] Figure 3 This is a flow chart of the copywriting configuration on the server side provided by an embodiment of the present application;

[0024] Figure 4 is a block diagram of a document configuration device provided by an embodiment of the present application;

[0025] Figure 5 This is a structural block diagram of a server provided by an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0027] Please refer to Figure 1 , which shows a schematic diagram of a solution implementation environment provided by an embodiment of the present application. The solution implementation environment can be implemented as a copywriting configuration system. The solution implementation environment may include: a terminal device 10 and a server 20.

[0028] The number of terminal devices 10 can be one or more. The terminal device 10 can be an electronic device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a game console, an e-book reader, a multimedia player, a wearable device, a smart TV, a car terminal, etc. The terminal device 10 can be installed with a client of a music application, and the music application has the function of playing songs. In the embodiment of the present application, the music application has the function of playing commentary audio before playing songs. Optionally, the above-mentioned music application can be an application that needs to be downloaded and installed, or it can be a click-to-use application, which is not limited in the present application.

[0029] The server 20 is used to provide background services for the clients of the music application programs installed and running in the terminal device 10. For example, the server 20 can be the background server of the above application programs. The server 20 can be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center. Optionally, the server 20 provides background services for the clients of the music application programs in multiple terminal devices 10 at the same time. The terminal device 10 and the server 20 can communicate with each other through the network.

[0030] The server 20 stores a music library and a text library. The music library stores a plurality of songs, and the text library stores a plurality of texts respectively configured for the plurality of songs.

[0031] In an embodiment of the present application, the user enters prompt information on the client of the music application in the terminal device 10 to indicate the user's copy configuration requirements. The server 20 obtains at least one first copy type based on the received prompt information and the user's historical configuration records, and screens the copy library based on the first copy type to obtain a copy library that only contains the copy corresponding to the first copy type, and removes the copy that does not conform to the copy style label in the copy library based on the copy style label contained in the prompt information to obtain the removed copy library. Determine the proportions corresponding to at least one first copy type, select the target copy from the removed copy library based on the proportion (probability), generate the corresponding audio, and obtain the song corresponding to the target copy. The server 20 sends the audio corresponding to the target copy and the song corresponding to the target copy to the client of the music application, and the client of the music application first plays the audio corresponding to the target copy, and then plays the song corresponding to the target copy.

[0032] Please refer to Figure 2 , which shows a flow chart of a method for copywriting configuration provided by an embodiment of the present application. The execution subject of each step of the method may be a server. The method may include at least one of the following steps 220 to 280:

[0033] Step 220, obtaining prompt information input by the user, where the prompt information is used to indicate the user's copywriting configuration requirements.

[0034] The copy refers to the introductory copy of the song. A copy is used to introduce one dimension of the song, including but not limited to the song's creation experience, the singer's singing experience of the song, the song's release time, the song's listening evaluation, the song's cover experience, etc. For example, if the copy is used to introduce the song's creation experience, the copy may include an introduction to the song's lyricist's experience in writing lyrics, an introduction to the song's composer's experience in composing music, an introduction to the song's creation experience of other staff members, etc. If the copy is used to introduce the song's release time, the copy may include an explanation of the specific song's release time, an introduction to the reasons for the song's release time, etc.

[0035] Before playing the song, the audio corresponding to the copy is played so that the user can understand the relevant information of the song. After playing the audio corresponding to the copy, the song corresponding to the copy is played so that the user can enjoy the song more attentively and improve the user's listening experience. In the embodiment of the present application, according to the prompt information input by the user, the target copy is selected from the copy library to meet the user's copy configuration requirements, and then the client on the terminal device can play the audio corresponding to the target copy and play the song corresponding to the target copy.

[0036] The prompt information includes text type information and text style information. The text type information is used to indicate the user's requirements for the type of the target text, and the text style information is used to indicate the user's requirements for the style of the target text.

[0037] The copy type information is used to indicate at least one copy type, which refers to the dimension type of the song introduced by the copy, that is, one copy type corresponds to one dimension of the song. The copy types include, but are not limited to, copy about the song creation experience, copy about the singer's singing experience of the song, copy about the release time of the song, copy about the song listening evaluation, copy about the song cover experience, and other copy types.

[0038] The copywriting style information is used to indicate at least one copywriting style, and the copywriting style refers to the narrative style of the copywriting. The copywriting style includes but is not limited to soothing, tranquil, passionate, heavy, sad and other copywriting styles. The copywriting style information can be information about the copywriting style. For example, the copywriting style information can be "soothing copywriting", and the copywriting style indicated by the copywriting style information can be determined to be "soothing". The copywriting style information can also be information about the song style. It is necessary to obtain the song style corresponding to the information about the song style according to the information about the song style, and obtain the copywriting style matching the song style based on the song style corresponding to the information about the song style. For example, the copywriting style information can be "suitable for listening quietly alone at night", and the song style is "quiet", and the copywriting style matching the song style is "quiet". The copywriting style information can also include information about the copywriting style and information about the song style at the same time, and the copywriting style corresponding to the information about the copywriting style and the copywriting style matching the song style can be determined as the above-mentioned at least one copywriting style. For example, the text style information may be “soothing text suitable for listening quietly at night alone”, and the at least one text style indicated by the text style information includes two text styles: “quiet” and “soothing”.

[0039] Exemplarily, the prompt information input by the user may be "I like to listen to the story of song creation and when the song was released, which is suitable for listening to it lightly in the morning alone". The copy type information is "I like to listen to the story of song creation and when the song was released", and the at least one copy type indicated by the copy type information includes the copy about the song creation experience and the copy about the song release time. The copy style information is "suitable for listening to it lightly in the morning alone", and the copy style information is information about the song style. According to the copy style information, the song style corresponding to the information about the song style is obtained, and the copy style matching the song style is obtained. The at least one copy style indicated by the copy style information includes the "light" copy style.

[0040] Step 240: Obtain at least one first text type according to the prompt information and the historical configuration record, where the historical configuration record is used to indicate the text types configured in a historical time period.

[0041] The historical configuration records include the text information configured in the historical time period, and the song listening records corresponding to the text configured in the historical time period. Among them, the text information configured in the historical time period is used to indicate at least one text configured in the historical time period. According to the at least one text configured in the historical time period, the text type and text style of the at least one text configured in the historical time period can be obtained. The song listening records corresponding to the text configured in the historical time period include the song information of at least one song corresponding to the text configured in the historical time period, the song listening time corresponding to at least one song corresponding to the text configured in the historical time period, the song switching situation corresponding to at least one song corresponding to the text configured in the historical time period, etc.

[0042] The end time of the historical time period is the current time, which can be one week before the current time, one month before the current time, half a year before the current time, etc. This application does not limit the start time of the historical time period, that is, the length of the historical time period is not limited.

[0043] According to the prompt information, at least one text type indicated by the extraction information is obtained; according to the historical configuration record, at least one historical text type is extracted; according to the at least one text type included in the prompt information and at least one historical text type, at least one first text type is obtained. The at least one first text type includes at least one text type included in the prompt information and at least one historical text type.

[0044] In some embodiments, at least one first text type is obtained through a large language model according to prompt information and historical configuration records.

[0045] The specific steps of obtaining the first text type may refer to the following embodiment.

[0046] In some embodiments, step 240 is followed by step 250, which is used to screen and remove the document library according to the first document type and the prompt information to obtain a removed document library. Step 250 includes at least one of sub-steps 251 to 254 (not shown in the figure).

[0047] Sub-step 251 , filtering a document library according to at least one first document type to obtain a filtered document library, wherein the filtered document library contains documents corresponding to at least one first document type.

[0048] According to at least one song contained in the music library, a plurality of texts corresponding to different text types are configured for each song. The text configured for each song can be written and generated by technical personnel themselves, or generated through a large language model, and this application does not limit this.

[0049] Multiple copywritings configured for at least one song included in the music library are stored in the copywriting library. If a new song is added to the music library, multiple copywritings corresponding to the new song are generated based on the new song, and the multiple copywritings corresponding to the new song are stored in the copywriting library.

[0050] After obtaining at least one first copy type, the copy library is screened, and the copy corresponding to at least one first copy type in the copy library is retained, and the copy corresponding to other copy types except the at least one first copy type in the copy library is removed to obtain a screened copy library. Therefore, the screened copy library only contains the copy corresponding to at least one first copy type.

[0051] Sub-step 252, obtaining at least one text style tag contained in the prompt information and at least one text style tag of the text contained in the filtered text library.

[0052] The copywriting style information contained in the prompt information is obtained, and at least one copywriting style indicated by the copywriting style information is obtained according to the copywriting style information contained in the prompt information, thereby generating a label corresponding to the at least one copywriting style, and at least one copywriting style label can be obtained.

[0053] As described above, if the text style information includes information about the text style, then at least one text style corresponding to the information about the text style can be obtained based on the information about the text style. If the text style information includes information about the song style, then at least one song style corresponding to the information about the song style can be obtained based on the information about the song style, and based on the at least one song style corresponding to the information about the song style, at least one text style matching the at least one song style can be obtained.

[0054] According to the narrative style of at least one copy contained in the filtered copy library, a copy style label of at least one copy contained in the filtered copy library is obtained.

[0055] In some embodiments, at least one text style tag included in the prompt information and at least one text style tag of the screened text library are obtained through a large language model.

[0056] Sub-step 253, respectively calculating the similarity between the text style tag of at least one text included in the screened text library and the at least one text style tag included in the prompt information, and obtaining the similarity scores corresponding to the at least one text included in the screened text library.

[0057] Optionally, the similarity between the text style tag of at least one text contained in the filtered text library and the at least one text style tag contained in the prompt information can be calculated by cosine similarity to obtain the similarity scores corresponding to the at least one text contained in the filtered text library.

[0058] Sub-step 254, remove the documents with similarity scores less than the second threshold from the screened document library to obtain a removed document library.

[0059] According to the similarity scores respectively corresponding to the at least one document contained in the screened document library, the at least one document contained in the screened document library is sorted in descending order to obtain the at least one sorted document.

[0060] In some embodiments, the copy with a similarity score less than the second threshold in at least one sorted copy is removed from the screened copy library to obtain a copy library after removal. The removed copy library contains at least one copy with a similarity score greater than or equal to the second threshold. The present application does not limit the specific value of the second threshold. The default value can be set by a technician, or it can be flexibly set according to the user's copy configuration requirements. For example, if the number of copies corresponding to the copy style indicated in the user's copy configuration requirements is small, the second threshold can be set to a smaller value. If the number of copies corresponding to the copy style indicated in the user's copy configuration requirements is large, the second threshold can be set to a larger value.

[0061] In some embodiments, the first number of documents ranked later in the at least one ordered document are removed from the screened document library to obtain an eliminated document library. The present application does not limit the specific value of the first number, and a default value can be set by a technician, or it can be flexibly set according to the user's document configuration requirements. For example, if the number of documents corresponding to the document style indicated in the user's document configuration requirements is small, the first number can be set to be smaller. If the number of documents corresponding to the document style indicated in the user's document configuration requirements is large, the first number can be set to be larger.

[0062] In some embodiments, the first proportion of the documents ranked lower in the at least one sorted document is removed from the document library to obtain a document library after removal. The present application does not limit the specific value of the second threshold value, and a default value can be set by a technician, or it can be flexibly set according to the user's document configuration requirements. For example, if the number of documents corresponding to the document style indicated in the user's document configuration requirements is small, the first proportion can be set to be smaller. If the number of documents corresponding to the document style indicated in the user's document configuration requirements is large, the first proportion can be set to be larger.

[0063] By filtering the copy library according to the first copy type, the filtered copy library only contains the copy corresponding to at least one first copy type, thereby avoiding the configured target copy not belonging to the at least one first copy type and not meeting the copy configuration requirements of the user. And according to the similarity between the copy style tag of at least one copy included in the prompt information and the at least one copy style tag included in the prompt information, the filtered copy library is screened again, so that the copy included in the eliminated copy library is the copy with a high correlation with the copy style tag in the prompt information, thereby avoiding the configured target copy not meeting the copy configuration requirements of the user, thereby improving the conformity and accuracy of the copy configuration.

[0064] Step 260: Determine the proportion corresponding to at least one first text type. The proportion corresponding to the first text type is used to indicate the probability of the first text type being configured.

[0065] A ratio is respectively configured for the at least one first copy type mentioned above to obtain the ratio corresponding to the at least one first copy type. The ratio corresponding to each first copy type is used to indicate the probability of the first copy type being configured. It can also be understood that the ratio corresponding to each first copy type is used to indicate the probability of the first copy type being selected when selecting a target copy from the copy library.

[0066] Exemplarily, if at least one first copy type includes copy type a, copy type b and copy type c, the corresponding proportion of copy type a is 20%, the corresponding proportion of copy type b is 50%, and the corresponding proportion of copy type c is 30%, then it means that the probability of copy type a being selected is 20%, the probability of copy type b being selected is 50%, and the probability of copy type c being selected is 30%.

[0067] Step 280, selecting a target copy from the copy library according to the proportion corresponding to at least one first copy type, the target copy is used by the terminal device to generate audio corresponding to the target copy according to the copy tone selected by the user.

[0068] In some embodiments, according to the proportions corresponding to at least one first copy type, a target copy is selected from the deleted copy library. The target copy refers to the selected copy.

[0069] After obtaining the target copy, the server returns the target copy to the client of the music application on the terminal device. The user can select the copy tone that matches the target copy based on the target copy, generate the audio corresponding to the target copy, and play the audio corresponding to the target copy. Then, the song corresponding to the target copy is obtained and played.

[0070] The copy timbre mentioned here is a pre-configured copy timbre, which can be a timbre generated based on a real human voice or a mechanical timbre generated based on AI, and this application does not limit this. The copy timbre can include the timbre of women and men of different age groups, such as the timbre of teenage men and women, the timbre of middle-aged men and women, the timbre of elderly men and women, etc. The copy timbre can also be configured with different tones for the timbre of women and men of different age groups. For example, for the timbre of a middle-aged woman, a gentle tone, a serious tone, a brisk tone, and other tones can be configured. The copy timbre can also be configured with different emotions for the timbre of women and men of different age groups. For example, for the timbre of a middle-aged woman, an excited emotion, a calm emotion, a sad emotion, and other emotions can be configured.

[0071] The technical solution provided by the embodiment of the present application obtains at least one first copy label according to the prompt information input by the user and the historical configuration record, and determines the proportion corresponding to at least one first copy type, so as to obtain the probability of each first copy type being configured, and selects the target copy from the copy library according to the proportion corresponding to at least one first copy type. Compared with the method of obtaining the target copy based on the user's listening scene in the related art, the present application obtains at least one first copy label by combining the prompt information and the historical configuration record, thereby increasing the selectable copy types of the target copy, broadening the selection range of the target copy, and avoiding the single copy type affecting the user's listening experience. In addition, by performing a proportional analysis on at least one first copy label, the probability of each first copy type being configured is obtained, so that the selected target copy can meet the user's copy configuration requirements as much as possible, ensuring the conformity of the target copy and the prompt information, and ensuring the accuracy of the copy configuration.

[0072] In some embodiments, step 240 includes at least one of sub-steps 241 to 243 (not shown).

[0073] Sub-step 241, obtaining at least one text type included in the prompt information.

[0074] According to the prompt information, the text type information contained in the prompt information is obtained, and according to the text type information, at least one text type indicated by the text type information is obtained.

[0075] Sub-step 242, extracting at least one historical text type according to the historical configuration record, where the historical text type refers to a text type with configuration significance that has been configured within a historical time period.

[0076] The historical configuration record includes the text information configured in the historical time period and the listening record corresponding to the text configured in the historical time period. According to the text information configured in the historical time period, the text type of at least one text configured in the historical time period is obtained. Here, the text types corresponding to the at least one text configured in the historical time period may have duplicate text types, so the text types corresponding to the at least one text configured in the historical time period are integrated to obtain the text type of the at least one text configured in the historical time period.

[0077] At least one historical copy type is obtained according to the copy type of at least one copy configured in the historical time period. The historical copy type refers to a copy type with configuration significance configured in the historical time period.

[0078] In some embodiments, the document types configured in the historical time period are determined as historical document types.

[0079] The document types of all documents configured in the historical time period may be determined as historical document types.

[0080] In some embodiments, based on the configuration times of at least one text type configured in a historical time period, a text type with a configuration times greater than a first threshold is determined as a historical text type.

[0081] Since at least one copy type configured in the historical time period is configured repeatedly, the at least one copy type is sorted in descending order according to the number of configurations of the at least one copy type configured in the historical time period to obtain the sorted at least one copy type.

[0082] Optionally, the text type with a configuration number greater than the first threshold value in at least one of the sorted text types can be determined as a historical text type. The present application does not limit the specific value of the first threshold value, and a default value can be set by a technician, or it can be flexibly set according to the number of text types configured in the historical time period. For example, if the number of text types configured in the historical time period is small, the first threshold value can be set larger, and if the number of text types configured in the historical time period is large, the first threshold value can be set smaller.

[0083] Optionally, the second number of the top-ranked copy types in the at least one sorted copy type may also be determined as the historical copy types. The present application does not limit the specific value of the second number, and a default value may be set by a technician, or it may be flexibly set according to the number of copy types configured in the historical time period. For example, if the number of copy types configured in the historical time period is small, the second number may be set to a larger value, and if the number of copy types configured in the historical time period is large, the second number may be set to a smaller value.

[0084] Optionally, the second proportion of the top-ranked copy types in the at least one sorted copy type can also be determined as the historical copy type. The present application does not limit the specific value of the second proportion, and the default value can be set by the technician, or it can be flexibly set according to the number of copy types configured in the historical time period. For example, if the number of copy types configured in the historical time period is small, the second proportion can be set to a larger value, and if the number of copy types configured in the historical time period is large, the second proportion can be set to a smaller value.

[0085] In some embodiments, if the length of the historical time period is less than the first time length, the copy type configured in the historical time period is determined as the historical copy type; if the length of the historical time period is greater than the first time length, the copy type configured more than the first threshold number of times is determined as the historical copy type.

[0086] Optionally, the second number of text types ranked higher in configuration times may be determined as historical text types. The second proportion of text types ranked higher in configuration times may also be determined as historical text types.

[0087] The present application does not limit the specific value of the above-mentioned first time length. The default value can be set by the technical personnel, or it can be flexibly set according to the number of copy types configured in the historical time period. For example, if the number of copy types configured in the historical time period is small, the first time length can be set to a larger value; if the number of copy types configured in the historical time period is large, the first time length can be set to a smaller value.

[0088] By providing different schemes for determining the historical copy type, the historical copy type is a copy type with configuration significance, and the corresponding historical copy type determination scheme can be selected according to the length of the historical time period, so that the determined historical copy type can meet the user's configuration preferences, thereby improving the accuracy of the configured target copy and enhancing the user's listening experience.

[0089] Sub-step 243, obtaining at least one first text type according to at least one text type and at least one historical text type included in the prompt information.

[0090] Since there may be duplicate copy types in the at least one copy type included in the prompt information and the at least one historical copy type, it is necessary to integrate the at least one copy type included in the prompt information and the at least one historical copy type to obtain at least one first copy type.

[0091] The above method combines prompt information and historical configuration records to obtain at least one first copy label. While considering the user's current copy configuration needs, it also considers the user's historical copy configuration. It not only increases the selectable copy types for the target copy, broadens the selection range of the target copy, avoids the single copy type affecting the user's listening experience, but also ensures that the configured target copy can meet the user's configuration preferences, thereby improving the conformity and accuracy of the target copy.

[0092] In some embodiments, step 260 includes at least one of sub-steps 261 to 263 (not shown).

[0093] Sub-step 261 : configuring a first ratio for at least one text type included in the prompt information.

[0094] The first ratio may be a ratio set by the user or a ratio pre-set by a technician, and this application does not limit this.

[0095] The prompt information includes at least one text type, and a first ratio is configured for each text type included in the prompt information, that is, the ratio corresponding to the at least one text type included in the prompt information is the first ratio. Optionally, the user or a technician may pre-set the total ratio that needs to be configured for the at least one text type included in the prompt information, and then obtain the ratio that needs to be configured for each text type included in the prompt information according to the number of the at least one text type included in the prompt information.

[0096] Exemplarily, if the user or technician pre-sets the total proportion of at least one text type contained in the prompt information to be configured to 50%, and the at least one text type contained in the prompt information includes text type a and text type b, then the first proportion is 25%, and the corresponding proportions of text type a and text type b are both 25%.

[0097] Sub-step 262, based on the song playing information corresponding to at least one historical text type in the historical configuration record, determine the initial proportion corresponding to at least one historical text type, and the sum of the initial proportions corresponding to at least one historical text type is 1.

[0098] Each historical copy type corresponds to at least one song, and the song playback information corresponding to at least one historical copy type refers to the song playback information of at least one song corresponding to at least one historical copy type. The historical configuration record includes the copy information configured in the historical time period, and the song listening record corresponding to the copy configured in the historical time period. According to the song listening record corresponding to the copy configured in the historical time period, the song playback information of at least one song corresponding to at least one historical copy type is obtained.

[0099] In some embodiments, the song playback information corresponding to at least one historical copy type includes at least one of the following: the playback duration of at least one song corresponding to at least one historical copy type; the number of song switching times of at least one song corresponding to at least one historical copy type; and the number of songs corresponding to at least one historical copy type.

[0100] Optionally, if the song playback information corresponding to at least one historical copy type only includes the playback duration of at least one song corresponding to at least one historical copy type, the total playback duration of all songs corresponding to at least one historical copy type can be obtained according to the playback duration of at least one song corresponding to at least one historical copy type in the historical configuration record, and the sum of the playback duration of at least one song corresponding to each historical copy type can be obtained. The sum of the playback duration of at least one song corresponding to each historical copy type is calculated respectively, and the ratio relative to the total playback duration is used to obtain the initial ratio corresponding to each historical copy type.

[0101] Optionally, if the song playback information corresponding to at least one historical copy type only includes the number of song cuts of at least one song corresponding to at least one historical copy type, the total number of song cuts of all songs corresponding to at least one historical copy type can be obtained according to the number of song cuts of at least one song corresponding to at least one historical copy type in the historical configuration record, and the sum of the number of song cuts of at least one song corresponding to each historical copy type can be obtained. The sum of the number of song cuts of at least one song corresponding to each historical copy type is calculated respectively, and the ratio relative to the total number of song cuts is used to obtain the initial ratio corresponding to each historical copy type.

[0102] Optionally, if the song playback information corresponding to at least one historical copy type only includes the number of songs corresponding to at least one historical copy type, the total number of songs corresponding to at least one historical copy type and the number of songs corresponding to each historical copy type can be obtained based on the number of songs corresponding to at least one historical copy type in the historical configuration record. The ratio of the number of songs corresponding to each historical copy type to the total number of songs is calculated to obtain the initial ratio corresponding to each historical copy type.

[0103] Optionally, if the song playing information corresponding to at least one historical copy type includes at least two song playing information, after obtaining the initial proportion corresponding to each historical copy type corresponding to each song playing information based on each song playing information, the final initial proportion corresponding to at least one historical copy type can be calculated according to the weights corresponding to the at least two song playing information. The sum of the final initial proportions corresponding to at least one historical copy type is 1.

[0104] Exemplarily, if the song playback information corresponding to at least one historical copy type includes the playback duration of at least one song corresponding to at least one historical copy type, and the number of song cuts of at least one song corresponding to at least one historical copy type, and at least one historical copy type includes copy type c and copy type d, then based on the playback duration of at least one song corresponding to at least one historical copy type, the initial proportion corresponding to copy type c is calculated to be 20%, and the initial proportion corresponding to copy type d is 80%, and based on the number of song cuts of at least one song corresponding to at least one historical copy type, the initial proportion corresponding to copy type c is calculated to be 40%, and the initial proportion corresponding to copy type d is 60%. If the weight corresponding to the playback duration is 0.2, and the weight corresponding to the number of song cuts is 0.8, then the final initial proportion corresponding to copy type c is 36%, and the final initial proportion corresponding to copy type d is 64%. The sum of the final initial proportions corresponding to copy type c and copy type d is 1.

[0105] This application does not limit the weight corresponding to each song playback information. The default value can be set by the technical staff, and the sum of the weights corresponding to at least two song playback information is 1.

[0106] By considering multiple playback information of songs, the initial proportions corresponding to at least one historical copy type are determined, and the user's preference for different historical copy types is taken into account. The probability of configuring historical copy types with short playback time, more song switching times, or fewer songs is reduced, which helps to improve user satisfaction with the target copy.

[0107] Sub-step 263, obtaining a ratio corresponding to at least one historical text type according to the initial ratio corresponding to at least one historical text type, wherein the sum of the ratio corresponding to at least one historical text type and the at least one first ratio is 1.

[0108] According to the total ratio of at least one text type configuration contained in the prompt information, the total ratio of at least one historical text type configuration is obtained; the initial ratio corresponding to at least one historical text type is multiplied by the total ratio of at least one historical text type configuration to obtain the ratio corresponding to at least one historical text type.

[0109] For example, if the total proportion of at least one text type configuration is 50%, the proportions corresponding to text type a and text type b are both 25%. If the total proportion of at least one historical text type configuration is 50%, the initial proportion corresponding to text type c is 40%, and the initial proportion corresponding to text type d is 60%, then the proportion corresponding to text type c is 20%, and the initial proportion corresponding to text type d is 30%. The sum of the proportions corresponding to text type a, text type b, text type c, and text type d is 1.

[0110] By configuring the ratios of at least one text type and at least one historical text type contained in the prompt information, a target text can be selected from the text library according to the ratios corresponding to each first text type, which provides a basis for selecting the target text and ensures the accuracy of the target text.

[0111] In some embodiments, the method further includes step 290, which is used to generate audio corresponding to the adjusted target text according to the adjustment information input by the user, and obtain the song corresponding to the adjusted target text. Step 290 includes at least one of sub-steps 291 to 293 (not shown in the figure).

[0112] Sub-step 291, obtaining adjustment information, where the adjustment information is used to adjust the copy configuration requirements.

[0113] The adjustment information is the prompt information that the user inputs again after inputting the prompt information, and is used to adjust the text configuration requirements in the prompt information.

[0114] The adjustment information may add text configuration requirements to the prompt information, or may modify the text configuration requirements in the prompt information, which is not limited in this application.

[0115] Sub-step 292, integrating the prompt information and the adjustment information to obtain the adjusted prompt information.

[0116] For example, if the prompt message is "I like to listen to the story of the song's creation, and when the song was released. It's suitable for listening to it alone in the early morning", the adjustment information can be "I like to listen to the evaluation of the song", then the adjusted prompt message will be "I like to listen to the story of the song's creation, I like to listen to the evaluation of the song, and when the song was released. It's suitable for listening to it alone in the early morning".

[0117] For example, if the prompt message is "I like to listen to the story of the song's creation and when the song was released. It is suitable for listening to it alone in the early morning", the adjustment message can be "Suitable for listening to it alone quietly at night", then the adjusted prompt message will be "I like to listen to the story of the song's creation and when the song was released. It is suitable for listening to it alone quietly at night".

[0118] Sub-step 293, according to the adjusted prompt information, select the adjusted target copy from the copy library, and the adjusted target copy is used by the terminal device to generate audio corresponding to the adjusted target copy according to the copy tone selected by the user.

[0119] The adjusted target text may be obtained by referring to the above embodiment, and the specific process will not be described in detail.

[0120] In some embodiments, if the user still needs to adjust the text configuration requirements, the user can continue to input adjustment information to generate a target text after further adjustment.

[0121] Through multiple rounds of prompt information input by the user, the copy configuration requirements are updated, and the adjusted target copy is generated according to the adjusted prompt information, so that the copy that meets the user's needs can be continuously obtained, thereby improving the user's satisfaction with the copy configuration.

[0122] Figure 3 The process of text configuration on the server side is shown. The server receives prompt information input by the user on the terminal device, and obtains at least one text type and at least one text style tag contained in the prompt information according to the prompt information through the large language model. At least one historical text type is obtained according to the historical configuration record through the large language model, and at least one text type contained in the prompt information and at least one historical text type are merged to obtain at least one first text type. The at least one first text type is analyzed in proportion to obtain the proportion corresponding to the at least one text type.

[0123] Furthermore, based on the first copy type, other types except the first copy type in the copy library are removed to obtain a filtered copy library. Based on the similarity between the copy style tag of at least one copy contained in the filtered copy library and the at least one copy style tag contained in the prompt information, the copy that does not meet the similarity requirement is removed to obtain a removed copy library. According to the proportions corresponding to at least one first copy type, the target copy is selected from the removed copy library.

[0124] If the user is satisfied with the selected target copy, the terminal device generates and plays the audio corresponding to the target copy according to the timbre of the copy selected by the user, ending the copy configuration process. The terminal device then obtains the song corresponding to the target copy and plays it. If the user is not satisfied with the selected target copy, the user can input adjustment information again to adjust the copy configuration requirements. The prompt information and the adjustment information are integrated to obtain the adjusted prompt information. According to the adjusted prompt information, the above-mentioned copy configuration process is repeated to generate the adjusted target copy. Until the user is satisfied with the adjusted target copy, the terminal device generates and plays the audio corresponding to the adjusted target copy according to the timbre of the copy selected by the user, ending the copy configuration process.

[0125] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0126] Please refer to Figure 4 , which shows a block diagram of a copywriting configuration device provided by an embodiment of the present application. The device has the function of implementing the above copywriting configuration method, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the server introduced above, or it can be set in the server. Figure 4 As shown, the device 400 may include: an information acquisition module 410 , a type determination module 420 , a ratio determination module 430 and a text selection module 440 .

[0127] The information acquisition module 410 is used to acquire prompt information input by the user, where the prompt information is used to indicate the text configuration requirements of the user.

[0128] The type determination module 420 is used to obtain at least one first text type according to the prompt information and the historical configuration record, where the historical configuration record is used to indicate the text types configured in a historical time period.

[0129] The ratio determination module 430 is used to determine the ratio corresponding to the at least one first text type, where the ratio corresponding to the first text type is used to indicate the probability of the first text type being configured.

[0130] The text selection module 440 is used to select a target text from the text library according to the proportions corresponding to the at least one first text type. The target text is used by the terminal device to generate audio corresponding to the target text according to the text tone selected by the user.

[0131] In some embodiments, the type determination module 420 is used to:

[0132] Obtaining at least one text type contained in the prompt information;

[0133] Extracting at least one historical document type according to the historical configuration record, wherein the historical document type refers to a document type having configuration significance and having been configured within the historical time period;

[0134] The at least one first copy type is obtained according to the at least one copy type included in the prompt information and the at least one historical copy type.

[0135] In some embodiments, the type determination module 420 is used to:

[0136] Determine the document type configured in the historical time period as the historical document type;

[0137] or,

[0138] According to the configuration times of at least one text type configured in the historical time period, determining the text type whose configuration times are greater than a first threshold as the historical text type;

[0139] or,

[0140] If the length of the historical time period is less than the first time length, the copy type configured in the historical time period is determined as the historical copy type; if the length of the historical time period is greater than the first time length, the copy type configured more than the first threshold value is determined as the historical copy type.

[0141] In some embodiments, the ratio determination module 430 is used to:

[0142] configuring a first ratio for at least one text type included in the prompt information;

[0143] Determine, according to the song playing information corresponding to the at least one historical text type in the historical configuration record, the initial proportions corresponding to the at least one historical text type, wherein the sum of the initial proportions corresponding to the at least one historical text type is 1;

[0144] According to the initial proportions respectively corresponding to the at least one historical text type, the proportions respectively corresponding to the at least one historical text type are obtained, and the sum of the proportions respectively corresponding to the at least one historical text type and at least one of the first proportions is 1.

[0145] In some embodiments, the song playing information corresponding to the at least one historical text type includes at least one of the following:

[0146] The playing time of at least one song corresponding to the at least one historical text type;

[0147] The number of song switching of at least one song corresponding to the at least one historical text type;

[0148] The number of songs corresponding to the at least one historical text type.

[0149] In some embodiments, the device 400 further includes a document library screening module (not shown in the figure), and the document library screening module is used to:

[0150] Filtering the document library according to the at least one first document type to obtain a filtered document library, wherein the filtered document library contains documents corresponding to the at least one first document type;

[0151] Acquire at least one text style tag contained in the prompt information and at least one text style tag of the text contained in the filtered text library;

[0152] Respectively calculating the similarity between the text style tag of at least one text contained in the screened text library and the at least one text style tag contained in the prompt information, and obtaining the similarity score corresponding to the at least one text contained in the screened text library;

[0153] The documents with the similarity score less than the second threshold are removed from the screened document library to obtain a removed document library.

[0154] In some embodiments, the copy selection module 440 is used to:

[0155] The target copy is selected from the eliminated copy library according to the respective proportions corresponding to the at least one first copy type.

[0156] In some embodiments, the device 400 further includes a text adjustment module (not shown in the figure), and the text adjustment module is used to:

[0157] Acquire adjustment information, where the adjustment information is used to adjust the copywriting configuration requirement;

[0158] Integrate the prompt information and the adjustment information to obtain adjusted prompt information;

[0159] According to the adjusted prompt information, an adjusted target copy is selected from the copy library, and the adjusted target copy is used by the terminal device to generate audio corresponding to the adjusted target copy according to the copy timbre selected by the user.

[0160] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0161] Please refer to Figure 5 , which shows a structural block diagram of a server 500 provided in one embodiment of the present application. The server 500 can be any electronic device with data calculation, processing and storage functions. The server 500 can be used to implement the document configuration method provided in the above embodiment.

[0162] Typically, the server 500 includes a processor 501 and a memory 502 .

[0163] The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI processor, which is used to process computing operations related to machine learning.

[0164] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store a computer program, which is configured to be executed by one or more processors to implement the above-mentioned document configuration method.

[0165] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the server 500, and the server 500 may include more or less components than those shown in the figure, or combine some components, or adopt a different arrangement of components.

[0166] In an illustrative embodiment, a computer-readable storage medium is also provided, in which a computer program is stored, and when the computer program is executed by a processor of a server, the above-mentioned copywriting configuration method is implemented. Optionally, the above-mentioned computer-readable storage medium can be ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk and optical data storage device, etc.

[0167] In an exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a server reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the server executes the above-mentioned document configuration method.

[0168] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0169] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A copywriting configuration method, characterized in that: The method comprises: Acquire prompt information input by the user, where the prompt information is used to indicate the user's copywriting configuration requirements; Obtaining at least one first text type according to the prompt information and the historical configuration record, wherein the historical configuration record is used to indicate the text type configured in a historical time period; Determine a ratio corresponding to the at least one first text type, wherein the ratio corresponding to the first text type is used to indicate a probability that the first text type is configured; According to the proportions corresponding to the at least one first text type, a target text is selected from the text library, and the target text is used by the terminal device to generate audio corresponding to the target text according to the text timbre selected by the user.

2. The method according to claim 1, characterized in that: The obtaining, according to the prompt information and the historical configuration record, at least one first copy type includes: Obtaining at least one text type contained in the prompt information; Extracting at least one historical document type according to the historical configuration record, wherein the historical document type refers to a document type having configuration significance and having been configured within the historical time period; The at least one first copy type is obtained according to the at least one copy type included in the prompt information and the at least one historical copy type.

3. The method according to claim 2, characterized in that The extracting at least one historical document type according to the historical configuration record includes: Determine the document type configured in the historical time period as the historical document type; or, According to the configuration times of at least one text type configured in the historical time period, determining the text type whose configuration times are greater than a first threshold as the historical text type; or, If the length of the historical time period is less than the first time length, the copy type configured in the historical time period is determined as the historical copy type; if the length of the historical time period is greater than the first time length, the copy type configured more than the first threshold value is determined as the historical copy type.

4. The method according to claim 2, characterized in that: The determining the proportions corresponding to the at least one first text type includes: configuring a first ratio for at least one text type included in the prompt information; Determine, according to the song playing information corresponding to the at least one historical text type in the historical configuration record, the initial proportions corresponding to the at least one historical text type, wherein the sum of the initial proportions corresponding to the at least one historical text type is 1; According to the initial proportions respectively corresponding to the at least one historical text type, the proportions respectively corresponding to the at least one historical text type are obtained, and the sum of the proportions respectively corresponding to the at least one historical text type and at least one of the first proportions is 1.

5. The method according to claim 4, characterized in that The song playing information corresponding to the at least one historical text type includes at least one of the following: The playing time of at least one song corresponding to the at least one historical text type; The number of song switching of at least one song corresponding to the at least one historical text type; The number of songs corresponding to the at least one historical text type.

6. The method according to claim 1, characterized in that After obtaining at least one first text type according to the prompt information and the historical configuration record, the method further includes: Filtering the document library according to the at least one first document type to obtain a filtered document library, wherein the filtered document library contains documents corresponding to the at least one first document type; Acquire at least one text style tag contained in the prompt information and at least one text style tag of the text contained in the filtered text library; Respectively calculating the similarity between the text style tag of at least one text contained in the screened text library and the at least one text style tag contained in the prompt information, and obtaining the similarity score corresponding to the at least one text contained in the screened text library; The documents with the similarity score less than the second threshold are removed from the screened document library to obtain a removed document library.

7. The method according to claim 6, characterized in that The selecting a target copy from the copy library according to the proportions corresponding to the at least one first copy type includes: The target copy is selected from the eliminated copy library according to the respective proportions corresponding to the at least one first copy type.

8. The method according to claim 1, characterized in that The method further comprises: Acquire adjustment information, where the adjustment information is used to adjust the copywriting configuration requirement; Integrate the prompt information and the adjustment information to obtain adjusted prompt information; According to the adjusted prompt information, an adjusted target copy is selected from the copy library, and the adjusted target copy is used by the terminal device to generate audio corresponding to the adjusted target copy according to the copy timbre selected by the user.

9. A copywriting configuration device, characterized in that: The device comprises: An information acquisition module, used to acquire prompt information input by a user, wherein the prompt information is used to indicate the user's copywriting configuration requirements; A type determination module, used to obtain at least one first text type according to the prompt information and the historical configuration record, wherein the historical configuration record is used to indicate the text type configured in a historical time period; a ratio determination module, used to determine the ratio corresponding to the at least one first text type, wherein the ratio corresponding to the first text type is used to indicate the probability of the first text type being configured; The text selection module is used to select a target text from the text library according to the proportions corresponding to the at least one first text type. The target text is used by the terminal device to generate audio corresponding to the target text according to the text tone selected by the user.

10. A server, characterized in that: The server includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the document configuration method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the copy configuration method according to any one of claims 1 to 8.

12. A computer program product, characterized in that The computer program product comprises a computer program, and the computer program is loaded and executed by a processor to implement the copy configuration method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Copy configuration method and apparatus, and device and storage medium

    WO2025252174A1