CN111797271A - Method and device for realizing multi-person music listening, storage medium and electronic equipment - Google Patents

Method and device for realizing multi-person music listening, storage medium and electronic equipment Download PDF

Info

Publication number
CN111797271A
CN111797271A CN202010652726.9A CN202010652726A CN111797271A CN 111797271 A CN111797271 A CN 111797271A CN 202010652726 A CN202010652726 A CN 202010652726A CN 111797271 A CN111797271 A CN 111797271A
Authority
CN
China
Prior art keywords
information
music
terminal
playing
invitation
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.)
Pending
Application number
CN202010652726.9A
Other languages
Chinese (zh)
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.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music Technology 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 Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN202010652726.9A priority Critical patent/CN111797271A/en
Publication of CN111797271A publication Critical patent/CN111797271A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/64Browsing; Visualisation therefor

Abstract

The embodiment of the invention relates to a method and a device for realizing multi-person music listening, a storage medium and electronic equipment, and relates to the technical field of man-machine interaction. The method for realizing the multi-person music listening comprises the following steps: the first terminal responds to the operation of inviting to listen to music and generates invitation information; sending the invitation information to a second terminal associated with an invitation object; acquiring feedback information of the second terminal for accepting the invitation information; determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the second terminal to enable the second terminal to play preset music associated with the invitation information according to the synchronous playing information; or acquiring synchronous playing information, and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal. The invention realizes that a plurality of people listen to music, provides a brand new music listening interaction mode and is beneficial to improving the enthusiasm of users for participating in music listening.

Description

