A song management method, device, equipment, storage medium and program product
By generating cross-platform playlists that include song identification and index information, the problem of low efficiency in song management in existing technologies is solved, and unified management and efficient resource utilization of songs from different sources are achieved.
Patent Information
- Application Number
- CN202210061462.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-19
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2042-01-19
AI Technical Summary
Existing music applications' playlist management functions are heavily reliant on the current application, requiring users to switch between different applications to manage songs, resulting in low management efficiency.
By acquiring data source information for songs from different platforms, a cross-platform playlist containing song identification and index information is generated, enabling unified management of songs from different sources.
It enables unified management of songs from different sources, improves the efficiency of music resource management, and reduces resource consumption and response latency when switching between multiple platforms.
Smart Images

Figure CN114417049B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and in particular to a song management method and device, equipment, a storage medium and a program product. BACKGROUND
[0002] With the development of Internet technology, people can now install various music applications on terminals such as smart phones, tablet computers, and portable computers to listen to a large number of songs, and can create a song list in the music application to collect and save their favorite songs to the server, so that users can receive the songs they have collected from the server at any time.
[0003] For music applications, a task processing function based on a song list is provided to improve the audio-visual experience. For example, a user can create a song list, delete a collected song from the song list, add a song to the song list, and modify the song information in the song list. The inventors have found in the process of implementing the present application that this task processing function is strongly dependent on the current music application, and the user must be in the current music application to process the songs in the current application. If you want to process the songs of other applications, you need to process them in other applications. That is, the song list is configured in the corresponding music application, and since there are many music applications, it is not convenient for users to manage their favorite songs. SUMMARY
[0004] The present application provides a song management method, device, equipment, storage medium and program product to realize centralized management of songs from different sources.
[0005] In a first aspect, the embodiments of the present application provide a song management method, comprising:
[0006] Obtaining data source information of a song to be added to a cross-platform song list by a user; the songs in the cross-platform song list come from at least two multimedia platforms;
[0007] According to the data source information, obtaining the identification information and song index information of the song;
[0008] Generating the cross-platform song list containing the identification information of the song, and the identification information of the song is associated with the song index information.
[0009] In a second aspect, the embodiments of the present application also provide a song management device, comprising:
[0010] A song source information acquisition module is configured to obtain data source information of a song to be added to a cross-platform song list by a user; the songs in the cross-platform song list come from at least two multimedia platforms;
[0011] The song identification and index information obtaining module is configured to obtain identification information and song index information of the song according to the data source information.
[0012] The cross-platform playlist generating module is configured to generate the cross-platform playlist containing the identification information of the song, the identification information of the song being associated with the song index information.
[0013] In a third aspect, an electronic device is provided, and the electronic device includes:
[0014] one or more processors;
[0015] a storage device configured to store one or more programs,
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the method of the first aspect or the second aspect.
[0017] In a fourth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method of the first aspect or the second aspect.
[0018] In a fifth aspect, a computer program product is provided, and the computer program product includes computer executable instructions, which, when executed, implement the method of the first aspect or the second aspect.
[0019] The technical solution provided by the present application has the following beneficial effects:
[0020] The present embodiment maintains a cross-platform playlist of songs from at least two multimedia platforms. When the data source information of a song to be added to the cross-platform playlist is obtained, the identification information and song index information of the song to be added can be obtained according to the data source information, and a cross-platform playlist containing the identification information of the song is generated, wherein the identification information of the song is associated with the song index information. Thus, the storage and maintenance of the cross-platform playlist are realized, and the unified management of songs from different sources in the same platform is facilitated, avoiding the switching between different multimedia platforms for song management, and improving the efficiency of music resource management. BRIEF DESCRIPTION OF DRAWINGS
[0021] Figure 1 is a flowchart of a song management method embodiment provided by the first embodiment of the present application;
[0022] Figure 2 is a flowchart of a song management method embodiment provided by the second embodiment of the present application;
[0023] Figure 3 is a flowchart of a song management method embodiment provided by Embodiment Three of the present application;
[0024] Figure 4 is a structural block diagram of a song management device embodiment provided by Embodiment Four of the present application;
[0025] Figure 5 is a structural schematic diagram of an electronic device provided by Embodiment Five of the present application. DETAILED DESCRIPTION
[0026] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only the parts related to the present application are shown in the drawings, but not all the structures.
[0027] Embodiment One
[0028] Figure 1 A flowchart of a song management method embodiment provided by Embodiment One of the present application, which is applied in an electronic device, wherein the electronic device can be installed with multiple application programs, which can include application programs corresponding to multiple multimedia platforms.
[0029] The multimedia platforms include but are not limited to music platforms, short video platforms, shopping platforms, etc. Different multimedia platforms can come from the same developer or different developers, for example, two different music platforms of different developers can be considered as different multimedia platforms, and different music platforms from the same developer can also be considered as different multimedia platforms.
[0030] Among them, the application program can be a separately installed application software, or a small program, and the present embodiment does not limit this.
[0031] As shown in Figure 1 , the present embodiment can include the following steps:
[0032] Step 110, obtaining data source information of a song to be added to a cross-platform playlist; the songs in the cross-platform playlist come from at least two multimedia platforms.
[0033] Among them, when the user wants to create or adjust the cross-platform playlist, the electronic device can be used to obtain the data source information of the song to be added to the cross-platform playlist. Among them, the function of creating or adjusting the cross-platform playlist can be integrated in the application program corresponding to a certain multimedia platform, or it can be an independent application program for creating or adjusting the cross-platform playlist, which is reasonable.
[0034] For example, when the function of creating or adjusting the cross-platform playlist is integrated in the application program corresponding to the music platform A, the cross-platform playlist can be a playlist currently maintained by the music platform A for managing cross-platform songs. Cross-platform means that the songs in the playlist come from at least two multimedia platforms.
[0035] For example, the data source information of the song can include source link information of the song to be added to the cross-platform playlist. The source link information can be represented in the form of a two-dimensional code, a bar code, a URL (Uniform Resource Locator) link, or the like.
[0036] In implementation, the data source information can be information input by the user. For example, if the user wants to manage a playlist or a song in the music platform B in the music platform A, the user can perform a corresponding operation in the music platform B for the playlist or the song to be managed, such as an operation of clicking a "share" function button in the music platform B. Based on the operation, the music platform B can generate data source information for providing to the user for copying. After the user copies the data source information, the user can paste the data source information by triggering a search portal provided by the music platform A.
[0037] Alternatively, the data source information can also be information transmitted by another multimedia platform to the current multimedia platform. For example, after the user clicks "share" for a song in the music platform B, the music platform B generates corresponding data source information according to the "share" operation, and then transmits the data source information to the current music platform A.
[0038] In other embodiments, the data source information can also be path information of a locally stored song or playlist. For example, if the user wants to manage a locally stored song or playlist in the current music platform A, the user can trigger a specified operation in the electronic device, such as an operation of clicking "upload to the music platform A" for the song or the playlist, to transmit the storage path of the song or the playlist to the music platform A.
[0039] In step 120, identification information and song index information of the song are obtained according to the data source information.
[0040] When one or more cross-platform songs need to be added to the cross-platform playlist, the electronic device can obtain identification information and song index information of the one or more cross-platform songs according to data source information of the one or more cross-platform songs. The identification information of the song is used to uniquely identify the song, such as a song name, a song keyword, a song code, a song ID (Identity Document), or the like. The song index information is used to determine a play index of the song, so as to facilitate song playing according to the play index.
[0041] In one embodiment, when the cross-platform playlist is a playlist created in the first multimedia platform, step 120 can include the following steps:
[0042] Step 120-1, obtaining the identification information and the first index information of the songs according to the data source information; the first index information includes a playing link of the songs in the second multimedia platform.
[0043] In one embodiment, the first multimedia platform is an open song resource management platform capable of storing a large amount of cross-application or cross-platform song resources and supporting multi-user collaborative management.
[0044] After the user registers in the first multimedia platform, the user can use the first multimedia platform to manage the songs that the user likes or collects, so as to facilitate the user to centrally manage the songs from different sources.
[0045] In one implementation, assuming that the data source information of the song to be added is the source information of the second multimedia platform, the electronic device can send a data request to the second multimedia platform based on the data source information, and receive page data returned by the second multimedia platform based on the data request. Then, the electronic device can obtain the identification information and the first index information of each song from the page data, and the first index information includes a playing link of the current song in the second multimedia platform.
[0046] Step 120-2, finding the second index information of the song corresponding to the first multimedia platform according to the identification information of the song.
[0047] In this step, after the electronic device obtains the identification information and the first index information of each song, the electronic device can find the identification information of each song in the storage area of the first multimedia platform to obtain the second index information of the song in the first multimedia platform, i.e., a playing link of the song in the first multimedia platform.
[0048] Step 120-3, determining the second index information as the song index information of the song.
[0049] If the electronic device can find the second index information of the song in the storage area of the first multimedia platform, the second index information can be directly replaced with the original first index information of the song to determine the second index information as the song index information of the current song. In this way, when the song is played subsequently, the first multimedia platform can be directly played, thereby reducing the response time delay of song playing and reducing resource consumption caused by switching between different platforms. On the other hand, if the electronic device cannot find the second index information corresponding to the identification information of the current song in the first multimedia platform, the first index information of the song in the second multimedia platform can be directly determined as the song index information of the song to ensure normal playing of the song.
[0050] It should be noted that in addition to the identification information and the song index information of the song, the electronic device can also obtain other key information of each song, such as a song cover (which can be a user-specified cover image or an original cover image of the song), a song introduction (which can be a user-input explanation for the song or an original introduction of the song), a singer name, a lyricist name, a composer name, an album name, a song duration, a song tag (which can be a user-specified tag or an original tag of the song), a song keyword (which can be a user-input keyword or an original keyword of the song), and the like. The specific key information to be obtained can be determined according to actual needs, and the present embodiment is not limited in this regard.
[0051] In step 130, a cross-platform playlist containing the identification information of the song is generated, and the identification information of the song is associated with the song index information.
[0052] After the electronic device determines the song index information to be added to the cross-platform playlist, the identification information and the index information of each song can be associated and recorded in the cross-platform playlist to generate a cross-platform playlist containing the identification information of the song.
[0053] In an embodiment, the cross-platform playlist can include a plurality of sub-playlists, each sub-playlist having corresponding classification information, such as a Chinese song playlist, a European and American song playlist, a Japanese and Korean song playlist, a folk song playlist, a rock song playlist, a light music playlist, and the like; a learning, sleep aid, afternoon tea, or other custom type can also be included, and the present embodiment is not limited in this regard. The classification information of the sub-playlists can be used as playlist tags to facilitate better management of the playlist by the user.
[0054] In an embodiment, in addition to the classification information, each sub-playlist can further include a playlist name, a playlist introduction, a playlist cover, and the like. The playlist name can be a user-defined name or a name extracted from the playlist data, and the embodiment is not limited in this regard. The playlist introduction can be a user-defined input description for the current playlist or an introduction extracted from the playlist data, and the embodiment is not limited in this regard. The playlist cover can be a user-defined input image for the current playlist or a cover image extracted from the playlist data, and the embodiment is not limited in this regard.
[0055] From the perspective of the storage structure, if a tree-shaped storage structure is adopted, the cross-platform playlist corresponds to a parent node folder, and each sub-playlist corresponds to a sub-node folder under the parent node folder. The tree-shaped storage structure not only enables storage of more massive song resources, but also improves the efficiency of browsing and searching for content.
[0056] Step 130 can include the following steps:
[0057] Step 130-1: obtaining the playlist classification attribute of the song according to the data source information.
[0058] Exemplarily, the data source information of the song to be added can further include a playlist classification attribute of the song, which can be the playlist classification information of the playlist to which the song belongs in the second multimedia platform, such as a Chinese song playlist, a European and American song playlist, a Japanese and Korean song playlist, a folk song playlist, a rock song playlist, a light music playlist, and the like; or can include a scene type such as learning, sleep aid, afternoon tea, or other custom types, and the embodiment is not limited in this regard. The electronic device can directly extract the playlist classification attribute of the current song from the data source information.
[0059] In other embodiments, the electronic device can further extract the song tag of the current song from the page data corresponding to the data source information of the current song, and analyze the playlist classification attribute of the current song according to the song tag.
[0060] Step 130-2: matching the playlist classification attribute of the song with the classification information of each sub-playlist to determine the target sub-playlist matched with the song.
[0061] After the electronic device obtains the playlist classification attribute of each song, the playlist classification attribute can be matched with the classification information of each sub-playlist to determine the sub-playlist to which the song belongs as the target sub-playlist.
[0062] It should be noted that in addition to determining the target sub-playlist by type, the electronic device can also determine the target sub-playlist by referring to other factors. For example, the target sub-playlist can be determined according to time information, such as a sub-playlist created this month.
[0063] Step 130-3, storing the identification information and the song index information of the song in the target sub-song list.
[0064] When the electronic device determines the target sub-song list, the identification information and the song index information of the current song can be stored in the target sub-song list.
[0065] In other embodiments, the electronic device can also newly create a target sub-song list for storing the current song or songs, and then store the identification information and the song index information of the current song in the target sub-song list.
[0066] In the embodiment, the electronic device stores the current song in the target sub-song list by determining the target sub-song list corresponding to the current song, realizes the tree-shaped storage of the song, improves the management efficiency of the song, and also improves the efficiency of browsing and searching content.
[0067] In the embodiment, a cross-platform song list of songs from at least two multimedia platforms is maintained. When the electronic device obtains data source information of a song to be added to the cross-platform song list by the user, the identification information and the song index information of the song to be added can be obtained according to the data source information, and a cross-platform song list containing the identification information of the song is generated, wherein the identification information of the song is associated with the song index information. Thus, the storage and maintenance of the cross-platform song list are realized, the user can conveniently manage songs from different sources in the same platform, the user is avoided from switching between different multimedia platforms for song management, and the efficiency of music resource management is improved.
[0068] Embodiment Two
[0069] Figure 2 A flowchart of a song management method embodiment provided for Embodiment Two of the present application is shown in the figure. Based on Embodiment One, the song playing scenario is described in the embodiment, as shown in the figure. The embodiment can include the following steps: Figure 2
[0070] Step 210, obtaining data source information of a song to be added to a cross-platform song list by the user; the songs in the cross-platform song list come from at least two multimedia platforms.
[0071] Step 220, obtaining identification information and song index information of the song according to the data source information.
[0072] Step 230, generating a cross-platform song list containing the identification information of the song, wherein the identification information of the song is associated with the song index information.
[0073] Step 240, determining a target song to be played from the cross-platform song list.
[0074] In one implementation, the cross-platform playlist can be displayed to the user through a display page of the electronic device. The user can select one or more songs in the cross-platform playlist as target songs to be played. In other implementations, a plurality of selectable play modes of the cross-platform playlist, such as random play, sequential play, etc., can also be displayed in the display page. The user can select one of the play modes, and after the user selects the play mode, the electronic device can determine the target songs to be played according to the selected play mode according to a certain strategy.
[0075] It should be noted that the user can select a desired display mode for displaying the sub-playlists or songs in the cross-platform playlist. Specifically, when the user logs in to the platform, the electronic device can display the sub-playlists or songs in the cross-platform playlist according to a default display mode or a last used display mode. A display mode option can be included in a toolbar of the display page, and the user can select a desired display mode by triggering the display mode option, and then the electronic device displays the playlists or songs according to the selected display mode. Exemplarily, the display modes can include a list mode or a thumbnail mode. Different display modes are provided to meet the needs of users with different visual needs.
[0076] In other implementations, the user can also search for the target songs through a search function of the electronic device, which is not limited in the present embodiment.
[0077] In step 250, if the song index information of the target song is the second index information, a play interface provided by the first multimedia platform is invoked to play the target song.
[0078] In step 260, if the song index information of the target song is the first index information, a redirection is performed to a play page corresponding to the first index information to play the target song by using the second multimedia platform.
[0079] For the target song to be currently played, the electronic device can obtain its song index information, and determine whether the song index information is the second index information or the first index information. If it is the first index information, it indicates that the playing resource of the target song does not exist in the current platform or the playing right of the target song is not possessed, and at this time the electronic device can perform a redirection to a play page corresponding to the first index information, and play the target song by using the second multimedia platform corresponding to the first index information. If it is the second index information, it indicates that the playing resource of the target song exists in the current platform, and at this time the electronic device can play the target song by using the first multimedia platform.
[0080] In the embodiment, when the electronic device plays a song, if the song has a playing resource in the electronic device, i.e., the song index information of the song is the second index information, the electronic device directly plays the target song by using the current platform, thereby reducing the response delay of song playing and reducing resource consumption caused by switching between different platforms. If the song does not have a playing resource in the electronic device, the electronic device can also be redirected to a playing page corresponding to the first index information of the song, and the target song is played by using a second multimedia platform corresponding to the first index information, so as to ensure normal playing of the song.
[0081] Embodiment Three
[0082] Figure 3 A flowchart of a song management method embodiment provided for the third embodiment of the present application is described in the present embodiment based on the first embodiment or the second embodiment. The sharing can be understood as sharing a song list or a song by a user to other users or to other platforms. The sharing can be understood as opening the permission of a song list or a song by a user to other users, so that the other users can also edit the song list or the song.
[0083] As shown in Figure 3 , the present embodiment can include the following steps:
[0084] In step 310, data source information of a song to be added to a cross-platform song list by a user is obtained. The song in the cross-platform song list comes from at least two multimedia platforms.
[0085] In step 320, the identification information and the song index information of the song are obtained according to the data source information.
[0086] In step 330, a cross-platform song list containing the identification information of the song is generated. The identification information of the song is associated with the song index information.
[0087] In step 340, a sharing link for a to-be-shared song is generated in response to a sharing instruction of the to-be-shared song selected by the user from the cross-platform song list. The sharing instruction includes a target object identifier.
[0088] In step 350, the sharing link is sent to a target object corresponding to the target object identifier.
[0089] In an implementation, the cross-platform playlist can be displayed to a user through a display page of the electronic device. The user can select one or more songs in the cross-platform playlist or all songs in the playlist as the to-be-shared songs. The user issues a sharing instruction by triggering a sharing operation, for example, clicking a "share" button in the page and specifying a target object identifier. After the electronic device detects the sharing instruction, a sharing link for the sharing instruction is generated, and then the sharing link is sent to a target object corresponding to the target object identifier.
[0090] In an embodiment, the electronic device can generate the sharing link in the following manner: generating a unique identifier for identifying a current sharing event, generating a URL address based on the unique identifier, and determining the sharing link according to the URL address. The URL address can be directly used as the sharing link, or two-dimensional code data or bar code data can be generated according to the URL address, and the two-dimensional code data or the bar code data can be used as the sharing link.
[0091] The embodiment is not limited to the manner in which the electronic device generates the unique identifier. For example, the unique identifier can be randomly generated, or the unique identifier can be determined in an incremental manner.
[0092] For example, the target object corresponding to the target object identifier can include a user, a social platform, or the like, and the embodiment is not limited thereto.
[0093] In an embodiment, the sharing instruction can further include an encryption key. After the electronic device generates the sharing link, the electronic device can further encrypt the sharing link using the encryption key before issuing the sharing link, so as to improve the privacy and security of the data and avoid other users or platforms from obtaining the corresponding song data after obtaining the sharing link.
[0094] In an embodiment, the sharing instruction can further include a sharing validity period. The embodiment can further include the following steps:
[0095] When an access request for the sharing link is received, it is determined whether an access time corresponding to the access request is within the sharing validity period. If yes, the identifier information and the song index information of the to-be-shared songs are returned based on the access request. If no, an invalidation prompt is returned.
[0096] Specifically, when the electronic device receives an access request for the sharing link, it can be determined whether the access time of the current access request is within the sharing validity period. If not, an invalidation prompt information is returned to the access user to inform the access user that the current sharing link has been invalidated; if within the sharing validity period, the identification information and song index information of the song to be shared are returned to the access user based on the access request. Thus, the management of the sharing link for a long time is avoided, and the resource consumption is reduced. Meanwhile, the function of song management is enriched.
[0097] In an embodiment, the sharing instruction can further include an access right, which can be embodied by, for example, a user feature of a user capable of accessing the current sharing link, or the access right can also be embodied by a user list capable of accessing the current sharing link. The embodiment can further include the following steps:
[0098] When receiving an access request for the sharing link, a user identification of the user initiating the access request is acquired; it is determined whether the user identification has the access right; if yes, the identification information and song index information of the song to be shared are returned based on the access request; if not, a no-right prompt information is returned.
[0099] Specifically, when the electronic device receives an access request for the sharing link, it can be determined whether the access time of the current access request is within the sharing validity period. If not, an invalidation prompt information is returned to the access user to inform the access user that the current sharing link has been invalidated; if within the sharing validity period, the identification information and song index information of the song to be shared are returned to the access user based on the access request. Thus, the management of the sharing link for a long time is avoided, and the resource consumption is reduced. Meanwhile, the function of song management is enriched.
[0100] If the current access user does not have the access right (does not have the corresponding user feature or is not in the user list), a no-right prompt information is returned to the access user to inform the access user that the access user does not have the corresponding access right; if the current access user has the access right, the identification information and song index information of the song to be shared are returned to the access user based on the access request. Thus, the user without the access right can not get the song to be shared, and the security and privacy of data are improved. Meanwhile, the function of song management is enriched.
[0101] In an embodiment, the embodiment can further include the following steps:
[0102] The editing information of the song corresponding to the access request by the user initiating the access request is acquired; and the editing information is stored in association with the song.
[0103] The embodiment realizes the sharing function of a playlist or a song. Specifically, the user can also set the management permission of the access user, for example, the permission of adding, deleting, modifying and inquiring the playlist or the song. In this case, after the to-be-shared song (including the song in the playlist or a specific song or songs) is shared to the access user, the access user can edit and perfect the received song, for example, modify the key information of the song. When the to-be-shared song is shared as a song in the playlist (that is, the user shares the playlist), the access user can edit and perfect the playlist, for example, supplement the song in the playlist, modify the key information of the playlist, delete the song in the playlist, and the like. The information corresponding to the editing and perfecting operation can be returned to the current electronic device as editing information, for example, the editing information can include the song identifier information of the song with the editing behavior, the specific editing behavior (such as adding, deleting and modifying), the editing content (such as adding what content, deleting what content, modifying what content, what is before the modification, what is after the modification, and the like), and the like. If the editing is for the playlist, the editing information can also include the playlist identifier, the song identifier of the song with the editing behavior in the playlist, the specific editing behavior (such as adding, deleting and modifying), and the editing content.
[0104] After the electronic device obtains the editing information of the access user for the playlist or the song, the electronic device can store the editing information in association with the corresponding song or playlist, and send corresponding prompt information to the user, so that the user can learn the sharing situation of the song or the playlist, the editing situation of the current playlist or song by other users, and the like when managing the song or the playlist, thereby efficiently and conveniently enriching the content of the playlist or the song. In addition, the way of storing in association instead of directly replacing the content is also convenient for the user to maintain the playlist or the song.
[0105] In addition, the platform can also provide a collection function to collect the song library or the shared content of other users.
[0106] In the embodiment, through the sharing or sharing function, the function of the user in managing the playlist or the song can be improved, and the user experience can be improved.
[0107] In other embodiments, the electronic device can also provide a download function. Specifically, when the user needs to download a song, in response to the download operation of the user (the user can download a single song or batch download one or more playlists), the electronic device can obtain the audio source file of the current song from the corresponding multimedia platform according to the song index information of each song, and provide the audio source file to the user.
[0108] Embodiment Four
[0109] Figure 4 A structural block diagram of a song management device embodiment provided for Embodiment Four of the present application. The device can include the following modules:
[0110] The song source information obtaining module 410 is configured to obtain data source information of a song to be added to the cross-platform playlist, the song in the cross-platform playlist being from at least two multimedia platforms.
[0111] The song identification and index information obtaining module 420 is configured to obtain identification information and song index information of the song according to the data source information.
[0112] The cross-platform playlist generating module 430 is configured to generate the cross-platform playlist containing the identification information of the song, the identification information of the song being associated with the song index information.
[0113] In an embodiment, when the cross-platform playlist is a playlist created in the first multimedia platform, the song identification and index information obtaining module 420 is specifically configured to:
[0114] obtain the identification information and first index information of the song according to the data source information, the first index information including a playing link of the song in the second multimedia platform;
[0115] find second index information corresponding to the song in the first multimedia platform according to the identification information of the song;
[0116] determine the second index information as the song index information of the song.
[0117] In an embodiment, the song identification and index information obtaining module 420 is further configured to:
[0118] if the second index information corresponding to the identification information of the song cannot be found in the first multimedia platform, determine the first index information as the song index information of the song.
[0119] In an embodiment, the apparatus can further include the following modules:
[0120] The target song determining module is configured to determine a target song to be played from the cross-platform playlist.
[0121] The first playing module is configured to, if the song index information of the target song is the second index information, invoke a playing interface provided by the first multimedia platform to play the target song.
[0122] The second playing module is configured to, if the song index information of the target song is the first index information, redirect to a playing page corresponding to the first index information to play the target song by using the second multimedia platform.
[0123] In an embodiment, the cross-platform playlist includes a plurality of sub-playlists, each sub-playlist having corresponding classification information, and the cross-platform playlist generating module 430 is specifically configured to:
[0124] Based on the data source information, obtain the song playlist classification attributes;
[0125] The song's playlist category attributes are matched with the category information of each sub-playlist to determine the target sub-playlist that matches the song.
[0126] Store the song's identifier and index information in the target sub-playlist.
[0127] In one embodiment, the device may further include the following modules:
[0128] The share link generation module is used to generate a share link for a song to be shared in response to a user's share command selected from a cross-platform playlist. The share command includes the target object identifier.
[0129] The share link sending module is used to send the share link to the target object corresponding to the target object identifier.
[0130] In one embodiment, the sharing instructions also include an encryption key;
[0131] The device may also include the following modules:
[0132] The encryption module is used to encrypt the shared link with an encryption key before sending it to the target object corresponding to the target object identifier.
[0133] In one embodiment, the sharing instruction further includes a sharing validity period, and the device may further include the following modules:
[0134] The validity determination module is used to determine whether the access time corresponding to the access request is within the sharing validity period when an access request for a sharing link is received; if yes, it returns the identification information and song index information of the song to be shared based on the access request; if no, it returns an invalidation prompt message.
[0135] In one embodiment, the sharing instruction further includes access permissions, and the device may further include the following modules:
[0136] The access permission determination module is used to obtain the user identifier that initiated the access request when an access request for a shared link is received; determine whether the user identifier has the necessary access permissions; if so, return the identifier information and song index information of the song to be shared based on the access request; if not, return a permission-invalid message.
[0137] In one embodiment, the device may further include the following modules:
[0138] The editing information acquisition module is used to acquire the editing information of the user who initiated the access request for the song corresponding to the access request; and to associate and store the editing information with the song.
[0139] The song management device provided in the embodiments of the present application can execute the song management method in Embodiment One of the present application, and has the corresponding function modules and beneficial effects of the execution method.
[0140] Embodiment Five
[0141] Figure 5 A structural schematic diagram of an electronic device provided in Embodiment Five of the present application is shown in FIG. 5, which includes a processor 510, a memory 520, an input device 530, and an output device 540. The number of processors 510 in the electronic device can be one or more, and one processor 510 is taken as an example in the embodiment. Figure 5 The processor 510, the memory 520, the input device 530, and the output device 540 in the electronic device can be connected through a bus or other means, and the connection through a bus is taken as an example in the embodiment. Figure 5 Figure 5
[0142] The memory 520 is a computer-readable storage medium, which can be used to store software programs, computer executable programs, and modules, such as the program instructions / modules corresponding to any one of Embodiments One to Three of the present application. The processor 510 executes various function applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 520, that is, implements the method mentioned in any one of the method embodiments One to Three.
[0143] The memory 520 can mainly include a program storage area and a data storage area. The program storage area can store an operating system and at least one application program required by a function; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory 520 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state memory device. In some examples, the memory 520 can further include a memory remotely arranged with respect to the processor 510, which can be connected to the device / terminal / server through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0144] The input device 530 can be used to receive input digital or character information, and generate key signal inputs related to the user settings and function control of the electronic device. The output device 540 can include a display device such as a display screen.
[0145] Embodiment Six
[0146] The embodiment six of the present application further provides a storage medium comprising computer executable instructions, which are used for executing the method in any of the method embodiments one to three when executed by a computer processor.
[0147] Of course, the computer executable instructions of the storage medium provided by the embodiment of the present application are not limited to the method operations as above, but can also perform the related operations in the method provided by any embodiment of the present application.
[0148] Embodiment seven
[0149] The embodiment seven of the present application further provides a computer program product, which comprises computer executable instructions, which are used for executing the method in any of the above embodiments one to three when executed by a computer processor.
[0150] Of course, the computer executable instructions of the computer program product provided by the embodiment of the present application are not limited to the method operations as above, but can also perform the related operations in the method provided by any embodiment of the present application.
[0151] From the above description about the embodiments, those skilled in the art can clearly understand that the present application can be realized by means of software and necessary universal hardware, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application or the part that makes a contribution to the prior art can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a floppy disk, a ROM, a RAM, a FLASH, a hard disk or an optical disk, and includes a plurality of instructions used to make an electronic device (which can be a personal computer, a server or a network device, etc.) execute the methods of various embodiments of the present application.
[0152] It is worth noting that the embodiments of the above device include various units and modules only according to the logical division of functions, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for the convenience of mutual distinction, and do not limit the protection scope of the present application.
[0153] It is to be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the application. The word "comprising" does not exclude the presence of elements or steps other than those listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. It is further noted that characteristics relating to the different embodiments can be combined, and not just those within respective sections of the description.
Claims
1. A song management method characterized by comprising: The method comprises: obtaining data source information of a song to be added to a cross-platform playlist by a user; the song in the cross-platform playlist is from at least two multimedia platforms; obtaining identification information and song index information of the song according to the data source information; generating the cross-platform playlist containing the identification information of the song, the identification information of the song being associated with the song index information; when the cross-platform playlist is a playlist created in a first multimedia platform, the step of obtaining the identification information and the song index information of the song according to the data source information comprises: obtaining the identification information and first index information of the song according to the data source information; the first index information comprises a playing link of the song in a second multimedia platform, and the first multimedia platform is an open song resource management platform capable of storing a large amount of cross-application or cross-platform song resources and supporting multi-person collaborative management; finding second index information corresponding to the song in the first multimedia platform according to the identification information of the song; determining the second index information as the song index information of the song.
2. The method of claim 1, wherein, The step of obtaining the identification information and the song index information of the song according to the data source information further comprises: if the second index information corresponding to the identification information of the song cannot be found in the first multimedia platform, determining the first index information as the song index information of the song.
3. The method of claim 2, wherein, The method further comprises: determining a target song to be played from the cross-platform playlist; if the song index information of the target song is the second index information, calling a playing interface provided by the first multimedia platform to play the target song; if the song index information of the target song is the first index information, redirecting to a playing page corresponding to the first index information to play the target song by using the second multimedia platform.
4. The method according to any one of claims 1 to 3, characterized in that, The cross-platform playlist comprises a plurality of sub-playlists, each sub-playlist having corresponding classification information, and the step of generating the cross-platform playlist containing the identification information of the song comprises: obtaining a playlist classification attribute of the song according to the data source information; matching the playlist classification attribute of the song with the classification information of each sub-playlist to determine a target sub-playlist matched with the song; storing the identification information and the song index information of the song in the target sub-playlist.
5. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: in response to a sharing instruction of a to-be-shared song selected by a user from the cross-platform playlist, generating a sharing link for the to-be-shared song, the sharing instruction comprising a target object identifier; sending the sharing link to a target object corresponding to the target object identifier.
6. The method of claim 5, wherein, The sharing instruction further comprises an encryption key; before the step of sending the sharing link to the target object corresponding to the target object identifier, the method further comprises: encrypting the sharing link by using the encryption key.
7. The method of claim 5 wherein, The sharing instruction further comprises a sharing validity period, and the method further comprises: when receiving an access request for the sharing link, determining whether an access time corresponding to the access request is within the sharing validity period. If yes, the identification information and the song index information of the song to be shared are returned based on the access request; If no, invalid prompt information is returned.
8. The method of claim 5, wherein, The sharing instruction further comprises an access authority, and the method further comprises: When an access request for the sharing link is received, a user identifier initiating the access request is acquired; It is judged whether the user identifier has the access authority; If yes, the identification information and the song index information of the song to be shared are returned based on the access request; If no, no-authority prompt information is returned.
9. The method according to claim 7 or 8, characterized in that, The method further comprises: Editing information of a song corresponding to the access request is acquired from a user initiating the access request; The editing information is stored in association with the song.
10. A song management apparatus characterized by comprising: It comprises: A song source information acquisition module is configured to acquire data source information of a song to be added to a cross-platform song list by a user; The song in the cross-platform song list comes from at least two multimedia platforms; A song identification and index information acquisition module is configured to acquire identification information and song index information of the song according to the data source information; A cross-platform song list generation module is configured to generate the cross-platform song list containing the identification information of the song, the identification information of the song being associated with the song index information; When the cross-platform song list is a song list created in a first multimedia platform, the song identification and index information acquisition module is specifically configured to: acquire the identification information and first index information of the song according to the data source information; the first index information comprises a playing link of the song in a second multimedia platform, and the first multimedia platform is an open song resource management platform capable of storing a large amount of cross-application or cross-platform song resources and supporting multi-person collaborative management; find second index information corresponding to the song in the first multimedia platform according to the identification information of the song; and determine the second index information as the song index information of the song.
11. An electronic device, comprising: The electronic device comprises: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method of any one of claims 1-9.
12. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method of any one of claims 1-9.
13. A computer program product comprising computer executable instructions for implementing the method of any one of claims 1-9 when executed.
13. A computer program product comprising computer executable instructions for implementing the method of any one of claims 1-9 when executed.
Citation Information
Patent Citations
Song playing method and device, equipment, storage medium and computer program product
CN112650879A
Sharing link protection method and device and computer readable storage medium
CN113595731A
Song list processing method and device and electronic equipment
CN113762243A