CN110704671A - Music playing control method, device and storage medium - Google Patents

Music playing control method, device and storage medium Download PDF

Info

Publication number
CN110704671A
CN110704671A CN201910988057.XA CN201910988057A CN110704671A CN 110704671 A CN110704671 A CN 110704671A CN 201910988057 A CN201910988057 A CN 201910988057A CN 110704671 A CN110704671 A CN 110704671A
Authority
CN
China
Prior art keywords
music
unit
information
playlist
terminal
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.)
Granted
Application number
CN201910988057.XA
Other languages
Chinese (zh)
Other versions
CN110704671B (en
Inventor
罗佳晨
傅成彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910988057.XA priority Critical patent/CN110704671B/en
Publication of CN110704671A publication Critical patent/CN110704671A/en
Application granted granted Critical
Publication of CN110704671B publication Critical patent/CN110704671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The application provides a music playing control method, a music playing control device and a storage medium, relates to the technical field of automatic control, and is used for simplifying the music playing control process. The method comprises the following steps: the object sends a music playing request comprising music indication information to the server through the terminal; the server acquires a primary control list comprising the music unit information of at least one music unit according to the music indication information, acquires a secondary play list of the target music list according to the primary control list, and sends the music unit information of the target music unit and the secondary play list to the terminal; and the terminal displays the received music unit information and the secondary playlist and plays music corresponding to the music information in the secondary playlist. In the method, the server directly acquires the secondary playlist and sends the secondary playlist to the terminal after receiving the music instruction information, so that the terminal can directly play the music corresponding to the music information in the secondary playlist, and the process of music playing control is simplified.

Description

Music playing control method, device and storage medium
Technical Field
The present application relates to computer technologies, and in particular, to the technical field of music playing control, and in particular, to a music playing control method, apparatus, and storage medium.
Background
In the intelligent music playing system, a user can interact with a terminal playing music and a server providing music data through some user interfaces, when the user requests to play music, the user, the terminal and the server need to interact for many times, so that the terminal can obtain a music list and play the music.
Disclosure of Invention
The embodiment of the application provides a music playing control method, a music playing control device and a storage medium, which are used for simplifying music playing control.
In a first aspect of the present application, a music playing control method is provided, including:
receiving a music playing request sent by an object through a terminal, wherein the music playing request comprises music indicating information;
acquiring a primary playlist according to the music instruction information, wherein the primary playlist comprises music unit information of at least one music unit;
acquiring a secondary playlist of a target music unit according to the primary playlist, wherein the target music unit comprises at least one music unit corresponding to the music unit information, and the secondary playlist comprises at least one music information of music;
and sending the music unit information of the target music unit and the secondary playlist to a terminal so that the terminal displays the music unit information of the target music unit and the secondary playlist thereof and plays music corresponding to the music information in the secondary playlist.
In one possible implementation, the method further includes:
receiving a next music playing request sent by a terminal, wherein the next music playing request comprises music information of currently played music of the terminal;
if the music playing of the target music unit is determined to be finished according to the next music playing request, reselecting the music unit as a new target music unit according to the primary playlist, and acquiring a secondary playlist of the new target music unit;
and sending the music unit information of the new target music unit and the secondary playlist to a terminal so that the terminal displays the music unit information of the new target music unit and the secondary playlist and plays music corresponding to the music information in the new secondary playlist.
In one possible implementation, the method further includes:
acquiring first-played music data corresponding to music unit information of a designated sequence in a secondary play list of the target music unit; and
and sending the first broadcast music data to the terminal so that the terminal plays the first broadcast music according to the first broadcast music data.
In a possible implementation manner, the method specifically includes:
acquiring a secondary playlist of the music units corresponding to the information of each music unit in the primary playlist;
sending the music unit information of the target music unit and the secondary playlist to a terminal, specifically comprising:
and sending the primary playlist and the secondary playlists of the music units to the terminal so that the terminal determines the next music unit after the music playing of the current music unit is finished according to the primary playlist and continues to play the music according to the secondary playlist corresponding to the next music unit.
In one possible implementation, the method further includes:
acquiring first-played music data corresponding to music information in each secondary playlist according to the secondary playlists of each music unit; and
and sending the acquired data of each first-broadcast music to the terminal so that the terminal plays the first-broadcast music of each music unit according to the data of each first-broadcast music.
In a second aspect of the present application, there is provided a music piece playing control method, including:
receiving a music playing request indicated by an object and sending the music playing request to a server, wherein the music playing request comprises music indicating information;
receiving music piece unit information of a target music piece unit and a secondary playlist, wherein the secondary playlist is a list of the music piece information comprising at least one music piece, the primary playlist is a list of the music piece unit information comprising at least one music piece unit acquired by the server according to the music piece indicating information, and the target music piece unit comprises at least one music piece unit corresponding to the music piece unit information;
and displaying the music unit information of the target music unit and the secondary playlist thereof, and playing the music corresponding to the music information in the secondary playlist.
In one possible implementation, the method further includes:
sending a next music playing request to a server, wherein the next music playing request comprises music information of currently played music of the terminal;
and receiving and playing next music data of the target music unit, or receiving music unit information and a secondary playlist of a new target music unit, displaying the music unit information and the secondary playlist of the new target music unit, and playing music corresponding to the music information in the new secondary playlist, wherein the new target music unit is the music unit reselected by the server according to the primary playlist.
In one possible implementation, the method further includes:
and receiving first-played music data sent by a server, and playing the first-played music of the target music unit according to the first-played music data, wherein the first-played music data is music data corresponding to music unit information of a designated sequence in a secondary playlist of the target music unit acquired by the server.
In one possible implementation manner, the receiving the musical composition unit information of the target musical composition unit and the secondary playlist specifically includes:
receiving a primary playlist and a secondary playlist of each musical composition unit;
displaying the music unit information of the target music unit and the secondary playlist thereof, and playing the music corresponding to the music information in the secondary playlist, specifically comprising:
and displaying the primary play list and the secondary play lists of all the music units, determining a next music unit after the music playing of the current music unit is finished according to the primary play list, and continuing to play the music according to the secondary play list corresponding to the next music unit.
In one possible implementation, the method further includes:
receiving first-played music data corresponding to the music information in the secondary play list of each music unit;
and playing the first playing music of each music unit according to the data of each first playing music.
In a third aspect of the present application, there is provided a music playback control apparatus including:
the request receiving unit is used for receiving a music playing request sent by an object through a terminal, wherein the music playing request comprises music indicating information;
the primary play list acquisition unit is used for acquiring a primary play list according to the music instruction information, and the primary play list comprises music unit information of at least one music unit;
the secondary playlist acquisition unit is used for acquiring a secondary playlist of a target music unit according to the primary playlist, the target music unit comprises at least one music unit corresponding to the music unit information, and the secondary playlist comprises at least one music information of music;
and the playlist sending unit is used for sending the music unit information of the target music unit and the secondary playlist to the terminal so that the terminal displays the music unit information of the target music unit and the secondary playlist thereof and plays music corresponding to the music information in the secondary playlist.
In one possible implementation, the apparatus further includes a music switching unit configured to:
receiving a next music playing request sent by a terminal, wherein the next music playing request comprises music information of currently played music of the terminal;
if the music playing of the target music unit is determined to be finished according to the next music playing request, reselecting the music unit as a new target music unit according to the primary playlist, and acquiring a secondary playlist of the new target music unit;
and sending the music unit information of the new target music unit and the secondary playlist to a terminal so that the terminal displays the music unit information of the new target music unit and the secondary playlist and plays music corresponding to the music information in the new secondary playlist.
In a possible implementation manner, the playlist sending unit is further configured to:
acquiring first-played music data corresponding to music unit information of a designated sequence in a secondary play list of the target music unit; and
and sending the first broadcast music data to the terminal so that the terminal plays the first broadcast music according to the first broadcast music data.
In a possible implementation manner, the secondary playlist acquiring unit is specifically configured to:
acquiring a secondary playlist of the music units corresponding to the information of each music unit in the primary playlist;
the playlist sending unit is specifically configured to send the primary playlist and the secondary playlists of the music units to the terminal, so that the terminal determines a next music unit after the music playing of the current music unit is finished according to the primary playlist, and continues to play music according to the secondary playlist corresponding to the next music unit.
In a possible implementation manner, the playlist sending unit is further configured to:
acquiring first-played music data corresponding to music information of each sub-playlist according to the sub-playlists of each music unit; and
and sending the acquired data of each first-broadcast music to the terminal so that the terminal plays the first-broadcast music of each music unit according to the data of each first-broadcast music.
In a fourth aspect of the present application, there is provided a music playback control apparatus including:
the request sending unit is used for receiving a music playing request indicated by the object and sending the music playing request to the server, wherein the music playing request comprises music indicating information;
the system comprises a playlist receiving unit, a secondary playlist and a server, wherein the playlist receiving unit is used for receiving music unit information of a target music unit and the secondary playlist, the secondary playlist is a list of the music information comprising at least one music, the primary playlist is a list of the music unit information comprising at least one music unit acquired by the server according to music indication information, and the target music unit comprises at least one music unit corresponding to the music unit information;
and the music playing unit is used for displaying the music unit information of the target music unit and the secondary playlist thereof and playing the music corresponding to the music information in the secondary playlist.
In one possible implementation, the apparatus further includes a music switching unit configured to:
sending a next music playing request to a server, wherein the next music playing request comprises music information of currently played music of the terminal;
and receiving and playing next music data of the target music unit, or receiving music unit information and a secondary playlist of a new target music unit, displaying the music unit information and the secondary playlist of the new target music unit, and playing music corresponding to the music information in the new secondary playlist, wherein the new target music unit is the music unit reselected by the server according to the primary playlist.
In a possible implementation manner, the music playing unit is further configured to receive first-played music data sent by the server, and play the first-played music of the target music unit according to the first-played music data, where the first-played music data is music data corresponding to music unit information of a specified ordinal position in a secondary playlist of the target music unit acquired by the server.
In a possible implementation manner, the playlist receiving unit is specifically configured to:
receiving a primary playlist and a secondary playlist of each musical composition unit;
the music playing unit is specifically used for displaying the primary play list and the secondary play lists of all the music units, determining a next music unit after the music playing of the current music unit is finished according to the primary play list, and continuing to play the music according to the secondary play list corresponding to the next music unit.
In one possible implementation manner, the playlist receiving unit is further configured to:
receiving first-played music data corresponding to the music information in the secondary play list of each music unit;
and playing the first playing music of each music unit according to the data of each first playing music.
In a fifth aspect of the present application, there is provided a computer readable storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the method according to the first or second aspect.
The embodiment of the application at least has the following beneficial effects:
after receiving the music playing request of the terminal, the server sends the music unit information of the target music unit and the secondary playlist together, so that the terminal side can directly obtain music data to be played from the server according to the secondary playlist, and the user does not need to send the music playing request to the server through the terminal again, thereby reducing the interaction times between the user and the terminal and between the terminal and the server, and simplifying the process of music playing control.
Further, after the music playing of the current target music unit is finished, the server can select other music units as new target music units according to the request of the terminal and the primary playlist, and obtain the secondary playlist of the new target music units to send to the terminal, so that the terminal can automatically switch different music units to play music without object indication, and the process of switching music units to play music is simplified.
Drawings
Fig. 1 is a schematic view of an application scenario of a music playing control method according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of another music playing control provided in the embodiment of the present application;
fig. 3 is a flowchart of music playing control provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a user interface display of music unit information and a sub-playlist according to an embodiment of the present application;
fig. 5 is a schematic diagram of a process of switching different music units to play music by the terminal according to the embodiment of the application;
FIG. 6 is a schematic diagram of a user interface display of a primary playlist and a secondary playlist according to an embodiment of the present application;
FIG. 7 is a schematic illustration of a user interface display of an album list and a song list provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of a user interface for displaying detailed information of a currently playing music piece according to an embodiment of the present application;
fig. 9 is a schematic diagram of a collaboration process of each functional module of a music service system according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating a process of obtaining a primary playlist and a secondary playlist according to an embodiment of the present application;
fig. 11 is a schematic diagram of a process of implementing automatic switching between different albums for playing songs by a terminal according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a music playback control apparatus according to an embodiment of the present application;
FIG. 13 is a schematic structural diagram of a computing device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of another music playback control apparatus according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the drawings and specific embodiments.
In order to facilitate a better understanding of the technical solutions of the present application by those skilled in the art, technical terms related to the present application will be described below.
A terminal: the invention relates to user side equipment capable of loading various applications, in particular to an intelligent terminal which can play music data, interact with a user through a human-computer interaction interface and interact with a background server through a network, such as a smart phone, a computer, a smart sound box, smart wearable equipment and the like, wherein the smart wearable equipment can comprise a smart bracelet, a smart watch, smart clothes, smart shoes, smart ornaments and the like.
A block chain server: the blockchain technology is a brand new distributed infrastructure and computing mode that uses blockchain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to secure data transmission and access, and uses intelligent contracts composed of automated script codes to program and manipulate data. The blockchain server performs decentralized storage with the data, and then the data can be shared among different blockchain servers.
The following explains the concept of the present application.
Along with the development of science and technology, an intelligent sound box with a screen appears, the sound box with the screen is a sound box which is added with an intelligent screen on a traditional sound box, a Graphical User Interface (GUI) can be displayed on the intelligent screen, and then a User can interact with the sound box with the screen through the GUI.
In the current music playing system, devices such as an intelligent sound box and the like can acquire and send Voice signals of a user to a server based on a Voice User Interface (VUI), the server sends a music list to a terminal according to the Voice signals of the user, the terminal requests music data according to the music list and plays the music data, but based on Voice interaction of the VUI, the server can only send one music list to the terminal and cannot display different music lists, and therefore, the intelligent music playing method based on the GUI is achieved.
In the intelligent music playing method based on the GUI, the server sends different music lists to the terminal after a user performs multiple active interactive operations based on the GUI, so that the terminal displays the different music lists through a user interface, multiple active interactive operations are required when the user instructs to switch the different music lists for music playing, and the interactive process among the user, the terminal and the server is complex in the music playing process based on the GUI.
In view of this, in order to simplify the music playback control process, the inventors of the present application have devised a music playback control method, apparatus, and storage medium in which a user sends a music playback request carrying music indication information to a server via a terminal; the server acquires a primary playlist including the musical composition unit information of at least one musical composition unit according to the musical composition indicating information, acquires a secondary playlist of a target musical composition unit according to the primary playlist, and further sends the musical composition unit information of the target musical composition unit and the secondary playlist to the terminal; and the terminal displays the received music unit information and plays music corresponding to the music information in the secondary playlist.
The target music unit comprises one or more music units in the primary playlist, one music unit comprises one or more music, and the music units can be albums of music, song lists of songs and the like; the secondary playlist includes music information of one or more music pieces.
When the server sends the music unit information of the target music unit to the terminal, the server can directly send the acquired primary playlist to the terminal, and then the terminal displays the received primary playlist.
The terminal may play the music corresponding to the music information in the received play sub-playlist in cooperation with the music play control server.
Further, in order to realize that the terminal can automatically play songs of different music units, in the application, when the server determines that the music playing of the current target music unit is finished, the server reselects the music unit as a new target music unit according to the primary play control list, acquires a secondary play list of the new target music unit and sends the secondary play list to the terminal, so that the terminal plays music corresponding to music information in the new secondary play list.
The music piece unit information of the music piece unit, the music piece information of the music piece, the music piece number of the music piece in this application can be preserved in high in the clouds or block chain, and the music piece of this application can include pure music, song music, opera, saying so on.
It should be noted that, in consideration of that the requesting terminal may be a user or other subjects, such as an intelligent device, for playing the music, these subjects are collectively referred to as an object in the present application. That is, the object in the present application is a synonymous expression of a user, and refers to a person or an intelligent device indicating a music play request, and the intelligent device may include an intelligent robot, an intelligent voice interaction assistant, and the like.
After introducing the design concept of the embodiment of the present application, some simple descriptions are provided below for application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In a specific implementation process, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Referring to fig. 1, the application scenario includes at least one terminal 110 and at least one resource server 120, where:
the terminal 110 is configured to receive a music play request of an object and send it to the resource server 120, and display the music unit information of the target music unit and the sub-playlist sent by the resource server, and play the sub-playlist indicating music.
The resource server 120 parses the received music play request, acquires a sub-playlist of the target music unit according to the parsed result, and transmits the music unit information of the target music unit and the sub-playlist to the terminal.
The terminal 110 may be installed with a music application, and the object may transmit a music play request to the resource server through the terminal or the music application on the terminal, and at the same time, the terminal may receive music unit information of a target music unit and a sub-playlist through the music application and display the received music unit information and sub-playlist.
The terminal 110 may be an intelligent sound box, and an intelligent interaction module, a media playing module, a communication module, and the like are configured in the intelligent sound box, wherein the intelligent interaction module is used for acquiring a music playing request indicated by an object, and the intelligent interaction module may include an intelligent screen, a microphone, and the like; the media playing module is used for matching with the music playing control server to play music indicated by the music information in the secondary playing list, and the communication module is used for the terminal to perform network communication with the resource server and the music playing control server, and the like.
The terminal in the application scene provided in the application is mainly provided with the intelligent screen sound box, namely the music playing and controlling method provided in the application is mainly applied to the scene with the screen sound box.
As shown in fig. 2, in one possible application scenario, in order to reduce the communication delay between the terminal and the resource server, the musical composition unit information, the sub-playlist, the musical composition information, and the like are stored in the blockchain, and the blockchain server 230 is deployed in each region, or different terminals may be served by different blockchain servers 230 respectively for load balancing. The plurality of blockchain servers 230 can share data by using a blockchain, and the plurality of blockchain servers 230 constitute a music data sharing system 240. For example, terminal 110 for object a is located at location a and is communicatively coupled to blockchain server 230, and terminal 110 for object C, B is located at location b and is communicatively coupled to other blockchain servers 230.
Each blockchain server 230 in the music data sharing system 240 has a node identifier corresponding thereto, and each blockchain server 230 in the music data sharing system 240 may store node identifiers of other blockchain servers 230 in the music data sharing system, so that the generated block is broadcast to other blockchain servers 230 in the data sharing system according to the node identifiers of other blockchain servers 230 in the following. Each blockchain server 230 may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name Node identification
Node 1 115.114.121.174
Node 2 115.116.139.145
Node N 117.113.789.258
N in table 1 is only the serial number of the node, and in the scenario shown in table 1, N is a positive integer greater than 2.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The blockchain is essentially a decentralized database, which is a string of data blocks associated by using cryptography, each data block contains information of a batch of network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability and the characteristics of the superposed business. The application service layer provides the application service based on the block chain scheme for the business participants to use.
Based on the application scenario, the following description focuses on an interaction process between the terminal 110 and the resource server 120 or the blockchain server 230 for a music playing control method provided in the embodiment of the present application.
As shown in fig. 3, the interaction process between the terminal and the resource server in the music playing process specifically includes:
in step S301, the terminal sends a music play request indicated by the object to the resource server, where the music play request includes music indication information.
And after awakening, the terminal automatically detects the music playing request of the object, and when detecting the music playing request, the terminal sends the music playing request to the resource server.
The music playing request may be an audio signal or a text signal, and the music indication information may include a music field, a player, a musical instrument, a request intention, and the like of the music requested to be played by the object.
The music can be classified into fields according to the playing form of the music, such as pure music field, drama field, comment field and the like; the music can be classified into a field classification according to the musical instrument playing the music, such as a cucurbit flute field, a piano field, a violin field, a flute field and the like, and can also be classified into a field classification according to the content of the music, such as a news field, a song field, a book field, a game field and the like.
The request intention may include playing of a music piece, query of information, and the like, for example, in a music piece playing request "please play album song of singer XXX", the request intention is playing of a music piece.
Step S302, the resource server obtains a primary play list and a secondary play list of the target music unit according to the music indication information in the received music playing request.
The resource server identifies and analyzes the music playing request and determines music indicating information in the music playing information, wherein if the music playing request can be an audio signal, voice recognition is firstly carried out on the audio signal to obtain corresponding text information, and if the music playing request can be a text signal, the text signal is used as the text information; furthermore, natural Language understanding (NLP) is performed on the acquired text information to acquire music instruction information, which may include a music field interpreted by the NLP, a request intention, and an interpreted slot.
The analyzed slot position can be a player of music, a playing musical instrument, list attributes of music and the like, for example, if the text information is 'please play album song of singer XXX', after the text information is NLP understood, the corresponding music field is determined to be the song field and the request intention is to play music, and the analyzed slot position is the player 'singer XXX' and the list attribute 'album'.
In this step, the resource server may obtain the primary playlist and the secondary playlist by the following processes:
acquiring musical composition unit information of one or more musical composition units according to the musical composition indicating information, and determining a primary playlist according to the acquired musical composition unit information;
selecting one or more music units corresponding to the music unit information from the primary playlist as a target music unit, and acquiring a secondary playlist corresponding to the target music unit, wherein the secondary playlist comprises the music information of one or more music, and when the target music unit only comprises one music unit, the music information corresponding to the music unit is used as the secondary playlist, and when the target music unit comprises a plurality of music units, the music information corresponding to the music units is used as the secondary playlist.
When the primary playlist is determined, if the information of the plurality of music units is obtained, the information of the plurality of music units may be sequenced according to a preset sequencing principle, and the sequenced information of the plurality of music units is determined as the primary playlist, where the preset sequencing principle may be the number of times the music units are requested, the evaluation of the music units, and the like.
The music unit information may include the name of the music unit, the front cover picture of the music unit, the release time, the release company, the playing time, etc., and may be set by those skilled in the art according to actual needs.
The one music unit may include one or more music, and the music information may include a music name, a player, a music front cover, a music release time, a music release company, a music play frequency, etc., which may be set by those skilled in the art according to actual needs.
In step S303, the resource server transmits the musical composition unit information of the target musical composition unit and the subsidiary playlist to the terminal.
In this step, the resource server may also obtain the first-played music data corresponding to the music unit information of the designated ordinal position in the secondary playlist of the target music unit, and send the obtained first-played music data to the terminal, so that the terminal plays the first-played music according to the first-played music data.
If the target music unit comprises a music unit, the first-played music data corresponding to the music unit can be obtained, and if the target music unit comprises a plurality of music units, the first-played music data corresponding to the music unit can be obtained by selecting music unit information of a specified ordinal position from a plurality of music unit information in the secondary playlist.
The resource server may sort the music information corresponding to the music unit information in the secondary playlist, where the first music data is the music information corresponding to the music unit information, and the music data corresponding to the first music information is sorted, and if a certain music unit includes music 1 to music 9, the first music data may be the music data of music 1.
Step S304, the terminal receives the music unit information of the target music unit and the secondary play list, displays the music unit information of the target music unit and the secondary play list thereof, and plays the music corresponding to the music information in the secondary play list.
The terminal can cooperate with the music play control server, the resource server obtains music data corresponding to music in the secondary play list, and the terminal plays the music according to the music data obtained by the music play control server.
The terminal may display the received musical composition unit information and the sub-playlist in the following manner:
displaying the received music unit information in a first UI interface, displaying a sub-playlist in a second UI interface when a user triggers to display the sub-playlist in a first setting mode, wherein the first setting mode can be that the music unit information is clicked, and the first UI interface and the second UI interface are explained in more detail with reference to the attached drawings as follows:
as shown in fig. 4, the terminal displays the received tune unit information in the first UI interface 400, and displays tune unit information 401 in the first UI interface 400, which is exemplarily illustrated only by receiving one tune unit information including a tune unit name, a release time, and a unit cover map of a target tune unit.
When the object triggers display of the sub-playlist in accordance with the specified operation manner, the terminal displays the sub-playlist 403 in which the sub-playlist 403 includes music information of a plurality of music together with the music unit information on the second UI interface 402.
The designated operation mode may be that the music unit information is clicked, or the received music unit information 401 is automatically updated to the second UI interface 401 from the first UI interface 400 after being displayed in the first UI interface 400 for a preset time; when the UI interfaces are updated, the first UI interface can be gradually hidden and then the second UI interface can be displayed.
In step S303, when the resource server sends the musical composition unit information of the target musical composition unit and the secondary playlist to the terminal, the primary playlist and the secondary playlist are synchronized with the musical composition playing control server, and the musical composition playing control server and the resource server may be the same server or different servers.
In the step S304, the process of playing the music by the terminal and the music playing control server cooperatively includes:
the terminal receives the secondary playlist and simultaneously receives the first playing music data sent by the resource server as the music data of the currently playing music for playing; the terminal sends a next music playing request to the music playing control server when playing the currently played music or playing the current music is finished, wherein the next music playing request comprises music information of the currently played music;
the music playing control server determines that music information in a next music playing request is next music information, determines a music Resource corresponding to the next music information, acquires music data according to the music Resource, and sends the acquired music data to the terminal as the next music data, wherein the music Resource can be an acquisition address of the music data, such as a Uniform Resource Locator (URL) address, and the music playing control server can acquire the music Resource from the URL address;
the terminal plays the next music piece based on the received next music piece data.
In a possible case, when the music playback control server determines that the music playback of the target music unit is finished according to the next music playback request, the music playback control server may retransmit the first-played music data of the target music unit to the terminal, so that the terminal plays back the music of the target music unit again.
The music playing control server may further instruct the resource server to re-determine the target music unit and re-acquire a new sub-playlist of the target music unit when the music playing of the target music unit is finished, so that the terminal plays the music according to the new target music unit, as shown in fig. 5, the specific process is as follows:
the terminal sends a next music playing request to the music playing control server when the current music is played; when the music playing control server determines that the music of the current target music unit is not played completely, the next music data of the currently played music in the current target music unit is obtained and sent to the terminal; and the terminal plays the next music of the currently played music in the current target music unit according to the next music data.
When the music playing control server determines that the music playing of the current target music unit is finished according to the next music playing request, the following processes are carried out:
the music playing control server indicates to the resource server to request to obtain the music unit information and the secondary playlist of the target music unit again;
the resource server acquires the music unit information and the secondary playlist of the new target music unit and sends the new music unit information and the secondary playlist to the terminal and the music playing control server;
the music playing control server receives the music unit information and the secondary playlist of the new target music unit, acquires the first playing music data of the new target music data according to the method in the step S303, and sends the acquired first playing music data to the terminal as the next music data;
and the terminal plays the first playing music of the new target music unit according to the received first playing music data.
In the above process, the resource server may obtain the secondary playlist of the new target musical composition unit as follows:
reselecting the music unit information from the primary playlist, determining the music unit corresponding to the selected music unit information as a new target music unit, further acquiring a secondary playlist corresponding to the new target music unit, namely acquiring the music information corresponding to the reselected music unit information, and taking the acquired music information as the secondary playlist, wherein:
when the new target music piece unit is a music piece unit, the new secondary playlist includes music piece information corresponding to the music piece of the music piece unit; when the new target music piece unit is a plurality of music piece units, the new sub-playlist includes music piece information corresponding to the music pieces of the plurality of music piece units, and at this time, the music piece information of the music pieces of the same music piece unit may be sorted together.
Optionally, in step S303, the resource server may send the primary playlist and the secondary playlist to the terminal, which is as follows:
the resource server sends the primary playlist and the secondary playlist to the terminal, and the terminal performs aggregate display of a User Interface (UI) on the primary playlist and the secondary playlist, wherein the process of performing aggregate display on the primary playlist and the secondary playlist by the terminal is as follows:
the terminal firstly displays the primary playlist in a third UI interface, and displays the secondary playlist in a fourth UI interface when a user triggers and displays the secondary playlist in a set manner, where the set manner may be that musical composition unit information in the primary playlist is clicked, and the third UI interface and the fourth UI interface are described in more detail below with reference to the accompanying drawings:
as shown in fig. 6, the terminal displays a third UI interface 600 in the display area, displays a primary playlist 601 in the third UI interface 600, and since there are more tune unit information in the primary playlist 601, tune unit information 1 to tune unit information 5 are information of different tune units, when the primary playlist 601 is displayed, it is possible that only a part of the musical composition unit information in the primary playlist 601 may be displayed due to the limitation of the size of the user display interface, and in this case, it may be configured to slide and display other musical composition unit information on the user display interface in a designated manner, as shown in the figure, the remaining music piece unit information may be displayed when the object slides leftward with a finger on the user display interface, in addition, the "playing" is displayed below the tune unit information 1 in the third UI interface 600, indicating that the terminal is playing the tune of the tune unit corresponding to the tune unit in the tune unit information 1 at this time.
When the object triggers the display of the sub-playlist according to the specified operation mode, the terminal displays a fourth UI interface 602 in the display area, the fourth UI interface 602 displays the musical composition unit information 1 and a list 603 of musical composition information corresponding to the musical composition unit information 1, and the musical composition information 603 of one or more musical compositions is included.
It should be noted here that the list 603 of music information is a sub-playlist of a target music unit if the current target music unit includes only a music unit of music unit information 1, and the list 603 of music information is a part of the sub-playlist of the target music unit if the previous target music unit includes a plurality of music units of music unit information 1 and other music unit information.
The designated operation mode may be that the information of the music unit is clicked and is updated to the second UI interface 601 by the third UI interface 600; when the UI interface is updated, the third UI interface may be gradually hidden and then the fourth UI interface may be displayed.
For convenience of understanding, the following description will be given by taking an album as a music unit, where the album information is music unit information, a song is the above-mentioned music, a song title is music information, a target music unit includes only one album, and an album song list is a secondary playlist, and further exemplary descriptions will be given for the above-mentioned terminal displaying the primary playlist and the secondary playlist.
As shown in fig. 7, after transmitting a music play request "play an album of XX singer" to the resource server, the terminal receives the primary playlist and the secondary playlist transmitted from the resource server.
The terminal displays a first-level playlist 701 in the fifth UI interface 700, where the first-level playlist includes a plurality of album information 702; each album information 702 corresponds to an album, and each album information 702 includes an album cover art, an album title, and an album release time corresponding to the album song list.
Numbers 1 to 5 in fig. 7 are only used to distinguish different album information, and the above-mentioned numbers 1 to 5 may not be displayed; the album song list corresponding to the first album information in the primary playlist 701 is being played, and at this time, after the object clicks the first album cover diagram, the fifth UI interface 700 is updated to the sixth UI interface 703.
The sixth UI interface 703 includes an album list 704 being played, and album information of the album, wherein the album list 704 includes song titles of a plurality of songs sung by the "XX singer", where the song titles are music information of the above-described music data.
As shown in fig. 8, the object may be further configured to directly enter a seventh UI interface 800 displaying detailed information of a currently playing song after clicking a first album cover diagram in the primary playlist 701, or enter the seventh UI interface 800 after clicking a song title of the currently playing song in the sixth UI interface 703.
The seventh UI interface 800 includes an album title of an album where the currently played song is located, an album cover diagram, a song title of the currently played song, a singer title, and a song playing format, where the song playing format includes Music Video (MV).
The seventh UI interface 800 further includes a page indication 801, the number of circles in the page indication 801 represents 2 UI interfaces that can be currently displayed, the seventh UI interface 800 that is currently displayed slides to the left into the eighth UI interface 802, and the seventh UI interface 800 that can be currently displayed slides to the right into the eighth UI interface 802.
The eighth UI interface 802 displays the song name and lyrics of the currently played song, and due to the limitation of the UI interface size, lyrics close to the lyrics being played are displayed in the eighth UI interface 802, and the object can indicate the terminal to display the lyrics of other parts by sliding up or down; when the lyrics are displayed, the brightness and the font size of the lyrics being played can be increased, so that the lyrics being played can be conveniently watched by an object, and the letter n only represents the line number of the lyrics and is a positive integer.
It should be noted that, those skilled in the art may set the terminal to display the primary playlist and the secondary playlist in other manners according to actual requirements.
Optionally, the object may instruct the terminal to switch different musical composition units to play songs through the third UI interface and the fifth UI interface, and the process may refer to the following:
the object selects information of a certain music unit in the primary playlist as information of the music unit to be switched, and after clicking the information of the music unit to be switched through a third UI interface, the terminal sends a music unit switching request to the resource server, wherein the music unit switching request comprises the information of the music unit to be switched;
the resource server takes the music unit corresponding to the information of the music unit to be switched as a target music unit according to the information of the music unit to be switched, obtains music information corresponding to the information of the music unit to be switched as a new secondary playlist, and sends the new secondary playlist to the resource server; and the terminal displays the new secondary playlist on a fourth UI interface, and plays the music corresponding to the music information in the new secondary playlist in cooperation with the music playing control resource server.
Optionally, in step S302, when the resource server obtains the secondary playlist of the target secondary playlist, it may further obtain the secondary playlists of the musical composition units corresponding to the information of each musical composition unit in the primary playlist, and send the primary playlist and each secondary playlist to the terminal; and the terminal determines the next music unit after the music playing of the current music unit is finished according to the primary playlist, and continues to play the music according to the secondary playlist corresponding to the next music unit.
If the primary playlist comprises music unit information 1 to music unit information 3 of music units 1 to 3, after the resource server acquires the primary playlist, respectively acquiring music information corresponding to the music unit information 1 as a secondary playlist 1, acquiring music information corresponding to the music unit information 2 as a secondary playlist 2, and acquiring music information corresponding to the music unit information 3 as a secondary playlist 3; and further transmits the primary playlist and the secondary playlists 1 to 3 to the terminal.
After the terminal receives the primary playlist and each secondary playlist, the primary playlist is firstly displayed in the UI, when any piece of music unit information is clicked and displayed by an object, the secondary playlist corresponding to the clicked music unit information is displayed by the terminal in the UI, and if the music unit information 1 is clicked by the object, the secondary playlist 1 can be displayed by the terminal in the UI under the condition that a request message is not sent to the resource server.
The terminal can request the music play control server for the first-played music data of the sub-playlist 1 while displaying the sub-playlist 1, and play the first-played music of the sub-playlist 1 according to the requested first-played music data.
Optionally, after the resource server obtains the sub-playlists of each music unit, it may obtain first-play music data corresponding to music information in each sub-playlist, and send the obtained first-play music data to the terminal, where the first-play music data of one sub-playlist may be music data corresponding to music information in a designated rank in the sub-playlist.
Correspondingly, when receiving certain music unit information indicated by the object, the terminal can directly display the secondary playlist corresponding to the music unit information indicated by the object without interacting with the resource server, and play the first played song of the music unit corresponding to the music unit information according to the first played music data of the secondary playlist.
If the resource server acquires the secondary playlists 1 to 3 corresponding to the music units 1 to 3, the first-played music data 1 in the secondary playlist 1, the first-played music data 2 in the secondary playlist 2, the first-played music data 3 in the secondary playlist 3 are acquired, and the first-played music data 1 to the first-played music 3 are sent to the terminal;
at this time, assuming that the object clicks the tune unit information 3, the terminal directly displays the sub-playlist 3 and plays the first song of the tune unit 3 corresponding to the tune unit information 3 according to the first song data 3 without interacting with the resource server.
A specific example of music play control is provided below, where only songs are used as the music, albums are used as the music units, a primary playlist is an album list including information of a plurality of albums, a target music unit is a target album corresponding to one album information, a secondary playlist is a song list of the target album, and the song list includes song titles of a plurality of songs.
The following description is made with respect to the interaction and implementation effects among the object, the terminal, the resource server, and the music playback control server:
as shown in fig. 9, in this example, the functions of the resource server and the tune play control server described above are provided by one music service system, which may include a plurality of servers each providing one function module, and the following example will describe the process of tune play control with the interaction between each function module and the terminal, with each function module being referred to as a respective server only.
The function modules comprise a Voice Service (TVS) module, a management module AIProxy, an Automatic Speech Recognition (ASR) module, a Natural Language Processing (NLP) module, a skill Service (TSKM) module, a domain processing module, music application software, a cloud broadcasting control module and the like; the cloud playing control module realizes the function of a music playing control server, and other modules realize the function of the resource server.
The object indicates an audio signal "please play the album of the singer XXX" to the terminal, and the terminal sends the "please play the album of the singer XXX" as a music play request to the resource server after detecting the audio signal.
After receiving a music play request 'please play the album of singer XXX', the resource server sends a music play signal to AIProxy through a TVS module, and the AIProxy calls an ASR module;
the ASR module carries out voice recognition on the received music playing request to obtain text information 'please play an album of singer XXX', and returns to AIproxy;
after the AIProxy receives the text information returned by the ASR module, calling the NLP module to carry out semantic understanding on the text information 'please play the album of the singer XXX', determining the music field, the request intention and the slot position of the text information as music indication information, and returning the determined music field, the request intention and the slot position to the TSKM module;
the TSKM module calls a music search interface to acquire an album list, a song list of a target album and first-played song data of the target album, wherein the album list comprises a plurality of album-identified album lists, the song list of the target album is a list of songs of one album, and the first-played song data is song data of a first song in the target album; and the TSKM module packages the acquired album list, song list and first played song data back to the NLP module, the AIproxy and the TVS module, and then sends the data to the terminal and sends a playing instruction to the terminal.
After receiving the playing instruction, the terminal plays the first-played song according to the first-played song data, cooperates with the cloud playing control module, plays the song according to the received album list and song list, and meanwhile, the terminal performs UI display on the received album list and song list, and the process of performing UI display can refer to the description of the above embodiment, and is not described repeatedly here.
As shown in fig. 10, the procedure of calling the music search interface by the TSKM module to obtain the album list and the song list is as follows:
the TSKM module calls a field processing module through a music search interface, the field processing module searches related album information in a music field determined in music application software according to a determined request intention and slot positions to obtain an album list, sequences the album information in the album list, does not directly return to the obtained album list, selects an album corresponding to first album information through the music search interface again to wait for playing the album, calls the music search interface again to call the field processing module to obtain album details of the album to be played, and the album details comprise a song list and first played song data of the album.
After the field processing module acquires the album details of the album corresponding to the first album information, the field processing module transmits the acquired song list, the album list and the first-played song data package to the TSKM module, meanwhile, the field processing module transmits the acquired album list and the acquired song list to the cloud broadcasting control module, and the cloud broadcasting control module synchronizes the song list and the album list.
The terminal plays songs according to a playing instruction, the cloud playing control module selects the next album information of the current album from the album list after the current album is determined to be played, the TSKM module is indicated to obtain the song list and the first played song data of the next album information and return the song list and the first played song data to the terminal, and then the terminal plays the songs of the next album, so that the terminal can continuously play different albums, and particularly see FIG. 11.
In fig. 11, after the current song playing of the currently playing album is finished, the terminal sends a next song request to the music service system, where the next song request may include song information of the currently playing song; after the next song request reaches the cloud end playing control module, if the cloud end playing control module determines that the song of the currently playing album is played completely, the next album information of the currently playing album in the album list is determined, a music searching interface is called, a song list corresponding to the next album information is obtained through the TSKM module and the field processing module, the song list corresponding to the next album information is returned to the terminal and the cloud end playing control module through the TSKM module, and then the first playing song data of the song list of the next album information is obtained by the cloud end playing control module and sent to the terminal.
The terminal displays the album list and the song list of the album through the UI, so that the object can select the album expected to be played through the album list displayed by the UI, and can inform the terminal of the album expected to be played by clicking the album information in the album list; correspondingly, the terminal takes the album information indicated by the object as the information of the album to be switched and sends an album switching request carrying the information of the album to be switched to the music service system.
Correspondingly, when the music service system receives the album switching request, the music service system is called to acquire a song list of the album corresponding to the information of the album to be switched, and the acquired song list is sequentially reported back to the terminal and the cloud broadcasting control module; and then the cloud broadcasting control module acquires the first broadcasting song data of the new song list and sends the first broadcasting song data to the terminal, so that the terminal starts to broadcast the songs of the new album according to the new first broadcasting song data.
The following explains the effects of the above example from the viewpoint of the interaction of the object with the terminal:
after the object indicates the audio signal of 'please play the album of singer XXX' to the terminal, the terminal displays the album list and plays the song of the album in the album list, wherein the first album information corresponds to the song of the album; and after the song playing of the album corresponding to the first album information is finished, the terminal automatically plays the song of the album corresponding to the next album information.
The method comprises the steps that when a terminal plays songs, an album list is displayed on a UI (user interface), and after an object clicks album information of a currently played album in the album list, the terminal displays the song list of the currently played album on the UI; after the object clicks the album information of the unplayed album in the album list, the terminal displays the song list of the unplayed album and plays the first-played song of the unplayed album.
In summary, in the application, after the object sends the music playing request to the resource server through the terminal, the resource server obtains the primary playlist and the secondary playlist and sends the primary playlist and the secondary playlist to the terminal, so that the terminal can directly play music according to the primary playlist and the secondary playlist, and the music playing process is simplified.
On the other hand, after learning that the terminal has played the music corresponding to the current music unit, the resource server in the application can automatically obtain the secondary playlist of the new music unit according to the primary playlist again, obtain the new secondary playlist and send the new secondary playlist to the terminal, and then the terminal plays the music of the new music unit according to the new secondary playlist, thereby realizing the continuous playing of the music of different music units.
As shown in fig. 12, based on the same technical concept, the embodiment of the present application further provides a music piece playing control device 1200, including:
a request receiving unit 1201, configured to receive a music playing request sent by an object through a terminal, where the music playing request includes music indication information;
a primary play list obtaining unit 1202, configured to obtain a primary play list according to the music instruction information, where the primary play list includes music unit information of at least one music unit;
a sub-playlist obtaining unit 1203, configured to obtain a sub-playlist of a target music unit according to the primary playlist, where the target music unit includes at least one music unit corresponding to the music unit information, and the sub-playlist includes at least one music information of a music;
a playlist transmitting unit 1204, configured to transmit the musical composition unit information of the target musical composition unit and the sub-playlist to the terminal, so that the terminal displays the musical composition unit information of the target musical composition unit and the sub-playlist thereof, and plays a musical composition corresponding to the musical composition information in the sub-playlist.
Optionally, the apparatus further comprises a music switching unit, the music switching unit is configured to:
receiving a next music playing request sent by a terminal, wherein the next music playing request comprises music information of currently played music of the terminal;
if the music playing of the target music unit is determined to be finished according to the next music playing request, reselecting the music unit as a new target music unit according to the primary playlist, and acquiring a secondary playlist of the new target music unit;
and sending the music unit information of the new target music unit and the secondary playlist to a terminal so that the terminal displays the music unit information of the new target music unit and the secondary playlist and plays the music corresponding to the music information in the new secondary playlist.
Optionally, the playlist transmitting unit is further configured to:
acquiring first-played music data corresponding to music unit information of a designated sequence in a secondary play list of the target music unit; and
and sending the first broadcast music data to the terminal so that the terminal plays the first broadcast music according to the first broadcast music data.
Optionally, the secondary playlist acquiring unit is specifically configured to:
acquiring a secondary playlist of the music units corresponding to the information of each music unit in the primary playlist;
the playlist sending unit is specifically configured to send the primary playlist and the secondary playlists of the music units to the terminal, so that the terminal determines a next music unit after the music playing of the current music unit is finished according to the primary playlist, and continues to play music according to the secondary playlist corresponding to the next music unit.
Optionally, the playlist transmitting unit is further configured to:
according to the secondary playlist of each music unit, acquiring first-played music data corresponding to music information of each secondary playlist; and
and sending the acquired data of each first-broadcast music to the terminal so that the terminal plays the first-broadcast music of each music unit according to the data of each first-broadcast music.
Based on the same technical concept, an embodiment of the present application further provides a computing device, please refer to fig. 13, which includes a processor 1301 and a memory 1302, wherein:
the memory 1302 stores a computer program;
the processor 1301, when executing the computer program, implements a music playback control method as discussed above.
Fig. 13 illustrates an example of one processor 1301, but the number of processors 1301 is not limited in practice.
Wherein, the memory may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also be a non-volatile memory (non-volatile memory) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD), or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be a combination of the above.
As an example, the functions of the respective modules of the music playback apparatus 1200 in fig. 12 may be implemented by the processor 1301 in fig. 13.
As shown in fig. 14, based on the same technical concept, the embodiment of the present application further provides a music piece playing control device 1400, which includes:
a request sending unit 1401, configured to receive a music playing request indicated by an object and send the music playing request to a server, where the music playing request includes music indication information;
a playlist receiving unit 1402 configured to receive musical composition unit information of a target musical composition unit and a secondary playlist, the secondary playlist being a list of the musical composition information including at least one musical composition, the primary playlist being a list of the musical composition unit information including at least one musical composition unit acquired by the server according to the musical composition instruction information, the target musical composition unit including at least one musical composition unit corresponding to the musical composition unit information;
a music playback unit 1403, configured to display the music unit information of the target music unit and the sub-playlist thereof, and play back the music corresponding to the music information in the sub-playlist.
Optionally, the apparatus further comprises a music switching unit, the music switching unit is configured to:
sending a next music playing request to a server, wherein the next music playing request comprises music information of currently played music of the terminal;
and receiving and playing next music data of the target music unit, or receiving music unit information and a secondary playlist of a new target music unit, displaying the music unit information of the new target music unit and the secondary playlist thereof, and playing music corresponding to the music information in the new secondary playlist, wherein the new target music unit is the music unit reselected by the server according to the primary playlist.
Optionally, the music playing unit is further configured to receive first-played music data sent by the server, and play the first-played music of the target music unit according to the first-played music data, where the first-played music data is music data corresponding to music unit information of a specified ordinal position in a secondary playlist of the target music unit acquired by the server.
Optionally, the playlist receiving unit is specifically configured to:
receiving a primary playlist and a secondary playlist of each musical composition unit;
the music playing unit is specifically configured to display the primary playlist and the secondary playlists of the music units, determine a next music unit after the music playing of the current music unit is finished according to the primary playlist, and continue playing music according to the secondary playlist corresponding to the next music unit.
Optionally, the playlist receiving unit is further configured to:
receiving first-played music data corresponding to the music information in the secondary play list of each music unit;
playing the first broadcast music of each music unit according to the data of each first broadcast music
As shown in fig. 15, the present embodiment provides a terminal 1500 for music playback control, including: radio Frequency (RF) circuitry 1510, a power source 1520, a processor 1530, a memory 1540, an input unit 1550, a display unit 1560, a music playback module 1570, a communications interface 1580, and a WiFi module 1590. Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 15 is not intended to be limiting, and that the terminal provided by the embodiments of the present application may include more or less components than those shown, or some components may be combined, or a different arrangement of components may be provided.
The following describes the various components of the terminal 1500 in detail with reference to fig. 15:
the RF circuit 1510 may be used for receiving and transmitting data during a communication or conversation. Specifically, the RF circuit 1510 receives the music instruction information and then sends the music instruction information to the processor 1530 for processing. Generally, the RF circuitry 1510 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
Further, the RF circuit 1510 may also communicate with a network and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The WiFi technology belongs to a short-distance wireless transmission technology, and the terminal 1500 may connect to an Access Point (AP) through a WiFi module 1590, thereby implementing Access to a data network. The WiFi module 1590 may be used for receiving and transmitting data during communication.
In this embodiment of the application, the terminal 1500 can implement a communication service and send information to the blockchain resource server, so that the terminal 1500 needs to have a data transmission function, that is, the terminal 1500 needs to include a communication module inside. Although fig. 15 shows communication modules such as the RF circuit 1510, the WiFi module 1590, and the communication interface 1580, it is understood that at least one of the above components or other communication modules (e.g., bluetooth module) for implementing communication exists in the terminal 1500 for data transmission.
For example, when the terminal 1500 is a mobile phone, the terminal 1500 may include the RF circuit 1510 and may further include the WiFi module 1590; when the terminal 1500 is a computer, the terminal 15000 may include the communication interface 1580 and may further include the WiFi module 1590; when the terminal 1500 is a tablet computer, the terminal 1500 may include the WiFi module.
The memory 1540 can be used to store software programs and modules. The processor 1530 executes various functional applications and data processing of the terminal 1500 by operating the software programs and modules stored in the memory 1540, and after the processor 1530 executes the program codes in the memory 1540, a part or all of the processes of the terminal according to the embodiment of the present invention can be realized.
In some embodiments, the memory 1540 may mainly include a program storage area and a data storage area. The storage program area may store an operating system, various application programs (such as a communication application, a positioning model), and the like.
Further, the memory 1540 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1550 may be used to receive voice or text information input by a subject and to generate a key signal input related to function control of the terminal 1500.
In some implementations, input unit 1550 can include touch panel 1551, microphone 1552, and other input devices 1553.
The touch panel 1551, also referred to as a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 1551 or near the touch panel 1551 by using any suitable object or accessory such as a finger, a stylus pen, etc.) thereon or nearby, and drive corresponding connection devices according to a preset program. In some embodiments, the touch panel 1551 can include two parts, 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, and sends the touch point coordinates to the processor 1530, and can receive and execute commands sent from the processor 1530. In addition, the touch panel 1551 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like.
In some implementations, the other input devices 1553 described above may include, but are not limited to, one or more of a physical keyboard, function keys (such as switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1560 may be used to display a play control list received by the terminal or various menus of the terminal 1500. The display unit 1560 is a display system of the terminal 1500, and is configured to present a primary playlist, a secondary playlist, a menu of a music service system, and the like, so as to implement human-computer interaction.
Further, the touch panel 1551 may cover the display panel 1561, and when the touch panel 1551 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 1530 to determine the type of the touch event, and then the processor 1530 provides a corresponding visual output on the display panel 1561 according to the type of the touch event.
Although the touch panel 1551 and the display panel 1561 are shown in fig. 15 as two separate components to implement the input and output functions of the terminal 1500, in some embodiments, the touch panel 1551 and the display panel 1561 can be integrated to implement the input and output functions of the terminal 1500.
The processor 1530 is a control center of the terminal 1500, connects various components using various interfaces and lines, operates or executes software programs and/or modules stored in the memory 1540, calls data stored in the memory 1540, and executes various functions and processes data of the terminal 1500, thereby implementing various services based on the terminal.
In some embodiments, the processor 1530 may include one or more processors. In some embodiments, the processor 1530 may integrate an application processor and a modem processor, the modem processor primarily handling wireless communications. It will be appreciated that the modem processor may not be integrated into processor 1530.
The music playing module 1570 is configured to play music data acquired by the terminal, and the music playing module may include audio and video playing software, audio and video playing hardware, and the like.
The terminal 1500 also includes a power source 1520, such as a battery, for powering the various components. In some embodiments, the power source 1520 may be logically connected to the processor 1530 through a power management system, so that the power management system may manage charging, discharging, and power consumption functions.
Although not shown, the terminal 1500 may further include at least one sensor, an audio circuit, and the like, which are not described in detail herein.
Based on the same technical concept, the embodiment of the present application also provides a computer-readable storage medium storing computer instructions, which when executed on a computer, cause the computer to execute the method for testing blockchain software as discussed above.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A music playback control method, comprising:
receiving a music playing request sent by an object through a terminal, wherein the music playing request comprises music indicating information;
acquiring a primary playlist according to the music instruction information, wherein the primary playlist comprises music unit information of at least one music unit;
acquiring a secondary playlist of a target music unit according to the primary playlist, wherein the target music unit comprises at least one music unit corresponding to the music unit information, and the secondary playlist comprises at least one music information of music;
and sending the music unit information of the target music unit and the secondary playlist to a terminal so that the terminal displays the music unit information of the target music unit and the secondary playlist thereof and plays music corresponding to the music information in the secondary playlist.
2. The method of claim 1, further comprising:
receiving a next music playing request sent by a terminal, wherein the next music playing request comprises music information of currently played music of the terminal;
if the music playing of the target music unit is determined to be finished according to the next music playing request, reselecting the music unit as a new target music unit according to the primary playlist, and acquiring a secondary playlist of the new target music unit;
and sending the music unit information of the new target music unit and the secondary playlist to a terminal so that the terminal displays the music unit information of the new target music unit and the secondary playlist and plays music corresponding to the music information in the new secondary playlist.
3. The method of claim 1, specifically comprising:
acquiring a secondary playlist of the music units corresponding to the information of each music unit in the primary playlist;
sending the music unit information of the target music unit and the secondary playlist to a terminal, specifically comprising:
and sending the primary playlist and the secondary playlists of the music units to the terminal so that the terminal determines the next music unit after the music playing of the current music unit is finished according to the primary playlist and continues to play the music according to the secondary playlist corresponding to the next music unit.
4. A music playback control method, comprising:
receiving a music playing request indicated by an object and sending the music playing request to a server, wherein the music playing request comprises music indicating information;
receiving music piece unit information of a target music piece unit and a secondary playlist, wherein the secondary playlist is a list of the music piece information comprising at least one music piece, the primary playlist is a list of the music piece unit information comprising at least one music piece unit acquired by the server according to the music piece indicating information, and the target music piece unit comprises at least one music piece unit corresponding to the music piece unit information;
and displaying the music unit information of the target music unit and the secondary playlist thereof, and playing the music corresponding to the music information in the secondary playlist.
5. The method of claim 4, further comprising:
sending a next music playing request to a server, wherein the next music playing request comprises music information of currently played music of the terminal;
and receiving and playing next music data of the target music unit, or receiving music unit information and a secondary playlist of a new target music unit, displaying the music unit information and the secondary playlist of the new target music unit, and playing music corresponding to the music information in the new secondary playlist, wherein the new target music unit is the music unit reselected by the server according to the primary playlist.
6. The method of claim 4 or 5, further comprising:
and receiving first-played music data sent by a server, and playing the first-played music of the target music unit according to the first-played music data, wherein the first-played music data is music data corresponding to music unit information of a designated sequence in a secondary playlist of the target music unit acquired by the server.
7. The method of claim 4, wherein receiving the musical composition unit information of the target musical composition unit and the sub-playlist specifically comprises:
receiving a primary playlist and a secondary playlist of each musical composition unit;
displaying the music unit information of the target music unit and the secondary playlist thereof, and playing the music corresponding to the music information in the secondary playlist, specifically comprising:
and displaying the primary play list and the secondary play lists of all the music units, determining a next music unit after the music playing of the current music unit is finished according to the primary play list, and continuing to play the music according to the secondary play list corresponding to the next music unit.
8. A music playback control apparatus, comprising:
the request receiving unit is used for receiving a music playing request sent by an object through a terminal, wherein the music playing request comprises music indicating information;
the primary play list acquisition unit is used for acquiring a primary play list according to the music instruction information, and the primary play list comprises music unit information of at least one music unit;
the secondary playlist acquisition unit is used for acquiring a secondary playlist of a target music unit according to the primary playlist, the target music unit comprises at least one music unit corresponding to the music unit information, and the secondary playlist comprises at least one music information of music;
and the playlist sending unit is used for sending the music unit information of the target music unit and the secondary playlist to the terminal so that the terminal displays the music unit information of the target music unit and the secondary playlist thereof and plays music corresponding to the music information in the secondary playlist.
9. A music playback control apparatus, comprising:
the request sending unit is used for receiving a music playing request indicated by the object and sending the music playing request to the server, wherein the music playing request comprises music indicating information;
the system comprises a playlist receiving unit, a secondary playlist and a server, wherein the playlist receiving unit is used for receiving music unit information of a target music unit and the secondary playlist, the secondary playlist is a list of the music information comprising at least one music, the primary playlist is a list of the music unit information comprising at least one music unit acquired by the server according to music indication information, and the target music unit comprises at least one music unit corresponding to the music unit information;
and the music playing unit is used for displaying the music unit information of the target music unit and the secondary playlist thereof and playing the music corresponding to the music information in the secondary playlist.
10. A computer-readable storage medium having stored thereon computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-7.
CN201910988057.XA 2019-10-17 2019-10-17 Music playing control method, device and storage medium Active CN110704671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910988057.XA CN110704671B (en) 2019-10-17 2019-10-17 Music playing control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910988057.XA CN110704671B (en) 2019-10-17 2019-10-17 Music playing control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110704671A true CN110704671A (en) 2020-01-17
CN110704671B CN110704671B (en) 2024-04-05

Family

ID=69200350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910988057.XA Active CN110704671B (en) 2019-10-17 2019-10-17 Music playing control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110704671B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110196867A1 (en) * 2010-02-11 2011-08-11 David Hyman System and method of generating a playlist based on a frequency ratio
JP2013246350A (en) * 2012-05-28 2013-12-09 Denso Corp Music data output apparatus and music data output system
JP2015062045A (en) * 2013-09-23 2015-04-02 平野 文雄 Music reproduction device and music reproduction means
CN104679855A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Playlist creation method and terminal device
CN105095410A (en) * 2015-07-09 2015-11-25 广东欧珀移动通信有限公司 Setting method, mobile terminal, server and system of song menu
CN105446601A (en) * 2015-12-10 2016-03-30 广东欧珀移动通信有限公司 Playlist management method and mobile terminal
CN106331792A (en) * 2016-09-30 2017-01-11 广东欧珀移动通信有限公司 Playlist push method, device and terminal
US20180246962A1 (en) * 2015-10-21 2018-08-30 Guangzhou Kugou Computer Technology Co., Ltd. Playlist list determining method and device, electronic apparatus, and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110196867A1 (en) * 2010-02-11 2011-08-11 David Hyman System and method of generating a playlist based on a frequency ratio
JP2013246350A (en) * 2012-05-28 2013-12-09 Denso Corp Music data output apparatus and music data output system
JP2015062045A (en) * 2013-09-23 2015-04-02 平野 文雄 Music reproduction device and music reproduction means
CN104679855A (en) * 2015-02-13 2015-06-03 广东欧珀移动通信有限公司 Playlist creation method and terminal device
CN105095410A (en) * 2015-07-09 2015-11-25 广东欧珀移动通信有限公司 Setting method, mobile terminal, server and system of song menu
US20180246962A1 (en) * 2015-10-21 2018-08-30 Guangzhou Kugou Computer Technology Co., Ltd. Playlist list determining method and device, electronic apparatus, and storage medium
CN105446601A (en) * 2015-12-10 2016-03-30 广东欧珀移动通信有限公司 Playlist management method and mobile terminal
CN106331792A (en) * 2016-09-30 2017-01-11 广东欧珀移动通信有限公司 Playlist push method, device and terminal

Also Published As

Publication number Publication date
CN110704671B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US9621950B2 (en) TV program identification method, apparatus, terminal, server and system
CN105224586A (en) From previous session retrieval situation
CN104394126B (en) Information recommendation method, server, client and system
CN104796743B (en) Content item display system, method and device
CN104599669A (en) Voice control method and device
CN105488135B (en) Live content classification method and device
CN106095595B (en) Information sharing method and terminal between a kind of application program
CN112069353B (en) Music playing control method and device, storage medium and electronic equipment
WO2015062224A1 (en) Tv program identification method, apparatus, terminal, server and system
CN104572952A (en) Identification method and device for live multi-media files
US10628469B2 (en) Information processing method and electronic device
TW201248450A (en) Background audio listening for content recognition
CN106484856B (en) Audio frequency playing method and device
US20160364480A1 (en) Method and system for providing a social service based on music information
CN102567447A (en) Information processing device and method, information processing system, and program
CN108768824A (en) Information processing method and device
CN105893548A (en) Naming method and terminal
CN109509472A (en) Method, apparatus and system based on voice platform identification background music
CN106325889A (en) Data processing method and device
CN110265067A (en) Record popular fragment approach, device, electronic equipment and readable medium
KR20130062799A (en) Method for managing keyword information server
CN110418181B (en) Service processing method and device for smart television, smart device and storage medium
US11632581B2 (en) Playlist switching method, apparatus and system, terminal and storage medium
CN113839913A (en) Interactive information processing method, related device and storage medium
EP3738287B1 (en) Content matching system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40020959

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant