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

Music playing control method, device and storage medium Download PDF

Info

Publication number
CN110704671B
CN110704671B CN201910988057.XA CN201910988057A CN110704671B CN 110704671 B CN110704671 B CN 110704671B CN 201910988057 A CN201910988057 A CN 201910988057A CN 110704671 B CN110704671 B CN 110704671B
Authority
CN
China
Prior art keywords
music
unit
musical composition
information
play list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910988057.XA
Other languages
Chinese (zh)
Other versions
CN110704671A (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

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

Abstract

The application provides a music playing control method, a device and a storage medium, which relate to the technical field of automatic control and are used for simplifying the process of music playing control. 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 obtains a first-level control list comprising musical composition unit information of at least one musical composition unit according to the musical composition indication information, obtains a secondary play list of a target musical composition list according to the first-level control list, and sends the musical composition unit information and the secondary play list of the target musical composition unit to the terminal; the terminal displays the received musical composition unit information and the secondary play list, and plays the musical composition corresponding to the musical composition information in the secondary play list. In the method, after receiving the music instruction information, the server directly acquires the secondary play list and sends the secondary play list to the terminal, so that the terminal can directly play music corresponding to the music information in the secondary play list, and the process of music play control is simplified.

Description

Music playing control method, device and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to the field of music playing control technologies, and in particular, to a method and apparatus for controlling music playing, and a storage medium.
Background
In an intelligent music playing system, a user can interact with a terminal for playing music and a server for 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 acquire a list of music and play music.
Disclosure of Invention
The embodiment of the application provides a music playing control method, a 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 a target through a terminal, wherein the music playing request comprises music indication information;
acquiring a first-level play list according to the music indication information, wherein the first-level play list comprises music unit information of at least one music unit;
obtaining a secondary play list of target music units according to the primary play list, wherein the target music units comprise at least one music unit corresponding to the music unit information, and the secondary play list comprises the music information of at least one music;
And sending the musical composition unit information and the secondary play list of the target musical composition unit to a terminal so that the terminal displays the musical composition unit information and the secondary play list of the target musical composition unit and plays the musical composition corresponding to the musical composition information in the secondary play list.
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 the current playing 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 play list, and acquiring a secondary play list of the new target music unit;
and sending the musical composition unit information and the secondary play list of the new target musical composition unit to a terminal so that the terminal displays the musical composition unit information and the secondary play list of the new target musical composition unit and plays the musical composition corresponding to the musical composition information in the new secondary play list.
In one possible implementation, the method further includes:
acquiring head broadcasting music data corresponding to the music unit information of the designated sequence in the secondary play list of the target music unit; and
And sending the head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music according to the head-broadcasting music data.
In one possible implementation manner, the method specifically includes:
acquiring a secondary play list of the music units corresponding to the information of each music unit in the primary play list;
and sending the musical composition unit information and the secondary play list of the target musical composition unit to a terminal, wherein the method specifically comprises the following steps:
and sending the primary play list and the secondary play list of each music unit to the terminal, so that the terminal determines the next music unit after the music play of the current music unit is finished according to the primary play list, and continues playing the music according to the secondary play list corresponding to the next music unit.
In one possible implementation, the method further includes:
acquiring the head broadcasting music data corresponding to the music information in each secondary play list according to the secondary play list of each music unit; and
and sending the acquired head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music of each music unit according to the head-broadcasting music data.
In a second aspect of the present application, there is provided a music play 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 musical composition unit information of a target musical composition unit and a secondary play list, wherein the secondary play list is a list of the musical composition information comprising at least one musical composition, the primary play list is a list of the musical composition unit information comprising at least one musical composition unit acquired by the server according to the musical composition indication information, and the target musical composition unit comprises at least one musical composition unit corresponding to the musical composition unit information;
and displaying the musical composition unit information of the target musical composition unit and the secondary play list thereof, and playing the musical composition corresponding to the musical composition information in the secondary play list.
In one possible implementation, the method further includes:
sending a next music playing request to a server, wherein the next music playing request comprises the music information of the current playing music of the terminal;
and receiving and playing the next music data of the target music unit, or receiving new music unit information and a secondary play list of the target music unit, displaying the new music unit information of the target music unit and the secondary play list thereof, and playing the music corresponding to the music information in the new secondary play list, wherein the new target music unit is the server which reselects the music unit according to the primary play list.
In one possible implementation, the method further includes:
and receiving the first broadcasting music data sent by the server, and broadcasting the first broadcasting music of the target music unit according to the first broadcasting music data, wherein the first broadcasting music data is the music data corresponding to the music unit information with the designated sequence in the secondary play list of the target music unit acquired by the server.
In one possible implementation manner, receiving musical composition unit information and a secondary playlist of a target musical composition unit specifically includes:
receiving a primary playlist and a secondary playlist of each music unit;
displaying the musical composition unit information of the target musical composition unit and the secondary play list thereof, and playing the musical composition corresponding to the musical composition information in the secondary play list, wherein the method specifically comprises the following steps:
and displaying the primary play list and the secondary play list of each music unit, determining the next music unit after the music play of the current music unit is finished according to the primary play list, and continuing playing the music according to the secondary play list corresponding to the next music unit.
In one possible implementation, the method further includes:
receiving the first-cast music data corresponding to the music information in the secondary play list of each music unit;
And playing the first-play music of each music unit according to the first-play music data.
In a third aspect of the present application, there is provided a music play control apparatus comprising:
a request receiving unit, configured to receive a music playing request sent by a target through a terminal, where the music playing request includes music indication information;
a first-level play control list obtaining unit, configured to obtain a first-level play list according to the music instruction information, where the first-level play list includes music unit information of at least one music unit;
a secondary playlist obtaining unit, configured to obtain a secondary playlist of a target musical composition unit according to the primary playlist, where the target musical composition unit includes at least one musical composition unit corresponding to the musical composition unit information, and the secondary playlist includes musical composition information of at least one musical composition;
and the play list sending unit is used for sending the musical composition unit information and the secondary play list of the target musical composition unit to the terminal so that the terminal displays the musical composition unit information of the target musical composition unit and the secondary play list thereof and plays the musical composition corresponding to the musical composition information in the secondary play list.
In a possible implementation manner, the apparatus further includes a music switching unit for:
receiving a next music playing request sent by a terminal, wherein the next music playing request comprises music information of the current playing 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 play list, and acquiring a secondary play list of the new target music unit;
and sending the musical composition unit information and the secondary play list of the new target musical composition unit to a terminal so that the terminal displays the musical composition unit information and the secondary play list of the new target musical composition unit and plays the musical composition corresponding to the musical composition information in the new secondary play list.
In a possible implementation manner, the playlist sending unit is further configured to:
acquiring head broadcasting music data corresponding to the music unit information of the designated sequence in the secondary play list of the target music unit; and
and sending the head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music according to the head-broadcasting music data.
In one possible implementation manner, the secondary playlist acquisition unit is specifically configured to:
acquiring a secondary play list of the music units corresponding to the information of each music unit in the primary play list;
the playlist sending unit is specifically configured to send the primary playlist and the secondary playlist of each music unit to the terminal, so that the terminal determines, according to the primary playlist, a next music unit after the music playing of the current music unit is finished, and continues playing the 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 the head broadcasting music data corresponding to the music information of each secondary play list according to the secondary play list of each music unit; and
and sending the acquired head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music of each music unit according to the head-broadcasting music data.
In a fourth aspect of the present application, there is provided a music play control apparatus comprising:
a request sending unit, configured to receive a music playing request indicated by an object and send the request to a server, where the music playing request includes music indication information;
A playlist receiving unit configured to receive musical composition unit information of a target musical composition unit and a secondary playlist, the secondary playlist being a list of musical composition information including at least one musical composition, the primary playlist being a list of 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;
and the music playing unit is used for displaying the music unit information of the target music unit and the secondary play list thereof and playing the music corresponding to the music information in the secondary play list.
In a possible implementation manner, the apparatus further includes a music switching unit for:
sending a next music playing request to a server, wherein the next music playing request comprises the music information of the current playing music of the terminal;
and receiving and playing the next music data of the target music unit, or receiving new music unit information and a secondary play list of the target music unit, displaying the new music unit information of the target music unit and the secondary play list thereof, and playing the music corresponding to the music information in the new secondary play list, wherein the new target music unit is the server which reselects the music unit according to the primary play list.
In one possible implementation manner, the music playing unit is further configured to receive first-playing music data sent by the server, and play first-playing music of the target music unit according to the first-playing music data, where the first-playing music data is music data corresponding to music unit information with a specified order 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 music unit;
the music playing unit is specifically configured to display the primary playlist and the secondary playlist of each music unit, 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.
In a possible implementation manner, the playlist receiving unit is further configured to:
receiving the first-cast music data corresponding to the music information in the secondary play list of each music unit;
and playing the first-play music of each music unit according to the first-play music data.
In a fifth aspect of the present application, there is provided a computer readable storage medium storing computer instructions which, when run on a computer, cause the computer to perform the method of the first or second aspect.
The embodiment of the application has at least the following beneficial effects:
after receiving the music playing request of the terminal, the server issues the music unit information of the target music unit and the secondary play list together, so that the terminal side can directly obtain the music data to be played from the server according to the secondary play list, 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 music playing control process.
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 obtain the secondary play list of the new target music units to send to the terminal, so that the terminal can realize automatic switching of different music units to play music without the need of an object instruction, and the process of switching music units to play music is simplified.
Drawings
Fig. 1 is a schematic application scenario diagram 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 an embodiment of the present application;
fig. 3 is a flowchart of a music playing control provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a user interface display of musical tune cell information and a secondary 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 present 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 diagram of a user interface display of an album list and song list according to 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 of a process of acquiring 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 song playing by the terminal according to the embodiment of the present application;
fig. 12 is a schematic structural diagram of a music playing control device according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a computing device according to an embodiment of the present application;
fig. 14 is a schematic structural view of another music playing control device according to the 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
For a better understanding of the technical solutions provided by the embodiments of the present application, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
In order to facilitate a better understanding of the technical solutions of the present application by a person skilled in the art, technical terms related to the present application are described below.
And (3) 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, can interact with a user through a human-computer interaction interface and can interact with a background server through a network, such as a smart mobile phone, a computer, an intelligent sound box, an intelligent wearable device and the like, wherein the intelligent wearable device can comprise an intelligent bracelet, an intelligent watch, intelligent clothes, intelligent shoes, intelligent ornaments and the like.
A blockchain server: the blockchain technology is a brand new distributed infrastructure and computing mode which uses a blockchain data structure to verify and store data, uses a distributed node consensus algorithm to generate and update data, uses a cryptography mode to ensure the safety of data transmission and access, and uses an intelligent contract consisting of automated script codes to program and operate the data. The blockchain server performs decentralization storage with the data, so that the data can be shared among different blockchain servers.
The following describes the design concept of the present application.
Along with the development of science and technology, intelligent on-screen sound boxes appear, and on-screen sound boxes are sound boxes after an intelligent screen is added on a traditional sound box, and a graphical user interface (Graphical User Interface, GUI) can be displayed on the intelligent screen, so that a user can interact with the on-screen sound boxes through the GUI.
In the current music playing system, devices such as an intelligent sound box and the like can collect voice signals of a user based on a voice user interface (Voice User Interface, VUI) and send the voice signals to a server, 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 only sends one music list to the terminal and cannot display different music lists, and therefore a GUI-based intelligent music playing method is achieved.
In the intelligent music playing method based on the GUI, after the user makes multiple active interaction operations based on the GUI, the server sends different music lists to the terminal, so that the terminal displays the different music lists through a user interface, and when the user instructs to switch the different music lists to play music, multiple active interaction operations are also needed, and in the music playing process based on the GUI, the interaction process among the user, the terminal and the server is complex.
In view of this, in order to simplify the music play control process, the inventors of the present application devised a music play control method, apparatus, and storage medium, in which a user sends a music play request carrying music instruction information to a server through a terminal; the server obtains a first-level play list of the musical composition unit information comprising at least one musical composition unit according to the musical composition indication information, and obtains a secondary play list of the target musical composition unit according to the first-level play list, and then sends the musical composition unit information and the secondary play list of the target musical composition unit to the terminal; the terminal displays the received musical composition unit information and plays the musical composition corresponding to the musical composition information in the secondary play list.
The target musical composition unit comprises one or more musical composition units in a first-level play list, one musical composition unit comprises one or more musical compositions, and the musical composition units can be albums of music, songs of songs and the like; the secondary playlist includes musical composition information of one or more musical compositions.
When the server sends the musical composition unit information of the target musical composition unit to the terminal, the server can directly send the acquired first-level play list to the terminal, and the terminal displays the received first-level play list.
The terminal may play the received musical composition corresponding to the musical composition information in the play secondary play list in cooperation with the musical composition play control server.
Further, in order to realize that the terminal can automatically play songs of different music units, in the application, when determining that the playing of the current target music unit is finished, the server reselects the music unit as a new target music unit according to the first-level 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 the music information in the new secondary play list.
The musical composition unit information of the musical composition units, the musical composition information of the musical composition, the number of the musical compositions of the musical composition can be stored in the cloud or the blockchain, and the musical composition of the present application can comprise pure music, song music, drama, description and the like.
It should be noted that, considering that the requesting terminal may be a user or may be another main body, for example, an intelligent device, these main bodies are collectively referred to as objects in this application. That is, the object in the present application is synonymous expression of a user, and refers to a person or an intelligent device indicating a music playing request, where the intelligent device may include an intelligent robot, an intelligent voice interaction assistant, and the like.
After the design concept of the embodiment of the present application is introduced, some simple descriptions are made below for application scenarios applicable to the technical solution of the embodiment of the present application, and it should be noted that the application scenarios described below are only used to illustrate the embodiment of the present application and are not limiting. In the 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, at least one resource server 120, where:
the terminal 110 is configured to receive a target music playing request and send the target music playing request to the resource server 120, and display the music unit information and the secondary playlist of the target music unit sent by the resource server, and play the secondary playlist indicating the music.
The resource server 120 analyzes the received music play request, acquires a sub-playlist of the target music unit according to the analysis result, and transmits the music unit information and the sub-playlist of the target music unit to the terminal.
The terminal 110 may be installed with a musical composition application software, and the object may transmit a musical composition play request to the resource server through the terminal or the musical composition application software on the terminal, and at the same time, the terminal may receive musical composition unit information and a sub-playlist of the target musical composition unit through the musical composition application software, and display the received musical composition unit information and sub-playlist.
The terminal 110 may be an intelligent sound box, where an intelligent interaction module, a media playing module, a communication module, etc. are configured in the intelligent sound box, where the intelligent interaction module is used to obtain a music playing request indicated by an object, and the intelligent interaction module may include an intelligent screen, a microphone, etc.; the media playing module is used for being matched with the music playing control server to play music indicated by the music information in the secondary play list, and the communication module is used for carrying out network communication among the terminal, the resource server and the music playing control server.
The terminal in the application scene provided by the application is mainly provided with the intelligent screen on-screen sound, namely, the music playing control method provided by the application is mainly applied to the scene of the on-screen sound.
As shown in fig. 2, in one possible application scenario, in order to facilitate reducing the communication delay between the terminal and the resource server, musical tune unit information, a secondary playlist, musical tune 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 through blockchains, and the blockchain servers 230 constitute the music data sharing system 240. For example, the terminal 110 corresponding to the object a is located at the site a and is in communication connection with the blockchain server 230, and the terminal 110 corresponding to the object C, B is located at the site b and is in communication connection with the other blockchain server 230.
Each blockchain server 230 in the music data sharing system 240 has a node identification corresponding thereto, and each blockchain server 230 in the music data sharing system 240 may store the node identifications of other blockchain servers 230 in the music data sharing system so as to subsequently broadcast the generated blocks to other blockchain servers 230 in the data sharing system according to the node identifications of the other blockchain servers 230. Each blockchain server 230 may maintain a list of node identifiers as shown in the table below, and store the node names and node identifiers in the list of node identifiers. The node identifier may be an IP (Internet Protocol, protocol of interconnection between networks) address, and any other information that can be used to identify the node, and the IP address is only illustrated in table 1.
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 number of the node, and N is a positive integer greater than 2 in the scenario shown in table 1.
Blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. The blockchain is essentially a decentralised database, which is a series of data blocks generated by cryptographic methods, each data block containing a batch of information of network transactions 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 blockchain underlying platform may include processing modules for user management, basic services, smart contracts, operation monitoring, and the like. The user management module is responsible for identity information management of all blockchain participants, including maintenance of public and private key generation (account management), key management, maintenance of corresponding relation between the real identity of the user and the blockchain address (authority management) and the like, and under the condition of authorization, supervision and audit of transaction conditions of certain real identities, and provision of rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node devices, is used for verifying the validity of a service request, recording the service request on a storage after the effective request is identified, for a new service request, the basic service firstly analyzes interface adaptation and authenticates the interface adaptation, encrypts service information (identification management) through an identification algorithm, and transmits the encrypted service information to a shared account book (network communication) in a complete and consistent manner, and records and stores the service information; the intelligent contract module is responsible for registering and issuing contracts, triggering contracts and executing contracts, a developer can define contract logic through a certain programming language, issue the contract logic to a blockchain (contract registering), invoke keys or other event triggering execution according to the logic of contract clauses to complete the contract logic, and simultaneously provide a function of registering contract upgrading; the operation monitoring module is mainly responsible for deployment in the product release process, modification of configuration, contract setting, cloud adaptation and visual output of real-time states in product operation, for example: alarms, monitoring network conditions, monitoring node device health status, etc.
The platform product service layer provides basic capabilities and implementation frameworks of typical applications, and developers can complete the blockchain implementation of business logic based on the basic capabilities and the characteristics of the superposition business. The application service layer provides the application service based on the block chain scheme to the business participants for use.
Based on the above application scenario, the following provides a music playing control method according to the embodiment of the present application, which focuses on describing the interaction procedure between the terminal 110 and the resource server 120 or the blockchain server 230.
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 transmits a music play request of the object instruction to the resource server, where the music play request includes music instruction information.
After the terminal wakes up, automatically detecting a music playing request of the object, and sending the music playing request to the resource server when the music playing request is detected.
The music playing request may be an audio signal or a text signal, and the music instruction information may include a music field of a music requested to be played by the subject, a player, a musical instrument, a request intention, and the like.
The music can be classified into fields according to the performance form of the music, such as separating the music into pure music fields, drama fields, comment fields, etc.; the music pieces may be classified in terms of their playing instruments, such as a calabash-stringed musical instrument, a piano, a violin, a flute, etc., and classified in terms of their content, such as a news, song, book, game, etc.
The request intention may include play music, inquiry information, etc., as in the music play request "please play album song of singer XXX", the request intention is to play music.
In step S302, the resource server obtains the primary playlist and the secondary playlist of the target musical composition unit according to the musical composition indication information in the received musical composition playing request.
The resource server performs recognition analysis on the music playing request to determine music indication information in the music playing information, wherein if the music playing request can be an audio signal, voice recognition is performed 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; and then natural language understanding (Nature Language processing, NLP) is performed on the obtained text information to obtain music instruction information, wherein the music instruction information can comprise the music field understood by the NLP, the request intention, the analyzed slot position and the like.
The analyzed slots may be the player of the music, the playing instrument, the list attribute of the music, etc., for example, if the text information is "please play album song of singer XXX", after the text information is subjected to NLP understanding, the corresponding music field is determined to be the song field, the request is intended to play the music, and the analyzed slots are the player "singer XXX" and the list attribute "album".
In this step, the resource server may obtain the primary playlist and the secondary playlist through the following processes:
obtaining musical composition unit information of one or more musical composition units according to the musical composition indication information, and determining a first-level play list according to the obtained one or more musical composition unit information;
selecting one or more musical composition units corresponding to the musical composition unit information from the primary play list as target musical composition units, and obtaining a secondary play list corresponding to the target musical composition units, wherein the secondary play list comprises musical composition information of one or more musical compositions, when the target musical composition unit comprises only one musical composition unit, the musical composition information corresponding to the musical composition unit is used as a secondary play list, and when the target musical composition unit comprises a plurality of musical composition units, the musical composition information corresponding to the plurality of musical composition units is used as a secondary play list.
When determining the first-level playlist, if a plurality of pieces of musical composition unit information are acquired, a sorting rule may be preset to sort the plurality of pieces of musical composition unit information, and the sorted plurality of pieces of musical composition unit information is determined as the first-level playlist, where the preset sorting rule may be a number of times of ordering the musical composition units, an evaluation of the musical composition units, and the like.
The musical composition unit information may include musical composition unit names, musical composition unit cover charts, distribution times, distribution companies, play times, etc. of the musical composition units, and may be set by those skilled in the art according to actual demands.
The music unit may include one or more music pieces, and the music piece information may include a music piece name, a player, a music piece jacket photograph, a music piece distribution time, a music piece distribution company, a music piece playing number, and the like, which may be set by those skilled in the art according to actual needs.
In step S303, the resource server transmits musical composition unit information of the target musical composition unit and the secondary playlist to the terminal.
In this step, the resource server may acquire the first-order song data corresponding to the song element information of the designated order in the secondary playlist of the target song element, and send the acquired first-order song data to the terminal, so that the terminal plays the first-order song according to the first-order song data.
If the target musical composition unit comprises one musical composition unit, the first-cast musical composition data corresponding to the musical composition unit can be obtained, and if the target musical composition unit comprises a plurality of musical composition units, the musical composition unit information with a specified sequence position can be selected from the plurality of musical composition unit information in the secondary play list, and the first-cast musical composition data corresponding to the musical composition unit can be obtained.
The resource server may sort the music information corresponding to the music unit information in the secondary playlist, and the first-order music data is the music data corresponding to the first-order music information in the music information corresponding to the corresponding music unit information, and if a certain music unit includes music 1 to music 9, the first-order music data may be the music data of the music 1.
In step S304, the terminal receives the musical composition unit information and the sub-play list of the target musical composition unit, displays the musical composition unit information of the target musical composition unit and the sub-play list thereof, and plays the musical composition corresponding to the musical composition information in the sub-play list.
The terminal can work cooperatively with the music play control server, the resource server acquires the music data corresponding to the music in the secondary play list, and the terminal plays the music according to the music data acquired by the music play control server.
The terminal may display the received musical composition unit information and the secondary playlist as follows:
the received musical composition unit information is displayed in a first UI interface, and when the user triggers the display of the secondary play list in a first setting mode, the secondary play list is displayed in a second UI interface, wherein the first setting mode can be clicking the musical composition unit information, and the first UI interface and the second UI interface are described in more detail below with reference to the accompanying drawings:
as shown in fig. 4, the terminal displays the received musical composition unit information in the first UI interface 400, and displays musical composition unit information 401 in the first UI interface 400, in which only one musical composition unit information including a musical composition unit name, a release time, and a unit cover map of the target musical composition unit is illustratively received.
When the object triggers the display of the secondary playlist in a specified operation manner, the terminal displays the secondary playlist 403 and musical composition unit information in the second UI interface 402, in which the secondary playlist 403 includes musical composition information of a plurality of musical compositions.
The above specified operation mode may be clicking on the musical composition unit information, or setting that the received musical composition unit information 401 is automatically updated from the first UI interface 400 to the second UI interface 401 after displaying the preset time in the first UI interface 400; when the UI interface is updated, the first UI interface can be gradually hidden and then the second UI interface can be displayed.
In the step S303, when the resource server transmits the musical composition unit information and the secondary playlist of the target musical composition unit to the terminal, the primary playlist and the secondary playlist are synchronized with the musical composition play control server, and the musical composition play 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 in cooperation includes:
the terminal receives the secondary play list and simultaneously receives the first-cast music data sent by the resource server as the music data of the current playing music to play; when playing the current music or finishing playing the current music, the terminal sends a next music playing request to the music playing control server, wherein the next music playing request comprises the music information of the current playing music;
the method comprises the steps that a music playing control server determines music information in a next music playing request as next music information, determines music resources corresponding to the next music information, acquires music data according to the music resources, and sends the acquired music data as next music data to a terminal, wherein the music resources can be acquired addresses of the music data such as uniform resource locators (Uniform Resource Locator, URL addresses), and the music playing control server can acquire the music resources from the URL addresses;
The terminal plays the next music according to the received next music data.
In one possible case, when the music play control server determines that the music play of the target music unit is finished according to the next music play request, the music play control server may send the first-cast music data of the target music unit to the terminal again, so that the terminal plays the music of the target music unit again.
When the music playing control server determines that the music playing of the target music unit is finished, the resource server may be further instructed to redefine the target music unit, and retrieve a secondary play list of the new target music unit, so that the terminal plays the music according to the new target music unit, see fig. 5, and 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, acquiring next music data of the current playing music in the current target music unit and sending the next music data to the terminal; the terminal plays the next music of the currently played music in the current target music unit according to the next music data.
And when the music playing control server determines that the current music of the target music unit is played completely according to the next music playing request, the following process is carried out:
the music playing control server indicates to the resource server that the request to reacquire the music unit information of the target music unit and the secondary play list;
the resource server acquires the musical composition unit information and the secondary play list of the new target musical composition unit, and sends the new musical composition unit information and the secondary play list to the terminal and the musical composition play control server;
the music playing control server receives the music unit information and the secondary play list of the new target music unit, acquires the first-cast music data of the new target music data according to the method in the step S303, and sends the acquired first-cast music data to the terminal as the next music data;
and the terminal plays the first-broadcasting music of the new target music unit according to the received first-broadcasting music data.
In the above procedure, the resource server may acquire the secondary playlist of the new target musical composition unit as follows:
re-selecting the musical composition unit information from the primary playlist, determining the musical composition unit corresponding to the selected musical composition unit information as a new target musical composition unit, further acquiring a secondary playlist corresponding to the new target musical composition unit, namely acquiring the musical composition information corresponding to the re-selected musical composition unit information, and taking the acquired musical composition information as the secondary playlist, wherein:
When the new target musical composition unit is a musical composition unit, the new secondary play list comprises musical composition information corresponding to the musical composition of the musical composition unit; when the new target musical composition unit is a plurality of musical composition units, the new sub-play list includes musical composition information corresponding to musical compositions of the plurality of musical composition units, and at this time, the musical composition information of the musical compositions of the same musical composition unit may be sorted together.
Alternatively, in the above step S303, the resource server may transmit the primary playlist and the secondary playlist to the terminal, which is specifically described as follows:
the resource server sends the primary play list and the secondary play list to the terminal, and the terminal performs aggregation display of a User Interface (UI) on the primary play list and the secondary play list, wherein the process of the terminal performing aggregation display on the primary play list and the secondary play list is as follows:
the terminal firstly displays the primary play list in the third UI interface, and when the user triggers to display the secondary play list in a setting manner, the secondary play list is displayed in the fourth UI interface, wherein the setting manner may be clicking on the music unit information in the primary play list, 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 first-level play list 601 in the third UI interface 600, and displays "now playing" music unit information 1 under the music unit information 1 in the third UI interface 600, because the music unit information in the first-level play list 601 is more, it is possible that only part of the music unit information in the first-level play list 601 can be displayed due to the limitation of the size of the user display interface when the first-level play list 601 is displayed, and at this time, it is possible to set to slide other music unit information on the user display interface in a specified manner, and as shown in the drawing, the rest of the music unit information can be displayed when the object slides left on the user display interface with a finger, and in addition, "now playing" is displayed under the music unit information 1 in the third UI interface 600, which indicates that the terminal is now playing the music corresponding to the music unit of the music unit information 1.
When the object triggers the display of the secondary playlist in accordance with the specified operation mode, the terminal displays a fourth UI interface 602 in the display area, the fourth UI interface 602 displaying musical-piece unit information 1 and a list 603 of musical-piece information corresponding to the musical-piece unit information 1, the musical-piece information 603 including musical-piece information of one or more musical pieces.
Here, when the current target musical composition unit includes only musical composition units of musical composition unit information 1, the list 603 of musical composition information is a sub-play list of the target musical composition unit, and when the previous target musical composition unit includes a plurality of musical composition units of musical composition unit information 1 and other musical composition unit information, the list 603 of musical composition information is a part of the sub-play list of the target musical composition unit.
The above specified operation mode may be clicking on the musical composition unit information, updated by the third UI interface 600 to the second UI interface 601; when the UI interface is updated, the third UI interface may be gradually hidden and then the fourth UI interface may be displayed.
For ease of understanding, the following description will be given with album information as musical composition unit information, songs as the musical composition described above, song names as musical composition information, target musical composition unit including only one album, album list as the sub-playlist, and further exemplary description will be given of the terminal displaying the first-order playlist and the sub-playlist.
As shown in fig. 7, after the terminal transmits a music play request "play album of XX singer" to the resource server, it receives the primary play list and the secondary play list transmitted by the resource server.
The terminal displays a first-level playlist 701 including a plurality of album information 702 therein in the fifth UI interface 700; each album information 702 corresponds to one album, and each album information 702 includes an album art map, an album name, and an album distribution time corresponding to an album title.
Numbers 1 to 5 in fig. 7 are only for distinguishing different album information, and the above numbers 1 to 5 may not be displayed; wherein an album title corresponding to the first album information in the primary playlist 701 is being played, and the fifth UI interface 700 is updated to the sixth UI interface 703 after the object clicks the first album art.
The sixth UI interface 703 includes an album ticket 704 being played, and album information of an album, wherein the album ticket 704 includes song names of a plurality of songs by "XX singer", where the song names are musical piece information of the musical piece data described above.
As shown in fig. 8, it is also possible to set an object to directly enter the seventh UI interface 800 displaying detailed information of a currently playing song after clicking the first album art in the primary playlist 701, or to set to enter the seventh UI interface 800 after clicking the song name of the currently playing song in the sixth UI interface 703.
The seventh UI 800 includes an album name, an album cover map, and a song name, a singer name, and a song playing form of the album on which the song is currently played, where the song playing form includes a Music Video (MV).
The seventh UI interface 800 further includes a page indication 801, where the number of circles in the page indication 801 represents 2 UI interfaces that can be currently displayed, and the seventh UI interface 800 that is currently displayed slides leftwards into the eighth UI interface 802, and the eighth UI interface 802 slides rightwards into the seventh UI interface 800.
The eighth UI 802 displays the song name and lyrics of the currently played song, and due to the limitation of the UI size, the eighth UI 802 displays lyrics similar to the lyrics being played, and the object may instruct the terminal to display the lyrics of other parts by sliding upwards or downwards; when the lyrics are displayed, the brightness and font size of the lyrics being played can be increased, so that the object can more conveniently watch the lyrics being played, and the letter n only represents the number of lines of the lyrics and is a positive integer.
It should be noted that, a person skilled in the art may set the terminal to display the above-mentioned primary playlist and secondary playlist in other ways according to actual needs.
Alternatively, the object may instruct the terminal to switch between different musical tune units to play songs through the third UI interface and the fifth UI interface, and the following may be referred to in the process:
the method comprises the steps that an object selects certain musical composition unit information in a first-level play list as musical composition unit information to be switched, after clicking the musical composition unit information to be switched through a third UI interface, a terminal sends a musical composition unit switching request to a resource server, and the musical composition unit switching request comprises the musical composition unit information to be switched;
the resource server takes the music unit corresponding to the music unit information to be switched as a target music unit according to the music unit information to be switched, acquires the music information corresponding to the music unit information to be switched as a new secondary play list, and sends the new secondary play list to the terminal; the terminal displays the new secondary play list on a fourth UI interface, and the terminal cooperates with the music playing control resource server to play music corresponding to the music information in the new secondary play list.
Optionally, in the step S302, when the resource server acquires the secondary playlist of the target secondary playlist, the resource server may also acquire the secondary playlist of the musical composition unit corresponding to each musical composition unit information in the primary playlist, and send the primary playlist and each secondary playlist to the terminal; and the terminal determines the next musical composition unit after the musical composition playing of the current musical composition unit is finished according to the primary play list, and continues playing the musical composition according to the secondary play list corresponding to the next musical composition unit.
If the primary play list comprises the music unit information 1 to the music unit information 3 of the music units 1 to 3, after the primary play list is acquired, the resource server respectively acquires the music information corresponding to the music unit information 1 as a secondary play list 1, acquires the music information corresponding to the music unit information 2 as a secondary play list 2, and acquires the music information corresponding to the music unit information 3 as a secondary play list 3; and further transmits the primary playlist and the secondary playlists 1 through 3 to the terminal.
After the terminal receives the primary playlist and each secondary playlist, the primary playlist is displayed in the UI first, when the object clicks any musical composition unit information, the terminal displays a secondary playlist corresponding to the clicked musical composition unit information in the UI, for example, after the object clicks the musical composition unit information 1, the terminal may display the secondary playlist 1 in the UI without sending a request message to the resource server.
The terminal may request the first-cast music data of the sub playlist 1 from the music play control server while displaying the sub playlist 1, and play the first-cast music of the sub playlist 1 according to the requested first-cast music data.
Optionally, after the resource server obtains the secondary play lists of each music unit, the resource server may obtain the first-cast music data corresponding to the music information in each secondary play list, and send each obtained first-cast music data to the terminal, where the first-cast music data of one secondary play list may be the music data corresponding to the music information of the designated sequence position in the secondary play list.
Correspondingly, when receiving a certain musical composition unit information indicated by the object, the terminal can directly display a secondary play list corresponding to the musical composition unit information indicated by the object without interaction with the resource server, and play the first-played song of the musical composition unit corresponding to the musical composition unit information according to the first-played musical composition data of the secondary play list.
After the resource server obtains the secondary play list 1 to the secondary play list 3 corresponding to the music units 1 to 3, obtaining the first-cast music data 1 in the secondary play list 1, obtaining the first-cast music data 2 in the secondary play list 2, obtaining the first-cast music data 3 in the secondary play list 3, and sending the first-cast music data 1 to the first-cast music 3 to the terminal;
at this time, assuming that the object clicks the musical composition unit information 3, the terminal directly displays the sub-playlist 3 without interacting with the resource server, and plays the first song of the musical composition unit 3 corresponding to the musical composition unit information 3 according to the first song data 3.
A specific example of a music play control is provided below, which is described with only songs as the music, albums as the music units, wherein the primary playlist is an album list including a plurality of album information, the target music unit is a target album corresponding to one of the album information, the secondary playlist is a song list of the target album, and song names of the plurality of songs are included in the song list.
The following description is made with respect to interaction between an object, a terminal, a resource server, and a music play control server, and implementation effects:
as shown in fig. 9, in this example, the functions of the above-described resource server and musical composition playing control server are provided by one music service system, which may include a plurality of servers each providing one function module, and in the following examples, only the respective function modules are referred to as respective servers, and the process of musical composition playing control is described with interactions between the respective function modules and terminals.
The functional modules include a voice service (Tencent Voice Service, TVS) module, a management module AIProxy, a voice recognition (Automatic Speech Recognition, ASR) module, a natural language processing (Nature Language processing, NLP) module, a skill service (Tencent Skills Kit Mananger, TSKM) module, a domain processing module, music application software, a cloud play control module, and the like; the cloud play control module realizes the function of the music play control server, and the other modules realize the function of the resource server.
The object indicates to the terminal the audio signal "please play album of singer XXX", and after the terminal detects the audio signal, the terminal sends the "please play album of singer XXX" as a music play request to the resource server.
After receiving a music playing request, namely 'please play albums of singers XXX', the resource server sends a music playing signal to a AIProxy, AIProxy calling ASR module through a TVS module;
the ASR module carries out voice recognition on the received music playing request to obtain text information of 'please play album of singer XXX', and returns to AIproxy;
after receiving text information returned by the ASR module, AIproxy calls the NLP module to perform semantic understanding on the text information of 'please play album of singer XXX', determines the music field, request intention and slot of the text information as music instruction information, and returns the determined music field, request intention and slot 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-cast song data of the target album, wherein the album list comprises a plurality of album identification album lists, the song list of the target album is a list of songs of one album, and the first-cast 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 the data of the first-cast song back to the NLP module, AIproxy and TVS module, and then sends the album list, the song list and the data of the first-cast song to the terminal and sends a playing instruction to the terminal.
After receiving the playing instruction, the terminal plays the first-cast song according to the first-cast song data, cooperates with the cloud play control module, plays the song according to the received album list and song list, and simultaneously performs UI display on the received album list and song list, and the process of performing UI display can be described in the above embodiments, and the description is not repeated here.
As shown in fig. 10, the process of the TSKM module calling the music search interface to obtain album lists and song lists is as follows:
the TSKM module invokes a domain processing module through a music search interface, the domain processing module searches relevant album information in the determined music domain in the music application software according to the determined request intention and the determined slot position to acquire an album list, and sorts the album information in the album list, at the moment, the album information is not directly returned to the acquired album list, but the album corresponding to the first album information is selected as an album waiting to be played again through the music search interface, the music search interface is invoked again to invoke the domain processing module, album details of the album waiting to be played are acquired, and the album details comprise the song list and the first song data of the album.
After the domain processing module obtains album details of the album corresponding to the first album information, the domain processing module sends the obtained song list, the album list and the first song data packet to the TSKM module, and meanwhile, the domain processing module sends the obtained album list and the song list to the cloud play control module, and the cloud play control module synchronizes the song list and the album list.
After the terminal plays the songs according to the playing instruction, the cloud play control module determines that the current album is played, selects the next album information of the current album from the album list, instructs the TSKM module to acquire the song list and the first song data of the next album information and returns the song list and the first song data to the terminal, and further the terminal plays the songs of the next album, so that the terminal can realize continuous playing of different albums, and particularly, see FIG. 11.
In fig. 11, after the current song of the current 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 current playing song; after the next song request reaches the cloud play control module, if the cloud play control module determines that the song of the current playing album is already played, determining next album information of the current playing album in an album list, calling a music search interface, acquiring a song list corresponding to the next album information through the TSKM module and the field processing module, returning the song list corresponding to the next album information to the terminal and the cloud play control module through the TSKM module, and further acquiring first-play song data of the song list of the next album information by the cloud play control module and sending the first-play song data to the terminal.
Because the terminal displays the album list and the album list of the albums in a UI, the object can select the album which is expected to be played through the album list displayed in the UI, and the object can inform the terminal of the album which is expected to be played through clicking the album information in the album list; correspondingly, the terminal takes the album information indicated by the object as album information to be switched, and sends an album switching request carrying the album information to be switched to the music service system.
Correspondingly, when receiving an album switching request, the music service system is called to acquire a song list of an album corresponding to album information to be switched, and the acquired song list is sequentially reported to the terminal and the cloud playing control module; and the cloud play control module acquires the data of the first song of the new song list and sends the data to the terminal, so that the terminal starts to play the song of the new album according to the data of the new first song.
Effects of the above example are explained below from the viewpoint of interaction of an object with a terminal:
after the object indicates to the terminal the audio signal of "please play album of singer XXX", the terminal displays an album list, and plays the song of the album corresponding to the first album information in the album list; after the song playing of the album corresponding to the first album information is finished, the terminal automatically continues playing the song of the album corresponding to the next album information.
The terminal displays an album list on the UI interface when songs are played, and displays the song list of the current album on the UI interface after the object clicks the album information of the current album in the album list; after the object clicks on 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 song of the unplayed album.
In summary, in the present application, after the object sends the music playing request to the resource server through the terminal, the resource server may acquire the primary playlist and the secondary playlist and send the primary playlist and the secondary playlist to the terminal, so that the terminal may directly play the music according to the primary playlist and the secondary playlist, thereby simplifying the music playing process.
On the other hand, after knowing that the terminal plays the music corresponding to the current music unit, the resource server can automatically acquire the secondary play list of the new music unit again according to the primary play list, acquire the new secondary play list and send the new secondary play list to the terminal, and then the terminal plays the music of the new music unit according to the new secondary play list, so that continuous playing of the music of different music units is realized.
As shown in fig. 12, based on the same technical concept, the embodiment of the present application further provides a music playing control device 1200, which includes:
a request receiving unit 1201, configured to receive a music playing request sent by a terminal, where the music playing request includes music instruction information;
a first-level play list acquisition unit 1202 for acquiring a first-level play list including musical composition unit information of at least one musical composition unit according to the musical composition instruction information;
a secondary playlist obtaining unit 1203 configured to obtain a secondary playlist of a target musical composition unit according to the primary playlist, the target musical composition unit including at least one musical composition unit corresponding to the musical composition unit information, the secondary playlist including musical composition information of at least one musical composition;
and a playlist transmitting unit 1204 configured to transmit the musical composition unit information and the sub-playlist of the target musical composition unit to a 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 for:
Receiving a next music playing request sent by a terminal, wherein the next music playing request comprises the music information of the current playing 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 first-level play list, and acquiring a secondary play list of the new target music unit;
and transmitting the musical composition unit information and the secondary play list of the new target musical composition unit to a terminal so that the terminal displays the musical composition unit information and the secondary play list of the new target musical composition unit and plays the musical composition corresponding to the musical composition information in the new secondary play list.
Optionally, the above playlist sending unit is further configured to:
acquiring head broadcasting music data corresponding to the music unit information of the designated sequence in the secondary play list of the target music unit; and
and sending the head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music according to the head-broadcasting music data.
Optionally, the secondary playlist acquisition unit is specifically configured to:
acquiring a secondary play list of the music units corresponding to the information of each music unit in the primary play list;
The playlist transmitting unit is specifically configured to transmit the primary playlist and the secondary playlist of each musical composition unit to the terminal, so that the terminal determines a next musical composition unit according to the primary playlist after the musical composition of the current musical composition unit is played, and continues playing the musical composition according to the secondary playlist corresponding to the next musical composition unit.
Optionally, the above playlist sending unit is further configured to:
acquiring the head broadcasting music data corresponding to the music information of each secondary play list according to the secondary play list of each music unit; and
and sending the acquired head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music of each music unit according to the head-broadcasting music data.
Based on the same technical concept, the embodiments of the present application further provide a computing device, referring to fig. 13, the computing device includes a processor 1301 and a memory 1302, where:
the memory 1302 has stored therein a computer program;
the processor 1301 when executing the computer program implements a music play control method as discussed above.
One processor 1301 is illustrated in fig. 13, but the number of processors 1301 is not limited in practice.
The memory may be a volatile memory (RAM), such as a random-access memory (RAM); the memory may also be a non-volatile memory (non-volatile memory), such as a read-only memory, 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, but is not limited thereto. The memory may be a combination of the above memories.
As an example, the functions of the respective modules of the music playing apparatus 1200 in fig. 12 may be realized 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 play control device 1400, which includes:
a request sending unit 1401, configured to receive a music playing request indicated by an object, and send the 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 sub-playlist, the sub-playlist being a list of musical composition information including at least one musical composition, the first-order playlist being a list of musical composition unit information including at least one musical composition unit acquired by the server based on 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 playing unit 1403 for displaying the music unit information of the target music unit and the sub-play list thereof, and playing the music corresponding to the music information in the sub-play list.
Optionally, the apparatus further comprises a music switching unit for:
sending a next music playing request to a server, wherein the next music playing request comprises the music information of the current playing music of the terminal;
and receiving and playing next music data of the target music unit, or receiving new music unit information and a secondary play list of the target music unit, displaying the new music unit information of the target music unit and the secondary play list thereof, and playing music corresponding to the music information in the new secondary play list, wherein the new target music unit is selected by the server according to the primary play list.
Optionally, the music playing unit is further configured to receive first-playing music data sent by the server, and play first-playing music of the target music unit according to the first-playing music data, where the first-playing music data is music data corresponding to music unit information with a designated sequence in the 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 music unit;
the music playing unit is specifically configured to display the primary playlist and the secondary playlist of each music unit, determine a next music unit after the music playing of the current music unit is completed 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 the first-cast music data corresponding to the music information in the secondary play list of each music unit;
playing the first-play music of each music unit according to the first-play music data
As shown in fig. 15, the embodiment of the present application provides a terminal 1500 for music play 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 playing module 1570, a communication interface 1580, a WiFi module 1590, and the like. It will be appreciated by those skilled in the art that the structure of the terminal shown in fig. 15 is not limiting of the terminal, and that the terminal provided by the embodiments of the present application may include more or less components than those illustrated, or may combine some components, or may be arranged in different components.
The following describes the respective constituent elements of the terminal 1500 in detail with reference to fig. 15:
the RF circuitry 1510 may be used for receiving and transmitting data during a communication or session. Specifically, the RF circuit 1510, upon receiving the musical composition instruction information, transmits the musical composition instruction information to the processor 1530 for processing. Typically, the RF circuitry 1510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like.
In addition, the RF circuitry 1510 may also communicate with networks and other terminals via wireless communications. The wireless communications may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message service (Short Messaging Service, SMS), and the like.
The WiFi technology belongs to a short-distance wireless transmission technology, and the terminal 1500 may be connected to an Access Point (AP) through a WiFi module 1590, so as to achieve Access to a data network. The WiFi module 1590 may be used for receiving and transmitting data in a communication process.
Since the terminal 1500 can implement a communication service and send information to a blockchain resource server in the embodiment of the present application, the terminal 1500 needs to have a data transmission function, that is, the terminal 1500 needs to include a communication module. Although fig. 15 illustrates 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 (such as a bluetooth module) for implementing communication exist 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 may be used for storing software programs and modules. The processor 1530 executes various functional applications and data processing of the terminal 1500 by executing software programs and modules stored in the memory 1540, and when the processor 1530 executes the program codes in the memory 1540, part or all of the processes of the terminal according to the embodiments of the present application can be implemented.
In some embodiments, the memory 1540 may include primarily a stored program area and a stored data area. The storage area may store, among other things, an operating system, various application programs (e.g., communication applications, location models), and the like.
In addition, the memory 1540 may include high-speed random access memory, and may also include 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 an object and generate key signal inputs related to function control of the terminal 1500.
In some implementations, the input unit 1550 may include a touch panel 1551, a microphone 1552, and other input devices 1553.
The touch panel 1551, also referred to as a touch screen, may collect touch operations on or near the touch panel 1551 (e.g., operations of the user on the touch panel 1551 or near the touch panel 1551 using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a preset program. In some embodiments, the touch panel 1551 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 it into coordinates of touch points, and sends the coordinates to the processor 1530, and can receive and execute commands from the processor 1530. In addition, the touch panel 1551 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
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 (e.g., switch keys, etc.), a trackball, mouse, joystick, etc.
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 man-machine interaction.
Further, the touch panel 1551 may cover the display panel 1561, and when the touch panel 1551 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 1530 to determine a type of touch event, and then the processor 1530 provides a corresponding visual output on the display panel 1561 according to the type of touch event.
Although the touch panel 1551 and the display panel 1561 are shown as two separate components to implement the input and output functions of the terminal 1500 in fig. 15, in some embodiments, the touch panel 1551 may be integrated with the display panel 1561 to implement the input and output functions of the terminal 1500.
The processor 1530 is a control center of the terminal 1500, connects respective components using various interfaces and lines, and executes various functions of the terminal 1500 and processes data by running or executing software programs and/or modules stored in the memory 1540 and calling data stored in the memory 1540, thereby realizing various services based on the terminal.
In some implementations, the processor 1530 may include one or more processors. In some embodiments, the processor 1530 may integrate an application processor and a modem processor, with the modem processor primarily handling wireless communications. It is to be appreciated that the modem processor(s) may not be integrated into the processor 1530.
The music playing module 1570 is configured to play music data acquired by the terminal, where the music playing module may include audio/video playing software, audio/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, thereby performing functions of managing charge, discharge, and power consumption through the power management system.
Although not shown, the terminal 1500 may further include at least one sensor, audio circuit, etc., which will not be described herein.
Based on the same technical concept, embodiments of the present application also provide a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform a method of testing blockchain software as previously discussed.
While 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. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (9)

1. A music play control method, characterized by comprising:
receiving a music playing request sent by a target through a terminal, wherein the music playing request comprises music indication information;
Acquiring a first-level play list according to the music instruction information, wherein the first-level play list comprises music unit information of at least one music unit, and one music unit corresponds to at least one music;
obtaining a secondary play list of target music units according to the primary play list, wherein the target music units comprise at least one music unit corresponding to the music unit information, and the secondary play list comprises the music information of at least one music;
transmitting the musical composition unit information and the secondary play list of the target musical composition unit to a terminal so that the terminal displays the musical composition unit information and the secondary play list of the target musical composition unit and plays musical compositions corresponding to the musical composition information in the secondary play list;
the method further comprises the steps of:
acquiring head broadcasting music data corresponding to the music unit information of the designated sequence in the secondary play list of the target music unit; and
and sending the head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music according to the head-broadcasting music data.
2. The method as recited in claim 1, further comprising:
receiving a next music playing request sent by a terminal, wherein the next music playing request comprises the current music playing information 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 play list, and acquiring a secondary play list of the new target music unit;
and sending the musical composition unit information and the secondary play list of the new target musical composition unit to a terminal so that the terminal displays the musical composition unit information and the secondary play list of the new target musical composition unit and plays the musical composition corresponding to the musical composition information in the secondary play list of the new target musical composition unit.
3. The method according to claim 1, characterized in that it comprises in particular:
acquiring a secondary play list of the music units corresponding to the information of each music unit in the primary play list;
and sending the musical composition unit information and the secondary play list of the target musical composition unit to a terminal, wherein the method specifically comprises the following steps:
and sending the primary play list and the secondary play list of each music unit to the terminal, so that the terminal determines the next music unit after the music play of the current music unit is finished according to the primary play list, and continues playing the music according to the secondary play list corresponding to the next music unit.
4. A music play control method, characterized by 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 musical composition unit information and a secondary play list of a target musical composition unit, wherein the secondary play list is a list of musical composition information comprising at least one musical composition, which is acquired by the server according to a primary play list, the primary play list is a list of musical composition unit information comprising at least one musical composition unit, which is acquired by the server according to the musical composition indication information, and the target musical composition unit comprises at least one musical composition unit corresponding to the musical composition unit information, and one musical composition unit corresponds to at least one musical composition;
displaying the musical composition unit information of the target musical composition unit and a secondary play list thereof, and playing the musical composition corresponding to the musical composition information in the secondary play list;
the method further comprises the steps of:
and receiving the first-broadcasting music data sent by the server, and broadcasting the first-broadcasting music of the target music unit according to the first-broadcasting music data, wherein the first-broadcasting music data is the music data corresponding to the music unit information with the designated sequence in the secondary play list of the target music unit acquired by the server.
5. The method as recited in claim 4, further comprising:
sending a next music playing request to a server, wherein the next music playing request comprises the current music playing information of the terminal;
and receiving and playing the next music data of the target music unit, or receiving the music unit information and the secondary play list of a new target music unit, displaying the music unit information and the secondary play list of the new target music unit, and playing the music corresponding to the music information in the secondary play list of the new target music unit, wherein the new target music unit is the server which reselects the music unit according to the primary play list.
6. The method of claim 4, wherein receiving musical composition unit information and a secondary playlist for a target musical composition unit, comprises:
receiving a primary playlist and a secondary playlist of each music unit;
displaying the musical composition unit information of the target musical composition unit and the secondary play list thereof, and playing the musical composition corresponding to the musical composition information in the secondary play list, wherein the method specifically comprises the following steps:
and displaying the primary play list and the secondary play list of each music unit, determining the next music unit after the music play of the current music unit is finished according to the primary play list, and continuing playing the music according to the secondary play list corresponding to the next music unit.
7. A music play control apparatus, comprising:
a request receiving unit, configured to receive a music playing request sent by a target through a terminal, where the music playing request includes music indication information;
a first-level play list obtaining unit, configured to obtain a first-level play list according to the music instruction information, where the first-level play list includes music unit information of at least one music unit, and one music unit corresponds to at least one music;
a secondary playlist obtaining unit, configured to obtain a secondary playlist of a target musical composition unit according to the primary playlist, where the target musical composition unit includes at least one musical composition unit corresponding to the musical composition unit information, and the secondary playlist includes musical composition information of at least one musical composition;
a playlist transmitting unit, configured to transmit the musical composition unit information and the secondary playlist of the target musical composition unit to a terminal, so that the terminal displays the musical composition unit information of the target musical composition unit and the secondary playlist thereof, and plays a musical composition corresponding to the musical composition information in the secondary playlist;
the playlist transmitting unit is further configured to:
acquiring head broadcasting music data corresponding to the music unit information of the designated sequence in the secondary play list of the target music unit; and
And sending the head-broadcasting music data to the terminal so that the terminal plays the head-broadcasting music according to the head-broadcasting music data.
8. A music play control apparatus, comprising:
a request sending unit, configured to receive a music playing request indicated by an object and send the request to a server, where the music playing request includes music indication information;
a play list receiving unit configured to receive musical composition unit information of a target musical composition unit and a secondary play list, where the secondary play list is a list of musical composition information including at least one musical composition acquired by the server according to a primary play list, and the primary play list is a list of musical composition unit information including at least one musical composition unit acquired by the server according to the musical composition instruction information, and the target musical composition unit includes at least one musical composition unit corresponding to the musical composition unit information, and one musical composition unit corresponds to at least one musical composition;
a music playing unit for displaying the music unit information of the target music unit and the secondary play list thereof, and playing the music corresponding to the music information in the secondary play list;
the music playing unit is further configured to:
And receiving the first-broadcasting music data sent by the server, and broadcasting the first-broadcasting music of the target music unit according to the first-broadcasting music data, wherein the first-broadcasting music data is the music data corresponding to the music unit information with the designated sequence in the secondary play list of the target music unit acquired by the server.
9. A computer readable storage medium storing computer instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1-6.
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 CN110704671A (en) 2020-01-17
CN110704671B true 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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8356031B2 (en) * 2010-02-11 2013-01-15 Daisy, Llc System and method of generating a playlist based on a frequency ratio
CN106610968B (en) * 2015-10-21 2020-09-04 广州酷狗计算机科技有限公司 Method and device for determining song list and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN110704671A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
JP7351907B2 (en) Online document sharing methods, devices, electronic devices and storage media
CN108521858A (en) The device identifier relevant operation processing of packet-based data communication
US10133780B2 (en) Methods, systems, and computer program products for determining availability of presentable content
US11310066B2 (en) Method and apparatus for pushing information
CN105224586A (en) From previous session retrieval situation
CN105072146B (en) Music information sharing method and device
CN106484856B (en) Audio frequency playing method and device
CN107644002A (en) Article searching method, device and system
CN108717432A (en) resource query method and device
CN109509472A (en) Method, apparatus and system based on voice platform identification background music
CN108684206A (en) A kind of searching method and device
CN111490927A (en) Method, device and equipment for displaying message
CN106325889A (en) Data processing method and device
CN105224668A (en) A kind of disposal route of requesting songs and device
CN108768824A (en) Information processing method and device
CN104750718B (en) The searching method and equipment of a kind of data information
CN105047185B (en) A kind of methods, devices and systems obtaining audio accompaniment
CN105991403A (en) Instant messaging (IM) based multimedia sharing method and apparatus
US11632581B2 (en) Playlist switching method, apparatus and system, terminal and storage medium
CN110704671B (en) Music playing control method, device and storage medium
CN111031354B (en) Multimedia playing method, device and storage medium
CN107968812A (en) The method and device of synchronous local resource and Internet resources
CN113360704A (en) Voice playing method and device and electronic equipment
JP5642012B2 (en) AV apparatus and computer program
KR20160104981A (en) Method, user terminal and computer program for unified searching information

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