CN106649645B - Playlist processing method and device - Google Patents

Playlist processing method and device Download PDF

Info

Publication number
CN106649645B
CN106649645B CN201611127463.XA CN201611127463A CN106649645B CN 106649645 B CN106649645 B CN 106649645B CN 201611127463 A CN201611127463 A CN 201611127463A CN 106649645 B CN106649645 B CN 106649645B
Authority
CN
China
Prior art keywords
music
preset
time period
preset time
preset threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611127463.XA
Other languages
Chinese (zh)
Other versions
CN106649645A (en
Inventor
傅鸿城
周国金
袁彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN201611127463.XA priority Critical patent/CN106649645B/en
Publication of CN106649645A publication Critical patent/CN106649645A/en
Application granted granted Critical
Publication of CN106649645B publication Critical patent/CN106649645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings

Abstract

The embodiment of the invention discloses a playlist processing method and a playlist processing device, wherein the playlist processing method comprises the following steps: the server acquires music playing data of a user account in a last preset period; determining music information of which the interest degree of the user account is greater than a first preset threshold value in at least one preset time period by using the music playing data; adjusting a playlist according to the determined music information to obtain a playlist corresponding to the at least one preset time period in the next preset period; wherein the preset period includes the at least one preset time period. The embodiment of the invention can automatically obtain the music play lists in a plurality of time periods, and meets the automatic and intelligent requirements of users on the music play lists.

Description

Playlist processing method and device
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a playlist processing method and apparatus.
Background
With the development of internet technology, users can play music through a music playing application in a terminal, and simultaneously, users can add different music into a playlist. In practice, it is found that the order of playing the music in the playlist is only a fixed order or a random order, and that the user only needs to manually adjust the music playlist when he wants to listen to different music at different time periods (for example, the user likes to listen to music with crisp and pleasant in the morning and to listen to music with hypnotic function in the evening).
Disclosure of Invention
The embodiment of the invention provides a data processing method and device, which can automatically obtain music play lists in a plurality of time periods.
The embodiment of the invention provides a playlist processing method, which comprises the following steps:
acquiring music playing data of a user account in a previous preset period;
determining music information of which the interest degree of the user account is greater than a first preset threshold value in at least one preset time period by using the music playing data;
adjusting a playlist according to the determined music information to obtain a playlist corresponding to the at least one preset time period in the next preset period;
wherein the preset period includes the at least one preset time period.
Correspondingly, an embodiment of the present invention further provides a playlist processing apparatus, where the apparatus includes:
the acquisition module is used for acquiring music playing data of a user account in a previous preset period;
the determining module is used for determining music information of which the interest degree of the user account is greater than a first preset threshold value in at least one preset time period by using the music playing data acquired by the acquiring module;
the processing module is used for adjusting a playlist according to the music information determined by the determining module to obtain a playlist corresponding to the at least one preset time period in the next preset period;
wherein the preset period includes the at least one preset time period.
In the embodiment of the invention, a server acquires music playing data of a user account in a last preset period, determines music information of the user account with interest degree greater than a first preset threshold value in at least one preset time period by using the music playing data, adjusts a playlist according to the determined music information, and acquires the playlist corresponding to the at least one preset time period in the next preset period. Therefore, the embodiment of the invention can automatically obtain the music play lists in a plurality of time periods, and meets the automatic and intelligent requirements of users on the music play lists.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a playlist processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a terminal interacting with a server according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a playlist processing method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a playlist processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a playlist processing apparatus according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," and the like in the description and in the claims, and in the above-described drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a flowchart illustrating a playlist processing method according to an embodiment of the present invention. The method of the embodiment of the invention can be applied to the server. As shown in fig. 1, a playlist processing method according to an embodiment of the present invention may include the following steps:
s101, the server acquires music playing data of the user account in the last preset period.
As a possible implementation manner, the server may obtain the music playing data of the user account in the last preset period, so that the playlist of the user account in the next preset period may be determined according to the music playing data in the last preset period. The length of the preset period may be determined according to a total time required for playing the playlist corresponding to the user account once, and the server may store music playing data of the user account, where the music playing data may include user behavior data such as music addition, music deletion, music switching or music playing time and music information of music corresponding to the user behavior data.
It should be noted that the server may be a server dedicated to music or a web server, or may be a general server, and the server may be used for storing data or processing data.
S102, the server determines music information of which the interest degree of the user account is greater than a first preset threshold value in at least one preset time period by using the music playing data.
As a possible implementation manner, the determining, by the server, the music information of which the interest level of the user account is greater than the first preset threshold in at least one preset time period by using the music playing data may include: and aiming at each preset time period in at least one preset time period, the server acquires music information of the whole music which is played in the music playing data in the preset time period, and takes the acquired music information as the music information of which the interest degree in the preset time period is greater than a first preset threshold value. The embodiment may use the entire played music as the music that the user account is interested in within the preset time period, and may adjust the entire played music to the earlier position in the playlist, so that the user account may preferentially hear the music that is interested in within the corresponding time period within the preset time period.
Specifically, the server may detect whether a switching operation of the user account with respect to music is received within the preset time period, and if the switching operation of the music is not received, the server may use music information of music in the playing data within the preset time period as the music information of which the interest degree is greater than the first preset threshold within the preset time period. If the switching operation related to the music is received, the server can switch to the target music to play the target music, and if the switching operation related to the target music is not received in the process of playing the target music, the server can take the music information of the target music in the playing data in the preset time period as the music information of which the interest degree is greater than the first preset threshold value in the preset time period. The operation of switching music means that the current music is not played and is switched to play another piece of music.
As another possible implementation manner, the determining, by the server, the music information that the interest level of the user account is greater than the first preset threshold in at least one preset time period by using the music playing data may include: and aiming at each preset time period in at least one preset time period, the server acquires the music information of the music with the playing times larger than a first preset threshold value in the music playing data in the preset time period, and takes the acquired music information as the music information with the interest degree larger than the first preset threshold value in the preset time period. The embodiment may use music with the playing times greater than a first preset threshold as the music of interest of the user account in the preset time period, and may adjust the music with the playing times greater than the first preset threshold at a front position in the playlist, so that the user account may preferentially hear the music of interest in the corresponding time period in the preset time period.
Specifically, the server may obtain the playing time length of the target music from the music playing data in the preset time period, determine the playing time according to the obtained playing time length of the target music and the time length required for playing the target music once, and use the music information of the music with the playing time length greater than the first preset threshold value in the playing data as the music information with the interest degree greater than the first preset threshold value in the preset time period.
As another possible implementation manner, the determining, by the server, the music playing data that the interest level of the user account is greater than the first preset threshold in at least one preset time period may include: and aiming at each preset time period in at least one preset time period, the server acquires music information of music added in a last preset period in the music playing data in the preset time period, and takes the acquired music information as the music information of which the interest degree in the preset time period is greater than the first preset threshold value. The embodiment may use the music added in the last preset period as the music of interest of the user account in the preset time period, and may adjust the music added in the last preset period to a front position in the playlist, so that the user account may preferentially hear the music of interest in the corresponding time period in the preset time period.
Specifically, the server may detect whether an operation of adding the target music to the user account is received within the preset time period, and if the operation of adding the target music is received, may use the music information of the target music as the music information of which the interest degree is greater than the first preset threshold within the preset time period.
As another possible implementation manner, the determining, by the server, the music playing data that the interest level of the user account is greater than the first preset threshold in at least one preset time period may include: and aiming at each preset time period in at least one preset time period, the server acquires the music identification of each music in the music playing data in the preset time period. Counting the playing times of the music with the music identifier in the music playing data in the preset time period, and determining the music information of all the music corresponding to the music identifier with the playing times larger than a first preset threshold value as the music information with the interest degree larger than the first preset threshold value in the preset time period. The embodiment may use all music corresponding to the music identifier with the playing frequency greater than the first preset threshold as music that is interested in the user account within the preset time period, and may adjust all music corresponding to the music identifier with the playing frequency greater than the first preset threshold to a position earlier in the playlist, so that the user account may preferentially hear the music that is interested in the corresponding time period within the preset time period.
The method for determining, by the server, the music information of which the interest degree is greater than the first preset threshold in at least one preset time period by using the music playing data may include the above several possible embodiments, and one or more of the possible embodiments may be implemented.
It should be noted that the music information with the interest degree greater than the first preset threshold may refer to music in which the user account is interested, and when the music information of the entire played music, the music information of the music with the playing frequency greater than the first preset threshold, the music information of the added music, and the music information of all music corresponding to the music identifier with the playing frequency greater than the first preset threshold are used as the music information with the interest degree greater than the first preset threshold in the preset time period, the first preset thresholds that are set correspondingly may be different. In addition, the preset period includes the at least one preset time period.
S103, the server adjusts the playlist according to the determined music information to obtain the playlist corresponding to the at least one preset time period in the next preset period.
In some possible embodiments, the server may adjust the playlist according to the music information with the interest degree greater than the first preset threshold in at least one preset time period, and obtain the playlist corresponding to the at least one preset time period in the next preset period. The embodiment may adjust the music with the interest degree greater than the first preset threshold value to the front position in the play list, so that the user account can preferentially hear the music with interest in the corresponding time period within the preset time period.
It should be noted that the server may store the acquired playlist of each preset time period of the user account, and when receiving an acquisition request of the playlist of a target preset time period of the user account, may report the playlist of the target preset time period to the music playing client corresponding to the user account. The music playing client may be an application installed on the terminal, or may also be a web page client, and the client may specifically be a QQ music client or other music clients, which is not limited in the present invention.
It should be further noted that the terminal of the present invention may be a Mobile phone (such as an Android Mobile phone, an iOS Mobile phone, etc.), a tablet computer, a Mobile Internet device (MID for short), etc. that can play music.
For example, as shown in fig. 2, the terminal may establish a communication connection with the server in a wired or wireless manner, and the music client of the terminal reports music playing data of a preset period T of the user, where the music playing data may include user behavior data such as adding music, deleting music, switching music or playing music duration, and music information of music corresponding to the user behavior data. The server counts the music interested in each time period of the user according to the received music playing data of the user in the last preset period T, adjusts the music interested in the user to be in the front position in the playing list, and adjusts the music not interested in the user to be in the rear position in the playing list, so that the playing list of each time period of the user is formed. The Server may cache the playlist of the user in each time period in a Database, where the Database may be a high-performance distributed Key-Value storage service Database (CMEM), MySQL, Oracle Database, or SQL Server. If the server detects that the client performs a playlist pulling operation at time t1, the server may obtain a playlist corresponding to time t1 from the database, report the playlist to the client, and display the received playlist by the client.
In the embodiment of the invention, a server acquires music playing data of a user account in a last preset period, determines music information of the user account with interest degree greater than a first preset threshold value in at least one preset time period by using the music playing data, adjusts a playlist according to the determined music information, and acquires the playlist corresponding to the at least one preset time period in the next preset period. Therefore, the embodiment of the invention can automatically obtain the music play lists in a plurality of time periods, and meets the automatic and intelligent requirements of users on the music play lists.
Referring to fig. 3, fig. 3 is a flowchart illustrating a playlist processing method according to another embodiment of the present invention. The method of the embodiment of the invention can be applied to the server. As shown in fig. 3, a playlist processing method according to an embodiment of the present invention may include the following steps:
s301, the server obtains the total time required for playing the playlist corresponding to the user account once.
In some possible embodiments, the server may determine the period for adjusting the music playlist according to the number of music in the playlist corresponding to the user account, and since the greater the number of music in the playlist is, the greater the total duration required for playing the playlist once is, the server may determine the period for adjusting the music playlist by obtaining the total duration required for playing the playlist corresponding to the user account once.
S302, the server judges whether the total duration is greater than a second preset threshold value; if the threshold value is greater than the second preset threshold value, step S303 is executed, and if the threshold value is less than or equal to the second preset threshold value, step S304 is executed.
In some possible embodiments, the server may determine whether the total duration is greater than a second preset threshold, if so, perform step S303, and if not, perform step S304. Therefore, when the total duration is longer, a smaller preset period is set to adjust the playlist, and when the total duration is shorter, a larger preset period is set to adjust the playlist, so that the situation that music at a later position in the playlist cannot be played due to too small period for adjusting the playlist can be avoided.
It should be noted that the second preset threshold may be determined according to the duration of music playing in each day of the user account.
S303, the server sets a preset period for adjusting the playlist to a first value.
In some possible embodiments, if the total duration is greater than the second preset threshold, which indicates that the number of music in the playlist is greater, the server may set the preset period for adjusting the playlist to the first value.
S304, the server sets the preset period for adjusting the playlist to be a second value.
In some possible embodiments, if the total duration is less than or equal to a second preset threshold, which indicates that the number of music in the playlist is small, the server may set the preset period for adjusting the playlist to a second value.
It should be noted that the first value is smaller than the second value.
S305, the server acquires music playing data of the user account in the last preset period.
S306, the server determines the music information of which the interest degree of the user account is greater than a first preset threshold value in at least one preset time period by using the music playing data.
S307, the server adjusts the playlist according to the determined music information, and obtains the playlist corresponding to the at least one preset time period in the next preset period.
In the embodiment of the present invention, the server may obtain a total duration required for playing the playlist corresponding to the user account once, determine whether the total duration is greater than a second preset threshold, set a preset period for adjusting the playlist to a first value if the total duration is greater than the second preset threshold, and set the preset period for adjusting the playlist to a second value if the total duration is less than or equal to the second preset threshold, where the first value is less than the second value. The server may obtain music playing data of the user account in a last preset period, determine, by using the music playing data, music information of the user account in which an interest degree is greater than a first preset threshold value in at least one preset time period, adjust a playlist according to the determined music information, and obtain a playlist corresponding to the at least one preset time period in a next preset period. Therefore, the embodiment of the invention can automatically obtain the music play lists in a plurality of time periods, and meets the automatic and intelligent requirements of users on the music play lists.
Referring to fig. 4, fig. 4 is a block diagram illustrating a structure of a playlist processing apparatus according to an embodiment of the present invention. Specifically, as shown in fig. 4, the apparatus may include:
the obtaining module 401 is configured to obtain music playing data of the user account in a previous preset period.
As a possible implementation manner, the obtaining module 401 may obtain the music playing data of the user account in the previous preset period, so as to determine the playlist of the user account in the next preset period according to the music playing data in the previous preset period. The length of the preset period may be determined according to a total time required for playing the playlist corresponding to the user account once, and the music playing data may include user behavior data such as music adding, music deleting, music switching or music playing time and music information of music corresponding to the user behavior data.
A determining module 402, configured to determine, by using the music playing data acquired by the acquiring module 401, music information of which the interest degree of the user account is greater than a first preset threshold in at least one preset time period.
A processing module 403, configured to adjust a playlist according to the music information determined by the determining module 402, and obtain a playlist corresponding to the at least one preset time period in the next preset period.
Wherein the preset period includes the at least one preset time period.
In some possible embodiments, the processing module 403 may adjust the playlist according to the music information with the interest degree greater than the first preset threshold in at least one preset time period, and obtain the playlist corresponding to the at least one preset time period in the next preset period. The embodiment may adjust the music with the interest degree greater than the first preset threshold value to the earlier position in the playlist, so that the user account can preferentially hear the music of interest in the corresponding time period within the preset time period.
In the embodiment of the invention, a server acquires music playing data of a user account in a last preset period, determines music information of the user account with interest degree greater than a first preset threshold value in at least one preset time period by using the music playing data, adjusts a playlist according to the determined music information, and acquires the playlist corresponding to the at least one preset time period in the next preset period. Therefore, the embodiment of the invention can automatically obtain the music play lists in a plurality of time periods, and meets the automatic and intelligent requirements of users on the music play lists.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a playlist processing apparatus according to another embodiment of the present invention. As shown in fig. 5, the apparatus may include a determining module 404 and a setting module 405 in addition to the acquiring module 401, the determining module 402 and the processing module 403 described in fig. 3, where:
the obtaining module 401 is further configured to obtain a total duration required for playing a playlist corresponding to the user account once before obtaining music playing data of the user account in a previous preset period.
A determining module 404, configured to determine whether the total duration acquired by the acquiring module 401 is greater than a second preset threshold.
A setting module 405, configured to set a preset period for adjusting the playlist to a first value when the determining module 404 determines that the total duration is greater than a second preset threshold.
In some possible embodiments, if the total duration is greater than the second preset threshold, which indicates that the number of music in the playlist is greater, the setting module 405 may set the preset period for adjusting the playlist to the first value.
The setting module 405 is further configured to set the preset period for adjusting the playlist to a second value when the determining module 404 determines that the total duration is less than or equal to a second preset threshold.
In some possible embodiments, if the total duration is less than or equal to a second preset threshold, which indicates that the number of music in the playlist is small, the setting module 405 may set the preset period for adjusting the playlist to a second value.
Wherein the first value is less than the second value.
Optionally, the determining module 402 determines, by using the music playing data acquired by the acquiring module 401, music information of the user account whose interestingness is greater than a first preset threshold in at least one preset time period, specifically:
acquiring music information of the whole music which is played in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than a first preset threshold value in the preset time period.
Optionally, the determining module 402 determines, by using the music playing data acquired by the acquiring module 401, music information of the user account whose interestingness is greater than a first preset threshold in at least one preset time period, specifically:
acquiring music information of music with playing times larger than a first preset threshold in the music playing data in at least one preset time period;
and taking the acquired music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
Optionally, the determining module 402 determines, by using the music playing data acquired by the acquiring module 401, music information of the user account whose interestingness is greater than a first preset threshold in at least one preset time period, specifically:
acquiring music information of music added in the last preset period in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
Optionally, the determining module 402 determines, by using the music playing data acquired by the acquiring module 401, music information of the user account whose interestingness is greater than a first preset threshold in at least one preset time period, specifically:
acquiring a music identifier of each piece of music in the music playing data in at least one preset time period according to each preset time period in the preset time period;
counting the playing times of the music identification in the music playing data in the preset time period;
and determining music information of all music corresponding to the music identifier with the playing times larger than a first preset threshold value as the music information with the interest degree larger than the first preset threshold value in the preset time period.
In the embodiment of the invention, a server acquires music playing data of a user account in a last preset period, determines music information of the user account with interest degree greater than a first preset threshold value in at least one preset time period by using the music playing data, adjusts a playlist according to the determined music information, and acquires the playlist corresponding to the at least one preset time period in the next preset period. Therefore, the embodiment of the invention can automatically obtain the music play lists in a plurality of time periods, and meets the automatic and intelligent requirements of users on the music play lists.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a server according to still another embodiment of the present invention, where the server described in this embodiment may include: one or more processors 603, one or more input interfaces 601, one or more output interfaces 602, and memory 604. The processor 603, the input interface 601, the output interface 602, and the memory are connected by a bus 605. The memory 604 is used to store instructions and the processor 603 executes the instructions stored by the memory 604 in languages.
The processor 603 invokes an application program stored in the memory 604, performing the following steps:
acquiring music playing data of a user account in a previous preset period;
determining music information of which the interest degree of the user account is greater than a first preset threshold value in at least one preset time period by using the music playing data;
adjusting a playlist according to the determined music information to obtain a playlist corresponding to the at least one preset time period in the next preset period;
wherein the preset period includes the at least one preset time period.
It should be noted that the server may be a server dedicated to music or a web server, or may be a general server, and the server may be used for storing data or processing data.
In this embodiment of the present invention, the processor 603 invokes the application program in the memory 604, and is further configured to execute the following steps:
acquiring the total time required for playing the playlist corresponding to the user account once; judging whether the total duration is greater than a second preset threshold value or not; if the preset period is larger than a second preset threshold value, setting the preset period for adjusting the playlist to be a first value; if the preset period is smaller than or equal to a second preset threshold value, setting the preset period for adjusting the playlist as a second value; wherein the first value is less than the second value.
The processor 603 invokes an application program in the memory 604, and determines, by using the music playing data, music information of which the interest degree of the user account is greater than a first preset threshold in at least one preset time period, where the music playing data may specifically perform the following steps:
acquiring music information of the whole music which is played in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than a first preset threshold value in the preset time period.
The processor 603 invokes an application program in the memory 604, and determines, by using the music playing data, music information of which the interest degree of the user account is greater than a first preset threshold in at least one preset time period, where the music playing data may specifically perform the following steps:
acquiring music information of music with playing times larger than a first preset threshold in the music playing data in at least one preset time period;
and taking the acquired music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
The processor 603 invokes an application program in the memory 604, and determines, by using the music playing data, music information of which the interest degree of the user account is greater than a first preset threshold in at least one preset time period, where the music playing data may specifically perform the following steps:
acquiring music information of music added in the last preset period in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
The processor 603 invokes an application program in the memory 604, and determines, by using the music playing data, music information of which the interest degree of the user account is greater than a first preset threshold in at least one preset time period, where the music playing data may specifically perform the following steps:
acquiring a music identifier of each piece of music in the music playing data in at least one preset time period according to each preset time period in the preset time period;
counting the playing times of the music identification in the music playing data in the preset time period;
and determining music information of all music corresponding to the music identifier with the playing times larger than a first preset threshold value as the music information with the interest degree larger than the first preset threshold value in the preset time period.
In the embodiment of the invention, a server acquires music playing data of a user account in a last preset period, determines music information of the user account with interest degree greater than a first preset threshold value in at least one preset time period by using the music playing data, adjusts a playlist according to the determined music information, and acquires the playlist corresponding to the at least one preset time period in the next preset period. Therefore, the embodiment of the invention can automatically obtain the music play lists in a plurality of time periods, and meets the automatic and intelligent requirements of users on the music play lists.
It should be understood that in the present embodiment, the Processor 603 may be a Central Processing Unit (CPU), and the Processor may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input interface 601 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output interface 602 may include a display (LCD, etc.), a speaker, etc.
The memory 604 may include a read-only memory and a random access memory, and provides instructions and data to the processor 603. A portion of the memory 604 may also include non-volatile random access memory.
In a specific implementation, the processor 603, the input interface 601, and the output interface 602 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the proxy selection provided in this embodiment of the present invention, and may also execute the implementation manner of the server described in this embodiment of the present invention, which is not described herein again.
Each functional module in the embodiments of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A playlist processing method, comprising:
acquiring the total time required for playing the playlist corresponding to the user account once;
judging whether the total duration is greater than a second preset threshold value, wherein the second preset threshold value is determined according to the duration of music played by the user account every day;
if the preset period is larger than the second preset threshold, setting the preset period for adjusting the playlist to be a first value; the second preset threshold is determined according to the time length of music played by the user account every day;
if the preset period is smaller than or equal to a second preset threshold value, setting the preset period for adjusting the playlist to be a second value, wherein the first value is smaller than the second value;
acquiring music playing data of the user account in a last preset period; the music playing data comprises music information of music corresponding to user behavior data, and the user behavior data comprises music adding, music deleting and music switching;
for each preset time period in a plurality of preset time periods, determining music information of which the interest degree of the user account in the preset time period is greater than a first preset threshold value by using the music playing data; adjusting the determined music information to a previous position in the playlist to obtain the playlist corresponding to the preset time period in the next preset period;
wherein the preset period includes the plurality of preset time periods.
2. The method according to claim 1, wherein the determining, by using the music playing data, the music information of which the interest level of the user account is greater than a first preset threshold in at least one preset time period comprises:
acquiring music information of the whole music which is played in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than a first preset threshold value in the preset time period.
3. The method according to claim 1, wherein the determining, by using the music playing data, the music information of which the interest level of the user account is greater than a first preset threshold in at least one preset time period comprises:
acquiring music information of music with playing times larger than a first preset threshold in the music playing data in at least one preset time period;
and taking the acquired music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
4. The method according to claim 1, wherein the determining, by using the music playing data, the music information of which the interest level of the user account is greater than a first preset threshold in at least one preset time period comprises:
acquiring music information of music added in the last preset period in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
5. The method according to claim 1, wherein the determining, by using the music playing data, the music information of which the interest level of the user account is greater than a first preset threshold in at least one preset time period comprises:
acquiring a music identifier of each piece of music in the music playing data in at least one preset time period according to each preset time period in the preset time period;
counting the playing times of the music identification in the music playing data in the preset time period;
and determining music information of all music corresponding to the music identifier with the playing times larger than a first preset threshold value as the music information with the interest degree larger than the first preset threshold value in the preset time period.
6. A playlist processing apparatus, comprising:
the acquisition module is used for acquiring the total time required for playing the playlist corresponding to the user account once;
the judging module is used for judging whether the total duration acquired by the acquiring module is greater than a second preset threshold value or not;
the setting module is used for setting the preset period for adjusting the playlist as a first value when the judging module determines that the total duration is greater than a second preset threshold;
the setting module is further configured to set the preset period for adjusting the playlist to a second value when the determining module determines that the total duration is less than or equal to a second preset threshold; the second preset threshold is determined according to the time length of music played by the user account every day;
wherein the first value is less than the second value;
the acquisition module is further configured to acquire music playing data of the user account in a previous preset period; the music playing data comprises music information of music corresponding to user behavior data, and the user behavior data comprises music adding, music deleting and music switching;
the determining module is used for determining music information of which the interest degree of the user account is greater than a first preset threshold value in at least one preset time period by using the music playing data acquired by the acquiring module;
the processing module is used for adjusting the music information determined by the determining module to a previous position in the playlist to obtain the playlist corresponding to the at least one preset time period in the next preset period;
wherein the preset period includes the at least one preset time period.
7. The apparatus according to claim 6, wherein the determining module determines, by using the music playing data acquired by the acquiring module, music information of the user account whose interest level is greater than a first preset threshold in at least one preset time period, specifically:
acquiring music information of the whole music which is played in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than a first preset threshold value in the preset time period.
8. The apparatus according to claim 6, wherein the determining module determines, by using the music playing data acquired by the acquiring module, music information of the user account whose interest level is greater than a first preset threshold in at least one preset time period, specifically:
acquiring music information of music with playing times larger than a first preset threshold in the music playing data in at least one preset time period;
and taking the acquired music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
9. The apparatus according to claim 6, wherein the determining module determines, by using the music playing data acquired by the acquiring module, music information of the user account whose interest level is greater than a first preset threshold in at least one preset time period, specifically:
acquiring music information of music added in the last preset period in the music playing data in at least one preset time period;
and taking the obtained music information as the music information of which the interest degree is greater than the first preset threshold value in the preset time period.
10. The apparatus according to claim 6, wherein the determining module determines, by using the music playing data acquired by the acquiring module, music information of the user account whose interest level is greater than a first preset threshold in at least one preset time period, specifically:
acquiring a music identifier of each piece of music in the music playing data in at least one preset time period according to each preset time period in the preset time period;
counting the playing times of the music identification in the music playing data in the preset time period;
and determining music information of all music corresponding to the music identifier with the playing times larger than a first preset threshold value as the music information with the interest degree larger than the first preset threshold value in the preset time period.
CN201611127463.XA 2016-12-09 2016-12-09 Playlist processing method and device Active CN106649645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611127463.XA CN106649645B (en) 2016-12-09 2016-12-09 Playlist processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611127463.XA CN106649645B (en) 2016-12-09 2016-12-09 Playlist processing method and device

Publications (2)

Publication Number Publication Date
CN106649645A CN106649645A (en) 2017-05-10
CN106649645B true CN106649645B (en) 2021-01-15

Family

ID=58825766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611127463.XA Active CN106649645B (en) 2016-12-09 2016-12-09 Playlist processing method and device

Country Status (1)

Country Link
CN (1) CN106649645B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108766474A (en) * 2018-06-04 2018-11-06 深圳市沃特沃德股份有限公司 Vehicle-mounted music playback method and mobile unit
CN109446350B (en) * 2018-11-09 2022-03-15 腾讯音乐娱乐科技(深圳)有限公司 Multimedia playing method, device, terminal and storage medium
CN112506396B (en) * 2020-12-14 2022-09-09 北京达佳互联信息技术有限公司 Resource display method and device, electronic equipment and storage medium
CN114722219B (en) * 2022-06-10 2022-09-20 深圳市永吉星光电有限公司 High-definition array mark audio and video module and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104409085A (en) * 2014-11-24 2015-03-11 惠州Tcl移动通信有限公司 Vehicle-mounted intelligent music player and music playing method thereof
CN105872261A (en) * 2016-06-15 2016-08-17 维沃移动通信有限公司 Audio playing method and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140067827A1 (en) * 2012-09-05 2014-03-06 Google Inc. Automatically generating music playlists based on an implicitly selected seed
CN103218438B (en) * 2013-04-18 2016-04-20 广东欧珀移动通信有限公司 Method and the mobile terminal of Online Music recommended in broadcasting record based on mobile terminal
CN104093044B (en) * 2014-01-20 2016-07-06 腾讯科技(深圳)有限公司 Online Media player method, server and system
CN104869238A (en) * 2015-04-30 2015-08-26 广东欧珀移动通信有限公司 Ringtone setting method and mobile terminal
CN104916295A (en) * 2015-05-30 2015-09-16 广东欧珀移动通信有限公司 Method and terminal for play control
CN104991900A (en) * 2015-06-09 2015-10-21 腾讯科技(深圳)有限公司 Method and apparatus for pushing music data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104409085A (en) * 2014-11-24 2015-03-11 惠州Tcl移动通信有限公司 Vehicle-mounted intelligent music player and music playing method thereof
CN105872261A (en) * 2016-06-15 2016-08-17 维沃移动通信有限公司 Audio playing method and mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Evaluating MoodPic - a Concept for Collaborative Mood Music Playlist Creation;Arto Lehtiniemi;《2013 17th International Conference on Information Visualisation》;20130718;86-95 *
基于嵌入式系统的MP3播放器的软件设计及实现;邓娟;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150415(第4期);I138-682 *

Also Published As

Publication number Publication date
CN106649645A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN108733342B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN106649645B (en) Playlist processing method and device
CN106507445B (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
WO2020156236A1 (en) Associated information pushing method and apparatus, electronic device and storage medium
US9806795B2 (en) Automated earpiece cache management
CN109672724B (en) Information pushing method, device and equipment
CN113505272B (en) Control method and device based on behavior habit, electronic equipment and storage medium
WO2018010409A1 (en) Power consumption warning method and apparatus
CN104091596A (en) Music identifying method, system and device
CN108289232B (en) Control method of playing device, terminal device and storage medium
CN110491419B (en) Playing control method, system and terminal equipment
CN110086941B (en) Voice playing method and device and terminal equipment
CN111107438B (en) Video loading method and device and electronic equipment
CN110347900B (en) Keyword importance calculation method, device, server and medium
CN109451506B (en) LTE capacity expansion evaluation method and device, terminal and computer storage medium
TW202020652A (en) Voice processing method and apparatus
CN105005612A (en) Music file acquisition method and mobile terminal
CN106372003B (en) Cache data cleaning method and device and terminal
WO2017032237A1 (en) Method and device for refreshing playlist
CN108536512B (en) Interface switching method and device and terminal equipment
US10291740B2 (en) Method and apparatus for determining application to be recommended
US20220129239A1 (en) Democratic skip
CN112806070B (en) Network power consumption adjusting method, network power consumption adjusting device and mobile terminal
CN110275981B (en) Content recommendation method and device
WO2019041198A1 (en) Method and apparatus for detecting downloading quantity increase terminal

Legal Events

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