Method and device for realizing multi-person music listening, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of human-computer interaction, in particular to a method for realizing music listening by multiple persons, a device for realizing music listening by multiple persons, a computer-readable storage medium and electronic equipment.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims and the description herein is not admitted to be prior art by inclusion in this section.
Most of the existing music apps (applications) support only one person to listen to music. If the music needs to be shared to other users, the other users can enter a music playing interface after clicking the link through the mode of sharing the link, and listen to the shared music tracks.
Disclosure of Invention
However, the existing music App cannot realize that a plurality of people listen to music simultaneously, and after users share links of music with other users, different users respectively and independently listen to the same music, the music listening time is generally different, which is still a mode of listening to music by a single person, and the enthusiasm and the participation sense of the users listening to music through the links are easily influenced.
Therefore, a method for realizing music listening by multiple persons is needed, so that the music listening by multiple persons can be really realized, and the enthusiasm and the participation sense of users are improved.
In this context, embodiments of the present invention are intended to provide a method, an apparatus, a computer-readable storage medium, and an electronic device for enabling a plurality of persons to listen to music.
According to a first aspect of an embodiment of the present invention, there is provided a method for implementing listening to music by multiple persons, including: the first terminal responds to the operation of inviting to listen to music and generates invitation information; sending the invitation information to a second terminal associated with an invitation object; acquiring feedback information of the second terminal for accepting the invitation information; determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the second terminal to enable the second terminal to play preset music associated with the invitation information according to the synchronous playing information; or acquiring synchronous playing information, and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal.
In an optional embodiment, the generating invitation information includes: and determining the currently played music track as the preset music, and generating invitation information, wherein the invitation information carries the information of the preset music.
In an optional embodiment, in generating the invitation information, the method further comprises: and presenting the multi-person music listening interface associated with the invitation information so as to play the preset music associated with the invitation information in the multi-person music listening interface.
In an alternative embodiment, the multi-person music listening interface comprises a chat sub-interface, the method further comprising: and responding to the instant message sent in the chat sub-interface, sending the instant message to the second terminal so as to present the instant message on the second terminal.
In an optional embodiment, the method further comprises: responding to the operation of triggering a voice control in the multi-person music listening interface, and generating audio stream data according to an input voice signal; and sending the audio stream data to the second terminal in real time so as to synchronously play the audio stream data on the second terminal.
In an optional embodiment, the method further comprises: and when receiving audio stream data generated by a voice signal and transmitted by the second terminal in real time, synchronously playing the audio stream data.
In an optional embodiment, the preset music is kept playing while the audio stream data is played.
In an optional embodiment, the method further comprises: responding to the operation of triggering the expression action effect in the multi-person music listening interface, and generating and presenting the corresponding expression action effect according to the input expression information; and sending the expression information to the second terminal so as to synchronously present the expression action corresponding to the expression information on the second terminal.
In an alternative embodiment, the operation of triggering the expressive action includes: triggering an expression control and selecting expression information; or triggering the head portrait of the user of the second terminal and selecting the expression information.
In an optional implementation manner, during the playing of the preset music, the method further includes: when the multi-person music listening interface is switched to other interfaces, displaying a multi-person music listening identifier at a preset position to indicate that the multi-person music listening interface is in a multi-person music listening state; the identification for listening to music by multiple persons comprises at least one of the following: icon, symbol, avatar, and dynamic effect.
In an optional implementation manner, the association information of the first terminal and the second terminal is displayed in the multi-person music listening interface; the association information includes at least one of: a distance between the first terminal and the second terminal; the user of the first terminal and the user of the second terminal accumulate the duration of listening to the music together; the user of the first terminal and the user of the second terminal accumulate the number of listening to music together.
In an optional embodiment, the method further comprises: displaying user information of the second terminal in a preset mode in the multi-person music listening interface; the user information comprises at least one of a user head portrait, a user name, a user nickname, a user grade and historical information of the user listening to music.
In an optional embodiment, the method further comprises: responding to the playing control operation of the preset music, and sending the information of the playing control operation to the second terminal so as to synchronize the playing control operation on the second terminal; the play control operation includes at least one of: pausing playing, continuing playing, adjusting playing progress, switching music tracks, adjusting the preset music list and adjusting a playing mode.
In an optional implementation, the generating invitation information in response to the operation of inviting to listen to music includes: responding to the operation of triggering a matching user, sending the information to be matched of the first terminal to a server, and receiving a matching user list fed back by the server according to the information to be matched; generating the invitation information in response to an operation of selecting an invitation object in the matching user list.
According to a second aspect of the embodiments of the present invention, a method for implementing music listening by multiple persons is provided, including: the second terminal acquires invitation information sent by the first terminal; responding to the operation of accepting the invitation information, and returning feedback information of accepting the invitation information; acquiring synchronous playing information, and playing preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal; or playing preset music associated with the invitation information; and determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the first terminal to enable the first terminal to play the preset music according to the synchronous playing information.
In an optional implementation manner, when feedback information accepting the invitation information is returned, the method further includes: and presenting the multi-person music listening interface associated with the invitation information so as to play the preset music associated with the invitation information in the multi-person music listening interface.
In an optional embodiment, the multi-person music listening interface for presenting the invitation information association includes: opening a multi-person music listening interface associated with the invitation information in the music application to which the invitation information belongs; or opening a multi-person music listening webpage associated with the invitation information in a browser.
In an optional implementation manner, during the playing of the preset music, the method further includes: when the multi-person music listening interface is switched to other interfaces, displaying a multi-person music listening identifier at a preset position to indicate that the multi-person music listening interface is in a multi-person music listening state; the identification for listening to music by multiple persons comprises at least one of the following: icon, symbol, avatar, and dynamic effect.
In an alternative embodiment, the multi-person music listening interface comprises a chat sub-interface, the method further comprising: and responding to the instant message sent in the chat sub-interface, sending the instant message to the first terminal so as to present the instant message on the first terminal.
In an optional embodiment, the method further comprises: responding to the operation of triggering a voice control in the multi-person music listening interface, and generating audio stream data according to an input voice signal; and sending the audio stream data to the first terminal in real time so as to synchronously play the audio stream data on the first terminal.
In an optional embodiment, the method further comprises: and when receiving audio stream data generated by a voice signal and transmitted by the first terminal in real time, synchronously playing the audio stream data.
In an optional embodiment, the preset music is kept playing while the audio stream data is played.
In an optional embodiment, the method further comprises: responding to the operation of triggering the expression action effect in the multi-person music listening interface, and generating and presenting the corresponding expression action effect according to the input expression information; and sending the expression information to the first terminal so as to synchronously present the expression action corresponding to the expression information on the first terminal.
In an alternative embodiment, the operation of triggering the expressive action includes: triggering an expression control and selecting expression information; or triggering the head portrait of the user of the first terminal and selecting the expression information.
In an optional implementation manner, the association information of the first terminal and the second terminal is displayed in the multi-person music listening interface; the association information includes at least one of: a distance between the first terminal and the second terminal; the user of the first terminal and the user of the second terminal accumulate the duration of listening to the music together; the user of the first terminal and the user of the second terminal accumulate the number of listening to music together.
In an optional embodiment, the method further comprises: displaying user information of the first terminal in a preset mode in the multi-person music listening interface; the user information comprises at least one of a user head portrait, a user name, a user nickname, a user grade and historical information of the user listening to music.
In an optional embodiment, the method further comprises: responding to the playing control operation of the preset music, and sending the information of the playing control operation to the first terminal so as to synchronize the playing control operation on the first terminal; the play control operation includes at least one of: pausing playing, continuing playing, adjusting playing progress, switching music tracks, adjusting the preset music list and adjusting a playing mode.
According to a third aspect of the present invention, there is provided an apparatus for enabling a plurality of persons to listen to music, the apparatus being disposed in a first terminal, the apparatus comprising: the invitation information generating module is used for responding to the operation of listening to music and generating invitation information; the invitation information sending module is used for sending the invitation information to a second terminal associated with an invitation object; a feedback information obtaining module, configured to obtain feedback information that the second terminal accepts the invitation information; the music playing synchronization module is used for determining synchronous playing information according to the current playing information and sending the synchronous playing information to the second terminal so that the second terminal plays the preset music associated with the invitation information according to the synchronous playing information; or acquiring synchronous playing information, and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal.
In an optional embodiment, the invitation information generating module is configured to: and determining the currently played music track as the preset music, and generating invitation information, wherein the invitation information carries the information of the preset music.
In an alternative embodiment, the apparatus further comprises: and the music listening interface presenting module is used for presenting a multi-person music listening interface associated with the invitation information so as to enable the music playing synchronization module to play the preset music associated with the invitation information in the multi-person music listening interface.
In an alternative embodiment, the multi-person listening music interface comprises a chat sub-interface; the device further comprises: and the instant message synchronization module is used for responding to the instant message sent in the chat sub-interface, sending the instant message to the second terminal and presenting the instant message on the second terminal.
In an alternative embodiment, the apparatus further comprises: and the voice synchronization module is used for responding to the operation of triggering a voice control in the multi-person music listening interface, generating audio stream data according to an input voice signal, and sending the audio stream data to the second terminal in real time so as to synchronously play the audio stream data on the second terminal.
In an alternative embodiment, the apparatus further comprises: and the voice synchronization module is used for synchronously playing the audio stream data when receiving the audio stream data generated by the voice signal and sent by the second terminal in real time.
In an optional implementation manner, the music playing synchronization module maintains to play the preset music when the voice synchronization module plays the audio stream data.
In an alternative embodiment, the apparatus further comprises: and the expression interaction module is used for responding to the operation of triggering the expression dynamic effect in the multi-person music listening interface, generating and presenting the corresponding expression dynamic effect according to the input expression information, and sending the expression information to the second terminal so as to synchronously present the expression dynamic effect corresponding to the expression information on the second terminal.
In an optional embodiment, the expression interaction module is configured to: triggering an expression control and selecting expression information; or triggering the head portrait of the user of the second terminal and selecting the expression information.
In an alternative embodiment, the apparatus further comprises: the multi-person music listening identifier display module is used for displaying a multi-person music listening identifier at a preset position to indicate that the multi-person music listening identifier is currently in a multi-person music listening state when the multi-person music listening interface is switched to other interfaces in the process of playing the preset music by the music playing synchronization module; the identification for listening to music by multiple persons comprises at least one of the following: icon, symbol, avatar, and dynamic effect.
In an optional implementation manner, the association information of the first terminal and the second terminal is displayed in the multi-person music listening interface; the association information includes at least one of: a distance between the first terminal and the second terminal; the user of the first terminal and the user of the second terminal accumulate the duration of listening to the music together; the user of the first terminal and the user of the second terminal accumulate the number of listening to music together.
In an alternative embodiment, the apparatus further comprises: the user information display module is used for displaying the user information of the second terminal in the multi-user music listening interface in a preset mode; the user information comprises at least one of a user head portrait, a user name, a user nickname, a user grade and historical information of the user listening to music.
In an optional embodiment, the music play synchronization module is configured to: responding to the playing control operation of the preset music, and sending the information of the playing control operation to the second terminal so as to synchronize the playing control operation on the second terminal; the play control operation includes at least one of: pausing playing, continuing playing, adjusting playing progress, switching music tracks, adjusting the preset music list and adjusting a playing mode.
In an optional embodiment, the invitation information generating module is configured to: responding to the operation of triggering a matching user, sending the information to be matched of the first terminal to a server, and receiving a matching user list fed back by the server according to the information to be matched; generating the invitation information in response to an operation of selecting an invitation object in the matching user list.
According to a fourth aspect of the embodiments of the present invention, there is provided an apparatus for enabling a plurality of persons to listen to music, configured in a second terminal, the apparatus including: the invitation information acquisition module is used for the second terminal to acquire the invitation information sent by the first terminal; a feedback information returning module, configured to return feedback information for accepting the invitation information in response to an operation for accepting the invitation information; the music playing synchronization module is used for acquiring synchronous playing information and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal; or playing preset music associated with the invitation information, determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the first terminal, so that the first terminal plays the preset music according to the synchronous playing information.
In an alternative embodiment, the apparatus further comprises: and the music listening interface presenting module is used for presenting a multi-user music listening interface associated with the invitation information when the feedback information returning module returns the feedback information of accepting the invitation information, so that the music playing synchronization module plays the preset music associated with the invitation information in the multi-user music listening interface.
In an alternative embodiment, the listening music interface presenting module is configured to: opening a multi-person music listening interface associated with the invitation information in the music application to which the invitation information belongs; or opening a multi-person music listening webpage associated with the invitation information in a browser.
In an alternative embodiment, the apparatus further comprises: the multi-person music listening identifier display module is used for displaying a multi-person music listening identifier at a preset position to indicate that the multi-person music listening identifier is currently in a multi-person music listening state when the multi-person music listening interface is switched to other interfaces in the process of playing the preset music by the music playing synchronization module; the identification for listening to music by multiple persons comprises at least one of the following: icon, symbol, avatar, and dynamic effect.
In an alternative embodiment, the multi-person listening music interface comprises a chat sub-interface; the device further comprises: and the instant message synchronization module is used for responding to the instant message sent in the chat sub-interface and sending the instant message to the first terminal so as to present the instant message on the first terminal.
In an alternative embodiment, the apparatus further comprises: and the voice synchronization module is used for responding to the operation of triggering a voice control in the multi-person music listening interface, generating audio stream data according to an input voice signal, and sending the audio stream data to the first terminal in real time so as to synchronously play the audio stream data on the first terminal.
In an alternative embodiment, the apparatus further comprises: and the voice synchronization module is used for synchronously playing the audio stream data when receiving the audio stream data generated by the voice signal and sent by the first terminal in real time.
In an optional implementation manner, the music playing synchronization module maintains to play the preset music when the voice synchronization module plays the audio stream data.
In an alternative embodiment, the apparatus further comprises: and the expression interaction module is used for responding to the operation of triggering the expression dynamic effect in the multi-person music listening interface, generating and presenting the corresponding expression dynamic effect according to the input expression information, and sending the expression information to the first terminal so as to synchronously present the expression dynamic effect corresponding to the expression information on the first terminal.
In an optional embodiment, the expression interaction module is configured to: triggering an expression control and selecting expression information; or triggering the head portrait of the user of the first terminal and selecting the expression information.
In an optional implementation manner, the association information of the first terminal and the second terminal is displayed in the multi-person music listening interface; the association information includes at least one of: a distance between the first terminal and the second terminal; the user of the first terminal and the user of the second terminal accumulate the duration of listening to the music together; the user of the first terminal and the user of the second terminal accumulate the number of listening to music together.
In an alternative embodiment, the apparatus further comprises: the user information display module is used for displaying the user information of the second terminal in the multi-user music listening interface in a preset mode; the user information comprises at least one of a user head portrait, a user name, a user nickname, a user grade and historical information of the user listening to music.
In an optional embodiment, the music play synchronization module is configured to: responding to the playing control operation of the preset music, and sending the information of the playing control operation to the first terminal so as to synchronize the playing control operation on the first terminal; the play control operation includes at least one of: pausing playing, continuing playing, adjusting playing progress, switching music tracks, adjusting the preset music list and adjusting a playing mode.
According to a fifth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the above-described multi-person music listening implementation methods.
According to a sixth aspect of the embodiments of the present invention, there is provided an electronic apparatus comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned multi-person music listening implementation methods via execution of the executable instructions.
According to the implementation method for listening to music by multiple persons, the implementation device for listening to music by multiple persons, the computer readable storage medium and the electronic equipment, on one hand, multiple users can listen to the same music synchronously, and the music listening by multiple persons in a real sense is realized. On the other hand, the scheme breaks through the space limitation, and transfers the mode that the music can be simultaneously listened in the same physical space in the past to the on-line realization, thereby providing a brand-new music listening interactive mode and being beneficial to improving the enthusiasm of the user for listening to the music. On the other hand, the scheme effectively realizes the synchronization of playing music among a plurality of users and improves the mutual dynamic sense of listening to music by a plurality of users.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 shows a schematic diagram of a system architecture according to an embodiment of the invention;
FIG. 2 is a flow chart of a method for implementing multi-user music listening according to an embodiment of the present invention;
FIG. 3 illustrates an interface diagram for an invite to music operation, according to an embodiment of the invention;
FIG. 4 illustrates a schematic diagram of an interface for selecting an invitation object according to an embodiment of the invention;
FIG. 5 illustrates a flow diagram for determining an invitation object according to an embodiment of the present invention;
fig. 6 shows a schematic diagram of receiving invitation information within a music App according to an embodiment of the invention;
fig. 7 shows a schematic diagram of receiving invitation information within a social App according to an embodiment of the invention;
FIG. 8 illustrates a schematic diagram of a multi-person listening to music interface according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating a chat sub-interface according to an embodiment of the invention;
FIG. 10 illustrates a schematic diagram of triggering expressive action according to an embodiment of the invention;
FIG. 11 illustrates a schematic diagram of presenting expressive animation according to an embodiment of the invention;
FIG. 12 illustrates a schematic diagram showing a logo for listening to music by a plurality of persons, according to an embodiment of the present invention;
FIG. 13 illustrates a flow chart of another method for implementing listening to music by multiple persons according to an embodiment of the present invention;
FIG. 14 is a diagram illustrating an apparatus for enabling a plurality of persons to listen to music according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of another multi-user music listening realization device according to an embodiment of the present invention; and
fig. 16 shows a block diagram of an electronic device according to an embodiment of the invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Thus, the present invention may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the invention, a method for realizing music listening by multiple persons, a device for realizing music listening by multiple persons, a computer readable storage medium and an electronic device are provided.
In this document, any number of elements in the drawings is by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that the existing music App can not realize that a plurality of people listen to music simultaneously, after users share links of the music with other users, different users respectively listen to the same music independently, the music listening time is generally different, and the mode of listening to the music by one person is still a mode of listening to the music by one person, and the enthusiasm and the participation sense of the users listening to the music through the links are easily influenced.
In view of the above, the basic idea of the present invention is: on one hand, a plurality of users can listen to the same music synchronously, and the real meaning of listening to the music by a plurality of people is realized. On the other hand, the scheme breaks through the space limitation, and transfers the mode that the music can be simultaneously listened in the same physical space in the past to the on-line realization, thereby providing a brand-new music listening interactive mode and being beneficial to improving the enthusiasm of the user for listening to the music. On the other hand, the scheme effectively realizes the synchronization of playing music among a plurality of users and improves the mutual dynamic sense of listening to music by a plurality of users. .
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
It should be noted that the following application scenarios are merely illustrated to facilitate understanding of the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Embodiments of the invention support two or more people listening to music simultaneously, for example: in the music App, a user A sends a music listening invitation to a user B, and the user B enters the same interface as the user A after receiving the music listening invitation, so that the two users listen to the same music tracks synchronously. Or, the user a sends out a music listening invitation from the music App and sends the music listening invitation to the user B on the third-party platform (such as a social App), and after the user B accepts the invitation, the user B enters a multi-user music listening interface through a browser built in the third-party platform, and the two users listen to the same music track synchronously.
Exemplary method
An exemplary embodiment of the present invention first provides a method for implementing listening to music by a plurality of persons. Fig. 1 shows a system architecture diagram of an environment in which the method operates. As shown in fig. 1, the system architecture 100 may include: a first terminal 110, a second terminal 120 and a server 130. The first terminal 110 and the second terminal 120 are terminal devices used by users who participate in listening to music, such as a smart phone, a tablet computer, a personal computer, a smart wearable device, a smart car-mounted device, a game console, and the like. The server 130 may include a music App or a backend system of a third party platform.
Generally, the first terminal 110 and the second terminal 120 interact with the server 130 respectively to achieve information synchronization, so that users of the first terminal 110 and the second terminal 120 listen to music simultaneously. In an alternative embodiment, the first terminal 110 and the second terminal 120 may also communicate directly without going through the server 130, for example, interact directly through bluetooth or the like, so as to achieve information synchronization and listen to music simultaneously.
It should be noted that, the number of terminals in the present exemplary embodiment is not limited, and for example, a third terminal, a fourth terminal, etc. may be further added to the system architecture 100, so as to implement that any number of users listen to music at the same time.
The following describes a method for implementing multi-user listening to music by a first terminal and a second terminal, respectively.
Fig. 2 shows an exemplary flow of a multi-person music listening implementation method performed by a first terminal, which may include the following steps S210 to S250:
in step S210, the first terminal generates invitation information in response to the operation of inviting to listen to music.
The operation of inviting to listen to music may be to select an option of inviting to listen to music in a specific interface of the music App, or to trigger a function of inviting to listen to music through a preset operation (e.g., a gesture operation such as long pressing a certain area, sliding in a specific direction, etc.). Fig. 3 shows an interface for inviting music listening operation, and when listening to music, a user of the first terminal (denoted as user a) may trigger the interface shown in fig. 3 by selecting a sharing function; when the user a selects "invite friend to listen together" in fig. 3, a lower window pops up, including various sharing channels, such as invite "X music friend", share in "X music dynamic", and the like; user a may select one of them, such as "music buddy X," and generate the invitation message. It should be noted that, for different sharing channels, different invitation information may be generated, for example, the user a selects "X music friends" or "X music dynamic," the content of the invitation information may be different, and the link information included therein may also be different.
When the operation of inviting to listen to music is performed, the user a may or may not select the invitation object. Fig. 4 shows an interface for selecting an invitation object, and when the user a selects to share to "X music friend" in the interface of fig. 3, a friend list shown in fig. 4 pops up, and the user a can select a certain friend, for example, the user B, and sends invitation information to the user B. When the user selects the copy link in fig. 4, the link may be sent by a short message or other App, which is equivalent to selecting the invitation object in another manner. When the user selects to share to "music dynamics X" in the interface of fig. 3, the invitation information is generated and displayed without an invitation object, without being directed to a specific friend.
In an alternative embodiment, selection of the invitation object by means of matching is supported. Referring to fig. 5, step S210 may include the following steps S510 and S520:
step S510, responding to the operation of triggering the matching user, sending the information to be matched of the first terminal to the server, and receiving a matching user list fed back by the server according to the information to be matched;
step S520, in response to the operation of selecting the invitation object in the matching user list, generates invitation information.
The operation of triggering the matching user can be to select an option of the matching user in a specific interface of the music App, or to trigger a function of the matching user through a preset operation (such as shaking). The information to be matched of the first terminal includes but is not limited to: the head portrait, the nickname and the historical information of listening music of the user A, the information of the currently listened music, the position information and the matching preference information set by the user A (such as the age, city and professional user to which the user A wants to match).
The first terminal sends the information to be matched to the server, the server matches the information to be matched sent by different terminals, and the matching rules include but are not limited to: matching users who currently listen to the same music, matching users who are close to each other, matching users who listen to the same music with the same preference, and matching users who mutually meet the matching preference information. For the user A, more than one other user meeting the matching rule may be available, and the server returns a corresponding matching user list for the user A to select the invitation object. Therefore, strangers can invite to listen to music together, and more social space is provided for the user.
Step S220, sending the invitation information to the second terminal associated with the invitation object.
The second terminal is the terminal device used by the invitation object. In general, the first terminal may send the invitation information to the server, and forward the invitation information to the second terminal through the server. As shown in fig. 4, when the user a selects the user B as an invitation object in the buddy list, the invitation information is sent to the background server of the X music App, and the background server is sent to the user B again. In the case where the first terminal establishes direct communication with the second terminal, the invitation information may also be directly sent to the second terminal without going through the server, for example, by bluetooth or the like.
In an alternative embodiment, when the user a does not select a specific invitation object, such as selecting to share to "X music dynamics" in fig. 3, the first terminal may first send the invitation information to the server. Thereafter, when other users click the dynamic state, the server may send invitation information to the terminal of the user with the user as an invitation object.
Step S230, obtaining feedback information of the second terminal accepting the invitation information.
After the invitation information is sent to the second terminal, the invitation information may be displayed on the second terminal in the manner shown in fig. 6 or fig. 7. As shown in fig. 6, when the user a invites the friend B in the music App to listen to music together, a popup may be displayed in the interface of the user B to prompt the invitation information, the user B may select acceptance or rejection, and the like, and the second terminal returns related feedback information to the first terminal through the server or directly. As shown in fig. 7, when a user a invites a friend B through a channel of a third-party platform such as a social App, taking the social App in fig. 7 as an example, the user B may receive invitation information in an interface of the social App, and after clicking the invitation information and selecting confirmation, the user B is equivalent to accepting the invitation information, and the second terminal returns related feedback information to the first terminal.
After step S230, the following steps S240 or S250 may be performed.
Step S240, determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the second terminal, so that the second terminal plays the preset music associated with the invitation information according to the synchronous playing information.
Step S250, acquiring the synchronous playing information, and playing the preset music associated with the invitation information according to the synchronous playing information, where the synchronous playing information is the same as the playing information on the second terminal.
The synchronized playing information is used to synchronize the states and settings of music playing on the first terminal and the second terminal, including but not limited to: playing progress, playing tracks, playing modes (song list circulation, single track circulation, sequential playing, random playing and the like), sound effect setting. In this exemplary embodiment, the playing information may be synchronized to another device with the playing information of any one of the first terminal and the second terminal as a reference, or the server may determine the synchronized playing information and send the synchronized playing information to the first terminal and the second terminal at the same time, so as to implement synchronization.
The preset music is music set by the user a to listen together. In one embodiment, when generating the invitation information, the first terminal may determine a currently playing music track (including the currently playing music and other music in the currently playing list) as the preset music, and generate the invitation information so that the invitation information carries information of the preset music, for example, the preset music may be a single song, a music album, or a song list that the user a is currently listening to. In another embodiment, the preset music may also be a music track other than the currently played music specified by the user a when sending the invitation information, for example, the user a may select any single song, music album, or song list, call out an option box by long pressing or other operations, select the inviting friends to listen together, and generate the invitation information with the selected music as the preset music.
In step S240, when the user B accepts the invitation information, the current playing information of the user a may be synchronized to the user B, so that the first terminal and the second terminal play the preset music according to the same playing information, and for the user B, after accepting the invitation information, the playing information of the user a may be synchronized immediately, such as directly jumping to the current music listening progress of the user a.
In step S250, when the user B accepts the invitation information, the user B can generally listen to the preset music from the beginning, and the playing information of the user B is synchronized to the user a, i.e. the first terminal also plays the preset music from the beginning. Or the server determines a group of neutral synchronous playing information, the playing information of the neutral synchronous playing information and the playing information of the first terminal or the second terminal can be different, and the first terminal and the second terminal both use the synchronous playing information to play the preset music.
In an optional embodiment, when playing the preset music, the following steps may be further performed:
and responding to the playing control operation of the preset music, and sending the information of the playing control operation to the second terminal so as to synchronize the playing control operation on the second terminal.
Wherein the play control operation comprises at least one of: pausing playing, continuing playing, adjusting playing progress (such as dragging a progress bar), switching music tracks (such as switching to the previous or next track), adjusting a preset music list (including adding or deleting tracks in the list, adjusting track sequence and the like), and adjusting a playing mode. Through the synchronous playing control operation, when any user operates, the user can immediately synchronize to other users, so that all users listening to music can keep the same music playing state, namely, the music heard by different users is the same and synchronous.
In an optional implementation manner, when the invitation information is generated, a multi-person music listening interface associated with the invitation information may be further presented, so that preset music associated with the invitation information is played in the multi-person music listening interface. Fig. 8 shows a schematic diagram of a multi-person music listening interface 800, and a user information bar 801 may be included in the multi-person music listening interface 800, in which information of each user participating in multi-person music listening may be displayed, including but not limited to: user name, user nickname, user rating (e.g., user's rating in music App), historical information of the user listening to music (e.g., the user's cumulative number of listening to music, listening to music preferences, etc.). For example, after user a invites user B to listen to music together, both people enter the multi-person music listening interface 800 in which the music track selected by user a is listened to, and the user information bar 801 displays the head portraits of user a and user B.
In a multi-user music listening interface, various interactive information can be displayed according to actual requirements, and various interactive functions are set, so that the interactive feeling among users is increased, and the user experience is improved. This is illustrated below by way of several examples.
The multi-person music listening interface can display the associated information of the first terminal and the second terminal. The association information includes at least one of:
a distance between the first terminal and the second terminal; as shown in fig. 8, user a is 32 km from user B.
The user of the first terminal and the user of the second terminal accumulate the time length of listening to the music together; as shown in fig. 8, user a listens for 14 minutes with user B.
The number of the users of the first terminal and the second terminal listening to the music together is accumulated; as can also be shown in fig. 8, the number of pieces of music that user a has listened to together with user B.
In addition, other related information may also be displayed, which is not limited in the present invention.
In the multi-person music listening interface, user information of the second terminal can be displayed in a preset mode; the preset mode can be highlight display, amplification display, special frame adding, front end display and the like. As shown in fig. 8, highlighting the avatar of user B may show that user B is currently in a music-together state.
In a multi-person listening to music interface, a chat sub-interface can also be provided, such as clicking on chat control 802 in FIG. 8 to enter chat sub-interface 805 as shown in FIG. 9. Based on the chat sub-interface, the first terminal can send the instant message to the second terminal in response to the operation of sending the instant message in the chat sub-interface by the user, so that the instant message can be presented on the second terminal. Instant messages include text, pictures, video, and other common message formats. As shown in fig. 9, in the chat sub-interface 805, users a and B can listen to music and chat at the same time, thereby increasing the sense of interaction.
In an alternative embodiment, the weather icons may also be displayed at preset positions near different user avatars, such as in the chat sub-interface 805 in fig. 9, the current weather icons are displayed above the avatars of the user a and the user B, respectively, so as to further increase the interaction feeling.
In the multi-person music listening interface, a voice control may also be provided, and as shown in fig. 8, the multi-person music listening interface 800 includes a voice control 803. Based on the voice control, the first terminal may perform the following steps:
responding to the operation of triggering a voice control in a multi-person music listening interface, and generating audio stream data according to an input voice signal;
and sending the audio stream data to the second terminal in real time so as to synchronously play the audio stream data on the second terminal.
Taking fig. 8 as an example, when the user a presses the voice control 803 for a long time, the voice function is triggered to be turned on, and at this time, the user a can speak into the microphone of the first terminal, and the first terminal converts the voice signal into audio stream data and transmits the audio stream data to the second terminal in real time. And the second terminal synchronously restores the audio stream data into a voice signal and plays the voice signal.
Similarly, user B may also send voice to user a. That is, the first terminal may play audio stream data generated from a voice signal, which is transmitted in real time by the second terminal, in synchronization when receiving the audio stream data. Therefore, the voice interaction between the user A and the user B is realized, and the effect of listening to music and simultaneously chatting by voice is achieved.
It should be noted that the sending of the audio stream data is performed in real time, that is, while the user a inputs voice, the first terminal sends the corresponding audio stream data, and the second terminal receives and plays the audio stream data synchronously, so as to achieve the effect of real-time voice interaction. In another embodiment, the first terminal may also transmit the audio data in the form of a recording after the user a inputs the complete voice.
When playing the audio stream data, the preset music can be kept playing, so that the user can listen to the music and the voice of the other party at the same time; or to prevent interference, the playing of the preset music may be paused or the playing volume of the preset music may be turned down while the audio stream data is played. The invention is not limited in this regard.
In the multi-person music listening interface, the functions of expression and animation effect can be set. Accordingly, the first terminal may perform the steps of:
responding to the operation of triggering the expression and movement effects in the multi-person music listening interface, and generating and presenting corresponding expression and movement effects according to the input expression information;
and sending the expression information to the second terminal so as to synchronously present the expression dynamic effect corresponding to the expression information on the second terminal.
Wherein the operation of triggering the expression action includes but is not limited to: triggering an expression control and selecting expression information, for example, the multi-person music listening interface 800 of fig. 8 includes an expression control 804, and the user a clicks the expression control 804 and selects expression information; triggering the user avatar of the second terminal and selecting the facial expression information, as in the multi-user listening to music interface 800 of fig. 10, the user a may double-click or long-press the avatar of the user B, pop up an option box 806 about the user B, in which the user a selects to send the facial expression and selects the facial expression information. Assuming that the user a selects the expression of the smiling face, the expression information may be synchronized to the user B, so that the expression animation effect of the smiling face is presented in the multi-person listening interface of the first terminal and the second terminal at the same time, as shown in fig. 11, the dynamic effect may be a dynamic effect of "expression rain", or other dynamic effects. Through the interaction of the expressions, a mode that the user expresses emotion when listening to music is provided, and the interestingness of listening to music by multiple people is further increased.
In an optional embodiment, during the playing of the preset music, when switching from the multi-person music listening interface to another interface, a multi-person music listening identifier may be displayed at a preset position to indicate that the multi-person music listening state is currently in. The preset position may be any designated position in the interface, such as a specific area in the upper right corner. The identification of the plurality of people listening to music comprises at least one of the following: icon, symbol, avatar, and dynamic effect. For example, as shown in fig. 12, when the user a switches from the multi-user music listening interface to the home interface, the multi-user music listening icon 807 may be displayed in the upper right corner, and the user a may click on the multi-user music listening icon 807 to quickly return to the multi-user music listening interface. Also for example, a symbol or dynamic effect, such as a symbol to add headphones, a symbol to add two ears, a dynamic effect to add blinking, etc., may be added to the music icon in the upper right corner. Further, if other users send messages, expressions, voices and the like in the multi-user music listening interface, the number of unread messages can be added to the multi-user music listening identifier to play a role in prompting.
It should be noted that the above-mentioned method for realizing listening to music by multiple persons is described by taking a scene in which two persons listen to music at the same time as an example. For the case of three or more persons, the method flows are basically the same, and obviously, the invitation information, the synchronous playing information and the like of the first terminal need to be synchronously sent to all other terminals, so that information synchronization is realized among all users participating in listening to music by multiple persons.
In an optional implementation manner, in a state where multiple users listen to music, any user may invite another user to participate in the current multiple users listening to music, where a user side sending the invitation is a first terminal, and a user side receiving the invitation is a second terminal.
In an optional implementation manner, a map sub-interface can be added in the multi-person music listening interface, when three or more persons participate in the multi-person music listening, the positions of the persons can be displayed in the map sub-interface, and text or voice bubbles and the like can be sent in the map sub-interface, so that the sense of situation substitution of the user is increased.
Fig. 13 shows an exemplary flow of a multi-person music listening implementation method performed by the second terminal, which may include the following steps S1310 to S1350:
step S1310, the second terminal obtains invitation information sent by the first terminal;
step S1320, responding to the operation of accepting the invitation information, returning the feedback information of accepting the invitation information;
step S1330 of acquiring the synchronized playing information, and playing the preset music associated with the invitation information according to the synchronized playing information, where the synchronized playing information is the same as the playing information on the second terminal; or
Step S1340, playing preset music associated with the invitation information;
step S1350, determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the first terminal, so that the first terminal plays the preset music according to the synchronous playing information.
Fig. 13 shows a method flow substantially as performed by the second terminal corresponding to fig. 2.
The invitation information acquired by the second terminal can be acquired in the music App, or acquired in a third-party platform or through short messages and the like, depending on the channel and the mode of the first terminal for sending the invitation information. Typically, user B clicks on the invitation information and acknowledges, i.e., indicates acceptance of the invitation information. At this time, preset music may be synchronously played on the first terminal and the second terminal, and the playing information may refer to the synchronous playing information provided by the first terminal or the server, that is, step S1330 may be executed, or the playing information of the second terminal itself may be used and synchronized to the first terminal, that is, steps S1340 and S1350 may be executed.
In an optional implementation manner, when feedback information of accepting the invitation information is returned, a multi-person music listening interface associated with the invitation information may be further presented, so that preset music associated with the invitation information is played in the multi-person music listening interface. Generally, the multi-person listening interface on the second terminal may be substantially the same as the multi-person listening interface on the first terminal, such as referring to the multi-person listening interface 800 in fig. 8. In some cases, the first terminal and the second terminal open a multi-user music listening interface through different channels or modes, and the interface contents seen by the two terminals can be different. Or, the content in the interface may be adjusted according to actual requirements, for example, the head portrait order of the user a and the user B may be exchanged.
In an optional implementation manner, when the user B opens the invitation information in the music App to which the invitation information belongs, a multi-user music listening interface associated with the invitation information can be directly presented in the music App; when the user B opens the invitation information in the third-party platform or clicks a link in the short message to open the invitation information, a multi-user music listening interface associated with the invitation information can be opened through a browser built in the third-party platform or in the second terminal.
The interactive function provided by the multi-person music listening interface is basically the same for each user participating in the multi-person music listening, namely the interactive function realized by the first terminal can be realized on the second terminal. The method comprises the following specific steps:
in an optional implementation manner, in the process of playing the preset music, when the interface is switched to other interfaces from the multi-person music listening interface, a multi-person music listening identifier may be displayed at a preset position to indicate that the current state is that the user listens to music; the identification of the plurality of people listening to music comprises at least one of the following: icon, symbol, avatar, dynamic effect, such as the multi-person listening music icon 807 in fig. 12.
In an alternative embodiment, the multi-user music listening interface may include a chat sub-interface, and the second terminal may send the instant message to the first terminal in response to sending the instant message in the chat sub-interface to present the instant message on the first terminal.
In an alternative embodiment, the second terminal may generate audio stream data according to the input voice signal in response to the operation of triggering the voice control in the multi-user music listening interface, and then transmit the audio stream data to the first terminal in real time so as to synchronously play the audio stream data on the first terminal.
In an optional implementation mode, the second terminal synchronously plays the audio stream data when receiving the audio stream data generated by the voice signal and transmitted by the first terminal in real time.
In an optional implementation manner, when playing the audio stream data, the second terminal may maintain playing the preset music, may pause playing the preset music, or turn down the playing volume of the preset music.
In an optional implementation manner, the second terminal responds to an operation of triggering the expression dynamic effect in the multi-person music listening interface, generates and presents the corresponding expression dynamic effect according to the input expression information, and sends the expression information to the first terminal so as to synchronously present the expression dynamic effect corresponding to the expression information on the first terminal.
In an alternative embodiment, the operation of triggering the expressive action may include: triggering an expression control and selecting expression information; or triggering the head portrait of the user of the first terminal and selecting the expression information.
In an optional implementation manner, the association information of the first terminal and the second terminal can be displayed in the multi-person music listening interface; the association information includes at least one of:
a distance between the first terminal and the second terminal;
the user of the first terminal and the user of the second terminal accumulate the time length of listening to the music together;
the user of the first terminal and the user of the second terminal accumulate the number of listening to music together.
In an optional implementation manner, the second terminal may further display user information of the first terminal in a preset manner in a multi-user music listening interface; the user information comprises at least one of a user head portrait, a user name, a user nickname, a user grade and historical information of the user listening to music.
In an optional implementation manner, the second terminal responds to the playing control operation of the preset music and sends the information of the playing control operation to the first terminal so as to synchronously play the control operation on the first terminal; the play control operation includes at least one of: pausing playing, continuing playing, adjusting playing progress, switching music tracks, adjusting a preset music list and adjusting a playing mode. Therefore, any user participating in the multi-user music listening can adjust the current music playing state through the playing control operation, and the operation information can be synchronized to all other users, so that all users can be guaranteed to listen to the music synchronously all the time.
Exemplary devices
Having described a multi-listening music realization method according to an exemplary embodiment of the present invention, a multi-listening music realization apparatus according to an exemplary embodiment of the present invention will be described with reference to fig. 14 and 15.
Fig. 14 shows a multi-person music listening implementation apparatus 1400 configured in a first terminal, comprising:
an invitation information generating module 1410, configured to generate invitation information in response to an invitation to listen to music;
an invitation information sending module 1420, configured to send the invitation information to a second terminal associated with the invitation object;
a feedback information obtaining module 1430, configured to obtain feedback information of the invitation information accepted by the second terminal;
the music playing synchronization module 1440 is configured to determine synchronous playing information according to the current playing information, and send the synchronous playing information to the second terminal, so that the second terminal plays the preset music associated with the invitation information according to the synchronous playing information; or acquiring synchronous playing information, and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal.
In an alternative embodiment, the invitation information generation module 1410 is configured to:
and determining the currently played music track as the preset music, and generating invitation information, wherein the invitation information carries the information of the preset music.
In an optional embodiment, the multi-user music listening implementing apparatus 1400 further includes:
and the music listening interface presenting module is used for presenting the multi-person music listening interface associated with the invitation information so as to enable the music playing synchronization module to play the preset music associated with the invitation information in the multi-person music listening interface.
In an alternative embodiment, the multi-person listening to music interface comprises a chat sub-interface; the multi-person music listening implementing apparatus 1400 further includes:
and the instant message synchronization module is used for responding to the instant message sent in the chat sub-interface and sending the instant message to the second terminal so as to present the instant message on the second terminal.
In an optional embodiment, the multi-user music listening implementing apparatus 1400 further includes:
and the voice synchronization module is used for responding to the operation of triggering the voice control in the multi-person music listening interface, generating audio stream data according to the input voice signal, and sending the audio stream data to the second terminal in real time so as to synchronously play the audio stream data on the second terminal.
In an optional embodiment, the multi-user music listening implementing apparatus 1400 further includes:
and the voice synchronization module is used for synchronously playing the audio stream data when receiving the audio stream data generated by the voice signal and sent by the second terminal in real time.
In an alternative embodiment, the music playing synchronization module 1440 keeps playing the preset music while the audio synchronization module plays the audio stream data.
In an optional embodiment, the multi-user music listening implementing apparatus 1400 further includes:
and the expression interaction module is used for responding to the operation of triggering the expression dynamic effect in the multi-person music listening interface, generating and presenting the corresponding expression dynamic effect according to the input expression information, and sending the expression information to the second terminal so as to synchronously present the expression dynamic effect corresponding to the expression information on the second terminal.
In an alternative embodiment, the expression interaction module is configured to:
triggering an expression control and selecting expression information; or
And triggering the head portrait of the user of the second terminal, and selecting the expression information.
In an optional embodiment, the multi-user music listening implementing apparatus 1400 further includes:
the multi-person music listening identifier display module is used for displaying a multi-person music listening identifier at a preset position to indicate that the multi-person music listening identifier is in a multi-person music listening state currently when a multi-person music listening interface is switched to other interfaces in the process of playing preset music by the music playing synchronization module;
the identification of the plurality of people listening to music comprises at least one of the following: icon, symbol, avatar, and dynamic effect.
In an optional implementation mode, the association information of the first terminal and the second terminal is displayed in a multi-person music listening interface;
the association information includes at least one of:
a distance between the first terminal and the second terminal;
the user of the first terminal and the user of the second terminal accumulate the time length of listening to the music together;
the user of the first terminal and the user of the second terminal accumulate the number of listening to music together.
In an optional embodiment, the multi-user music listening implementing apparatus 1400 further includes:
the user information display module is used for displaying the user information of the second terminal in a multi-user music listening interface in a preset mode;
the user information comprises at least one of a user head portrait, a user name, a user nickname, a user grade and historical information of the user listening to music.
In an alternative embodiment, the music play synchronization module 1440 is configured to:
responding to the playing control operation of the preset music, and sending the information of the playing control operation to the second terminal so as to synchronously play the control operation on the second terminal;
the play control operation includes at least one of: pausing playing, continuing playing, adjusting playing progress, switching music tracks, adjusting a preset music list and adjusting a playing mode.
In an alternative embodiment, the invitation information generation module 1410 is configured to:
responding to the operation of triggering the matching user, sending the information to be matched of the first terminal to the server, and receiving a matching user list fed back by the server according to the information to be matched;
the invitation information is generated in response to an operation of selecting an invitation object in the matching user list.
Fig. 15 shows a multi-person music listening realization apparatus 1500 configured at the second terminal, comprising:
an invitation information obtaining module 1510, configured to obtain, by the second terminal, invitation information sent by the first terminal;
a feedback information returning module 1520, configured to return feedback information of accepting the invitation information in response to the operation of accepting the invitation information;
the music playing synchronization module 1530 is configured to obtain the synchronous playing information, and play the preset music associated with the invitation information according to the synchronous playing information, where the synchronous playing information is the same as the playing information on the second terminal; or playing preset music associated with the invitation information, determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the first terminal, so that the first terminal plays the preset music according to the synchronous playing information.
In an optional embodiment, the multi-person listening music implementing apparatus 1500 further includes:
and the music listening interface presenting module is used for presenting a multi-user music listening interface associated with the invitation information when the feedback information returning module returns the feedback information of accepting the invitation information, so that the music playing synchronization module plays the preset music associated with the invitation information in the multi-user music listening interface.
In an alternative embodiment, the listening music interface presentation module is configured to:
opening a multi-person music listening interface associated with the invitation information in the music application to which the invitation information belongs; or
And opening a multi-person music listening webpage associated with the invitation information in the browser.
In an optional embodiment, the multi-person listening music implementing apparatus 1500 further includes:
the multi-person music listening identifier display module is used for displaying a multi-person music listening identifier at a preset position to indicate that the multi-person music listening identifier is in a multi-person music listening state currently when a multi-person music listening interface is switched to other interfaces in the process of playing preset music by the music playing synchronization module;
the identification of the plurality of people listening to music comprises at least one of the following: icon, symbol, avatar, and dynamic effect.
In an alternative embodiment, the multi-person listening to music interface comprises a chat sub-interface; the multi-person music listening implementing apparatus 1500 further includes:
and the instant message synchronization module is used for responding to the instant message sent in the chat sub-interface and sending the instant message to the first terminal so as to present the instant message on the first terminal.
In an optional embodiment, the multi-person listening music implementing apparatus 1500 further includes:
and the voice synchronization module is used for responding to the operation of triggering the voice control in the multi-person music listening interface, generating audio stream data according to the input voice signal, and sending the audio stream data to the first terminal in real time so as to synchronously play the audio stream data on the first terminal.
In an optional embodiment, the multi-person listening music implementing apparatus 1500 further includes:
and the voice synchronization module is used for synchronously playing the audio stream data when receiving the audio stream data generated by the voice signal and sent by the first terminal in real time.
In an alternative embodiment, the music playing synchronization module 1530 keeps playing the preset music while the audio synchronization module plays the audio stream data.
In an optional embodiment, the multi-person listening music implementing apparatus 1500 further includes:
and the expression interaction module is used for responding to the operation of triggering the expression dynamic effect in the multi-person music listening interface, generating and presenting the corresponding expression dynamic effect according to the input expression information, and sending the expression information to the first terminal so as to synchronously present the expression dynamic effect corresponding to the expression information on the first terminal.
In an alternative embodiment, the expression interaction module is configured to:
triggering an expression control and selecting expression information; or
And triggering the head portrait of the user of the first terminal, and selecting the expression information.
In an optional implementation mode, the association information of the first terminal and the second terminal is displayed in a multi-person music listening interface;
the association information includes at least one of:
a distance between the first terminal and the second terminal;
the user of the first terminal and the user of the second terminal accumulate the time length of listening to the music together;
the user of the first terminal and the user of the second terminal accumulate the number of listening to music together.
In an optional embodiment, the multi-person listening music implementing apparatus 1500 further includes:
the user information display module is used for displaying the user information of the second terminal in a multi-user music listening interface in a preset mode;
the user information comprises at least one of a user head portrait, a user name, a user nickname, a user grade and historical information of the user listening to music.
In an alternative embodiment, the music play synchronization module 1530 is configured to:
responding to the playing control operation of the preset music, and sending the information of the playing control operation to the first terminal so as to synchronously play the control operation on the first terminal;
the play control operation includes at least one of: pausing playing, continuing playing, adjusting playing progress, switching music tracks, adjusting a preset music list and adjusting a playing mode.
In addition, other specific details of the embodiments of the present invention have been described in detail in the embodiments of the present invention of the above method, and are not described herein again.
Exemplary storage Medium
The storage medium of the exemplary embodiment of the present invention is explained below.
In the present exemplary embodiment, the above-described method may be implemented by a program product, such as a portable compact disc read only memory (CD-ROM) and including program code, and may be executed on a device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RE, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (FAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary electronic device
An electronic device of an exemplary embodiment of the present invention is explained with reference to fig. 16.
The electronic device 1600 shown in fig. 16 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in fig. 16, electronic device 1600 is in the form of a general purpose computing device. Components of electronic device 1600 may include, but are not limited to: at least one processing unit 1610, at least one memory unit 1620, a bus 1630 connecting the different system components (including the memory unit 1620 and the processing unit 1610), a display unit 1640.
Where the memory unit stores program code, the program code may be executed by the processing unit 1610, such that the processing unit 1610 performs the steps according to various exemplary embodiments of the present invention described in the above-mentioned "exemplary methods" section of this specification. For example, processing unit 1610 may perform method steps, etc., as shown in fig. 2.
The memory unit 1620 may include volatile memory units such as a random access memory unit (RAM)1621 and/or a cache memory unit 1622, and may further include a read only memory unit (ROM) 1623.
The storage unit 1620 may also include a program/utility 1624 having a set (at least one) of program modules 1625, such program modules 1625 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1630 may include a data bus, an address bus, and a control bus.
The electronic device 1600 may also communicate with one or more external devices 1700 (e.g., keyboard, pointing device, bluetooth device, etc.), which may be through an input/output (I/O) interface 1650. The electronic device 1600 also includes a display unit 1640 that connects to the input/output (I/O) interface 1650 for display. Also, the electronic device 1600 can communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1660. As shown, the network adapter 1660 communicates with the other modules of the electronic device 1600 via the bus 1630. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with electronic device 1600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several modules or sub-modules of the apparatus are mentioned, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A method for realizing multi-person music listening is characterized by comprising the following steps:
the first terminal responds to the operation of inviting to listen to music and generates invitation information;
sending the invitation information to a second terminal associated with an invitation object;
acquiring feedback information of the second terminal for accepting the invitation information;
determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the second terminal to enable the second terminal to play preset music associated with the invitation information according to the synchronous playing information; or
And acquiring synchronous playing information, and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal.
2. The method of claim 1, wherein the generating invitation information comprises:
and determining the currently played music track as the preset music, and generating invitation information, wherein the invitation information carries the information of the preset music.
3. The method of claim 1, wherein in generating invitation information, the method further comprises:
and presenting the multi-person music listening interface associated with the invitation information so as to play the preset music associated with the invitation information in the multi-person music listening interface.
4. The method of claim 3, wherein the multi-person listening music interface comprises a chat sub-interface, the method further comprising:
and responding to the instant message sent in the chat sub-interface, sending the instant message to the second terminal so as to present the instant message on the second terminal.
5. The method of claim 3, further comprising:
responding to the operation of triggering a voice control in the multi-person music listening interface, and generating audio stream data according to an input voice signal;
and sending the audio stream data to the second terminal in real time so as to synchronously play the audio stream data on the second terminal.
6. A method for realizing multi-person music listening is characterized by comprising the following steps:
the second terminal acquires invitation information sent by the first terminal;
responding to the operation of accepting the invitation information, and returning feedback information of accepting the invitation information;
acquiring synchronous playing information, and playing preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal; or
Playing preset music associated with the invitation information;
and determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the first terminal to enable the first terminal to play the preset music according to the synchronous playing information.
7. An apparatus for enabling a plurality of users to listen to music, configured at a first terminal, comprising:
the invitation information generating module is used for responding to the operation of listening to music and generating invitation information;
the invitation information sending module is used for sending the invitation information to a second terminal associated with an invitation object;
a feedback information obtaining module, configured to obtain feedback information that the second terminal accepts the invitation information;
the music playing synchronization module is used for determining synchronous playing information according to the current playing information and sending the synchronous playing information to the second terminal so that the second terminal plays the preset music associated with the invitation information according to the synchronous playing information; or acquiring synchronous playing information, and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal.
8. A device for realizing multi-user listening to music is configured at a second terminal, and is characterized by comprising:
the invitation information acquisition module is used for the second terminal to acquire the invitation information sent by the first terminal;
a feedback information returning module, configured to return feedback information for accepting the invitation information in response to an operation for accepting the invitation information;
the music playing synchronization module is used for acquiring synchronous playing information and playing the preset music associated with the invitation information according to the synchronous playing information, wherein the synchronous playing information is the same as the playing information on the second terminal; or playing preset music associated with the invitation information, determining synchronous playing information according to the current playing information, and sending the synchronous playing information to the first terminal, so that the first terminal plays the preset music according to the synchronous playing information.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 6.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-6 via execution of the executable instructions.
CN202010652726.9A 2020-07-08 2020-07-08 Method and device for realizing multi-person music listening, storage medium and electronic equipment Pending CN111797271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010652726.9A CN111797271A (en) 2020-07-08 2020-07-08 Method and device for realizing multi-person music listening, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010652726.9A CN111797271A (en) 2020-07-08 2020-07-08 Method and device for realizing multi-person music listening, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111797271A true CN111797271A (en) 2020-10-20

Family

ID=72810603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010652726.9A Pending CN111797271A (en) 2020-07-08 2020-07-08 Method and device for realizing multi-person music listening, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111797271A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911368A (en) * 2021-01-15 2021-06-04 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN113014994A (en) * 2021-04-14 2021-06-22 杭州网易云音乐科技有限公司 Multimedia playing control method and device, storage medium and electronic equipment
CN113296669A (en) * 2021-06-16 2021-08-24 杭州网易云音乐科技有限公司 Music social contact realization method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516783A (en) * 2012-06-26 2014-01-15 吉菲斯股份有限公司 Simultaneous experience of online content
CN104618785A (en) * 2014-04-16 2015-05-13 腾讯科技(北京)有限公司 Audio and video playing method, device and system
CN106155869A (en) * 2015-04-17 2016-11-23 宇龙计算机通信科技(深圳)有限公司 The running background control method of terminal applies and device thereof
CN106303590A (en) * 2016-08-08 2017-01-04 腾讯科技(深圳)有限公司 Invite implementation method and the device of viewing video film
CN106909268A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and device that APP suspended windows are set on equipment desktop
CN107333146A (en) * 2017-07-12 2017-11-07 易视腾科技股份有限公司 video group viewing control method and system
CN108886523A (en) * 2016-03-31 2018-11-23 微软技术许可有限责任公司 Interactive online music experience
CN109284041A (en) * 2018-09-18 2019-01-29 维沃移动通信有限公司 A kind of application interface switching method and mobile terminal
CN111327928A (en) * 2020-03-11 2020-06-23 广州酷狗计算机科技有限公司 Song playing method, device and system and computer storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516783A (en) * 2012-06-26 2014-01-15 吉菲斯股份有限公司 Simultaneous experience of online content
CN104618785A (en) * 2014-04-16 2015-05-13 腾讯科技(北京)有限公司 Audio and video playing method, device and system
CN106155869A (en) * 2015-04-17 2016-11-23 宇龙计算机通信科技(深圳)有限公司 The running background control method of terminal applies and device thereof
CN106909268A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 A kind of method and device that APP suspended windows are set on equipment desktop
CN108886523A (en) * 2016-03-31 2018-11-23 微软技术许可有限责任公司 Interactive online music experience
CN106303590A (en) * 2016-08-08 2017-01-04 腾讯科技(深圳)有限公司 Invite implementation method and the device of viewing video film
CN107333146A (en) * 2017-07-12 2017-11-07 易视腾科技股份有限公司 video group viewing control method and system
CN109284041A (en) * 2018-09-18 2019-01-29 维沃移动通信有限公司 A kind of application interface switching method and mobile terminal
CN111327928A (en) * 2020-03-11 2020-06-23 广州酷狗计算机科技有限公司 Song playing method, device and system and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白昼出逃: "网易云一起听歌怎么开", pages 2 - 3, Retrieved from the Internet <URL:https://www.zhihu.com/question/371795496/answer/1320842398> *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911368A (en) * 2021-01-15 2021-06-04 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN113014994A (en) * 2021-04-14 2021-06-22 杭州网易云音乐科技有限公司 Multimedia playing control method and device, storage medium and electronic equipment
CN113014994B (en) * 2021-04-14 2023-04-28 杭州网易云音乐科技有限公司 Multimedia playing control method and device, storage medium and electronic equipment
CN113296669A (en) * 2021-06-16 2021-08-24 杭州网易云音乐科技有限公司 Music social contact realization method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
WO2022121601A1 (en) Live streaming interaction method and apparatus, and device and medium
EP3095091B1 (en) Method and apparatus of processing expression information in instant communication
CN111797271A (en) Method and device for realizing multi-person music listening, storage medium and electronic equipment
CN105554027A (en) Resource sharing method and device
KR101587115B1 (en) System for avatar messenger service
CN108063722A (en) Video data generating method, computer readable storage medium and electronic equipment
US20240061560A1 (en) Audio sharing method and apparatus, device and medium
TW201222271A (en) System and method for providing and managing interactive services
CN111294606B (en) Live broadcast processing method and device, live broadcast client and medium
CN106105172A (en) Highlight the video messaging do not checked
WO2021244257A1 (en) Song processing method and apparatus, electronic device, and readable storage medium
WO2019071808A1 (en) Video image display method, apparatus and system, terminal device, and storage medium
CN112653902A (en) Speaker recognition method and device and electronic equipment
CN113411652A (en) Media resource playing method and device, storage medium and electronic equipment
WO2023143299A1 (en) Message display method and apparatus, device, and storage medium
CN112907703A (en) Expression package generation method and system
JP2020009445A (en) Operation method of terminal for instant messaging service
CN113411656A (en) Information processing method, information processing device, computer equipment and storage medium
CN103023752A (en) Method, client-side and system for pre-installing player in instant messaging interactive interface
WO2024067597A1 (en) Online conference method and apparatus, and electronic device and readable storage medium
KR20130025277A (en) Method and server for providing message service
US9706055B1 (en) Audio-based multimedia messaging platform
JP2024500481A (en) Video calling method and device
CN108881281A (en) A kind of playback method of Story machine, device, system, equipment and storage medium
WO2023246275A1 (en) Method and apparatus for playing speech message, and terminal and storage medium

Legal Events

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