CN107577734B - Song collection method and mobile terminal - Google Patents

Song collection method and mobile terminal Download PDF

Info

Publication number
CN107577734B
CN107577734B CN201710737843.3A CN201710737843A CN107577734B CN 107577734 B CN107577734 B CN 107577734B CN 201710737843 A CN201710737843 A CN 201710737843A CN 107577734 B CN107577734 B CN 107577734B
Authority
CN
China
Prior art keywords
song
mobile terminal
identification information
collection
server
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
CN201710737843.3A
Other languages
Chinese (zh)
Other versions
CN107577734A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710737843.3A priority Critical patent/CN107577734B/en
Publication of CN107577734A publication Critical patent/CN107577734A/en
Application granted granted Critical
Publication of CN107577734B publication Critical patent/CN107577734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a song collection method and a mobile terminal, relates to the technical field of communication, and solves the problems of poor song listening experience and inconvenience in use of a user. The song collection method is applied to the mobile terminal and comprises the following steps: if the first song currently played is detected, acquiring identification information of the first song; if the mobile terminal receives an operation instruction of collecting songs, reading the identification information; according to the identification information, matching is carried out in a server which establishes data connection with the mobile terminal; if the first song matched with the identification information is acquired in the server, the first song is collected to a public collection list of the mobile terminal; wherein the identification information includes a song name and a singer name of the first song. The song collection method is applied to the mobile terminal.

Description

