CN107463644B - Music recommendation method and mobile terminal - Google Patents
Music recommendation method and mobile terminal Download PDFInfo
- Publication number
- CN107463644B CN107463644B CN201710597072.2A CN201710597072A CN107463644B CN 107463644 B CN107463644 B CN 107463644B CN 201710597072 A CN201710597072 A CN 201710597072A CN 107463644 B CN107463644 B CN 107463644B
- Authority
- CN
- China
- Prior art keywords
- music
- menu
- recommended
- mobile terminal
- time information
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/635—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/686—Retrieval 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Library & Information Science (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a music recommendation method and a mobile terminal, wherein the method comprises the following steps: if the starting operation of the music application on the mobile terminal is detected, acquiring the position time information of the mobile terminal, wherein the position time information comprises position information and time information; acquiring a recommended music menu matched with the position time information; if the recommended music menu is successfully acquired, displaying the recommended music menu; and if the music recommending menu fails to be acquired, establishing the music recommending menu according to the position time information of the mobile terminal and the music attribute information during music playing. Therefore, the problem that music recommendation cannot be carried out according to specific use habits, states, positions and time information of individual users is solved.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a music recommendation method and a mobile terminal.
Background
With the rapid development of mobile terminal technology, more and more users listen to or download music online through the internet or the mobile internet. When a user requests a song, the user needs to provide related information of the music, such as the name and author of the music, and then the server returns a music list meeting the search conditions for the user to select. In addition, the user may like a certain kind of music, and thus the music needs to be actively recommended to the user.
Existing music recommendation methods recommend only by music related information (e.g., album name, author, genre, etc.).
However, the existing music recommendation method only refers to music related information for recommendation, and does not recommend music according to the current state of the user, the position and time of listening to music and the habit, and often cannot meet the expectations of the user for the recommendation function.
Disclosure of Invention
The embodiment of the invention provides a music recommendation method and a mobile terminal, and aims to solve the problem that music recommendation cannot be performed according to specific use habits, states, positions and time information of individual users in the prior art.
In a first aspect, an embodiment of the present invention provides a music recommendation method, which is applied to a mobile terminal, and the method includes:
if the starting operation of the music application on the mobile terminal is detected, acquiring the position time information of the mobile terminal, wherein the position time information comprises position information and time information;
acquiring a recommended music menu matched with the position time information;
if the recommended music menu is successfully acquired, displaying the recommended music menu;
and if the music recommending menu fails to be acquired, establishing the music recommending menu according to the position time information of the mobile terminal and the music attribute information during music playing.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the mobile terminal comprises a position time acquisition module, a position time acquisition module and a time display module, wherein the position time acquisition module is used for acquiring position time information of the mobile terminal if the starting operation of a music application on the mobile terminal is detected, and the position time information comprises position information and time information;
the recommended music menu acquisition module is used for acquiring a recommended music menu matched with the position time information;
the recommended music menu display module is used for displaying the recommended music menu if the recommended music menu is successfully acquired;
and the recommended music menu establishing module is used for establishing a recommended music menu according to the position time information of the mobile terminal and the music attribute information during music playing if the recommended music menu fails to be acquired.
In this way, in the embodiment of the present invention, the position time information of the mobile terminal is obtained by detecting the start operation of the music application on the mobile terminal; acquiring a recommended music menu matched with the position time information; the music recommendation menu is displayed, music recommendation can be quickly and accurately realized according to specific requirements of the user, and the use experience of the user is enhanced.
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 of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a music recommendation method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a music recommendation method according to a second embodiment of the present invention;
fig. 3 is a block diagram illustrating a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram illustrating a mobile terminal according to a third embodiment of the present invention;
fig. 5 is a block diagram illustrating a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart of a music recommendation method according to a first embodiment of the present invention is shown, which may specifically include the following steps:
in the embodiment of the present invention, taking android as an example, whether a music player is started is generally sent by a service (com. android. music. mediaplaybackservice) in the music player in a broadcast manner, so that by monitoring parameters in the service, whether a music player is started on a current mobile terminal can be known, if the music player is determined to be started, position and time information of the current mobile terminal is obtained, specifically, longitude and latitude are obtained by a method provided by a LocationManager class, and when the specific position of the mobile terminal is determined by the longitude and latitude, current time information of the system is obtained by a calenar class.
In practical applications, the method for acquiring the location and time information differs according to different systems, and is not limited to the above description, and the embodiment of the present invention is not limited thereto.
And step 120, acquiring a recommended music menu matched with the position time information, if the recommended music menu is successful, executing step 130, otherwise, executing step 140.
In the embodiment of the invention, when the user uses the music player, the music played by the user in a position and a time period can be stored by taking the position and time information as the label, and after the user opens the music player to obtain the current time and position information, a music play list matched with the music play list is searched and recommended to the user. Specifically, for example, in an android, a Context class may be defined by a getContentResolver () method, and a playlist corresponding to a current music player is obtained by using a ContentProvider, which is not limited to the above description, and this is not limited in the embodiment of the present invention.
And step 130, if the recommended music menu is successfully acquired, displaying the recommended music menu.
In the embodiment of the present invention, after the music playlist is obtained by the above-described method, the file information may be displayed in listView and displayed on the user interface of the current music player, and the user may play a certain music by selecting the music, or set to automatically play the current playlist in a loop manner, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, when the user uses the music player and manually adds a play menu and stores the play menu, the system automatically adds a position time label to the music list to mark the position time information of the music list, and of course, the user can also manually add other characteristic labels to the music list, such as a current mood label, and can add and delete music until the music in the list stops playing.
In practical application, it may also be set that music is automatically detected and played within a specific time period and added to a music playlist of the mobile terminal, or a user may set a playlist by himself or herself, and a plurality of music playlists may be set at the same geographical location within a time period, which is not limited by the embodiment of the present invention.
In the embodiment of the invention, the position time information of the mobile terminal is obtained if the starting operation of the music application on the mobile terminal is detected, wherein the position time information comprises the position information and the time information; acquiring a recommended music menu matched with the position time information; if the recommended music menu is successfully acquired, displaying the recommended music menu; if the music recommendation menu fails to be acquired, the music recommendation menu is established according to the position time information of the mobile terminal and the music attribute information during music playing, so that the beneficial effect of recommending music for the user according to personalized setting is achieved, and the use experience of the user on a music player is enhanced.
Example two
Referring to fig. 2, a flowchart of a music recommendation method according to a second embodiment of the present invention is shown, which may specifically include the following steps:
this step is the same as step 110 and will not be described in detail here.
this step is the same as step 120 and will not be described in detail here.
this step is the same as step 130 and will not be described in detail here.
And step 240, updating the recommended music menu according to the editing operation of the user on the recommended music menu.
In the embodiment of the invention, if the recommended music menu is successfully obtained, the user can update the music menu in the displayed music menu through further operation, such as adding and deleting music in the menu, and if a plurality of recommended music menus exist at the corresponding current time and place, the user can determine the music menu which needs to be played currently according to the selection operation, and recommend and sort the plurality of recommended music menus according to the selection times of the user, so as to facilitate the next selection of the user.
And step 250, if the music recommending menu fails to be acquired, acquiring a user state name corresponding to the position information and time information of the mobile terminal.
In the embodiment of the invention, when a user opens a music player, after acquiring the geographic position of a mobile terminal, the current user state can be actively marked, for example, in a period of 6:00 to 10:00 of a working day (the determination of the working day of the user can be analyzed and determined according to the data of an alarm clock), if the GPS positioning of the user is at home, the current user state is a "getting up period", and if the user is in a period of 17:00 to 24:00, if the GPS positioning of the user is on the way of work, the current state is defined as "on the way of fighting", and after the user sets a mark for the first time, the user state name can be acquired in the same period of time and geographic position. Of course, for setting the status flag by the user, the system may also provide an option for the user to select, and the specific manner is not limited in the embodiment of the present invention.
And step 260, acquiring the total playing time length of each piece of music in the music playing list corresponding to the position time information.
In the embodiment of the present invention, further, by counting the playing information of each music in the music playlist, for example, each music playing time length and the total music playing time length in a period of time are obtained, and are screened and sorted according to the proportion thereof, specifically, by using the detection function of the music player in the android and the return value of the duration parameter in the mediametadata provider (), the playing time length of the current music is obtained, and by using the time detection function import, sql, timestamp information is obtained at the start and end of music playing through the time detection function import, sql, timestamp information in the android system, and the total music playing time length is obtained.
And 270, adding the music with the total playing time length exceeding a first preset threshold value into a recommended music menu, and naming the recommended music menu by the user state name.
In the embodiment of the invention, if the detected music playing time length in the music list exceeds the preset time, the music is added into the current music playing list, and the music playing list is named according to the current user state, for example, in the time of 6:00 to 10:00, if the GPS location of the user is at home, the recommended default song list name is 'getting up song list', and in the time of 17:00 to 24:00, if the GPS location of the user is on the way of work, the recommendable default song list name is 'getting up song list'.
In practical application, it is needless to say that the song list may be generated by a manner of being actively added by the user, or the music to be added to the current state song list may be determined by a ratio of the playing time of each played song to the total playing time of the music in the state time period, for example, if the total playing time of the music a in the time period from 17:00 to 24:00 is 1 hour, and the total playing time of all the music in the time period from 17:00 to 24:00 is 3 hours, then the music a occupies one third of the total playing time, then the music a is added to the current state song list, and certainly, a threshold value of the ratio may be changed by the user at any time, which does not limit the embodiment of the present invention.
Preferably, in another embodiment of the present invention, the method further comprises:
step 250A, if the recommended music menu fails to be obtained, obtaining the names of music singers in a music play list at a determined position within a first preset time period;
in the embodiment of the present invention, further, by counting the playing information of each music in the music play list, for example, the artist name of each music is obtained, taking android as an example, through a function import android. Acquiring the music information being played, wherein the music information comprises the name of a music singer.
And step 250B, adding the music of which the occurrence frequency of the singer name exceeds a second preset threshold value into a recommended music menu, and naming the recommended music menu by the singer name.
In the embodiment of the invention, when the name of the music player acquired at the same position or interval position in a fixed time period exceeds a second preset threshold, for example, the number of occurrences of the singer in the work trip from the place A to the place B in Monday morning exceeds 5 times, all the singer music played in the time period and the place period is added into the recommended music menu, and the music menu is named as 'song of the Zhou Ji Lun'.
Preferably, in another embodiment of the present invention, the method further comprises:
step 250a, if the recommended music menu fails to be obtained, obtaining style labels of all music in a music play list at a determined position and within a second preset time period;
in the embodiment of the present invention, when the style label name of each music played is obtained at the same position or an interval position within a fixed time period, in general, the music information has style labels, such as "pop music", "classical music", "jazz", and the like, wherein the style labels are obtained through functions import and drop. And acquiring the music information being played, wherein the music information comprises style labels of music.
And step 250b, adding the music of which the frequency of occurrence of the style label exceeds a third preset threshold value into a recommended music menu, and naming the recommended music menu by the name of the style label.
In the embodiment of the present invention, if each piece of music played at the same position or interval position within a fixed time period has the same style label and the number exceeds a third preset threshold, for example, the number of times of "pop music" appearing during work from a point a to a point B in monday morning exceeds 5 times, all pieces of "pop music" played at the time period and the point period are added to the recommended music menu, and the music menu is named as "pop music". Of course, in practical applications, if there are five "pop music" played and the total number of played music is ten within a time period, if the third preset threshold is a percentage and is thirty percent, then the "pop music" played during this time period will be added to the recommended music playlist, and the embodiment of the present invention is not limited thereto.
In the embodiment of the invention, the position time information of the mobile terminal is obtained if the starting operation of the music application on the mobile terminal is detected, wherein the position time information comprises the position information and the time information; acquiring a recommended music menu matched with the position time information; if the music recommending menu is successfully acquired, displaying the music recommending menu, further editing and updating the menu, and if the music recommending menu is failed to be acquired, acquiring a user state name corresponding to the position information and time information of the mobile terminal; acquiring the total playing time length of each music in the music playing list corresponding to the position time information; music with the total playing time exceeding a first preset threshold is added to a recommended music menu, the recommended music menu is named according to the user state name, the recommended music menu is displayed, a music recommendation list can be set for individuation according to the position and time information of the current mobile terminal, and the use experience of a user on a music player is enhanced.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal 300 includes: a location time obtaining module 301, configured to obtain location time information of a mobile terminal if a start operation of a music application on the mobile terminal is detected, where the location time information includes location information and time information;
a recommended music menu obtaining module 302, configured to obtain a recommended music menu matched with the position time information;
a recommended music menu display module 303, configured to display the recommended music menu if obtaining the recommended music menu is successful;
a recommended music menu establishing module 304, configured to establish a recommended music menu according to the position time information of the mobile terminal and the music attribute information during music playing if obtaining the recommended music menu fails.
Referring to fig. 4, the functions of the modules of the mobile terminal 300 and the interaction relationship between the modules will be described in detail.
A location time obtaining module 301, configured to obtain location time information of a mobile terminal if a start operation of a music application on the mobile terminal is detected, where the location time information includes location information and time information;
a recommended music menu obtaining module 302, configured to obtain a recommended music menu matched with the position time information;
a recommended music menu display module 303, configured to display the recommended music menu if obtaining the recommended music menu is successful.
A recommended music menu updating module 305, configured to update the recommended music menu according to an editing operation of the user on the recommended music menu.
A recommended music menu establishing module 304, configured to establish a recommended music menu according to the position time information of the mobile terminal and the music attribute information during music playing if obtaining the recommended music menu fails.
Preferably, the recommended music menu creating module 304 specifically includes:
a user status name obtaining submodule 3041, configured to obtain a user status name corresponding to the mobile terminal location information time information;
a music playing total duration obtaining submodule 3042, configured to obtain each music playing total duration in the music playing list corresponding to the position time information;
the state recommended music menu adding submodule 3043 is configured to add music with a total playing time exceeding a first preset threshold to the recommended music menu, and name the recommended music menu by the user state name.
Preferably, in another embodiment of the present invention, the recommended music menu creating module 304 further includes:
the music singer name acquisition submodule is used for acquiring the names of music singers in the music playlist at a determined position and within a first preset time period;
and the singer recommended music menu adding submodule is used for adding the music of which the occurrence frequency of the singer name exceeds a second preset threshold value into the recommended music menu and naming the recommended music menu by the singer name.
Preferably, in another embodiment of the present invention, the recommended music menu creating module 304 further includes:
the style tag obtaining submodule is used for obtaining style tags of all music in the music play list at a determined position and within a second preset time period;
and the style recommending music menu adding submodule is used for adding the music of which the frequency of occurrence of the style label exceeds a third preset threshold value into the recommending music menu, and naming the recommending music menu by the name of the style label.
In the embodiment of the invention, the recommended music menu is established according to the position time information of the mobile terminal and the music attribute information during music playing, after the music application is started and the acquired position time information of the mobile terminal is passed, the recommended music menu matched with the position time information is further acquired, and the recommended music menu is displayed, so that a corresponding music recommendation list can be displayed for a user according to the position and time information of the current mobile terminal, the beneficial effect of recommending music for the user according to personalized setting is achieved, and the use experience of the user on a music player is enhanced.
Example four
Referring to fig. 5, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504 and user interface 503, and a photographing component 506. The various components in the mobile terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 502 of the subject systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In this embodiment of the present invention, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application program 5022, the processor 501 is configured to, if a start operation of a music application on the mobile terminal is detected, obtain location time information of the mobile terminal, where the location time information includes location information and time information; acquiring a recommended music menu matched with the position time information; if the recommended music menu is successfully acquired, displaying the recommended music menu; and if the music recommending menu fails to be acquired, establishing the music recommending menu according to the position time information of the mobile terminal and the music attribute information during music playing. The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The processor 501 may be a 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, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 501, when establishing the recommended music menu according to the location time information of the mobile terminal and the music attribute information during music playing, is further configured to: acquiring a user state name corresponding to the position information and time information of the mobile terminal; acquiring the total playing time length of each music in the music playing list corresponding to the position time information; and adding the music with the total playing time exceeding a first preset threshold value into a recommended music menu, and naming the recommended music menu by the user state name.
Optionally, the processor 501, when establishing the recommended music menu according to the location time information of the mobile terminal and the music attribute information during music playing, is further configured to: acquiring the names of music singers in a music play list at a determined position and within a first preset time period; and adding the music of which the occurrence frequency of the singer name exceeds a second preset threshold value into a recommended music menu, and naming the recommended music menu by the singer name.
Optionally, the processor 501, when establishing the recommended music menu according to the location time information of the mobile terminal and the music attribute information during music playing, is further configured to: acquiring style labels of music in the music play list at a determined position and within a second preset time period; and adding the music of which the frequency of occurrence of the style label exceeds a third preset threshold value into a recommended music menu, and naming the recommended music menu by the name of the style label.
Optionally, after the step of displaying the recommended music menu if the obtaining of the recommended music menu is successful, the processor 501 is further configured to: and updating the recommended music menu according to the editing operation of the user on the recommended music menu.
Therefore, in the embodiment of the invention, the recommended music menu is established according to the position time information of the mobile terminal and the music attribute information during music playing, after the music application is started and the acquired position time information of the mobile terminal is passed, the recommended music menu matched with the position time information is further acquired, the recommended music menu is displayed, a corresponding music recommendation list can be displayed for a user according to the position and time information of the current mobile terminal, the beneficial effect of recommending music for the user according to personalized setting is achieved, and the use experience of the user on a music player is enhanced.
EXAMPLE five
Fig. 6 shows a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
The mobile terminal of the embodiment of the invention can be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal in fig. 6 includes a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a wifi (wireless fidelity) module 680, and a power supply 690.
The input unit 630 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 by using a finger, a stylus, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, and the other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among them, the display unit 640 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an organic light-emitting diode (OLED).
It should be noted that the touch panel 631 may cover the display panel 641 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 660 to determine the type of the touch event, and then the processor 660 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 660 is a control center of the mobile terminal, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions and processes data of the mobile terminal by operating or executing software programs and/or modules stored in the first memory 621 and calling data stored in the second memory 622, thereby performing overall monitoring of the mobile terminal. Optionally, processor 660 may include one or more processing units.
In the embodiment of the present invention, the processor 660 is configured to, by calling a software program and/or a module stored in the first memory 621 and/or data stored in the second memory 622, obtain location time information of the mobile terminal if a start operation of a music application on the mobile terminal is detected, where the location time information includes location information and time information; acquiring a recommended music menu matched with the position time information; if the recommended music menu is successfully acquired, displaying the recommended music menu; and if the music recommending menu fails to be acquired, establishing the music recommending menu according to the position time information of the mobile terminal and the music attribute information during music playing.
Optionally, the processor 660, when establishing the recommended music menu according to the position time information of the mobile terminal and the music attribute information during music playing, is further configured to: acquiring a user state name corresponding to the position information and time information of the mobile terminal; acquiring the total playing time length of each music in the music playing list corresponding to the position time information; and adding the music with the total playing time exceeding a first preset threshold value into a recommended music menu, and naming the recommended music menu by the user state name.
Optionally, the processor 660, when establishing the recommended music menu according to the position time information of the mobile terminal and the music attribute information during music playing, is further configured to: acquiring the names of music singers in a music play list at a determined position and within a first preset time period; and adding the music of which the occurrence frequency of the singer name exceeds a second preset threshold value into a recommended music menu, and naming the recommended music menu by the singer name.
Optionally, the processor 660, when establishing the recommended music menu according to the position time information of the mobile terminal and the music attribute information during music playing, is further configured to: acquiring style labels of music in the music play list at a determined position and within a second preset time period; and adding the music of which the frequency of occurrence of the style label exceeds a third preset threshold value into a recommended music menu, and naming the recommended music menu by the name of the style label.
Optionally, after the step of displaying the recommended music menu if the obtaining of the recommended music menu is successful, the processor 660 is further configured to: and updating the recommended music menu according to the editing operation of the user on the recommended music menu.
Therefore, in the embodiment of the invention, the recommended music menu is established according to the position time information of the mobile terminal and the music attribute information during music playing, after the music application is started and the acquired position time information of the mobile terminal is passed, the recommended music menu matched with the position time information is further acquired, the recommended music menu is displayed, a corresponding music recommendation list can be displayed for a user according to the position and time information of the current mobile terminal, the beneficial effect of recommending music for the user according to personalized setting is achieved, and the use experience of the user on a music player is enhanced.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a camera device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (6)
1. A music recommendation method is applied to a mobile terminal and is characterized by comprising the following steps:
if the starting operation of the music application on the mobile terminal is detected, acquiring the position time information of the mobile terminal, wherein the position time information comprises position information and time information;
acquiring a recommended music menu matched with the position time information;
if the recommended music menu is successfully acquired, displaying the recommended music menu;
if the music recommending menu is failed to be acquired, establishing a music recommending menu according to the position time information of the mobile terminal and the music attribute information during music playing;
the step of establishing a music recommendation menu according to the position time information of the mobile terminal and the music attribute information during music playing comprises the following steps:
acquiring a user state name corresponding to the position time information of the mobile terminal;
acquiring the total playing time length of each music in the music playing list corresponding to the position time information;
adding music with the total playing time exceeding a first preset threshold value to a recommended music menu, and naming the recommended music menu by the user state name;
wherein, the step of establishing a music recommendation menu according to the position time information of the mobile terminal and the music attribute information during music playing further comprises:
acquiring the names of music singers in a music play list at a determined position and within a first preset time period;
adding music of which the occurrence frequency of the singer name exceeds a second preset threshold value to a recommended music menu, and naming the recommended music menu by the singer name; wherein adding the music of which the singer name appears for more than a second preset threshold to a recommended music menu comprises: and if the acquired name of the singer exceeds the second preset value, adding all the played music of the singer in the first preset time period and the position into the recommended music menu.
2. The method according to claim 1, wherein the step of creating a recommended music menu according to the location time information of the mobile terminal and the music attribute information during music playing comprises:
acquiring style labels of music in the music play list at a determined position and within a second preset time period;
and adding the music of which the frequency of occurrence of the style label exceeds a third preset threshold value into a recommended music menu, and naming the recommended music menu by the name of the style label.
3. The method of claim 1, wherein after the step of presenting the recommended music menu if the step of obtaining the recommended music menu is successful, the method further comprises:
and updating the recommended music menu according to the editing operation of the user on the recommended music menu.
4. A mobile terminal, comprising:
the mobile terminal comprises a position time acquisition module, a position time acquisition module and a time display module, wherein the position time acquisition module is used for acquiring position time information of the mobile terminal if the starting operation of a music application on the mobile terminal is detected, and the position time information comprises position information and time information;
the recommended music menu acquisition module is used for acquiring a recommended music menu matched with the position time information;
the recommended music menu display module is used for displaying the recommended music menu if the recommended music menu is successfully acquired;
the recommended music menu establishing module is used for establishing a recommended music menu according to the position time information of the mobile terminal and the music attribute information during music playing if the recommended music menu is failed to be acquired;
the recommended music menu establishing module comprises:
the user state name acquisition submodule is used for acquiring a user state name corresponding to the position time information of the mobile terminal;
the music playing total duration obtaining submodule is used for obtaining the music playing total durations in the music playing list corresponding to the position time information;
the state recommendation music menu adding submodule is used for adding music with the total playing time exceeding a first preset threshold value into a recommendation music menu and naming the recommendation music menu by the user state name;
the recommended music menu establishing module comprises:
the music singer name acquisition submodule is used for acquiring the names of music singers in the music playlist at a determined position and within a first preset time period;
the singer recommending music menu adding submodule is used for adding music of which the occurrence frequency of the singer name exceeds a second preset threshold value into a recommending music menu and naming the recommending music menu by the singer name; wherein adding the music of which the singer name appears for more than a second preset threshold to a recommended music menu comprises: and if the acquired name of the singer exceeds the second preset value, adding all the played music of the singer in the first preset time period and the position into the recommended music menu.
5. The mobile terminal of claim 4, wherein the recommended music menu creating module comprises:
the style tag obtaining submodule is used for obtaining style tags of all music in the music play list at a determined position and within a second preset time period;
and the style recommending music menu adding submodule is used for adding the music of which the frequency of occurrence of the style label exceeds a third preset threshold value into the recommending music menu, and naming the recommending music menu by the name of the style label.
6. The mobile terminal of claim 4, further comprising:
and the recommended music menu updating module is used for updating the recommended music menu according to the editing operation of the user on the recommended music menu.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710597072.2A CN107463644B (en) | 2017-07-20 | 2017-07-20 | Music recommendation method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710597072.2A CN107463644B (en) | 2017-07-20 | 2017-07-20 | Music recommendation method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107463644A CN107463644A (en) | 2017-12-12 |
CN107463644B true CN107463644B (en) | 2020-09-22 |
Family
ID=60546187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710597072.2A Active CN107463644B (en) | 2017-07-20 | 2017-07-20 | Music recommendation method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107463644B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804538A (en) * | 2018-05-06 | 2018-11-13 | 深圳市保千里电子有限公司 | Music based on the period recommends method |
CN113836324B (en) * | 2020-06-08 | 2024-05-14 | 上海幻电信息科技有限公司 | Information recommendation method, electronic equipment and server |
CN112269896A (en) * | 2020-10-20 | 2021-01-26 | 腾讯音乐娱乐科技(深圳)有限公司 | Method, device and equipment for recommending media data |
CN112966087B (en) * | 2021-03-15 | 2023-10-13 | 中国美术学院 | Intelligent question-answering system and method for inspiration materials |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9154912B2 (en) * | 2009-10-16 | 2015-10-06 | At&T Mobility Ii Llc | Devices and methods for selectively filtering message content |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070096812A (en) * | 2006-03-27 | 2007-10-02 | 소니 가부시끼 가이샤 | Content list display method, content list display apparatus, content selecting and processing method, and content selecting and processing apparatus |
US8060525B2 (en) * | 2007-12-21 | 2011-11-15 | Napo Enterprises, Llc | Method and system for generating media recommendations in a distributed environment based on tagging play history information with location information |
US9454604B2 (en) * | 2013-03-15 | 2016-09-27 | Futurewei Technologies, Inc. | Motion-based music recommendation for mobile devices |
CN103218438B (en) * | 2013-04-18 | 2016-04-20 | 广东欧珀移动通信有限公司 | Method and the mobile terminal of Online Music recommended in broadcasting record based on mobile terminal |
CN104994408A (en) * | 2015-06-25 | 2015-10-21 | 青岛海信电器股份有限公司 | Intelligent television program recommendation method, device and intelligent television |
CN105872790A (en) * | 2015-12-02 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and system for recommending audio/video program |
CN106302678A (en) * | 2016-08-08 | 2017-01-04 | 北京谱思科技有限公司 | A kind of music recommends method and device |
-
2017
- 2017-07-20 CN CN201710597072.2A patent/CN107463644B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9154912B2 (en) * | 2009-10-16 | 2015-10-06 | At&T Mobility Ii Llc | Devices and methods for selectively filtering message content |
Non-Patent Citations (1)
Title |
---|
基于关联规则与奇异值分解的音乐推荐系统;徐淮杰,等;《电子设计工程》;20130131;第21卷(第1期);第17-19页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107463644A (en) | 2017-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106372110B (en) | Recommendation method of application program and mobile terminal | |
CN107357574B (en) | Operation method and mobile terminal | |
CN106131650B (en) | Video processing method and mobile terminal | |
CN107463644B (en) | Music recommendation method and mobile terminal | |
CN106993097B (en) | Music playing method and mobile terminal | |
CN107221347B (en) | Audio playing method and terminal | |
CN106446180B (en) | Song identification method and mobile terminal | |
KR20150071252A (en) | Method and apparatus for controlling a composition of a picture in electronic device | |
CN106354520B (en) | Interface background switching method and mobile terminal | |
US20150317059A1 (en) | Application management method for a mobile terminal and the mobile terminal | |
US10055088B1 (en) | User interface with media content prediction | |
CN106789348B (en) | Network acceleration method, server and client | |
CN107678813B (en) | Desktop icon theme switching method and mobile terminal | |
CN112416205B (en) | Method and device for determining login account | |
CN106250146B (en) | Application demand processing method and device | |
CN107193878B (en) | Automatic naming method of song list and mobile terminal | |
US20160306512A1 (en) | Integrated Media User Interface | |
CN106648329A (en) | Application icon display method and mobile terminal | |
CN108604331B (en) | Information reminding method and mobile device | |
CN106484411A (en) | A kind of method for pushing of mobile terminal wallpaper and mobile terminal | |
CN107562404A (en) | A kind of audio frequency playing method, mobile terminal and computer-readable recording medium | |
CN107577734B (en) | Song collection method and mobile terminal | |
CN107026986A (en) | The processing method and mobile terminal of a kind of video background music | |
JP2015531085A (en) | Music player, automatic skin exchange method and automatic skin exchange system, and computer-readable storage medium | |
CN107016109B (en) | A kind of photo film making method and mobile 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 |