Method and device for generating multimedia list name
By automatically extracting and generating the names of multimedia lists, the time-consuming and laborious problem of manual editing in the prior art is solved, and efficient and descriptive list name generation is achieved.
Patent Information
- Application Number
- CN202110163779.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-05
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2041-02-05
AI Technical Summary
The names of existing multimedia lists often require manual editing, resulting in time-consuming and inefficient.
By obtaining the type of the target multimedia list and information in the multimedia file, the name of the multimedia list is automatically extracted and generated. The specific steps include obtaining the label of the multimedia file to determine the list type, selecting the multimedia file with the most played times, extracting the repetitive melody in the music melody as the first modified text, and generating the final name based on the type and modified text.
The automatic setting of multimedia list names is realized, which reduces the time and effort of manual editing, improves efficiency, and makes the list names more descriptive and convenient to find.
Smart Images

Figure CN113569064B_ABST
Abstract
Description
Background Art
[0002] With the development of science and technology, the way people store information has changed greatly, and more and more information is stored in the form of multimedia files.
[0003] In order to reduce the interface occupied by displaying multimedia files, multimedia files are usually stored in a multimedia list, and the name of the multimedia list is displayed to the user. The user can search for the multimedia file he wants according to the name of the multimedia list.
[0004] However, the names of existing multimedia lists are mostly edited manually by editors. The manual generation process is time-consuming and labor-intensive, involves a lot of repetitive work, and is inefficient. Summary of the invention
[0005] The present application aims to provide a method and device for generating a name of a multimedia list, which can automatically set the name of the multimedia list.
[0006] According to one aspect of an embodiment of the present application, a method for generating a name of a multimedia list is provided, comprising: obtaining a type of a target multimedia list, wherein the target multimedia list includes at least one multimedia file; selecting a target multimedia file from the multimedia files; extracting a first modification text for the target multimedia list from multimedia information included in the target multimedia file; and generating a name of the target multimedia list based on the type of the target multimedia list and the first modification text.
[0007] According to one aspect of an embodiment of the present application, a device for generating a name of a multimedia list is provided, comprising: an acquisition module configured to acquire the type of a target multimedia list, wherein the target multimedia list contains at least one multimedia file; a selection module configured to select a target multimedia file from the multimedia files; an extraction module configured to extract a first modification text for the target multimedia list from the multimedia information contained in the target multimedia file; and a generation module configured to generate a name of the target multimedia list based on the type of the target multimedia list and the first modification text.
[0008] In one embodiment of the present application, based on the above-mentioned solution, the acquisition module is configured to: acquire tags of the multimedia files; and use the tag with the largest number of occurrences among the tags of the multimedia files as the type of the target multimedia list.
[0009] In one embodiment of the present application, based on the above-mentioned solution, the selection module is configured to: obtain the number of times the multimedia file is played; and use the multimedia file with the largest number of times of play as the target multimedia file.
[0010] In one embodiment of the present application, based on the aforementioned scheme, the multimedia information includes a music melody contained in the target multimedia file, and the extraction module is configured to: extract repeated melodies in the music melody; use a segment in the target multimedia file corresponding to the repeated melody as a target segment; and extract the first modified text from the target segment.
[0011] In one embodiment of the present application, based on the aforementioned scheme, the extraction module is configured to: obtain the note duration and rhythm pattern of the music melody, and segment the music melody based on the note duration and rhythm pattern; extract the melody features of each segment of the melody; based on the melody features of each segment of the melody, determine the similarity between every two segments of the music melody; and determine the repeated melody based on the similarity.
[0012] In one embodiment of the present application, based on the aforementioned scheme, the extraction module is configured to: obtain the image size used to display the target multimedia list, and determine the word count standard of the first modified text based on the image size; search for phrases in the text in the order in which the text contained in the target segment appears in the target segment; if the word count of the phrase reaches the word count standard and the phrase does not contain characters that describe the type, stop searching and use the phrase as the first modified text.
[0013] In one embodiment of the present application, based on the aforementioned scheme, the generation module is further configured to: obtain multiple other modified texts contained in the names of other multimedia lists other than the target multimedia list; sort the multiple other modified texts according to the number of times the multiple other modified texts appear in the names of the other multimedia lists to obtain a sorting result; based on the sorting result, select a second modified text for the target multimedia list from the multiple other modified texts; and generate the name of the target multimedia list based on the type of the target multimedia list, the first modified text and the second modified text.
[0014] In one embodiment of the present application, based on the aforementioned scheme, the generation module is configured to: sort the other multimedia lists according to the number of times the other multimedia lists are played to obtain the ranking of the other multimedia lists; if the ranking of the other multimedia lists reaches the set ranking, obtain other modified texts contained in the names of the other multimedia lists.
[0015] In one embodiment of the present application, based on the aforementioned scheme, the generation module is configured to: obtain a name format corresponding to the target multimedia list, combine the type and the first modified text according to the name format, and obtain a name of the target multimedia list.
[0016] According to one aspect of an embodiment of the present application, a computer-readable program medium is provided, which stores computer program instructions. When the computer program instructions are executed by a computer, the computer executes any of the above methods.
[0017] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the method described in any one of the above items is implemented.
[0018] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the advertising recommendation method provided in the above various optional embodiments.
[0019] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0020] In the technical solutions provided in some embodiments of the present application, by obtaining the type of a target multimedia list, the target multimedia list contains at least one multimedia file, selecting the target multimedia file from the multimedia files, extracting the first modification text for the target multimedia list from the multimedia information contained in the target multimedia file, and generating the name of the target multimedia list based on the type of the target multimedia list and the first modification text, thereby automatically obtaining the name of the target multimedia list, and the obtained name of the target multimedia list is related to the type of the target multimedia list and the target multimedia files contained in the target multimedia list, which helps users find multimedia files according to the name of the target multimedia list.
[0021] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description, are used to explain the principles of the present application.
[0023] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied;
[0024] Figure 2 A flowchart of a method for generating a name of a multimedia list according to an embodiment of the present application is schematically shown;
[0025] Figure 3 A flowchart of generating a playlist name according to an embodiment of the present application is schematically shown;
[0026] Figure 4 A flowchart of generating a playlist name according to an embodiment of the present application is schematically shown;
[0027] Figure 5 A block diagram schematically shows a device for generating a name of a multimedia list according to an embodiment of the present application;
[0028] Figure 6 The figure is a hardware diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0030] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0031] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0033] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0034] Artificial intelligence technology is an interdisciplinary subject that covers a wide range of fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, driverless cars, autonomous driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
[0035] Artificial intelligence technology includes both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. Artificial intelligence software technologies mainly include computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0036] Big data refers to a collection of data that cannot be captured, managed, and processed by conventional software tools within a certain time frame. It is a massive, high-growth, and diverse information asset that requires new processing models to have stronger decision-making power, insight discovery, and process optimization capabilities. With the development of artificial intelligence, big data has also attracted more and more attention. Big data requires special technologies to effectively process large amounts of data within a tolerable time frame. Technologies applicable to big data include large-scale parallel processing databases, data mining, distributed file systems, distributed databases, cloud computing platforms, the Internet, and scalable storage systems.
[0037] Big data processing technology can be applied to obtain the type of target multimedia list and extract the first modified text for the target multimedia list. Due to its powerful data processing capability, it can significantly improve the efficiency and accuracy of multimedia list name generation.
[0038] Natural language processing (NLP) is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can achieve effective communication between people and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language people use in daily life, so it is closely related to the study of linguistics. Natural language processing technology usually includes text processing, semantic understanding, machine translation, robot question answering, knowledge graph and other technologies.
[0039] Natural language processing technology can be applied to extract the first modified text for the target multimedia list from the multimedia information contained in the target multimedia file. Due to its powerful processing ability in linguistics, it can effectively and quickly extract the first modified text.
[0040] Figure 1 A schematic diagram of an exemplary system architecture 100 to which the technical solution of the embodiments of the present application can be applied is shown.
[0041] like Figure 1 As shown, the system architecture 100 may include a client 101, a network 102, and a server 103. The network 102 is used to provide a medium for a communication link between the client 101 and the server 103. The network 103 may include various connection types, such as a wired communication link, a wireless communication link, etc., which are not limited in the present application.
[0042] It should be understood that Figure 1 The number of clients 101, networks 102, and servers 103 in the embodiment is only for illustration. Any number of clients 101, networks 102, and servers 103 may be provided as required. For example, server 103 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Client 101 may be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited thereto.
[0043] In one embodiment of the present application, the server 103 obtains the type of the target multimedia list, which includes at least one multimedia file, selects the target multimedia file from the multimedia files, extracts the first modifying text for the target multimedia list from the multimedia information included in the target multimedia file, and generates the name of the target multimedia list based on the type of the target multimedia list and the first modifying text, thereby automatically obtaining the name of the target multimedia list. Moreover, the obtained name of the target multimedia list is related to the type of the target multimedia list and the target multimedia files included in the target multimedia list, which helps users find multimedia files according to the name of the target multimedia list.
[0044] It should be noted that the method for generating the name of the multimedia list provided in the embodiment of the present application is generally executed by the server 103, and accordingly, the device for generating the name of the multimedia list is generally arranged in the server 103. However, in other embodiments of the present application, the client 101 may also have similar functions to the server 103, so as to execute the method for generating the name of the multimedia list provided in the embodiment of the present application.
[0045] The implementation details of the technical solution of the embodiment of the present application are described in detail below:
[0046] Figure 2 The flowchart of the method for generating a name of a multimedia list according to an embodiment of the present application is schematically shown. The execution subject of the method for generating a name of a multimedia list may be a server, for example, Figure 1 Server 103 shown in .
[0047] Reference Figure 2 As shown, the method for generating the name of the multimedia list at least includes steps S210 to S240, which are described in detail as follows:
[0048] In step S210, the type of a target multimedia list is obtained, and the target multimedia list includes at least one multimedia file.
[0049] In one embodiment of the present application, the target multimedia list may be a list consisting of one or more multimedia files, the multimedia files stored in the target multimedia list are known, and the multimedia files stored in the target multimedia list may include multiple formats such as music, video, picture, text, and presentation.
[0050] In one embodiment of the present application, the type of the target multimedia list can be set, and the type of the target multimedia list can include the release time of the multimedia file, the main distribution channel, the main number of participants, the name of the main participant, the theme, the language type, the genre, the representative mood, the suitable weather and the suitable scene, etc.
[0051] In one embodiment of the present application, the release date of a multimedia file may include the release year, release month, release date and release time, etc.; the main distribution channels of the multimedia file may include online multimedia files, film and television multimedia files, etc.; the main number of participants in the multimedia file may be one person or more people, etc.; the names of the main participants in the multimedia file may be the names of participating stars or the names of people related to the user, etc.; the themes of the multimedia files may be divided into inspirational, patriotic, tribute, record and reproduction, etc. according to the purpose of the release of the multimedia files; the languages of the multimedia files may include Chinese, English, Japanese, Korean, Cantonese and Minnan dialect, etc.; the genres of the multimedia files may include pop, classical, folk, lyrical and rock, etc.; the moods represented by the multimedia files may include sweetness, happiness, missing and sadness, etc.; the weather suitable for the multimedia files may include: cloudy, sunny and rainy days, etc.; the scenes suitable for the multimedia files may include before bed, travel, work and dancing, etc.
[0052] In one embodiment of the present application, the tags of the multimedia files may be obtained, and the tag that appears most frequently among the tags of the multimedia files may be used as the type of the target multimedia list.
[0053] In one embodiment of the present application, the label of the multimedia file may include the release time, main release channel, theme, language type, genre, representative mood and suitable scene of the multimedia file.
[0054] In one embodiment of the present application, the tag of the multimedia file can be generated according to the characteristic information of the multimedia file, and the rule for generating the tag of the multimedia file according to the characteristic information of the multimedia file can be set as needed.
[0055] In one embodiment of the present application, the characteristic information of the multimedia file may include the name of the multimedia file, the format of the multimedia file, the number of main participants in the multimedia file, etc. For example, if the name of the multimedia file is "Friends", the label of the multimedia file can be set to friendship, and if the format of the multimedia file is music and the number of main participants in the multimedia file is 2, the label of the multimedia file can be set to duet.
[0056] In one embodiment of the present application, if the multimedia file is a local multimedia file, since the local multimedia file has a characteristic field recorded when it is written into the database, the characteristic field of the multimedia file can be obtained from the local database as a tag or the tag can be extracted from the characteristic field. If the multimedia file is an online multimedia file, the multimedia file tag can be directly obtained online or the characteristic field can be obtained to extract the tag.
[0057] Continue to refer to Figure 2, in step S220, a target multimedia file is selected from the multimedia files.
[0058] In one embodiment of the present application, the number of times a multimedia file is played may be obtained, and the multimedia file with the largest number of times of play may be used as the target multimedia file.
[0059] In one embodiment of the present application, if the multimedia file is an online multimedia file, the number of times the multimedia file is played by all online users can be obtained, so that the target multimedia file with the most playback times is the most popular multimedia file, and the most popular multimedia file is also most likely to be searched by users, and users can easily find the multimedia list where the most popular multimedia file is located.
[0060] In one embodiment of the present application, the user for whom the multimedia list is displayed can be obtained, the number of times the user has historically played each multimedia file in the target multimedia list can be obtained, and the multimedia file that has been played most times by the user can be used as the target multimedia file for the user. Since the name of the generated multimedia list contains the first modifier text extracted from the target multimedia file, the user can easily find the multimedia list where the target multimedia file that he or she plays most frequently is located according to the name of the multimedia list.
[0061] In one embodiment of the present application, the target multimedia file may be specified, and may be specified by the user to whom the multimedia list is presented.
[0062] In step S230, a first modified text for a target multimedia list is extracted from the multimedia information contained in the target multimedia file.
[0063] In one embodiment of the present application, the multimedia information contained in the multimedia file may include music melodies contained in the multimedia file, texts contained in the multimedia file, and images contained in the multimedia file.
[0064] In one embodiment of the present application, a climax segment in the target multimedia file may be used as a target segment, and the first modified text may be extracted from the target segment.
[0065] In one embodiment of the present application, the climax segment in the target multimedia file can be directly obtained using a database or online.
[0066] In one embodiment of the present application, when the multimedia information contained in the target multimedia file includes a music melody, the repeated melody in the music melody can be extracted, and the segment corresponding to the repeated melody in the target multimedia file is used as the target segment, and the first modified text is extracted from the target segment.
[0067] In this embodiment, the repeated melody in the music melody is mostly the climax part of the music, and the target segment corresponding to the climax part of the music in the multimedia file is mostly an important segment in the target multimedia. Therefore, the first modifying text extracted from the target segment can render the atmosphere well, and the first modifying text extracted from the target segment can represent the key information in the target multimedia file, so that the user can easily find the multimedia list where the target multimedia file is located.
[0068] In one embodiment of the present application, the note duration and rhythmic pattern of a music melody can be obtained, the music melody can be segmented based on the note duration and the rhythmic pattern, the melody features of each segment of the melody can be extracted, the similarity between every two segments of the music melody can be determined based on the melody features of each segment of the melody, and the repeated melody can be determined based on the similarity.
[0069] In one embodiment of the present application, the note duration and rhythm type of each melody segment may be hashed to obtain the melody features of each melody segment.
[0070] In one embodiment of the present application, the Minkowski distance, Mahalanobis distance, inner product, Hamming distance, Jaccard distance, or KL divergence distance between the melodic features of every two melodies in the music melody can be calculated, and the calculation result is used as the similarity between the melodic features of every two melodies in the music melody, and two melodies whose similarity reaches the set similarity are determined as repeated melodies.
[0071] In one embodiment of the present application, the image size used to display the target multimedia list can be obtained, and the word count standard of the first modified text can be determined based on the image size. The phrases in the text are searched in sequence according to the order in which the text contained in the target segment appears in the target segment. If the word count of the phrase reaches the word count standard and the phrase does not contain descriptive characters, the search is stopped and the phrase is used as the first modified text. The obtained first modified text has the function of rendering the atmosphere.
[0072] In this embodiment, the word count standard determined based on the image size used to display the target multimedia list can take into account the size of the display interface, so that the image and the name of the target multimedia list can be displayed to the user in an appropriate proportion, which can improve the user's viewing experience. At the same time, the text that is closer in order in the target segment is more well-known, and the obtained first modified text can enable the user to easily know the target multimedia files in the target multimedia list.
[0073] In one embodiment of the present application, the text between two punctuation marks can be regarded as a phrase. For example, the word count standard of the first modified text is 2-8, the multimedia file is the song "Cloudy Day", and the type of the multimedia file is "Cloudy Day". Among the phrases contained in the target segment corresponding to the repeated melody, the first phrase that meets the word count standard and does not contain a character of the description type is "In a Room Without Lights On", so "In a Room Without Lights On" can be determined as the first modified text.
[0074] In this embodiment, if the two punctuation marks at both ends of a phrase are periods, the phrase is a short sentence, and the short sentence can be determined as the first modified text to provide a delicate atmosphere rendering.
[0075] In step S240, a name of the target multimedia list is generated based on the type of the target multimedia list and the first modified text.
[0076] In one embodiment of the present application, the name format corresponding to the target multimedia list may be acquired, and the type and the first modified text may be combined according to the name format to obtain the name of the target multimedia list.
[0077] In one embodiment of the present application, the name format may be "type·first modified text" or "type|first modified text", which allows the user to easily determine the type of the target multimedia list and the target multimedia file therein.
[0078] In this embodiment, the most popular target multimedia file is selected in the multimedia file list, and the text corresponding to the climax of the music melody in the target multimedia file is selected as part of the name of the target multimedia list, and combined with the type of the target multimedia list to generate a more specific name of the target multimedia list, for example: Lyrical·The girl said to me, it’s cloudy·In a dark room.
[0079] In this embodiment, the name of the obtained target multimedia list can be made more suitable for the content of the target multimedia list, and more information in the target multimedia list can be provided, so that richer and more flexible target multimedia list naming can be generated.
[0080] exist Figure 2In an embodiment, by obtaining the type of the target multimedia list, the target multimedia list includes at least one multimedia file, selecting the target multimedia file from the multimedia files, extracting the first modification text for the target multimedia list from the multimedia information included in the target multimedia file, and generating the name of the target multimedia list based on the type of the target multimedia list and the first modification text, thereby automatically obtaining the name of the target multimedia list, and the obtained name of the target multimedia list is related to the type of the target multimedia list and the target multimedia files included in the target multimedia list, which helps users to find multimedia files according to the name of the target multimedia list.
[0081] In one embodiment of the present application, it is possible to apply Figure 2 The method for generating the name of the multimedia list shown in the embodiment generates the name of the target song list. The naming method of the target song list can be a combination of the type of the target song list and the first modifier corresponding to the target song list. Figure 3 , Figure 3 A flowchart of generating a playlist name according to an embodiment of the present application is schematically shown. Figure 3 As shown, the name of the playlist can be generated and displayed through the interaction of the front-end, the content management system (CMS) and the back-end: first, the back-end extracts the tags of the songs in the playlist and parses the tags that appear most frequently in the playlist as the type characters of the target playlist; secondly, the content management system selects the song with the highest number of plays in the playlist and sends it to the back-end, the back-end selects the climax segment therein, performs conditional judgment on the climax segment, selects the lyrics that meet the conditions in the climax segment as the first modifier, and finally, the back-end matches the two and sends them to the front-end as the name of the playlist for display.
[0082] In one embodiment of the present application, multiple other modifying texts contained in the names of other multimedia lists other than the target multimedia list can be obtained, and the multiple other modifying texts can be sorted according to the number of times the multiple other modifying texts appear in the names of the other multimedia lists to obtain a sorting result. Based on the sorting result, a second modifying text for the target multimedia list is selected from the multiple other modifying texts, and the name of the target multimedia list is generated based on the type of the target multimedia list, the first modifying text, and the second modifying text.
[0083] In this embodiment, the other modifying texts obtained based on the number of times they appear in the names of other multimedia lists are general modifying texts, such as: most, collection, special, classic, taste, etc. These words are very suitable for the names of any type of multimedia lists. Therefore, the name of the target multimedia list generated based on the type of the target multimedia list, the first modifying text and the second modifying text can not only show the characteristics of the target multimedia list itself, but also take into account the readability of the target multimedia list name.
[0084] In one embodiment of the present application, other multimedia lists can be sorted according to the number of times they are played to obtain the ranking of other multimedia lists. If the ranking of other multimedia lists reaches the set ranking, other modified texts contained in the names of other multimedia lists are obtained. Only the names of multimedia lists whose number of plays reaches the set ranking are obtained, which can effectively obtain the second modified text to improve the readability of the target multimedia list name.
[0085] In one embodiment of the present application, a set number of other modified texts with a larger number of occurrences may be selected from the sorting results, and the second modified text may be selected from the other modified texts.
[0086] In one embodiment of the present application, other multimedia lists except the target multimedia list may be all multimedia lists except the target multimedia list that can be obtained through various channels.
[0087] In one embodiment of the present application, if the target multimedia list is a target playlist, the playlists ranked in the top 1,000 or 10,000 can be selected as popular playlists, the popular playlist names can be extracted, and a popular playlist name list can be generated. Then, by pivoting or extracting repeated values, the repeated words and the number of occurrences of the words in the popular playlist name list can be calculated, the repeated words can be sorted to obtain a sorting result, and then a set number of words ranked at the top of the sorting result can be selected as the second modified text vocabulary library, and the second modified text can be selected from the second modified text vocabulary library.
[0088] In one embodiment of the present application, the type of the target multimedia list, the first modified text, and the second modified text may be combined according to a set format to generate the name of the target multimedia list.
[0089] In one embodiment of the present application, since the second modified texts are relatively common, they can be randomly selected.
[0090] In one embodiment of the present application, the second modified text can be set as needed.
[0091] In one embodiment of the present application, the type of the target multimedia list and the second modified text may be combined in a set format to generate a name of the target multimedia list with high readability, and the user may also search for the multimedia files he wants to find according to the type of the target multimedia list, for example: cloudy day collection, the most rock and roll, etc.
[0092] In one embodiment of the present application, the first modifying text and the second modifying text can be combined according to a set format to generate a name of a target multimedia list with higher readability. At the same time, the user can know the type of the target multimedia list and the target multimedia file through the first modifying text, and can conveniently find the multimedia file he wants to find according to the name of the target multimedia list.
[0093] In one embodiment of the present application, the name generation method of the multimedia list of the present application can be used to generate the name of the target playlist. The naming method of the target playlist can be a combination of the type of the playlist and the second modifier. Figure 4 , Figure 4 The flowchart of generating a playlist name according to an embodiment of the present application is schematically shown. Figure 4 As shown, the name of the playlist can be generated and displayed through the interaction of the front end, the content management system (CMS) and the back end: first, the back end extracts the tags of the songs in the playlist, and parses the tags that appear most frequently in the playlist as the type character of the playlist; secondly, the content management system obtains the playlist library containing other playlists, selects the playlists with the top 1,000 or 10,000 play times in the playlist library to generate a hot list and send it to the back end, the back end calculates the repeated words and the number of times the words appear, the back end selects X words from them and sends them to the content management system, the content management system establishes a vocabulary library, the back end randomly selects a word from the vocabulary library of the content management system as the second modifying word, and finally, the back end matches the two as the name of the target playlist and sends them to the front end for display.
[0094] For the song with the highest number of plays, select the climax segment. If the lyrics phrases contained in the climax segment meet the word count standard, select the lyrics that meet the conditions as the first modifier. Finally, combine the type of the target playlist and the first modifier as the name of the target playlist and display it on the front end.
[0095] The following describes an apparatus embodiment of the present application, which can be used to execute the method for generating a name of a multimedia list in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the embodiment of the method for generating a name of a multimedia list in the above-mentioned embodiment of the present application.
[0096] Figure 5The block diagram of a device for generating a name of a multimedia list according to an embodiment of the present application is schematically shown.
[0097] Reference Figure 5 As shown, a device 500 for generating a name of a multimedia list according to an embodiment of the present application includes an acquisition module 501 , a selection module 502 , an extraction module 503 and a generation module 504 .
[0098] In some embodiments of the present application, based on the aforementioned scheme, the acquisition module 501 is configured to acquire the type of the target multimedia list, which contains at least one multimedia file; the selection module 502 is configured to select the target multimedia file from the multimedia files; the extraction module 503 is configured to extract the first modification text for the target multimedia list from the multimedia information contained in the target multimedia file; the generation module 504 is configured to generate the name of the target multimedia list based on the type of the target multimedia list and the first modification text.
[0099] In one embodiment of the present application, based on the above solution, the acquisition module 501 is configured to: acquire the tags of the multimedia files; and use the tag with the largest number of occurrences in the tags of the multimedia files as the type of the target multimedia list.
[0100] In one embodiment of the present application, based on the above solution, the selection module 502 is configured to: obtain the number of times a multimedia file is played; and use the multimedia file with the largest number of times of play as the target multimedia file.
[0101] In one embodiment of the present application, based on the aforementioned scheme, the multimedia information includes a music melody contained in a target multimedia file, and the extraction module 503 is configured to: extract repeated melodies in the music melody; use a segment corresponding to the repeated melody in the target multimedia file as a target segment; and extract a first modified text from the target segment.
[0102] In one embodiment of the present application, based on the aforementioned scheme, the extraction module 503 is configured to: obtain the note duration and rhythm pattern of the music melody, and segment the music melody based on the note duration and rhythm pattern; extract the melody features of each segment of the melody; based on the melody features of each segment of the melody, determine the similarity between every two segments of the music melody; and determine the repeated melody based on the similarity.
[0103] In one embodiment of the present application, based on the aforementioned scheme, the extraction module 503 is configured to: obtain the image size used to display the target multimedia list, and determine the word count standard of the first modified text based on the image size; search for phrases in the text in the order in which the text contained in the target segment appears in the target segment; if the word count of the phrase reaches the word count standard and the phrase does not contain descriptive type characters, stop searching and use the phrase as the first modified text.
[0104] In one embodiment of the present application, based on the aforementioned scheme, the generation module 504 is further configured to: obtain multiple other modified texts contained in the names of other multimedia lists other than the target multimedia list; sort the multiple other modified texts according to the number of times the multiple other modified texts appear in the names of the other multimedia lists to obtain a sorting result; based on the sorting result, select a second modified text for the target multimedia list from the multiple other modified texts; and generate the name of the target multimedia list based on the type of the target multimedia list, the first modified text, and the second modified text.
[0105] In one embodiment of the present application, based on the aforementioned scheme, the generation module 504 is configured to: sort the other multimedia lists according to the number of times the other multimedia lists are played to obtain the ranking of the other multimedia lists; if the ranking of the other multimedia lists reaches the set ranking, obtain other modified texts contained in the names of the other multimedia lists.
[0106] In one embodiment of the present application, based on the above solution, the generation module 504 is configured to: obtain the name format corresponding to the target multimedia list, combine the type and the first modified text according to the name format, and obtain the name of the target multimedia list.
[0107] Those skilled in the art will appreciate that various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "system" herein.
[0108] Refer to the following Figure 6 The electronic device 60 according to this embodiment of the present application is described. Figure 6 The electronic device 60 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0109] like Figure 6 As shown, the electronic device 60 is in the form of a general computing device. The components of the electronic device 60 may include but are not limited to: at least one processing unit 61, at least one storage unit 62, a bus 63 connecting different system components (including the storage unit 62 and the processing unit 61), and a display unit 64.
[0110] The storage unit stores program codes, which can be executed by the processing unit 61, so that the processing unit 61 executes the steps described in the above “Embodiment Method” section of this specification according to various exemplary implementations of the present application.
[0111] The storage unit 62 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 621 and / or a cache memory unit 622 , and may further include a read-only memory unit (ROM) 623 .
[0112] The storage unit 62 may also include a program / utility 624 having a set (at least one) of program modules 625, such program modules 625 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0113] Bus 63 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0114] The electronic device 60 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 60, and / or may communicate with any device that enables the electronic device 60 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 65. Furthermore, the electronic device 60 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 66. As shown, the network adapter 66 communicates with other modules of the electronic device 60 via a bus 63. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 60, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0115] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0116] According to one embodiment of the present application, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present application can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present application described in the above "Exemplary Method" section of the present specification.
[0117] According to one embodiment of the present application, the program product for implementing the above method can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, apparatus or device.
[0118] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0119] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0120] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0121] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0122] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present application, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0123] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be performed without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for generating a name of a multimedia list, characterized in that: include: Acquire a type of a target multimedia list, wherein the target multimedia list includes at least one multimedia file; Selecting a target multimedia file from the multimedia files, wherein the target multimedia file contains a music melody; Extracting repeated melodies from the music melody; Using the segment corresponding to the repeated melody in the target multimedia file as the target segment; Acquire a picture size used to display the target multimedia list, and determine a word count standard for the first modified text based on the picture size; Searching for phrases in the text in sequence according to the order in which the text contained in the target segment appears in the target segment; If the number of characters in the phrase reaches the number of characters standard and the phrase does not contain characters describing the type, then stop searching and use the phrase as the first modified text; A name of the target multimedia list is generated based on the type of the target multimedia list and the first modified text.
2. The method for generating a name of a multimedia list according to claim 1, characterized in that: The type of the target multimedia list to be obtained includes: Obtaining a tag of the multimedia file; The tag that appears most frequently among the tags of the multimedia files is used as the type of the target multimedia list.
3. The method for generating a name of a multimedia list according to claim 1, characterized in that: The selecting a target multimedia file from the multimedia files comprises: Obtaining the number of times the multimedia file is played; The multimedia file with the largest number of plays is used as the target multimedia file.
4. The method for generating a name of a multimedia list according to claim 1, characterized in that: The step of extracting repeated melodies from the music melody comprises: Acquiring the note duration and rhythm pattern of the music melody, and segmenting the music melody based on the note duration and rhythm pattern; Extracting melodic features of each melody; Determining the similarity between every two melodies in the music melody based on the melodic features of each melodic segment; The repeated melody is determined based on the similarity.
5. The method for generating a name of a multimedia list according to claim 1, characterized in that: The method further comprises: Acquire a plurality of other modified texts contained in the names of other multimedia lists except the target multimedia list; sorting the other modified texts according to the number of times the other modified texts appear in the names of the other multimedia lists to obtain a sorting result; Based on the sorting result, selecting a second modified text for the target multimedia list from the plurality of other modified texts; A name of the target multimedia list is generated based on the type of the target multimedia list, the first modified text, and the second modified text.
6. The method for generating a name of a multimedia list according to claim 5, characterized in that: The acquiring of other modified texts contained in the names of other multimedia lists except the target multimedia list includes: Sorting the other multimedia lists according to the number of times the other multimedia lists are played to obtain a ranking of the other multimedia lists; If the ranking of the other multimedia lists reaches the set ranking, other modified texts contained in the names of the other multimedia lists are obtained.
7. The method for generating a name of a multimedia list according to claim 1, characterized in that: The step of generating a name of the target multimedia list based on the type of the target multimedia list and the first modified text includes: The name format corresponding to the target multimedia list is acquired, and the type and the first modified text are combined according to the name format to obtain the name of the target multimedia list.
8. A device for generating a name of a multimedia list, characterized in that: include: An acquisition module, configured to acquire a type of a target multimedia list, wherein the target multimedia list includes at least one multimedia file; A selection module, configured to select a target multimedia file from the multimedia files, wherein the target multimedia file contains a music melody; an extraction module configured to extract repeated melodies from the music melody, use a segment corresponding to the repeated melody in the target multimedia file as a target segment, obtain a picture size used to display the target multimedia list, determine a word count standard for the first modified text based on the picture size, search for phrases in the text in the order in which the text contained in the target segment appears in the target segment, and stop searching if the word count of the phrase reaches the word count standard and the phrase does not contain characters describing the type, and use the phrase as the first modified text; A generating module is configured to generate a name of the target multimedia list based on the type of the target multimedia list and the first modified text.
9. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to execute the method for generating a name of a multimedia list according to any one of claims 1 to 7 by executing the executable instructions.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a name of a multimedia list according to any one of claims 1 to 7 is implemented.
11. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for generating a name of a multimedia list according to any one of claims 1 to 7.
Citation Information
Patent Citations
Song list automatic naming method and mobile terminal
CN107193878A