Song collection method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a song collection method and a mobile terminal.
Background
Currently, there are many kinds of music software in mobile terminals, through which users can browse and download online music and create some song lists to collect or classify songs of interest to themselves. Many people who love music use more than 2 types of music software to ensure that the obtained songs are more comprehensive and richer due to the differences of copyright limitation, operation activities and the like.
Generally, songs collected by a user are scattered in different music software, when the user uses one music software, the user can only see data such as song listening records and song lists in the music software, but cannot obtain data such as song listening records and song lists in other music software, so that the user experience of listening to songs is poor, and the use is inconvenient.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide a song collection method and a mobile terminal, so as to solve the problems of poor song listening experience and inconvenience in use of a user.
In a first aspect, to solve the above problem, the present invention discloses a method for collecting songs, which is applied to a mobile terminal and includes: if the first song currently played is detected, acquiring identification information of the first song; if the mobile terminal receives an operation instruction of collecting songs, reading the identification information; according to the identification information, matching is carried out in a server which establishes data connection with the mobile terminal; if the first song matched with the identification information is acquired in the server, the first song is collected to a public collection list of the mobile terminal; wherein the identification information includes a song name and a singer name of the first song.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, configured to ensure implementation and application of the foregoing method, where the method includes: the identification information acquisition module is used for acquiring identification information of a first song if the first song currently played is detected; the collection instruction receiving module is used for reading the identification information if the mobile terminal receives an operation instruction for collecting songs; the song matching module is used for matching in a server which establishes data connection with the mobile terminal according to the identification information; the collection module is used for collecting the first song into a public collection list of the mobile terminal if the first song matched with the identification information is obtained in the server; wherein the identification information includes a song name and a singer name of the first song.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a processing program of a song collection stored on the memory and executable on the processor, where the processing program of the song collection is executed by the processor to implement the steps of the method for song collection according to the first aspect.
Compared with the prior art, the embodiment of the invention has the following advantages:
the method comprises the steps of acquiring identification information related to a first song when the mobile terminal is detected to play the first song, inputting an operation instruction for collecting the song on the mobile terminal by a user in the playing process, reading the acquired identification information if the mobile terminal receives the operation instruction for collecting the song at a certain moment when the song is played, searching the song matched with the identification information in a server according to the identification information, and when the song is matched, indicating that the first song which is played currently is found in the server, so that the first song is collected in a public collection list of the mobile terminal, and the collection of the first song is completed. Therefore, no matter which music software plays the songs can be collected in the public collection list, the user can uniformly operate favorite songs on the public collection list, such as downloading, sharing and the like, better song listening experience is brought to the user, and the use of the user is facilitated.
Drawings
FIG. 1 is one of a flow chart of a method of song collection of an embodiment of the present invention;
FIG. 2 is a second flowchart of a song collection method according to an embodiment of the invention;
FIG. 3 is a third flowchart of a method of song collection according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart of a method of song collection according to an embodiment of the present invention;
FIG. 5 is one of the block diagrams of a mobile terminal of an embodiment of the present invention;
fig. 6 is a second block diagram of the mobile terminal according to the embodiment of the present invention;
fig. 7 is a third block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a fourth block diagram of a mobile terminal of an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core ideas of the embodiment of the invention is that when a user plays songs by using the mobile terminal, the songs in different music software can be integrated together for unified operation, so that the user's experience of listening to the songs is improved, and the user can use the music software conveniently.
Example one
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for collecting songs according to the present invention is shown, and the method is applied to a mobile terminal, and specifically includes the following steps:
step S1: and if the first song currently played is detected, acquiring the identification information of the first song.
In this step, the mobile terminal may detect whether music software is playing a song currently in real time, and if it is detected that one of the music software is playing a first song at a certain time, obtain identification information of the first song. Meanwhile, when the music software plays the first song, the music software displays a playing control in the notification center. The notification center can display a plurality of playing controls of the music software, but only one music software is in a playing state. As a reference, the identification information may include a song name and a singer name, etc. of the first song to identify the first song by the song name and the singer name, etc.
Step S2: and if the mobile terminal receives an operation instruction of collecting the songs, reading the identification information.
In the process of playing the first song by the music software, if the user wants to collect the song, an operation instruction for collecting the song may be input on the mobile terminal, and when the mobile terminal receives the operation instruction for collecting the song input on the mobile terminal by the user, the identification information of the first song acquired in step S1 is read.
Step S3: and according to the identification information, matching is carried out in a server which establishes data connection with the mobile terminal.
After the identification information is acquired in step S2, the first song matching the identification information is found in this step based on the content in the identification information. The matching can be performed in a server having a data connection with the mobile terminal, for example, the server for data interaction with the music software includes an online music library and a local music library, and the online music library and the local music library include a large number of songs, so that the first song matched with the identification information can be searched in the music libraries.
Step S4: and if the first song matched with the identification information is acquired in the server, the first song is collected to a public collection list of the mobile terminal.
In the step, a public favorite list is established in the mobile terminal, so that after the first song is matched, the matched first song is directly collected in the public favorite list, and the user can download, share and the like the first song in the public favorite list. Wherein the public favorites list may be a favorites list in a system player of the mobile terminal.
In the embodiment of the invention, when the mobile terminal detects that a certain music software is playing a first song currently, the identification information of the first song is acquired, so that after the operation instruction of collecting the songs input by a user is received, the identification information is read, the first song consistent with the identification information is matched in the server according to the identification information, and after the first song is matched, the first song is directly collected to the public collection list, so that the user can collect the songs in different music software in the public collection list, download, share and the like of the collected songs in the public collection list.
Referring to fig. 2, after the identification information is acquired, some processing may be performed on the identification information to facilitate reading of the identification information, for example, the following steps may be added after step S1:
step S5: and generating a notification message according to the identification information.
The generated notification message includes identification information.
Step S6: and sending the notification message to a status bar of the mobile terminal.
In the scheme, the acquired identification information is presented in a status bar of the mobile terminal in a form of a notification message, so that after the mobile terminal receives an instruction of collecting songs, the operation processing is directly performed from the status bar.
Accordingly, step S2 may include:
step S21: and if receiving an instruction of collecting songs input by the user on the mobile terminal, reading the identification information from the notification message.
In this step, after receiving the operation instruction of collecting songs on the mobile terminal, the identification information is directly extracted from the notification message in the status bar to read the identification information.
Referring to fig. 3, in order to implement the collection of the first song in the public collection list, step S4 may include:
step S41: and if the first song is matched in the server, acquiring the identification code of the first song in the server.
In this step, if the first song is matched, a unique identifier of the first song in the server is obtained, where the unique identifier may be an IDentity Identifier (ID) to identify the first song in the server according to the ID of the first song.
Step S42: an identification code is marked on the first song.
In this step, the acquired ID is attached to the first song, integrally with the first song.
Step S43: and collecting the first song to a public collection list of the mobile terminal.
The method comprises the steps that a first song with an ID is collected to a public collection list of the mobile terminal, when a user operates the first song in the public collection list, the ID of the first song is matched with the ID of the first song in the server, and data connection is established between the mobile terminal and the server, so that the first song can be normally played, downloaded, shared, added to a song list and the like in the public collection list.
Referring to fig. 4, the operation instruction for inputting the favorite song may include various forms, for example, a button for inputting the favorite song may be touched on a display interface on which the song is played to input the operation instruction for the favorite song. In the embodiment, the operation instruction form for inputting the collected songs is provided, which is convenient and simple to operate. Correspondingly, step S2 may further include:
step S22: and if the mobile terminal receives a gesture operation instruction for collecting the songs, reading the identification information.
In the step, the gesture operation instruction of the collected songs can be directly input on an interface of the mobile terminal, particularly a screen locking interface, so that the input of the operation instruction of the collected songs is completed. When a song is played, in order to save electric quantity and the like, a display screen of the mobile terminal is usually positioned on a screen locking interface, and at the moment, a user wants to collect the currently played song, a gesture can be directly input on the screen locking interface, and after the gesture is recognized by the mobile terminal, the operation of collecting the song is executed. Wherein the gesture of collecting songs can be set by the user, for example, the gesture of collecting songs can be a heart-shaped gesture. The scheme reduces the action of opening the display screen by the user and even the action of entering the music software, so that the songs are more convenient to collect, and the song listening experience of the user is further improved.
Preferably, the server may include a local song library and a network song library, and different songs in different song libraries each have a unique ID.
After the mobile terminal receives the command of collecting the songs, the read identification information can be recorded into the local song library and the network song library to be compared with the identification information of each song in the local song library and the network song library, so that the first song can be searched in the local song library and the network song library.
It should be noted that the method in the embodiment of the present invention may be used not only to collect songs in each music software, but also to integrate recently played records in each music software, so that a user may operate all recently played songs in a common list.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Example two
Referring to fig. 5, a block diagram of a mobile terminal according to an embodiment of the present invention is shown, which specifically includes the following modules:
an identification information obtaining module 10, configured to obtain identification information of a first song if it is detected that the first song is currently played;
the collection instruction receiving module 20 is configured to, if the mobile terminal receives an operation instruction for collecting songs, obtain the identification information;
a song matching module 30 for matching in the server establishing data connection with the mobile terminal according to the identification information;
the collection module 40 is configured to collect the first song to a public collection list of the mobile terminal if the first song matching the identification information is acquired in the server;
wherein the identification information includes a song name and a singer name of the first song.
In the embodiment of the present invention, when the mobile terminal detects that a certain music software is currently playing a first song, the identification information obtaining module 10 obtains the identification information of the first song, so that the collection instruction receiving module 20 reads the identification information after receiving an operation instruction for collecting songs input by a user, so that the song matching module 30 matches the first song consistent with the identification information in the server according to the identification information, and after the first song is matched, the collection module 40 directly collects the first song to the public collection list, so that the user can collect songs in different music software in the public collection list, so as to download and share the collected songs in the public collection list, compared with the case that only the songs in the music software can be operated in one music software, the experience of listening to the songs of the user is greatly improved, the use of the user is more convenient.
Specifically, the identification information obtaining module 10 may be configured to implement step S1 in the first embodiment, the collection instruction receiving module 20 may be configured to implement step S2 in the first embodiment, the song matching module 30 may be configured to implement step S3 in the first embodiment, and the collection module 40 may be configured to implement step S4 in the first embodiment.
Referring to fig. 6, further, the mobile terminal may further include:
a notification message generating module 50 for generating a notification message according to the identification information;
and a notification message sending module 60, configured to send a notification message to the status bar of the mobile terminal.
Correspondingly, the collection instruction receiving module 20 may include:
and the identification information extraction unit 21 is used for reading the identification information from the notification message when the mobile terminal receives an operation instruction of collecting songs.
Specifically, the notification message generating module 50 may be configured to implement step S5 in the first embodiment, the notification message sending module 60 may be configured to implement step S6 in the first embodiment, and the identification information extracting unit 21 may be configured to implement step S21 in the first embodiment.
With continued reference to FIG. 6, the stowage module 40 may include:
an identification code obtaining unit 41, configured to obtain an identification code of the first song in the server if the first song is matched in the server;
an identification code labeling unit 42 for labeling the identification code on the first song;
and a collection executing unit 43, configured to collect the first song into a public collection list of the mobile terminal.
Specifically, the identifier obtaining unit 41 may be configured to implement the step S41 in the first embodiment, the identifier marking unit 42 may be configured to implement the step S42 in the first embodiment, and the collection executing unit 43 may be configured to implement the step S43 in the first embodiment.
Referring to fig. 7, in another aspect, the collection instruction receiving module 20 may include:
and the gesture receiving unit 22 is configured to read the identification information if the mobile terminal receives a gesture operation instruction for collecting the songs.
Particularly, the gesture receiving unit 22 can be used to implement the step S22 in the first embodiment, and therefore, the beneficial effects in this embodiment can be seen in the corresponding parts in the first embodiment, which are not described herein again.
As a reference, the server includes a local library and a network library.
Another embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a processing program stored in the memory and capable of being executed on the processor, where the processing program of song collection is executed by the processor to implement the processes of the above embodiments of the method of song collection, and can achieve the same technical effects, and therefore, in order to avoid repetition, the details are not repeated here.
Another embodiment of the present invention further provides a computer-readable storage medium, where a processing program for song collection is stored on the computer-readable storage medium, and when being executed by a processor, the processing program for song collection implements the processes of the above embodiments of the method for song collection, and can achieve the same technical effects, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 8 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 700 shown in fig. 8 includes: at least one processor 701, memory 702, at least one network interface 704, and other user interfaces 703. The various components in the mobile terminal 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 8 as the bus system 705.
The user interface 703 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 702 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 DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 702 of the systems and methods described in this embodiment of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the mobile terminal 700 further includes: a processing program of a song collection stored on the memory 702 and executable on the processor 701, specifically, a processing program of a song collection in the application 7022, which when executed by the processor 701 implements the steps of: if the first song currently played is detected, acquiring identification information of the first song; if the mobile terminal receives an operation instruction for collecting songs, reading the identification information; according to the identification information, matching is carried out in a server which establishes data connection with the mobile terminal; if the first song matched with the identification information is acquired in the server, the first song is collected to a public collection list of the mobile terminal; wherein the identification information includes a song name and a singer name of the first song.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The processor 701 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 modules may reside in ram, flash memory, rom, prom, or eprom, registers, among other computer-readable storage media known in the art. The computer readable storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and performs the steps of the above method in combination with the hardware thereof. In particular, the computer readable storage medium has stored thereon a processing program of a song collection, which when executed by the processor 701 implements the steps of an embodiment of the method of any of the song collections described above.
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 processing program of the song collection may further implement the following steps when executed by the processor 701: generating a notification message according to the identification information; sending the notification message to a status bar of the mobile terminal; and if the mobile terminal receives an operation instruction of collecting songs, reading the identification information from the notification message.
Optionally, the processing program of the song collection may further implement the following steps when executed by the processor 701: if the first song is matched in the server, acquiring an identification code of the first song in the server; marking the identification code on the first song; and collecting the first song to a public collection list of the mobile terminal.
Optionally, as another embodiment, the processing program of the song collection may further implement the following steps when being executed by the processor 701: and if the mobile terminal receives a gesture operation instruction for collecting songs, reading the identification information.
The mobile terminal 700 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
In the embodiment of the invention, when the mobile terminal detects that a certain music software is playing a first song currently, the identification information of the first song is acquired, so that after the operation instruction of collecting the songs input by a user is received, the identification information is read, the first song consistent with the identification information is matched in the server according to the identification information, and after the first song is matched, the first song is directly collected to the public collection list, so that the user can collect the songs in different music software in the public collection list, download, share and the like of the collected songs in the public collection list.
Fig. 9 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 800 in fig. 9 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 800 in fig. 9 includes a Radio Frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a processor 860, an audio circuit 870, a wifi (wirelessfidelity) module 880, and a power supply 880.
The input unit 830 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 800. Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831. The touch panel 831, also referred to as a touch screen, can collect touch operations performed by a user on or near the touch panel 831 (e.g., operations performed by the user on the touch panel 831 using a finger, a stylus, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 831 may include two portions, i.e., 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 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 831, the input unit 830 may include other input devices 832, and the other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 840 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800. The display unit 840 may include a display panel 841, and the display panel 841 may be alternatively configured in the form of an LCD or an organic light-emitting diode (OLED), or the like.
It should be noted that the touch panel 831 can overlay the display panel 841 to form a touch display screen, which, when it detects a touch operation thereon or nearby, is passed to the processor 860 to determine the type of touch event, and then the processor 860 provides a corresponding visual output on the touch display screen according to the type of 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 860 is a control center of the mobile terminal 800, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 800 and processes data by operating or executing software programs and/or modules stored in the first memory 821 and calling data stored in the second memory 822, thereby integrally monitoring the mobile terminal 800. Optionally, processor 860 may include one or more processing units.
In this embodiment of the present invention, the mobile terminal 800 further includes: a processing program for a song collection stored in memory 820 and executable on processor 860, in particular a processing program for a song collection in an application program, which when executed by processor 860 performs the steps of:
if the first song currently played is detected, acquiring identification information of the first song; if the mobile terminal receives an operation instruction for collecting songs, reading the identification information; according to the identification information, matching is carried out in a server which establishes data connection with the mobile terminal; if the first song matched with the identification information is acquired in the server, the first song is collected to a public collection list of the mobile terminal; wherein the identification information includes a song name and a singer name of the first song.
Optionally, the processing program of the song collection may further implement the following steps when executed by the processor 860: generating a notification message according to the identification information; sending the notification message to a status bar of the mobile terminal; and if the mobile terminal receives an operation instruction of collecting songs, reading the identification information from the notification message.
Optionally, as another embodiment, the processing program of the song collection when executed by the processor 860 may further implement the following steps: if the first song is matched in the server, acquiring an identification code of the first song in the server; marking the identification code on the first song; and collecting the first song to a public collection list of the mobile terminal.
Optionally, as another embodiment, the processing program of the song collection when executed by the processor 860 may further implement the following steps: and if the mobile terminal receives a gesture operation instruction for collecting songs, reading the identification information.
In the embodiment of the invention, when the mobile terminal detects that a certain music software is playing a first song currently, the identification information of the first song is acquired, so that after the operation instruction of collecting the songs input by a user is received, the identification information is read, the first song consistent with the identification information is matched in the server according to the identification information, and after the first song is matched, the first song is directly collected to the public collection list, so that the user can collect the songs in different music software in the public collection list, download, share and the like of the collected songs in the public collection list.
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 or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a computer-readable storage medium, which 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 computer-readable storage media comprise: 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 (9)

1. A song collection method is applied to a mobile terminal and is characterized by comprising the following steps:
if the first song currently played is detected, acquiring identification information of the first song;
if the mobile terminal receives an operation instruction of collecting songs, reading the identification information;
according to the identification information, matching is carried out in a server which establishes data connection with the mobile terminal;
if the first song matched with the identification information is acquired in the server, the first song is collected to a public collection list of the mobile terminal;
if the first song matched with the identification information is acquired in the server, the step of collecting the first song to a public collection list of the mobile terminal comprises the following steps:
if the first song is matched in the server, acquiring an identification code of the first song in the server;
marking the identification code on the first song;
collecting the first song attached with the identification code into a public collection list of the mobile terminal;
wherein the method further comprises:
integrating the playing record of at least one piece of music software into a public list of the mobile terminal;
after the step of collecting the first song in a common collection list of the mobile terminal, the method further comprises:
receiving operation of a user on the first song in the public favorite list;
and responding to the operation, and performing at least one function of playing, downloading, sharing and adding to a song list aiming at the first song.
2. The method of claim 1, wherein after the step of obtaining the identification information of the first song if the currently playing first song is detected, the method further comprises:
generating a notification message according to the identification information;
sending the notification message to a status bar of the mobile terminal;
if the mobile terminal receives an operation instruction of collecting songs, the step of reading the identification information comprises the following steps:
and if the mobile terminal receives an operation instruction of collecting songs, reading the identification information from the notification message.
3. The method of claim 1, wherein the step of reading the identification information if the mobile terminal receives an operation instruction for collecting songs comprises:
and if the mobile terminal receives a gesture operation instruction for collecting songs, reading the identification information.
4. A method of song collection according to any one of claims 1 to 3, wherein the server comprises a local song library and a network song library.
5. A mobile terminal, comprising:
the identification information acquisition module is used for acquiring identification information of a first song if the first song currently played is detected;
the collection instruction receiving module is used for reading the identification information if the mobile terminal receives an operation instruction for collecting songs;
the song matching module is used for matching in a server which establishes data connection with the mobile terminal according to the identification information;
the collection module is used for collecting the first song into a public collection list of the mobile terminal if the first song matched with the identification information is obtained in the server;
the collection module comprises:
an identification code obtaining unit, configured to obtain an identification code of the first song in the server if the first song is matched in the server;
an identification code labeling unit, configured to label the identification code on the first song;
the collection execution unit is used for collecting the first song with the identification code attached to a public collection list of the mobile terminal;
wherein the mobile terminal is further configured to:
integrating the playing record of at least one piece of music software into a public list of the mobile terminal;
the mobile terminal is further configured to:
receiving operation of a user on the first song in the public favorite list;
and responding to the operation, and performing at least one function of playing, downloading, sharing and adding to a song list aiming at the first song.
6. The mobile terminal of claim 5, further comprising:
the notification message generating module is used for generating a notification message according to the identification information;
the notification message sending module is used for sending the notification message to a status bar of the mobile terminal;
the collection instruction receiving module comprises:
and the identification information extraction unit is used for reading the identification information from the notification message if the mobile terminal receives an operation instruction of collecting songs.
7. The mobile terminal of claim 5, wherein the collection instruction receiving module comprises:
and the gesture receiving unit is used for reading the identification information if the mobile terminal receives a gesture operation instruction of the collected songs.
8. A mobile terminal according to any of claims 5 to 7, wherein the server comprises a local library and a network library.
9. A mobile terminal, characterized in that it comprises a processor, a memory, a processing program of a song collection stored on said memory and executable on said processor, said processing program of a song collection implementing the steps of the method of a song collection according to any one of claims 1 to 4 when executed by said processor.
CN201710737843.3A 2017-08-24 2017-08-24 Song collection method and mobile terminal Active CN107577734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710737843.3A CN107577734B (en) 2017-08-24 2017-08-24 Song collection method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710737843.3A CN107577734B (en) 2017-08-24 2017-08-24 Song collection method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107577734A CN107577734A (en) 2018-01-12
CN107577734B true CN107577734B (en) 2021-03-02

Family

ID=61034872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710737843.3A Active CN107577734B (en) 2017-08-24 2017-08-24 Song collection method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107577734B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112449218A (en) * 2019-09-03 2021-03-05 西安诺瓦星云科技股份有限公司 Log processing method and device, terminal player and server
CN111665936A (en) * 2020-05-19 2020-09-15 维沃移动通信有限公司 Music collection method and device, electronic equipment and medium
CN112286421A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 Playlist processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002020A (en) * 2012-11-15 2013-03-27 广州酷狗计算机科技有限公司 Method and system for sharing music
CN103678388A (en) * 2012-09-19 2014-03-26 腾讯科技(深圳)有限公司 Online music recommendation method and device
CN105373585A (en) * 2015-10-14 2016-03-02 小米科技有限责任公司 Song collection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678388A (en) * 2012-09-19 2014-03-26 腾讯科技(深圳)有限公司 Online music recommendation method and device
CN103002020A (en) * 2012-11-15 2013-03-27 广州酷狗计算机科技有限公司 Method and system for sharing music
CN105373585A (en) * 2015-10-14 2016-03-02 小米科技有限责任公司 Song collection method and device

Also Published As

Publication number Publication date
CN107577734A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN106126077B (en) Display control method of application program icons and mobile terminal
CN107357574B (en) Operation method and mobile terminal
CN107678644B (en) Image processing method and mobile terminal
CN106131650B (en) Video processing method and mobile terminal
CN107219988B (en) Interface operation guiding method and mobile terminal
CN106446180B (en) Song identification method and mobile terminal
CN107741820B (en) Input method keyboard display method and mobile terminal
CN106339436B (en) Picture-based shopping method and mobile terminal
CN107221347B (en) Audio playing method and terminal
CN106445392A (en) Operating method of status bar icon and mobile terminal
CN107665434B (en) Payment method and mobile terminal
CN107577734B (en) Song collection method and mobile terminal
CN107229396B (en) Mobile terminal application icon hiding method and mobile terminal
CN106874046B (en) Application program operation method and mobile terminal
CN107103224B (en) Unlocking method and mobile terminal
CN106408289B (en) Payment page switching method and mobile terminal
CN107479822B (en) Information input method and terminal
WO2019015581A1 (en) Text deletion method and mobile terminal
CN106599246B (en) Display content interception method, mobile terminal and control server
CN106775378B (en) Method for determining candidate words of input method and mobile terminal
CN107632854A (en) A kind of screenshotss processing method and mobile terminal
CN111694490B (en) Setting method and device and electronic equipment
CN107678813B (en) Desktop icon theme switching method and mobile terminal
CN107632761B (en) Display content viewing method, mobile terminal and computer readable storage medium
CN107463644B (en) Music recommendation 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