[go: up one dir, main page]

CN105072146A - Music information sharing method and device - Google Patents

Music information sharing method and device Download PDF

Info

Publication number
CN105072146A
CN105072146A CN201510386725.3A CN201510386725A CN105072146A CN 105072146 A CN105072146 A CN 105072146A CN 201510386725 A CN201510386725 A CN 201510386725A CN 105072146 A CN105072146 A CN 105072146A
Authority
CN
China
Prior art keywords
terminal
information
playback device
sharing
music
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510386725.3A
Other languages
Chinese (zh)
Other versions
CN105072146B (en
Inventor
申超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510386725.3A priority Critical patent/CN105072146B/en
Publication of CN105072146A publication Critical patent/CN105072146A/en
Application granted granted Critical
Publication of CN105072146B publication Critical patent/CN105072146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a music information sharing method, which comprises the following steps: the terminal acquires a long press signal input by a user on an appointed application interface of the terminal, and sends an information sharing request to the playing device according to the long press signal; judging whether the sharing connection is successfully established with other terminals associated with the playing equipment or not according to the feedback information of the information sharing request sent by the playing equipment; if the sharing connection with other terminals associated with the playing device is successfully established, acquiring music information collected by the other terminals sent by the playing device, and outputting the music information to a user operation interface of the terminal; and acquiring a video-on-demand instruction of the music information on a user operation interface of the terminal, and playing a corresponding audio file according to the video-on-demand instruction. The embodiment of the invention also discloses a terminal and a playing device for sharing the music information. The invention has the advantages of improving the interest of music information sharing and enhancing the user experience of the terminal.

Description

一种音乐信息的共享方法及装置A method and device for sharing music information

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种音乐信息的共享方法及装置。The invention relates to the field of communication technology, in particular to a music information sharing method and device.

背景技术Background technique

目前的播放设备可以通过无线网络等技术和手机等终端进行连接。播放设备与终端建立连接之后,终端的应用程序可以通过无线网络和播放设备进行网络通信和数据传输。用户可以通过终端发送控制命令把局域网内或者互联网服务器中的音乐推送到播放设备播放,并可以通过发送指令对播放的音乐进行各种播放控制操作。Current playback devices can be connected through technologies such as wireless networks and terminals such as mobile phones. After the playback device is connected to the terminal, the application program of the terminal can perform network communication and data transmission through the wireless network and the playback device. The user can send control commands through the terminal to push the music in the local area network or the Internet server to the playback device for playback, and can perform various playback control operations on the played music by sending instructions.

用户可以使用终端的音乐播放器建立自己喜爱的音乐播放列表,并收藏在终端或者网络服务器上。下次打开该音乐播放器时,用户则可以从收藏的播放列表里面选择自己喜爱的歌曲进行点播。Users can use the music player of the terminal to create their favorite music playlists, and store them on the terminal or network server. When the music player is turned on next time, the user can select his favorite songs from the favorite playlist for on-demand playback.

然而,现有技术中,通过播放设备进行音乐播放的各个终端之间无法通过播放设备进行音乐信息的共享,操作不便,用户体验低。However, in the prior art, music information cannot be shared between terminals that play music through the playback device, which is inconvenient to operate and has low user experience.

发明内容Contents of the invention

本发明实施例提供一种音乐信息的共享方法及装置,可通过播放设备实现不同终端的音乐信息的共享,提高了音乐信息共享的趣味性,增强终端的用户体验。Embodiments of the present invention provide a music information sharing method and device, which can realize music information sharing of different terminals through a playback device, improve the fun of music information sharing, and enhance user experience of terminals.

本发明实施例第一方面提供了一种音乐信息的共享方法,其可包括:The first aspect of the embodiment of the present invention provides a method for sharing music information, which may include:

终端获取用户在其指定应用界面上输入的长按信号,并根据所述长按信号发送信息共享请求至播放设备;The terminal acquires a long press signal input by the user on its specified application interface, and sends an information sharing request to the playback device according to the long press signal;

所述终端根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接;The terminal judges whether to successfully establish a sharing connection with other terminals associated with the playback device according to the feedback information of the information sharing request sent by the playback device;

若所述终端已成功与所述播放设备关联的其他终端建立共享连接,则获取所述播放设备发送的所述其他终端收藏的音乐信息,并将所述音乐信息输出至所述终端的用户操作界面;If the terminal has successfully established a shared connection with other terminals associated with the playback device, then obtain the music information collected by the other terminal sent by the playback device, and output the music information to the user operation of the terminal interface;

获取所述终端的用户操作界面上的所述音乐信息的点播指令,根据所述点播指令播放相应的音频文件。Acquiring an on-demand instruction of the music information on the user operation interface of the terminal, and playing a corresponding audio file according to the on-demand instruction.

其中,所述终端根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接,包括:Wherein, according to the feedback information of the information sharing request sent by the playback device, the terminal determines whether to successfully establish a shared connection with other terminals associated with the playback device, including:

所述终端接收所述播放设备根据所述信息共享请求发送的共享指示信息;The terminal receives the sharing indication information sent by the playback device according to the information sharing request;

当所述共享指示信息为操作失败的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接失败;When the sharing indication information is indication information of operation failure, it is determined that the terminal fails to establish a sharing connection with other terminals associated with the playback device;

当所述共享指示信息为获取所述终端的待共享信息的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接成功;When the sharing instruction information is the instruction information for obtaining the information to be shared of the terminal, it is determined that the terminal successfully establishes the sharing connection with other terminals associated with the playback device;

其中,所述终端的待共享信息包括:所述终端的标识信息,或者所述终端收藏的音乐信息。Wherein, the information to be shared of the terminal includes: identification information of the terminal, or music information collected by the terminal.

本发明实施例第二方面提供了一种音乐信息的共享方法,其可包括:The second aspect of the embodiment of the present invention provides a method for sharing music information, which may include:

播放设备获取第一终端发送的第一信息共享请求,并根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间;The playback device acquires the first information sharing request sent by the first terminal, and adds the identification information of the first terminal to the designated sharing space according to the first information sharing request;

若所述播放设备在预设的监控时间内接收到第二终端发送的第二信息共享请求,则根据所述第二信息共享请求将所述第二终端的标识信息添加至指定共享空间;If the playback device receives a second information sharing request sent by the second terminal within the preset monitoring time, adding the identification information of the second terminal to the designated sharing space according to the second information sharing request;

所述播放设备向所述第一终端或者所述第二终端发送反馈信息,所述反馈信息用于指示所述第一终端和所述第二终端是否已成功建立共享连接;The playback device sends feedback information to the first terminal or the second terminal, where the feedback information is used to indicate whether the first terminal and the second terminal have successfully established a shared connection;

所述播放设备获取所述第一终端收藏的音乐信息以及所述第二终端收藏的音乐信息,并将所述第一终端收藏的音乐信息发送给所述第二终端,或者将所述第二终端收藏的音乐信息发送给所述第一终端,以实现音乐信息的共享。The playback device obtains the music information collected by the first terminal and the music information collected by the second terminal, and sends the music information collected by the first terminal to the second terminal, or sends the second terminal The music information collected by the terminal is sent to the first terminal, so as to realize sharing of music information.

其中,所述根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间之后,所述方法还包括:Wherein, after adding the identification information of the first terminal to the designated shared space according to the first information sharing request, the method further includes:

所述播放设备设定接收所述第一终端之外的其他终端发送的信息共享请求的监控时间,判断在所述监控时间内是否接收到第二终端发送的第二信息共享请求。The playback device sets a monitoring time for receiving information sharing requests sent by terminals other than the first terminal, and determines whether a second information sharing request sent by a second terminal is received within the monitoring time.

其中,所述第一终端或者所述第二终端收藏的音乐信息包括:所述第一终端或者所述第二终端收藏的音乐播放列表,以及所述音乐播放列表对应的音频文件。Wherein, the music information collected by the first terminal or the second terminal includes: a music playlist collected by the first terminal or the second terminal, and an audio file corresponding to the music playlist.

本发明实施例第三方面提供了一种音乐信息的共享的终端,其可包括:The third aspect of the embodiment of the present invention provides a terminal for sharing music information, which may include:

获取模块,用于获取用户在其指定应用界面上输入的长按信号;An acquisition module, configured to acquire a long-press signal input by the user on its specified application interface;

发送模块,用于根据所述获取模块获取的所述长按信号发送信息共享请求至播放设备;A sending module, configured to send an information sharing request to a playback device according to the long press signal obtained by the obtaining module;

判断模块,用于根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接;A judging module, configured to judge whether a shared connection is successfully established with other terminals associated with the playback device according to the feedback information of the information sharing request sent by the playback device;

所述获取模块,还用于在所述判断模块判断结果为是时,获取所述播放设备发送的所述其他终端收藏的音乐信息;The acquiring module is further configured to acquire the music information collected by the other terminal sent by the playing device when the judging result of the judging module is yes;

所述发送模块,还用于将所述获取模块获取的所述音乐信息输出至所述终端的用户操作界面;The sending module is further configured to output the music information acquired by the acquiring module to the user operation interface of the terminal;

播放模块,用于获取所述终端的用户操作界面上的所述音乐信息的点播指令,根据所述点播指令播放相应的音频文件。The playing module is configured to obtain an on-demand instruction of the music information on the user operation interface of the terminal, and play a corresponding audio file according to the on-demand instruction.

其中,所述判断模块具体用于:Wherein, the judgment module is specifically used for:

接收所述播放设备根据所述信息共享请求发送的共享指示信息;receiving sharing indication information sent by the playback device according to the information sharing request;

当所述共享指示信息为操作失败的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接失败;When the sharing indication information is indication information of operation failure, it is determined that the terminal fails to establish a sharing connection with other terminals associated with the playback device;

当所述共享指示信息为获取所述终端的待共享信息的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接成功;When the sharing instruction information is the instruction information for obtaining the information to be shared of the terminal, it is determined that the terminal successfully establishes the sharing connection with other terminals associated with the playback device;

其中,所述终端的待共享信息包括:所述终端的标识信息,或者所述终端收藏的音乐信息。Wherein, the information to be shared of the terminal includes: identification information of the terminal, or music information collected by the terminal.

本发明实施例第四方面提供了一种音乐信息的共享的播放设备,其可包括:The fourth aspect of the embodiment of the present invention provides a shared playback device for music information, which may include:

获取模块,用于获取第一终端发送的第一信息共享请求,并根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间;An acquisition module, configured to acquire a first information sharing request sent by a first terminal, and add the identification information of the first terminal to a designated sharing space according to the first information sharing request;

所述获取模块,还用于在预设的监控时间内接收到第二终端发送的第二信息共享请求时,根据所述第二信息共享请求将所述第二终端的标识信息添加至指定共享空间;The acquisition module is further configured to add the identification information of the second terminal to the specified sharing information according to the second information sharing request when receiving the second information sharing request sent by the second terminal within the preset monitoring time. space;

发送模块,用于建立所述第一终端和所述第二终端的共享连接,并向所述第一终端或者所述第二终端发送反馈信息,所述反馈信息用于指示所述第一终端和所述第二终端是否已成功建立共享连接;a sending module, configured to establish a shared connection between the first terminal and the second terminal, and send feedback information to the first terminal or the second terminal, where the feedback information is used to indicate the first terminal Whether the shared connection has been successfully established with the second terminal;

共享模块,用于获取所述第一终端收藏的音乐信息以及所述第二终端收藏的音乐信息,并将所述第一终端收藏的音乐信息发送给所述第二终端,或者将所述第二终端收藏的音乐信息发送给所述第一终端,以实现音乐信息的共享。A sharing module, configured to acquire the music information collected by the first terminal and the music information collected by the second terminal, and send the music information collected by the first terminal to the second terminal, or send the The music information collected by the second terminal is sent to the first terminal, so as to realize the sharing of music information.

其中,所述播放设备还包括:Wherein, the playback device also includes:

监听模块,用于设定接收所述第一终端之外的其他终端发送的信息共享请求的监控时间,判断在所述监控时间内是否接收到第二终端发送的第二信息共享请求。A monitoring module, configured to set a monitoring time for receiving information sharing requests sent by terminals other than the first terminal, and determine whether a second information sharing request sent by a second terminal is received within the monitoring time.

其中,所述第一终端或者所述第二终端收藏的音乐信息包括:所述第一终端或者所述第二终端收藏的音乐播放列表,以及所述音乐播放列表对应的音频文件。Wherein, the music information collected by the first terminal or the second terminal includes: a music playlist collected by the first terminal or the second terminal, and an audio file corresponding to the music playlist.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

在本发明实施例中,终端可首先获取用户在其指定应用界面上输入的长按信号,并根据用户输入的长按信号发送信息共享请求至播放设备,进而可根据播放设备发送的反馈信息,判断是否成功与播放设备关联的其他终端建立共享连接。本发明实施例终端可通过播放设备建立连接,操作方便、有趣。若终端已成功与播放设备关联的其他终端建立共享连接,则获取播放设备发送的其他终端收藏的音乐信息,并将所述音乐信息输出至终端的用户操作界面,以将其他终端收藏的音乐信息展现给终端用户。进一步的,终端可获取终端的用户操作界面上的音乐信息的点播指令,根据上述点播指令播放相应的音频文件。本发明实施例可通过播放设备实现不同终端的音乐信息的共享,提高了音乐信息共享的趣味性,增强终端的用户体验。In the embodiment of the present invention, the terminal can first obtain the long press signal input by the user on its specified application interface, and send an information sharing request to the playback device according to the long press signal input by the user, and then according to the feedback information sent by the playback device, It is judged whether the shared connection is successfully established with other terminals associated with the playback device. The terminal in the embodiment of the present invention can establish a connection through a playback device, and the operation is convenient and interesting. If the terminal has successfully established a shared connection with other terminals associated with the playback device, then obtain the music information collected by other terminals sent by the playback device, and output the music information to the user operation interface of the terminal, so as to share the music information collected by other terminals displayed to end users. Further, the terminal may acquire an on-demand instruction of music information on the user operation interface of the terminal, and play a corresponding audio file according to the above-mentioned on-demand instruction. The embodiment of the present invention can realize the sharing of music information of different terminals through the playback device, which improves the fun of music information sharing and enhances the user experience of the terminal.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本发明实施例提供的音乐信息的共享方法的第一实施例流程示意图;Fig. 1 is a schematic flow chart of the first embodiment of the music information sharing method provided by the embodiment of the present invention;

图2是本发明实施例提供的音乐信息的共享方法的第二实施例流程示意图;Fig. 2 is a schematic flow chart of the second embodiment of the music information sharing method provided by the embodiment of the present invention;

图3是本发明实施例提供的音乐信息的共享的终端的实施例结构示意图;Fig. 3 is a schematic structural diagram of an embodiment of a terminal for sharing music information provided by an embodiment of the present invention;

图4是本发明实施例提供的音乐信息的共享的播放设备的一实施例结构示意图;FIG. 4 is a schematic structural diagram of an embodiment of a shared playback device for music information provided by an embodiment of the present invention;

图5是本发明实施例提供的音乐信息的共享的播放设备的另一实施例结构示意图;Fig. 5 is a schematic structural diagram of another embodiment of the music information sharing playback device provided by the embodiment of the present invention;

图6是本发明实施例提供的音乐信息的共享的系统的实施例结构示意图。Fig. 6 is a schematic structural diagram of an embodiment of a music information sharing system provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

具体实现中,本发明实施例中所描述的终端可包括:手机、平板电脑、笔记本电脑、个人计算机助理或者随身听等。上述终端仅是举例,而非穷举,包含但不限于上述终端。In a specific implementation, the terminals described in the embodiments of the present invention may include: a mobile phone, a tablet computer, a notebook computer, a personal computer assistant, or a walkman. The above-mentioned terminals are only examples, not exhaustive, including but not limited to the above-mentioned terminals.

本发明实施例中所描述的播放设备具体可为媒体播放设备,例如智能无线音箱、蓝牙音箱等,在此不做限制。The playback device described in the embodiments of the present invention may specifically be a media playback device, such as a smart wireless speaker, a Bluetooth speaker, etc., which is not limited here.

下面将结合图1至图6对本发明实施例提供的音乐信息的共享方法及装置进行具体描述。The method and device for sharing music information provided by the embodiments of the present invention will be specifically described below with reference to FIG. 1 to FIG. 6 .

参见图1,是本发明实施例提供的音乐信息的共享方法的第一实施例流程示意图。本发明实施例中所描述的方法,包括步骤:Referring to FIG. 1 , it is a schematic flowchart of the first embodiment of the music information sharing method provided by the embodiment of the present invention. The method described in the embodiment of the present invention comprises steps:

S101,终端获取用户在其指定应用界面上输入的长按信号,并根据所述长按信号发送信息共享请求至播放设备。S101. The terminal acquires a long press signal input by a user on its specified application interface, and sends an information sharing request to a playback device according to the long press signal.

在一些可行的实施方式中,本发明实施例中所描述的音乐信息的共享方法的执行主体,具体可为通过播放设备进行音乐播放的手机或者平板等终端,在此不做限制。In some feasible implementation manners, the executor of the method for sharing music information described in the embodiments of the present invention may specifically be a terminal such as a mobile phone or a tablet that plays music through a playback device, and there is no limitation here.

在一些可行的实施方式中,终端可预先设定用于触发终端向播放设备发送信息共享请求的指定应用界面,例如终端的音乐播放器等应用程序的用户操作界面。终端可在上述指定应用界面上建立操作监听事件,具体的,终端可在上述指定应用界面上建立长按监听事件。终端可通过长按监听事件获取用户在上述指定应用界面上输入的长按信号,进而根据上述长按信号发送信息共享请求至播放设备。即,当终端监听到其音乐播放器等应用程序的用户操作界面上的长按信号时,终端可向播放设备发送信息共享请求,以通过播放设备建立与其他终端的连接,进而可实现与其他终端的音乐信息共享。即,终端用户可通过长按终端的指定应用界面上的操作按键或者操作区域,触发终端向播放设备发送信息共享请求。In some feasible implementation manners, the terminal may preset a designated application interface for triggering the terminal to send an information sharing request to the playback device, for example, a user operation interface of an application program such as a music player of the terminal. The terminal may create an operation monitoring event on the specified application interface. Specifically, the terminal may create a long press monitoring event on the specified application interface. The terminal can obtain the long press signal input by the user on the specified application interface through the long press monitoring event, and then send an information sharing request to the playback device according to the long press signal. That is, when the terminal listens to the long-press signal on the user interface of its music player and other applications, the terminal can send an information sharing request to the playback device, so as to establish a connection with other terminals through the playback device, and then realize communication with other terminals. Terminal music information sharing. That is, the terminal user can trigger the terminal to send an information sharing request to the playback device by long pressing the operation button or the operation area on the specified application interface of the terminal.

播放设备获取得到终端发送的信息共享请求之后,则可将上述终端的标识信息加入播放设备中预先设定的共享应用程序(Application,APP)池(即指定共享空间)中,进而可根据共享APP池中存储的其他终端的标识信息确定是否建立该终端与其他终端的信息共享连接。具体的,当预设时间内播放设备的共享APP池中的终端的标识信息超过指定数目(例如终端数目大于1)时,则可建立该终端与其他终端的信息共享连接,否则无法建立该终端与其他终端的信息共享连接。After the playback device obtains the information sharing request sent by the terminal, it can add the identification information of the above-mentioned terminal to the shared application (Application, APP) pool (that is, the designated shared space) preset in the playback device, and then can The identification information of other terminals stored in the pool determines whether to establish an information sharing connection between the terminal and other terminals. Specifically, when the identification information of terminals in the shared APP pool of the playback device exceeds a specified number (for example, the number of terminals is greater than 1) within the preset time, an information sharing connection between the terminal and other terminals can be established, otherwise the terminal cannot be established Information sharing connection with other terminals.

S102,所述终端根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接。S102. According to the feedback information of the information sharing request sent by the playback device, the terminal determines whether a shared connection is successfully established with another terminal associated with the playback device.

在一些可行的实施方式中,终端向播放设备发送信息共享请求之后,则可根据播放设备的响应状态确定是否成功与播放设备关联的其他终端建立共享连接。具体实现中,终端向播放设备发送的信息共享请求之后,可接收播放设备发送的信息共享请求的反馈信息,进而可根据上述反馈信息确定是否成功与其他终端建立共享连接。当上述播放设备发送的反馈信息为共享操作失败的指示信息时,则可确定该终端与其他终端建立共享连接失败,此时终端则无法获知其他终端收藏的音乐信息。当上述播放设备发送的反馈信息为获取终端的待共享信息的指示信息时,则可确定该终端与其他终端建立共享连接成功。上述终端与其他终端成功建立共享连接之后,则可获取其他终端收藏的音乐信息,进而可实现音乐信息的共享。In some feasible implementation manners, after the terminal sends the information sharing request to the playback device, it may determine whether to successfully establish a sharing connection with other terminals associated with the playback device according to the response status of the playback device. In a specific implementation, after the terminal sends the information sharing request to the playback device, it can receive the feedback information of the information sharing request sent by the playback device, and then determine whether to successfully establish a sharing connection with other terminals according to the above feedback information. When the feedback information sent by the playback device is the indication information of the failure of the sharing operation, it can be determined that the terminal fails to establish the sharing connection with other terminals, and at this time, the terminal cannot know the music information collected by other terminals. When the feedback information sent by the playback device is the indication information for acquiring the terminal's information to be shared, it can be determined that the terminal successfully establishes the shared connection with other terminals. After the above-mentioned terminal successfully establishes a shared connection with other terminals, it can obtain music information collected by other terminals, and then share the music information.

需要说明的是,本发明实施例中所描述的播放设备关联的终端具体可为播放设备的共享APP池中存储的各个标识信息对应的各个终端。终端通过向播放设备发送信息共享请求,播放设备接收到各个终端发送的信息共享请求之后,则可将终端的标识信息添加至共享APP池中。若预设时间内共享APP池中的终端的数目大于或者等于预设数量值,则可成功建立各个终端的共享连接,否则无法建立共享连接。播放设备可根据共享连接的建立成功与否,向共享APP池中的终端发送反馈信息,以指示终端是否成功与其他终端建立共享连接。It should be noted that the terminal associated with the playback device described in the embodiment of the present invention may specifically be each terminal corresponding to each identification information stored in the shared APP pool of the playback device. The terminal sends an information sharing request to the playback device, and the playback device can add the identification information of the terminal to the shared APP pool after receiving the information sharing request sent by each terminal. If the number of terminals in the shared APP pool within the preset time is greater than or equal to the preset number value, the shared connection of each terminal can be successfully established, otherwise the shared connection cannot be established. The playback device can send feedback information to the terminals in the shared APP pool according to whether the shared connection is successfully established to indicate whether the terminal successfully establishes the shared connection with other terminals.

S103,若所述终端已成功与所述播放设备关联的其他终端建立共享连接,则获取所述播放设备发送的所述其他终端收藏的音乐信息,并将所述音乐信息输出至所述终端的用户操作界面。S103. If the terminal has successfully established a shared connection with other terminals associated with the playback device, obtain the music information collected by the other terminal sent by the playback device, and output the music information to the terminal's User interface.

在一些可行的实施方式中,当终端成功与播放设备关联的其他终端成功建立共享连接,终端则可通过播放设备获取其他终端收藏的音乐信息,进而可对其他终端收藏的音乐信息进行点播等操作。具体实现中,终端确定与播放设备的其他终端成功建立共享连接之后,则可获取播放设备发送的其他终端收藏的音乐信息,进而可将上述音乐信息输出至终端的用户操作界面,以通过终端的用户操作界面将上述其他终端的音乐信息展现给终端用户。例如,终端可将其他终端的音乐信息输出至终端的音乐播放器的用户操作界面。终端用户可根据音乐播放器的用户操作界面上显示的音乐信息,确定自己喜欢的音乐曲目,进而可选择该音乐曲目,触发终端播放该音乐曲目。In some feasible implementations, when the terminal successfully establishes a shared connection with other terminals associated with the playback device, the terminal can obtain the music information collected by other terminals through the playback device, and then perform operations such as ordering the music information collected by other terminals . In a specific implementation, after the terminal determines that it has successfully established a shared connection with other terminals of the playback device, it can obtain the music information collected by other terminals sent by the playback device, and then output the above music information to the user operation interface of the terminal, so that through the terminal's The user operation interface presents the music information of the above-mentioned other terminals to the terminal user. For example, the terminal may output music information of other terminals to the user operation interface of the music player of the terminal. The terminal user can determine his favorite music track according to the music information displayed on the user operation interface of the music player, and then select the music track to trigger the terminal to play the music track.

S104,获取所述终端的用户操作界面上的所述音乐信息的点播指令,根据所述点播指令播放相应的音频文件。S104. Obtain an on-demand instruction of the music information on the user operation interface of the terminal, and play a corresponding audio file according to the on-demand instruction.

在一些可行的实施方式中,终端将播放设备发送的其他终端的音乐信息输出至终端的用户操作界面之后,则可对终端的用户操作界面上的用户操作指令进行监控。当终端获取得到终端的用户操作界面上的音乐信息的点播指令时,则可根据上述点播指令触发终端播放相应的音频文件。具体实现中,终端可通过播放设备获取其他终端收藏的音乐信息,其中,上述其他终端收藏的音乐信息包括:终端收藏的音乐播放列表,以及音乐播放列表对应的音频文件,即音乐播放列表中各个曲目对应的音频文件。具体实现中,终端获取得到用户操作界面上的音乐信息的点播指令之后,则可根据上述点播指令播放相应曲目的音频文件。进一步的,终端还可根据上述点播指令向播放设备发起播放指定音乐曲目的请求,通过上述播放设备播放上述用户点播的曲目的音频文件。In some feasible implementation manners, after the terminal outputs the music information of other terminals sent by the playback device to the user operation interface of the terminal, it can monitor user operation instructions on the user operation interface of the terminal. When the terminal acquires an on-demand instruction of music information on the user operation interface of the terminal, the terminal may be triggered to play a corresponding audio file according to the above-mentioned on-demand instruction. In a specific implementation, the terminal can obtain the music information collected by other terminals through the playback device, wherein the above-mentioned music information collected by other terminals includes: the music playlist collected by the terminal, and the audio file corresponding to the music playlist, that is, each music playlist in the music playlist The audio file corresponding to the track. In a specific implementation, after the terminal acquires the on-demand instruction of the music information on the user operation interface, it can play the audio file of the corresponding track according to the above-mentioned on-demand instruction. Further, the terminal may also initiate a request to play a specified music track to a playback device according to the above-mentioned order instruction, and play the audio file of the track ordered by the user through the above-mentioned playback device.

在本发明实施例中,终端可首先获取用户在其指定应用界面上输入的长按信号,并根据用户输入的长按信号发送信息共享请求至播放设备,进而可根据播放设备发送的反馈信息,判断是否成功与播放设备关联的其他终端建立共享连接。本发明实施例终端可通过播放设备建立连接,操作方便、有趣。若终端已成功与播放设备关联的其他终端建立共享连接,则获取播放设备发送的其他终端收藏的音乐信息,并将所述音乐信息输出至终端的用户操作界面,以将其他终端收藏的音乐信息展现给终端用户。进一步的,终端可获取终端的用户操作界面上的音乐信息的点播指令,根据上述点播指令播放相应的音频文件。本发明实施例可通过播放设备实现不同终端的音乐信息的共享,提高了音乐信息共享的趣味性,增强终端的用户体验。In the embodiment of the present invention, the terminal can first obtain the long press signal input by the user on its specified application interface, and send an information sharing request to the playback device according to the long press signal input by the user, and then according to the feedback information sent by the playback device, It is judged whether the shared connection is successfully established with other terminals associated with the playback device. The terminal in the embodiment of the present invention can establish a connection through a playback device, and the operation is convenient and interesting. If the terminal has successfully established a shared connection with other terminals associated with the playback device, then obtain the music information collected by other terminals sent by the playback device, and output the music information to the user operation interface of the terminal, so as to share the music information collected by other terminals displayed to end users. Further, the terminal may acquire an on-demand instruction of music information on the user operation interface of the terminal, and play a corresponding audio file according to the above-mentioned on-demand instruction. The embodiment of the present invention can realize the sharing of music information of different terminals through the playback device, which improves the fun of music information sharing and enhances the user experience of the terminal.

参见图2,是本发明实施例提供的音乐信息的共享方法的第二实施例流程示意图。本发明实施例中所描述的方法,包括步骤:Referring to FIG. 2 , it is a schematic flowchart of the second embodiment of the music information sharing method provided by the embodiment of the present invention. The method described in the embodiment of the present invention comprises steps:

S201,播放设备获取第一终端发送的第一信息共享请求,并根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间。S201. The playback device acquires a first information sharing request sent by a first terminal, and adds identification information of the first terminal to a designated sharing space according to the first information sharing request.

具体实现中,本发明实施例中所描述的音乐信息的共享方法的执行主体具体可为用于实现终端的标识信息或者音乐播放列表或者音频文件的管理,以及终端的共享连接操作的播放设备(或称媒体播放设备)。In a specific implementation, the executor of the music information sharing method described in the embodiment of the present invention may specifically be a playback device ( or media playback device).

在一些可行的实施方式中,终端需要与其他终端进行音乐信息的共享时,需要首先向播放设备发送信息共享请求,以通过播放设备建立与其他终端的共享连接。具体实现中,播放设备可首先接收第一终端(即第一个向播放设备发送信息共享请求的终端)发送的第一信息共享请求,进而可根据上述信息共享请求确定终端的标识信息。具体实现中,播放设备可根据上述信息共享请求中携带的终端的IP地址或者终端的用户账号信息,识别不同的终端,进而可将上述终端的IP地址或者终端的用户账号信息等终端的标识信息添加至播放设备的指定共享空间。其中,上述播放设备的指定共享空间具体可为播放设备的共享APP池。In some feasible implementation manners, when the terminal needs to share music information with other terminals, it first needs to send an information sharing request to the playback device, so as to establish a sharing connection with other terminals through the playback device. In a specific implementation, the playback device may first receive the first information sharing request sent by the first terminal (that is, the first terminal that sends the information sharing request to the playback device), and then determine the identification information of the terminal according to the above information sharing request. In a specific implementation, the playback device can identify different terminals according to the IP address of the terminal carried in the information sharing request or the user account information of the terminal, and then can use the identification information of the terminal such as the IP address of the terminal or the user account information of the terminal Add to the specified shared space of the playback device. Wherein, the specified shared space of the playback device may specifically be a shared APP pool of the playback device.

S202,若所述播放设备在预设的监控时间内接收到第二终端发送的第二信息共享请求,则根据所述第二信息共享请求将所述第二终端的标识信息添加至指定共享空间。S202, if the playback device receives a second information sharing request sent by the second terminal within the preset monitoring time, add the identification information of the second terminal to the designated sharing space according to the second information sharing request .

在一些可行的实施方式中,播放设备接收得到第一终端的信息共享请求之后,还可在预先设的监控时间内对信息共享请求的接收情况进行监控。具体实现中,播放设备可预先设定接收第一终端之外的其他终端发送的信息共享请求的监控时间,例如T,其中T为大于0的整数。播放设备设定上述监控时间T之后,则可在接收得到第一终端的信息共享请求之后进入监控时间的倒计时阶段。若播放设备在上述监控时间的倒计时阶段接收得到第二终端发送的第二信息共享请求,则可根据上述第二信息共享请求确定第二终端的标识信息,进而可将上述第二终端的标识信息添加至播放设备的指定共享空间,即播放设备的共享APP池。其中,上述第二终端具体可为除了上述第一终端之外的任意一个或者多个终端,在此不做限制。上述第二终端的标识信息可包括第二终端的IP地址或者用户账号信息等。In some feasible implementation manners, after receiving the information sharing request from the first terminal, the playback device may also monitor the reception of the information sharing request within a preset monitoring time. In a specific implementation, the playback device may preset a monitoring time for receiving information sharing requests sent by terminals other than the first terminal, such as T, where T is an integer greater than 0. After the playback device sets the monitoring time T, it may enter the countdown phase of the monitoring time after receiving the information sharing request from the first terminal. If the playback device receives the second information sharing request sent by the second terminal during the countdown phase of the monitoring time, the identification information of the second terminal can be determined according to the second information sharing request, and then the identification information of the second terminal can be Added to the specified shared space of the playback device, that is, the shared APP pool of the playback device. Wherein, the above-mentioned second terminal may specifically be any one or more terminals except the above-mentioned first terminal, which is not limited here. The identification information of the second terminal may include the IP address or user account information of the second terminal.

S203,所述播放设备向所述第一终端或者所述第二终端发送反馈信息,所述反馈信息用于指示所述第一终端和所述第二终端是否已成功建立共享连接。S203. The playback device sends feedback information to the first terminal or the second terminal, where the feedback information is used to indicate whether the first terminal and the second terminal have successfully established a shared connection.

在一些可行的实施方式中,当播放设备在上述预先设定的监控时间T内接收得到至少一个终端的信息共享请求时,播放设备则可将上述一个或者多个终端的标识信息添加至其共享APP池中,使得上述共享APP池中包含至少两个终端的标识信息,即上述第一终端和上述监控时间内接收到的第二终端的标识信息。当播放设备的共享APP池中包含的终端的标识信息有多个(即至少两个终端的标识信息)时,则可建立上述多个终端的共享连接,以实现上述多个终端的音乐信息的共享。当上述播放设备的共享APP池中的终端有多个时,播放设备则可向共享APP池中的第一终端或者第二终端发送共享信息请求对应的反馈信息,通过上述反馈信息指示第一终端和第二终端是否已成功建立共享连接。其中,上述反馈信息具体可为获取终端的待共享信息的请求,通过上述请求向第一终端和第二终端请求其待共享的音乐信息,以将第一终端的待共享信息分享给第二终端,或者将第二终端的待共享信息分享给第一终端。In some feasible implementation manners, when the playback device receives an information sharing request from at least one terminal within the preset monitoring time T, the playback device can add the identification information of the one or more terminals to its shared In the APP pool, the shared APP pool includes identification information of at least two terminals, that is, the identification information of the first terminal and the identification information of the second terminal received within the monitoring time. When there are multiple identification information of terminals contained in the shared APP pool of the playback device (i.e. identification information of at least two terminals), the shared connection of the above-mentioned multiple terminals can be established to realize the music information of the above-mentioned multiple terminals. shared. When there are multiple terminals in the shared APP pool of the playback device, the playback device can send feedback information corresponding to the sharing information request to the first terminal or the second terminal in the shared APP pool, and instruct the first terminal through the feedback information Whether the shared connection has been successfully established with the second terminal. Wherein, the above-mentioned feedback information may specifically be a request for obtaining information to be shared by the terminal, and through the above-mentioned request, the music information to be shared is requested from the first terminal and the second terminal, so as to share the information to be shared by the first terminal to the second terminal , or share the to-be-shared information of the second terminal with the first terminal.

在一些可行的实施方式中,当播放设备在上述预先设定的监控时间T内未接收得到任何终端的信息共享请求时,播放设备则无法将其他终端的标识信息加入其共享APP池中,此时,播放设备的共享APP池中的终端的标识信息则仅有第一终端的标识信息。当播放设备的共享APP池中的终端的标识信息只有第一终端的标识信息时,播放设备则无法建立第一终端和其他终端的共享连接,此时播放设备则可向第一终端发送信息共享请求的反馈信息。其中,上述反馈信息为操作失败的指示信息,即建立共享连接失败的指示信息。终端接收得到上述操作失败的指示信息之后,则可结束音乐信息的共享操作,终端用户无法获知其他终端收藏的音乐信息。In some feasible implementation manners, when the playback device does not receive any information sharing request from any terminal within the above-mentioned preset monitoring time T, the playback device cannot add the identification information of other terminals to its shared APP pool. , the identification information of the terminal in the shared APP pool of the playback device only has the identification information of the first terminal. When the identification information of the terminal in the shared APP pool of the playback device is only the identification information of the first terminal, the playback device cannot establish a shared connection between the first terminal and other terminals. At this time, the playback device can send information sharing information to the first terminal. Feedback information requested. Wherein, the above feedback information is indication information of operation failure, that is, indication information of failure to establish a shared connection. After the terminal receives the instruction information indicating that the operation fails, the music information sharing operation can be terminated, and the terminal user cannot know the music information collected by other terminals.

S204,所述播放设备获取所述第一终端收藏的音乐信息以及所述第二终端收藏的音乐信息,并将所述第一终端收藏的音乐信息发送给所述第二终端,或者将所述第二终端收藏的音乐信息发送给所述第一终端,以实现音乐信息的共享。S204. The playback device acquires the music information stored in the first terminal and the music information stored in the second terminal, and sends the music information stored in the first terminal to the second terminal, or sends the The music information collected by the second terminal is sent to the first terminal, so as to realize sharing of music information.

在一些可行的实施方式中,播放设备向第一终端或者第二终端发送信息共享请求的反馈信息之后,则可获取第一终端发送的第一终端收藏的音乐信息,进而可将上述第一终端收藏的音乐信息发送给第二终端,以供第二终端的用户进行查阅或者点播。进一步的,播放设备还可获取第二终端发送的第二终端收藏的音乐信息,进而可将上述第二终端收藏的音乐信息发送给第一终端,以供第二终端的用户进行查阅或者点播,实现了不同终端的音乐信息的共享。具体实现中,上述第一终端或者第二终端收藏的音乐信息可包括:第一终端或者第二终端收藏的音乐播放列表,以及上述音乐播放列表中各个曲目的音频文件。In some feasible implementation manners, after the playback device sends the feedback information of the information sharing request to the first terminal or the second terminal, it can obtain the music information collected by the first terminal sent by the first terminal, and then the above-mentioned first terminal can The stored music information is sent to the second terminal for the user of the second terminal to view or order. Further, the playback device can also obtain the music information collected by the second terminal sent by the second terminal, and then send the above-mentioned music information collected by the second terminal to the first terminal for the user of the second terminal to view or order. Realized the sharing of music information of different terminals. In a specific implementation, the music information collected by the first terminal or the second terminal may include: a music playlist collected by the first terminal or the second terminal, and audio files of each track in the above music playlist.

在本发明实施例中,播放设备可首先接收第一终端发送的第一信息共享请求,并将上述第一信息共享请求中携带的第一终端的标识信息添加至播放设备的共享APP池。进一步的,播放还可在接收到第一终端发送的信息共享请求之后,对其他终端发送的信息共享请求进行监控。若播放设备在预设的监控时间内接收到第二终端发送的第二信息共享请求,则可将上述第二信息共享请求中携带的第二终端的标识信息添加至上述共享APP池。当上述共享APP池中的终端的标识信息多于一个时,播放设备则可向第一终端或者第二终端发送上述信息共享请求的反馈信息,通过上述反馈信息指示第一终端和第二终端是否已成功建立共享连接。当第一终端或者第二终端与其他终端成功建立共享连接时,述播放设备可获取第一终端收藏的音乐信息以及第二终端收藏的音乐信息,并将上述第一终端收藏的音乐信息发送给第二终端,或者将第二终端收藏的音乐信息发送给第一终端,以实现音乐信息的共享,提高了音乐信息共享的趣味性,增强终端的用户体验。In this embodiment of the present invention, the playback device may first receive the first information sharing request sent by the first terminal, and add the identification information of the first terminal carried in the first information sharing request to the shared APP pool of the playback device. Further, after receiving the information sharing request sent by the first terminal, the playback may monitor information sharing requests sent by other terminals. If the playback device receives the second information sharing request sent by the second terminal within the preset monitoring time, it may add the identification information of the second terminal carried in the second information sharing request to the shared APP pool. When there is more than one identification information of terminals in the shared APP pool, the playback device may send the feedback information of the information sharing request to the first terminal or the second terminal, and indicate whether the first terminal and the second terminal are connected through the feedback information. Sharing connection established successfully. When the first terminal or the second terminal successfully establishes a shared connection with other terminals, the playback device can obtain the music information collected by the first terminal and the music information collected by the second terminal, and send the music information collected by the first terminal to the The second terminal may send the music information collected by the second terminal to the first terminal, so as to realize the sharing of music information, improve the fun of music information sharing, and enhance the user experience of the terminal.

参见图3,是本发明实施例提供的音乐信息的共享的终端的实施例结构示意图。本发明实施例中所描述的终端,包括:Referring to FIG. 3 , it is a schematic structural diagram of an embodiment of a music information sharing terminal provided by an embodiment of the present invention. The terminal described in the embodiment of the present invention includes:

获取模块10,用于获取用户在其指定应用界面上输入的长按信号。The acquiring module 10 is configured to acquire a long-press signal input by the user on its designated application interface.

发送模块20,用于根据所述获取模块获取的所述长按信号发送信息共享请求至播放设备。The sending module 20 is configured to send an information sharing request to the playback device according to the long press signal obtained by the obtaining module.

判断模块30,用于根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接。The judging module 30 is configured to judge whether the sharing connection is successfully established with other terminals associated with the playing device according to the feedback information of the information sharing request sent by the playing device.

所述获取模块10,还用于在所述判断模块判断结果为是时,获取所述播放设备发送的所述其他终端收藏的音乐信息。The obtaining module 10 is further configured to obtain the music information collected by the other terminal sent by the playing device when the judging result of the judging module is yes.

所述发送模块20,还用于将所述获取模块获取的所述音乐信息输出至所述终端的用户操作界面。The sending module 20 is further configured to output the music information acquired by the acquiring module to the user operation interface of the terminal.

播放模块40,用于获取所述终端的用户操作界面上的所述音乐信息的点播指令,根据所述点播指令播放相应的音频文件。The playing module 40 is configured to acquire an on-demand instruction of the music information on the user operation interface of the terminal, and play a corresponding audio file according to the on-demand instruction.

在一些可行的实施方式中,上述判断模块30具体用于:In some feasible implementation manners, the above-mentioned judging module 30 is specifically used for:

接收所述播放设备根据所述信息共享请求发送的共享指示信息;receiving sharing indication information sent by the playback device according to the information sharing request;

当所述共享指示信息为操作失败的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接失败;When the sharing indication information is indication information of operation failure, it is determined that the terminal fails to establish a sharing connection with other terminals associated with the playback device;

当所述共享指示信息为获取所述终端的待共享信息的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接成功;When the sharing instruction information is the instruction information for obtaining the information to be shared of the terminal, it is determined that the terminal successfully establishes the sharing connection with other terminals associated with the playback device;

其中,所述终端的待共享信息包括:所述终端的标识信息,或者所述终端收藏的音乐信息。Wherein, the information to be shared of the terminal includes: identification information of the terminal, or music information collected by the terminal.

在一些可行的实施方式中,本发明实施例中所描述的终端具体可为通过播放设备进行音乐播放的手机或者平板等终端,具体可根据实际应用场景确定,在此不做限制。In some feasible implementation manners, the terminal described in the embodiments of the present invention may specifically be a terminal such as a mobile phone or a tablet that plays music through a playback device, which may be determined according to an actual application scenario, and is not limited here.

在一些可行的实施方式中,获取模块10可预先设定用于触发终端向播放设备发送信息共享请求的指定应用界面,例如终端的音乐播放器等应用程序的用户操作界面。获取模块10可在上述指定应用界面上建立操作监听事件,具体的,获取模块10可在上述指定应用界面上建立长按监听事件。获取模块10可通过长按监听事件获取用户在上述指定应用界面上输入的长按信号,进而通过发送模块20根据上述长按信号发送信息共享请求至播放设备。即,当获取模块10监听到终端的音乐播放器等应用程序的用户操作界面上的长按信号时,发送模块20可向播放设备发送信息共享请求,以通过播放设备建立与其他终端的连接,进而可实现与其他终端的音乐信息共享。即,终端用户可通过长按终端的指定应用界面上的操作按键或者操作区域,触发发送模块20向播放设备发送信息共享请求。In some feasible implementation manners, the acquiring module 10 may preset a specified application interface for triggering the terminal to send an information sharing request to the playback device, such as a user operation interface of an application program such as a music player of the terminal. The acquisition module 10 may create an operation monitoring event on the specified application interface. Specifically, the acquisition module 10 may create a long press monitoring event on the specified application interface. The acquisition module 10 can acquire the long press signal input by the user on the specified application interface through the long press monitoring event, and then send the information sharing request to the playback device through the sending module 20 according to the long press signal. That is, when the acquisition module 10 listens to the long press signal on the user interface of the application program such as the music player of the terminal, the sending module 20 can send an information sharing request to the playback device, so as to establish a connection with other terminals through the playback device, Furthermore, music information sharing with other terminals can be realized. That is, the terminal user can trigger the sending module 20 to send an information sharing request to the playback device by long pressing the operation button or the operation area on the designated application interface of the terminal.

播放设备获取得到终端发送的信息共享请求之后,则可将上述终端的标识信息加入播放设备中预先设定的共享APP池(即指定共享空间)中,进而可根据共享APP池中存储的其他终端的标识信息确定是否建立该终端与其他终端的信息共享连接。具体的,当预设时间内播放设备的共享APP池中的终端的标识信息超过指定数目(例如终端数目大于1)时,则可建立该终端与其他终端的信息共享连接,否则无法建立该终端与其他终端的信息共享连接。After the playback device obtains the information sharing request sent by the terminal, it can add the identification information of the above-mentioned terminal to the shared APP pool (that is, the designated shared space) preset in the playback device, and then can use other terminals stored in the shared APP pool The identification information of the terminal determines whether to establish an information sharing connection between the terminal and other terminals. Specifically, when the identification information of terminals in the shared APP pool of the playback device exceeds a specified number (for example, the number of terminals is greater than 1) within the preset time, an information sharing connection between the terminal and other terminals can be established, otherwise the terminal cannot be established Information sharing connection with other terminals.

在一些可行的实施方式中,发送模块20向播放设备发送信息共享请求之后,判断模块30则可根据播放设备的响应状态确定是否成功与播放设备关联的其他终端建立共享连接。具体实现中,发送模块20向播放设备发送的信息共享请求之后,判断模块30可接收播放设备发送的信息共享请求的反馈信息,进而可根据上述反馈信息确定是否成功与其他终端建立共享连接。当上述播放设备发送的反馈信息为共享操作失败的指示信息时,判断模块30则可确定该终端与其他终端建立共享连接失败,此时终端则无法获知其他终端收藏的音乐信息。当上述播放设备发送的反馈信息为获取终端的待共享信息的指示信息时,判断模块30则可确定该终端与其他终端建立共享连接成功。上述终端与其他终端成功建立共享连接之后,获取模块10则可获取其他终端收藏的音乐信息,进而可实现音乐信息的共享。In some feasible implementation manners, after the sending module 20 sends an information sharing request to the playback device, the judging module 30 can determine whether to successfully establish a sharing connection with other terminals associated with the playback device according to the response status of the playback device. In specific implementation, after the information sharing request sent by the sending module 20 to the playback device, the judging module 30 can receive the feedback information of the information sharing request sent by the playback device, and then determine whether the sharing connection with other terminals is successfully established according to the above feedback information. When the feedback information sent by the playback device is the indication information that the sharing operation failed, the judging module 30 can determine that the terminal fails to establish a sharing connection with other terminals, and at this time the terminal cannot know the music information collected by other terminals. When the feedback information sent by the playback device is the indication information for obtaining the terminal's information to be shared, the judging module 30 may determine that the terminal successfully establishes the sharing connection with other terminals. After the above-mentioned terminal successfully establishes a shared connection with other terminals, the acquisition module 10 can acquire the music information stored by other terminals, and then realize the sharing of music information.

需要说明的是,本发明实施例中所描述的播放设备关联的终端具体可为播放设备的共享APP池中存储的各个标识信息对应的各个终端,其中,上述各个终端均可为上述实施例中所描述的终端,均可向播放设备发送信息共享请求,并通过播放设备建立共享连接。终端(播放设备的共享APP池中存储的任意标识信息对应的终端)通过向播放设备发送信息共享请求,播放设备接收到各个终端发送的信息共享请求之后,则可将终端的标识信息添加至共享APP池中。若预设时间内共享APP池中的终端的数目大于或者等于预设数量值,则可成功建立各个终端的共享连接,否则无法建立共享连接。播放设备可根据共享连接的建立成功与否,向共享APP池中的终端发送反馈信息,以指示终端是否成功与其他终端建立共享连接。It should be noted that the terminal associated with the playback device described in the embodiment of the present invention may specifically be each terminal corresponding to each identification information stored in the shared APP pool of the playback device, wherein each of the above-mentioned terminals may be the The described terminals can all send an information sharing request to the playback device, and establish a sharing connection through the playback device. The terminal (the terminal corresponding to any identification information stored in the shared APP pool of the playback device) sends an information sharing request to the playback device. After the playback device receives the information sharing request sent by each terminal, it can add the identification information of the terminal to the shared APP pool. In the APP pool. If the number of terminals in the shared APP pool within the preset time is greater than or equal to the preset number value, the shared connection of each terminal can be successfully established, otherwise the shared connection cannot be established. The playback device can send feedback information to the terminals in the shared APP pool according to whether the shared connection is successfully established to indicate whether the terminal successfully establishes the shared connection with other terminals.

在一些可行的实施方式中,当终端成功与播放设备关联的其他终端成功建立共享连接,获取模块10则可通过播放设备获取其他终端收藏的音乐信息,进而可通过播放模块40对其他终端收藏的音乐信息进行点播等操作。具体实现中,判断模块30确定与播放设备的其他终端成功建立共享连接之后,获取模块10则可获取播放设备发送的其他终端收藏的音乐信息,进而可通过发送模块20将上述音乐信息输出至终端的用户操作界面,以通过终端的用户操作界面将上述其他终端的音乐信息展现给终端用户。例如,发送模块20可将获取模块10获取的其他终端的音乐信息输出至终端的音乐播放器的用户操作界面。终端用户可根据音乐播放器的用户操作界面上显示的音乐信息,确定自己喜欢的音乐曲目,进而可选择该音乐曲目,触发播放模块40播放该音乐曲目。In some feasible implementation manners, when the terminal successfully establishes a shared connection with other terminals associated with the playback device, the acquisition module 10 can obtain the music information collected by other terminals through the playback device, and then use the playback module 40 to collect music information collected by other terminals. Music information for on-demand operations. In specific implementation, after the judging module 30 determines that the sharing connection with other terminals of the playback device is successfully established, the acquisition module 10 can acquire the music information collected by other terminals sent by the playback device, and then output the above music information to the terminal through the sending module 20 The user operation interface of the terminal, so as to present the music information of the other terminal to the terminal user through the user operation interface of the terminal. For example, the sending module 20 may output the music information of other terminals acquired by the acquiring module 10 to the user operation interface of the music player of the terminal. The terminal user can determine the music track he or she likes according to the music information displayed on the user interface of the music player, and then select the music track to trigger the playing module 40 to play the music track.

在一些可行的实施方式中,发送模块20将播放设备发送的其他终端的音乐信息输出至终端的用户操作界面之后,播放模块40则可对终端的用户操作界面上的用户操作指令进行监控。当播放模块40获取得到终端的用户操作界面上的音乐信息的点播指令时,则可根据上述点播指令触发终端播放相应的音频文件。具体实现中,获取模块10可通过播放设备获取其他终端收藏的音乐信息,其中,上述其他终端收藏的音乐信息包括:终端收藏的音乐播放列表,以及音乐播放列表对应的音频文件,即音乐播放列表中各个曲目对应的音频文件。具体实现中,播放模块40获取得到用户操作界面上的音乐信息的点播指令之后,则可根据上述点播指令播放相应曲目的音频文件。进一步的,播放模块40还可根据上述点播指令向播放设备发起播放指定音乐曲目的请求,通过上述播放设备播放上述用户点播的曲目的音频文件。In some feasible implementations, after the sending module 20 outputs the music information of other terminals sent by the playback device to the user operation interface of the terminal, the playback module 40 can monitor the user operation instructions on the user operation interface of the terminal. When the playing module 40 acquires an on-demand instruction of music information on the user interface of the terminal, the terminal may be triggered to play the corresponding audio file according to the above-mentioned on-demand instruction. In a specific implementation, the acquisition module 10 can acquire music information collected by other terminals through a playback device, wherein the above-mentioned music information collected by other terminals includes: a music playlist stored by the terminal, and an audio file corresponding to the music playlist, that is, a music playlist Audio files for each track in . In a specific implementation, after the playing module 40 acquires the on-demand instruction of the music information on the user operation interface, it can play the audio file of the corresponding track according to the above-mentioned on-demand instruction. Further, the playing module 40 may also initiate a request to play a specified music track to the playback device according to the above-mentioned order instruction, and play the audio file of the song ordered by the user through the above-mentioned playback device.

在本发明实施例中,终端可首先获取用户在其指定应用界面上输入的长按信号,并根据用户输入的长按信号发送信息共享请求至播放设备,进而可根据播放设备发送的反馈信息,判断是否成功与播放设备关联的其他终端建立共享连接。本发明实施例终端可通过播放设备建立连接,操作方便、有趣。若终端已成功与播放设备关联的其他终端建立共享连接,则获取播放设备发送的其他终端收藏的音乐信息,并将所述音乐信息输出至终端的用户操作界面,以将其他终端收藏的音乐信息展现给终端用户。进一步的,终端可获取终端的用户操作界面上的音乐信息的点播指令,根据上述点播指令播放相应的音频文件。本发明实施例可通过播放设备实现不同终端的音乐信息的共享,提高了音乐信息共享的趣味性,增强终端的用户体验。In the embodiment of the present invention, the terminal can first obtain the long press signal input by the user on its specified application interface, and send an information sharing request to the playback device according to the long press signal input by the user, and then according to the feedback information sent by the playback device, It is judged whether the shared connection is successfully established with other terminals associated with the playback device. The terminal in the embodiment of the present invention can establish a connection through a playback device, and the operation is convenient and interesting. If the terminal has successfully established a shared connection with other terminals associated with the playback device, then obtain the music information collected by other terminals sent by the playback device, and output the music information to the user operation interface of the terminal, so as to share the music information collected by other terminals displayed to end users. Further, the terminal may acquire an on-demand instruction of music information on the user operation interface of the terminal, and play a corresponding audio file according to the above-mentioned on-demand instruction. The embodiment of the present invention can realize the sharing of music information of different terminals through the playback device, which improves the fun of music information sharing and enhances the user experience of the terminal.

参见图4,是本发明实施例提供的音乐信息的共享的播放设备的实施例结构示意图。本发明实施例中所描述的播放设备,包括:Referring to FIG. 4 , it is a schematic structural diagram of an embodiment of a playback device for sharing music information provided by an embodiment of the present invention. The playback device described in the embodiment of the present invention includes:

获取模块60,用于获取第一终端发送的第一信息共享请求,并根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间。The obtaining module 60 is configured to obtain the first information sharing request sent by the first terminal, and add the identification information of the first terminal to the designated sharing space according to the first information sharing request.

所述获取模块60,还用于在预设的监控时间内接收到第二终端发送的第二信息共享请求时,根据所述第二信息共享请求将所述第二终端的标识信息添加至指定共享空间。The acquisition module 60 is further configured to add the identification information of the second terminal to the designated Shared space.

发送模块70,用于建立所述第一终端和所述第二终端的共享连接,并向所述第一终端或者所述第二终端发送反馈信息,所述反馈信息用于指示所述第一终端和所述第二终端是否已成功建立共享连接。A sending module 70, configured to establish a shared connection between the first terminal and the second terminal, and send feedback information to the first terminal or the second terminal, where the feedback information is used to indicate that the first terminal Whether the terminal and the second terminal have successfully established a shared connection.

共享模块80,用于获取所述第一终端收藏的音乐信息以及所述第二终端收藏的音乐信息,并将所述第一终端收藏的音乐信息发送给所述第二终端,或者将所述第二终端收藏的音乐信息发送给所述第一终端,以实现音乐信息的共享。The sharing module 80 is configured to obtain the music information collected by the first terminal and the music information collected by the second terminal, and send the music information collected by the first terminal to the second terminal, or send the The music information collected by the second terminal is sent to the first terminal, so as to realize sharing of music information.

在一些可行的实施方式中,本发明实施例中所描述的播放设备(如图5)还包括:In some feasible implementation manners, the playback device described in the embodiment of the present invention (as shown in FIG. 5 ) also includes:

监听模块90,用于设定接收所述第一终端之外的其他终端发送的信息共享请求的监控时间,判断在所述监控时间内是否接收到第二终端发送的第二信息共享请求。The monitoring module 90 is configured to set a monitoring time for receiving information sharing requests sent by terminals other than the first terminal, and determine whether a second information sharing request sent by a second terminal is received within the monitoring time.

具体实现中,本发明实施例中所描述的音乐信息的共享的播放设备具体可为用于实现终端的标识信息或者音乐播放列表或者音频文件的管理,以及终端的共享连接操作的播放设备(或称媒体播放设备)。In a specific implementation, the shared playback device for music information described in the embodiments of the present invention may specifically be a playback device (or called a media playback device).

在一些可行的实施方式中,终端需要与其他终端进行音乐信息的共享时,需要首先向播放设备发送信息共享请求,以通过播放设备建立与其他终端的共享连接。具体实现中,播放设备可通过其获取模块60首先接收第一终端(即第一个向播放设备发送信息共享请求的终端)发送的第一信息共享请求,进而可根据上述信息共享请求确定终端的标识信息。具体实现中,获取模块60可根据上述信息共享请求中携带的终端的IP地址或者终端的用户账号信息,识别不同的终端,进而可将上述终端的IP地址或者终端的用户账号信息等终端的标识信息添加至播放设备的指定共享空间。其中,上述播放设备的指定共享空间具体可为播放设备的共享APP池。In some feasible implementation manners, when the terminal needs to share music information with other terminals, it first needs to send an information sharing request to the playback device, so as to establish a sharing connection with other terminals through the playback device. In a specific implementation, the playback device can first receive the first information sharing request sent by the first terminal (that is, the first terminal that sends an information sharing request to the playback device) through its acquisition module 60, and then determine the information sharing request of the terminal according to the above information sharing request. Identification information. In a specific implementation, the acquisition module 60 can identify different terminals according to the IP address of the terminal carried in the information sharing request or the user account information of the terminal, and then can use the IP address of the terminal or the user account information of the terminal to identify the terminal The information is added to the specified shared space of the playback device. Wherein, the specified shared space of the playback device may specifically be a shared APP pool of the playback device.

在一些可行的实施方式中,获取模块60接收得到第一终端的信息共享请求之后,还可通过监听模块90在预先设的监控时间内对信息共享请求的接收情况进行监控。具体实现中,监听模块90可预先设定接收第一终端之外的其他终端发送的信息共享请求的监控时间,例如T,其中T为大于0的整数。监听模块90设定上述监控时间T之后,则可在接收得到第一终端的信息共享请求之后进入监控时间的倒计时阶段。若获取模块60在上述监控时间的倒计时阶段接收得到第二终端发送的第二信息共享请求,则可根据上述第二信息共享请求确定第二终端的标识信息,进而可将上述第二终端的标识信息添加至播放设备的指定共享空间,即播放设备的共享APP池。其中,上述第二终端具体可为除了上述第一终端之外的任意一个或者多个终端,在此不做限制。上述第二终端的标识信息可包括第二终端的IP地址或者用户账号信息等。In some feasible implementation manners, after the obtaining module 60 receives the information sharing request from the first terminal, the monitoring module 90 may also monitor the reception of the information sharing request within a preset monitoring time. In a specific implementation, the monitoring module 90 may preset a monitoring time for receiving information sharing requests sent by terminals other than the first terminal, such as T, where T is an integer greater than 0. After the monitoring module 90 sets the above-mentioned monitoring time T, it may enter the countdown phase of the monitoring time after receiving the information sharing request from the first terminal. If the acquisition module 60 receives the second information sharing request sent by the second terminal during the countdown phase of the monitoring time, the identification information of the second terminal can be determined according to the second information sharing request, and then the identification information of the second terminal can be The information is added to the specified shared space of the playback device, that is, the shared APP pool of the playback device. Wherein, the above-mentioned second terminal may specifically be any one or more terminals except the above-mentioned first terminal, which is not limited here. The identification information of the second terminal may include the IP address or user account information of the second terminal.

在一些可行的实施方式中,当获取模块60在上述监听模块90预先设定的监控时间T内接收得到至少一个终端的信息共享请求时,获取模块60则可将上述一个或者多个终端的标识信息添加至其共享APP池中,使得上述共享APP池中包含至少两个终端的标识信息,即上述第一终端和上述监控时间内接收到的第二终端的标识信息。当播放设备的共享APP池中包含的终端的标识信息有多个(即至少两个终端的标识信息)时,则可建立上述多个终端的共享连接,以实现上述多个终端的音乐信息的共享。当上述播放设备的共享APP池中的终端有多个时,发送模块70则可首先建立上述各个终端的共享连接,并向共享APP池中的第一终端或者第二终端发送共享信息请求对应的反馈信息,通过上述反馈信息指示第一终端和第二终端是否已成功建立共享连接。其中,上述反馈信息具体可为获取终端的待共享信息的请求,通过上述请求向第一终端和第二终端请求其待共享的音乐信息,以将第一终端的待共享信息分享给第二终端,或者将第二终端的待共享信息分享给第一终端。In some feasible implementation manners, when the acquisition module 60 receives an information sharing request from at least one terminal within the monitoring time T preset by the monitoring module 90, the acquisition module 60 can then send the identification of the one or more terminals to The information is added to its shared APP pool, so that the shared APP pool contains identification information of at least two terminals, that is, the identification information of the first terminal and the second terminal received within the monitoring time. When there are multiple identification information of terminals contained in the shared APP pool of the playback device (i.e. identification information of at least two terminals), the shared connection of the above-mentioned multiple terminals can be established to realize the music information of the above-mentioned multiple terminals. shared. When there are multiple terminals in the shared APP pool of the playback device, the sending module 70 can first establish a shared connection for each of the above terminals, and send the corresponding information of the shared information request to the first terminal or the second terminal in the shared APP pool. The feedback information indicates whether the first terminal and the second terminal have successfully established a shared connection through the above feedback information. Wherein, the above-mentioned feedback information may specifically be a request for obtaining information to be shared by the terminal, and through the above-mentioned request, the music information to be shared is requested from the first terminal and the second terminal, so as to share the information to be shared by the first terminal to the second terminal , or share the to-be-shared information of the second terminal with the first terminal.

在一些可行的实施方式中,当获取模块60在上述监听模块90预先设定的监控时间T内未接收得到任何终端的信息共享请求时,获取模块60则无法将其他终端的标识信息加入其共享APP池中,此时,播放设备的共享APP池中的终端的标识信息则仅有第一终端的标识信息。当播放设备的共享APP池中的终端的标识信息只有第一终端的标识信息时,播放设备则无法建立第一终端和其他终端的共享连接,此时发送模块70则可向第一终端发送信息共享请求的反馈信息。其中,上述反馈信息为操作失败的指示信息,即建立共享连接失败的指示信息。终端接收得到上述操作失败的指示信息之后,则可结束音乐信息的共享操作,终端用户无法获知其他终端收藏的音乐信息。In some feasible implementations, when the acquisition module 60 does not receive any information sharing request from any terminal within the monitoring time T preset by the monitoring module 90, the acquisition module 60 cannot add the identification information of other terminals to its shared information. In the APP pool, at this time, the identification information of the terminals in the shared APP pool of the playback device only has the identification information of the first terminal. When the identification information of the terminals in the shared APP pool of the playback device only has the identification information of the first terminal, the playback device cannot establish a shared connection between the first terminal and other terminals. At this time, the sending module 70 can send information to the first terminal. Feedback on sharing requests. Wherein, the above feedback information is indication information of operation failure, that is, indication information of failure to establish a shared connection. After the terminal receives the instruction information indicating that the operation fails, the music information sharing operation can be terminated, and the terminal user cannot know the music information collected by other terminals.

在一些可行的实施方式中,发送模块70向第一终端或者第二终端发送信息共享请求的反馈信息之后,共享模块80则可获取第一终端发送的第一终端收藏的音乐信息,进而可将上述第一终端收藏的音乐信息发送给第二终端,以供第二终端的用户进行查阅或者点播。进一步的,共享模块80还可获取第二终端发送的第二终端收藏的音乐信息,进而可将上述第二终端收藏的音乐信息发送给第一终端,以供第二终端的用户进行查阅或者点播,实现了不同终端的音乐信息的共享。具体实现中,上述第一终端或者第二终端收藏的音乐信息可包括:第一终端或者第二终端收藏的音乐播放列表,以及上述音乐播放列表中各个曲目的音频文件。In some feasible implementation manners, after the sending module 70 sends the feedback information of the information sharing request to the first terminal or the second terminal, the sharing module 80 can obtain the music information collected by the first terminal sent by the first terminal, and then the The above-mentioned music information collected by the first terminal is sent to the second terminal for the user of the second terminal to view or order. Further, the sharing module 80 can also obtain the music information collected by the second terminal sent by the second terminal, and then send the above-mentioned music information collected by the second terminal to the first terminal for the user of the second terminal to view or order , realizing the sharing of music information of different terminals. In a specific implementation, the music information collected by the first terminal or the second terminal may include: a music playlist collected by the first terminal or the second terminal, and audio files of each track in the above music playlist.

在本发明实施例中,播放设备可首先接收第一终端发送的第一信息共享请求,并将上述第一信息共享请求中携带的第一终端的标识信息添加至播放设备的共享APP池。进一步的,播放还可在接收到第一终端发送的信息共享请求之后,对其他终端发送的信息共享请求进行监控。若播放设备在预设的监控时间内接收到第二终端发送的第二信息共享请求,则可将上述第二信息共享请求中携带的第二终端的标识信息添加至上述共享APP池。当上述共享APP池中的终端的标识信息多于一个时,播放设备则可向第一终端或者第二终端发送上述信息共享请求的反馈信息,通过上述反馈信息指示第一终端和第二终端是否已成功建立共享连接。当第一终端或者第二终端与其他终端成功建立共享连接时,述播放设备可获取第一终端收藏的音乐信息以及第二终端收藏的音乐信息,并将上述第一终端收藏的音乐信息发送给第二终端,或者将第二终端收藏的音乐信息发送给第一终端,以实现音乐信息的共享,提高了音乐信息共享的趣味性,增强终端的用户体验。In this embodiment of the present invention, the playback device may first receive the first information sharing request sent by the first terminal, and add the identification information of the first terminal carried in the first information sharing request to the shared APP pool of the playback device. Further, after receiving the information sharing request sent by the first terminal, the playback may monitor information sharing requests sent by other terminals. If the playback device receives the second information sharing request sent by the second terminal within the preset monitoring time, it may add the identification information of the second terminal carried in the second information sharing request to the shared APP pool. When there is more than one identification information of terminals in the shared APP pool, the playback device may send the feedback information of the information sharing request to the first terminal or the second terminal, and indicate whether the first terminal and the second terminal are connected through the feedback information. Sharing connection established successfully. When the first terminal or the second terminal successfully establishes a shared connection with other terminals, the playback device can obtain the music information collected by the first terminal and the music information collected by the second terminal, and send the music information collected by the first terminal to the The second terminal may send the music information collected by the second terminal to the first terminal, so as to realize the sharing of music information, improve the fun of music information sharing, and enhance the user experience of the terminal.

参见图6,是本发明实施例提供的音乐信息的共享系统的实施例结构示意图。本发明实施例中所描述的音乐信息的共享系统可包括:本发明实施例中所描述的音乐信息的共享的终端1000和播放设备2000。Referring to FIG. 6 , it is a schematic structural diagram of an embodiment of a music information sharing system provided by an embodiment of the present invention. The music information sharing system described in the embodiment of the present invention may include: the music information sharing terminal 1000 and the playback device 2000 described in the embodiment of the present invention.

具体实现中,本发明实施例中所描述的音乐信息的共享系统可通过终端1000和播放设备2000执行音乐信息的共享操作,其中,上述终端1000和播放设备2000的具体实现过程可参见上述实施例中所描述的实现方式,在此不再赘述。In a specific implementation, the music information sharing system described in the embodiment of the present invention can perform the music information sharing operation through the terminal 1000 and the playback device 2000, wherein, the specific implementation process of the above-mentioned terminal 1000 and the playback device 2000 can refer to the above-mentioned embodiment The implementation described in , will not be repeated here.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (10)

1.一种音乐信息的共享方法,其特征在于,包括:1. A method for sharing music information, comprising: 终端获取用户在其指定应用界面上输入的长按信号,并根据所述长按信号发送信息共享请求至播放设备;The terminal acquires a long press signal input by the user on its specified application interface, and sends an information sharing request to the playback device according to the long press signal; 所述终端根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接;The terminal judges whether to successfully establish a sharing connection with other terminals associated with the playback device according to the feedback information of the information sharing request sent by the playback device; 若所述终端已成功与所述播放设备关联的其他终端建立共享连接,则获取所述播放设备发送的所述其他终端收藏的音乐信息,并将所述音乐信息输出至所述终端的用户操作界面;If the terminal has successfully established a shared connection with other terminals associated with the playback device, then obtain the music information collected by the other terminal sent by the playback device, and output the music information to the user operation of the terminal interface; 获取所述终端的用户操作界面上的所述音乐信息的点播指令,根据所述点播指令播放相应的音频文件。Acquiring an on-demand instruction of the music information on the user operation interface of the terminal, and playing a corresponding audio file according to the on-demand instruction. 2.如权利要求1所述的方法,其特征在于,所述终端根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接,包括:2. The method according to claim 1, wherein, according to the feedback information of the information sharing request sent by the playback device, the terminal determines whether a shared connection is successfully established with other terminals associated with the playback device, include: 所述终端接收所述播放设备根据所述信息共享请求发送的共享指示信息;The terminal receives the sharing indication information sent by the playback device according to the information sharing request; 当所述共享指示信息为操作失败的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接失败;When the sharing indication information is indication information of operation failure, it is determined that the terminal fails to establish a sharing connection with other terminals associated with the playback device; 当所述共享指示信息为获取所述终端的待共享信息的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接成功;When the sharing instruction information is the instruction information for obtaining the information to be shared of the terminal, it is determined that the terminal successfully establishes the sharing connection with other terminals associated with the playback device; 其中,所述终端的待共享信息包括:所述终端的标识信息,或者所述终端收藏的音乐信息。Wherein, the information to be shared of the terminal includes: identification information of the terminal, or music information collected by the terminal. 3.一种音乐信息的共享方法,其特征在于,包括:3. A method for sharing music information, comprising: 播放设备获取第一终端发送的第一信息共享请求,并根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间;The playback device acquires the first information sharing request sent by the first terminal, and adds the identification information of the first terminal to the designated sharing space according to the first information sharing request; 若所述播放设备在预设的监控时间内接收到第二终端发送的第二信息共享请求,则根据所述第二信息共享请求将所述第二终端的标识信息添加至指定共享空间;If the playback device receives a second information sharing request sent by the second terminal within the preset monitoring time, adding the identification information of the second terminal to the designated sharing space according to the second information sharing request; 所述播放设备向所述第一终端或者所述第二终端发送反馈信息,所述反馈信息用于指示所述第一终端和所述第二终端是否已成功建立共享连接;The playback device sends feedback information to the first terminal or the second terminal, where the feedback information is used to indicate whether the first terminal and the second terminal have successfully established a shared connection; 所述播放设备获取所述第一终端收藏的音乐信息以及所述第二终端收藏的音乐信息,并将所述第一终端收藏的音乐信息发送给所述第二终端,或者将所述第二终端收藏的音乐信息发送给所述第一终端,以实现音乐信息的共享。The playback device obtains the music information collected by the first terminal and the music information collected by the second terminal, and sends the music information collected by the first terminal to the second terminal, or sends the second terminal The music information collected by the terminal is sent to the first terminal, so as to realize sharing of music information. 4.如权利要求3所述的方法,其特征在于,所述根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间之后,所述方法还包括:4. The method according to claim 3, wherein after adding the identification information of the first terminal to the designated shared space according to the first information sharing request, the method further comprises: 所述播放设备设定接收所述第一终端之外的其他终端发送的信息共享请求的监控时间,判断在所述监控时间内是否接收到第二终端发送的第二信息共享请求。The playback device sets a monitoring time for receiving information sharing requests sent by terminals other than the first terminal, and determines whether a second information sharing request sent by a second terminal is received within the monitoring time. 5.如权利要求3或4所述的方法,其特征在于,所述第一终端或者所述第二终端收藏的音乐信息包括:所述第一终端或者所述第二终端收藏的音乐播放列表,以及所述音乐播放列表对应的音频文件。5. The method according to claim 3 or 4, wherein the music information collected by the first terminal or the second terminal comprises: a playlist of music collected by the first terminal or the second terminal , and the audio file corresponding to the music playlist. 6.一种音乐信息的共享的终端,其特征在于,包括:6. A shared terminal for music information, comprising: 获取模块,用于获取用户在其指定应用界面上输入的长按信号;An acquisition module, configured to acquire a long-press signal input by the user on its designated application interface; 发送模块,用于根据所述获取模块获取的所述长按信号发送信息共享请求至播放设备;A sending module, configured to send an information sharing request to a playback device according to the long press signal obtained by the obtaining module; 判断模块,用于根据所述播放设备发送的所述信息共享请求的反馈信息,判断是否成功与所述播放设备关联的其他终端建立共享连接;A judging module, configured to judge whether a shared connection is successfully established with other terminals associated with the playback device according to the feedback information of the information sharing request sent by the playback device; 所述获取模块,还用于在所述判断模块判断结果为是时,获取所述播放设备发送的所述其他终端收藏的音乐信息;The acquiring module is further configured to acquire the music information collected by the other terminal sent by the playing device when the judging result of the judging module is yes; 所述发送模块,还用于将所述获取模块获取的所述音乐信息输出至所述终端的用户操作界面;The sending module is further configured to output the music information acquired by the acquiring module to the user operation interface of the terminal; 播放模块,用于获取所述终端的用户操作界面上的所述音乐信息的点播指令,根据所述点播指令播放相应的音频文件。The playing module is configured to obtain an on-demand instruction of the music information on the user operation interface of the terminal, and play a corresponding audio file according to the on-demand instruction. 7.如权利要求6所述的终端,其特征在于,所述判断模块具体用于:7. The terminal according to claim 6, wherein the judging module is specifically used for: 接收所述播放设备根据所述信息共享请求发送的共享指示信息;receiving sharing indication information sent by the playback device according to the information sharing request; 当所述共享指示信息为操作失败的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接失败;When the sharing indication information is indication information of operation failure, it is determined that the terminal fails to establish a sharing connection with other terminals associated with the playback device; 当所述共享指示信息为获取所述终端的待共享信息的指示信息时,判定所述终端与所述播放设备关联的其他终端建立共享连接成功;When the sharing instruction information is the instruction information for obtaining the information to be shared of the terminal, it is determined that the terminal successfully establishes the sharing connection with other terminals associated with the playback device; 其中,所述终端的待共享信息包括:所述终端的标识信息,或者所述终端收藏的音乐信息。Wherein, the information to be shared of the terminal includes: identification information of the terminal, or music information collected by the terminal. 8.一种音乐信息的共享的播放设备,其特征在于,包括:8. A shared playback device for music information, comprising: 获取模块,用于获取第一终端发送的第一信息共享请求,并根据所述第一信息共享请求将所述第一终端的标识信息添加至指定共享空间;An acquisition module, configured to acquire a first information sharing request sent by a first terminal, and add the identification information of the first terminal to a designated sharing space according to the first information sharing request; 所述获取模块,还用于在预设的监控时间内接收到第二终端发送的第二信息共享请求时,根据所述第二信息共享请求将所述第二终端的标识信息添加至指定共享空间;The acquisition module is further configured to add the identification information of the second terminal to the specified sharing information according to the second information sharing request when receiving the second information sharing request sent by the second terminal within the preset monitoring time. space; 发送模块,用于建立所述第一终端和所述第二终端的共享连接,并向所述第一终端或者所述第二终端发送反馈信息,所述反馈信息用于指示所述第一终端和所述第二终端是否已成功建立共享连接;a sending module, configured to establish a shared connection between the first terminal and the second terminal, and send feedback information to the first terminal or the second terminal, where the feedback information is used to indicate the first terminal Whether the shared connection has been successfully established with the second terminal; 共享模块,用于获取所述第一终端收藏的音乐信息以及所述第二终端收藏的音乐信息,并将所述第一终端收藏的音乐信息发送给所述第二终端,或者将所述第二终端收藏的音乐信息发送给所述第一终端,以实现音乐信息的共享。A sharing module, configured to acquire the music information collected by the first terminal and the music information collected by the second terminal, and send the music information collected by the first terminal to the second terminal, or send the The music information collected by the second terminal is sent to the first terminal, so as to realize the sharing of music information. 9.如权利要求8所述的播放设备,其特征在于,所述播放设备还包括:9. The playback device according to claim 8, wherein the playback device further comprises: 监听模块,用于设定接收所述第一终端之外的其他终端发送的信息共享请求的监控时间,判断在所述监控时间内是否接收到第二终端发送的第二信息共享请求。A monitoring module, configured to set a monitoring time for receiving information sharing requests sent by terminals other than the first terminal, and determine whether a second information sharing request sent by a second terminal is received within the monitoring time. 10.如权利要求8或9所述的播放设备,其特征在于,所述第一终端或者所述第二终端收藏的音乐信息包括:所述第一终端或者所述第二终端收藏的音乐播放列表,以及所述音乐播放列表对应的音频文件。10. The playback device according to claim 8 or 9, characterized in that, the music information collected by the first terminal or the second terminal includes: the music played by the first terminal or the second terminal list, and the audio file corresponding to the music playlist.
CN201510386725.3A 2015-06-30 2015-06-30 Method and device for sharing music information Active CN105072146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510386725.3A CN105072146B (en) 2015-06-30 2015-06-30 Method and device for sharing music information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510386725.3A CN105072146B (en) 2015-06-30 2015-06-30 Method and device for sharing music information

Publications (2)

Publication Number Publication Date
CN105072146A true CN105072146A (en) 2015-11-18
CN105072146B CN105072146B (en) 2020-07-28

Family

ID=54501425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510386725.3A Active CN105072146B (en) 2015-06-30 2015-06-30 Method and device for sharing music information

Country Status (1)

Country Link
CN (1) CN105072146B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566862A (en) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 For sharing the method and system of music between multimedia communication terminal
CN107750000A (en) * 2017-11-01 2018-03-02 璧垫尝 A kind of video and audio player method, video and audio Play Server and control terminal
WO2018177243A1 (en) * 2017-03-30 2018-10-04 东莞市库珀电子有限公司 Bluetooth speaker and bluetooth speaker-based sharing system
CN108650575A (en) * 2018-05-28 2018-10-12 许谐兴 A kind of single sharing method of regionality intelligence song and its system based on LIFI communications
CN109101158A (en) * 2018-08-30 2018-12-28 广州酷狗计算机科技有限公司 Import the method, apparatus and storage medium of list of songs
CN110381362A (en) * 2018-04-12 2019-10-25 上海博泰悦臻网络技术服务有限公司 A kind of method and system of terminal room information sharing
CN111696499A (en) * 2020-04-30 2020-09-22 深圳传音控股股份有限公司 Multimedia on demand method, mobile terminal and computer readable storage medium
CN115412835A (en) * 2021-05-27 2022-11-29 Oppo广东移动通信有限公司 Audio sharing method, device, terminal, audio equipment and storage medium
US11853353B2 (en) 2020-08-31 2023-12-26 Beijing Bytedance Network Technology Co., Ltd. Music pushing method, apparatus, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118418A (en) * 2009-12-30 2011-07-06 比亚迪股份有限公司 Mobile terminal data sharing system and method
CN102510392A (en) * 2011-10-10 2012-06-20 Tcl集团股份有限公司 Equipment room application sharing method and system, television and mobile terminal
CN102547568A (en) * 2012-01-18 2012-07-04 北京友录在线科技发展有限公司 Method for close range information exchanging
CN103051624A (en) * 2012-12-21 2013-04-17 康佳集团股份有限公司 Method and system for transmitting shared media resources to intelligent terminal by mobile equipment
US20130254663A1 (en) * 2004-04-01 2013-09-26 Sonos, Inc. Systems, Methods, Apparatus, and Articles of Manufacture to Provide Guest Access
CN104167216A (en) * 2013-05-17 2014-11-26 安凯(广州)微电子技术有限公司 Audio frequency file sharing method, device and sound box
CN104601685A (en) * 2014-12-31 2015-05-06 广东欧珀移动通信有限公司 Music playing method and device of smart sound box
WO2015085664A1 (en) * 2013-12-10 2015-06-18 华为终端有限公司 Synchronization method, terminal and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254663A1 (en) * 2004-04-01 2013-09-26 Sonos, Inc. Systems, Methods, Apparatus, and Articles of Manufacture to Provide Guest Access
CN102118418A (en) * 2009-12-30 2011-07-06 比亚迪股份有限公司 Mobile terminal data sharing system and method
CN102510392A (en) * 2011-10-10 2012-06-20 Tcl集团股份有限公司 Equipment room application sharing method and system, television and mobile terminal
CN102547568A (en) * 2012-01-18 2012-07-04 北京友录在线科技发展有限公司 Method for close range information exchanging
CN103051624A (en) * 2012-12-21 2013-04-17 康佳集团股份有限公司 Method and system for transmitting shared media resources to intelligent terminal by mobile equipment
CN104167216A (en) * 2013-05-17 2014-11-26 安凯(广州)微电子技术有限公司 Audio frequency file sharing method, device and sound box
WO2015085664A1 (en) * 2013-12-10 2015-06-18 华为终端有限公司 Synchronization method, terminal and server
CN104601685A (en) * 2014-12-31 2015-05-06 广东欧珀移动通信有限公司 Music playing method and device of smart sound box

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VINSSEN: "无线高清 互联音响 一键推送 全家共享 Harman/kardon OMNI 10/20/ADAPT", 《家庭影院技术》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566862A (en) * 2016-06-30 2018-01-09 上海博泰悦臻网络技术服务有限公司 For sharing the method and system of music between multimedia communication terminal
WO2018177243A1 (en) * 2017-03-30 2018-10-04 东莞市库珀电子有限公司 Bluetooth speaker and bluetooth speaker-based sharing system
CN107750000A (en) * 2017-11-01 2018-03-02 璧垫尝 A kind of video and audio player method, video and audio Play Server and control terminal
CN110381362A (en) * 2018-04-12 2019-10-25 上海博泰悦臻网络技术服务有限公司 A kind of method and system of terminal room information sharing
CN108650575A (en) * 2018-05-28 2018-10-12 许谐兴 A kind of single sharing method of regionality intelligence song and its system based on LIFI communications
CN108650575B (en) * 2018-05-28 2020-10-30 谢秀英 A regional smart playlist sharing method and system based on LIFI communication
CN109101158A (en) * 2018-08-30 2018-12-28 广州酷狗计算机科技有限公司 Import the method, apparatus and storage medium of list of songs
CN111696499A (en) * 2020-04-30 2020-09-22 深圳传音控股股份有限公司 Multimedia on demand method, mobile terminal and computer readable storage medium
US11853353B2 (en) 2020-08-31 2023-12-26 Beijing Bytedance Network Technology Co., Ltd. Music pushing method, apparatus, electronic device and storage medium
CN115412835A (en) * 2021-05-27 2022-11-29 Oppo广东移动通信有限公司 Audio sharing method, device, terminal, audio equipment and storage medium
WO2022247561A1 (en) * 2021-05-27 2022-12-01 Oppo广东移动通信有限公司 Audio sharing method and apparatus, terminal, audio device, and storage medium

Also Published As

Publication number Publication date
CN105072146B (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN105072146B (en) Method and device for sharing music information
EP3061245B1 (en) System and method for testing and certification of media devices for use within a connected media environment
JP6161791B2 (en) Private queue for media playback system
US9055193B2 (en) System and method of a remote conference
JP2017501461A (en) Multi-house hold support
EP3651421B1 (en) Multimedia display method, apparatus, and device
CN110120955A (en) Mobile source media content access
CN108337556A (en) Method and apparatus for playing audio/video file
CN104777986A (en) Navigation processing method and mobile terminal
US20150150044A1 (en) Audio/video-on-demand method, server, terminal and system
CN106095132B (en) Method and device for setting key function of playing equipment
CN105337822A (en) Main playback device selection method and related device
JP2021530905A (en) Video processing methods, devices, terminals and storage media
CN104765805A (en) Method and device for maintaining playlist of multimedia file player
CN104618736B (en) Multimedia downloading method and device
CN105763906A (en) Method and system for playing audio files
CN106792125A (en) A kind of video broadcasting method and its terminal, system
CN105120392A (en) A method for creating a speaker group and a mobile terminal
CN104683854A (en) A multimedia playback control method and device
US10104422B2 (en) Multimedia playing control method, apparatus for the same and system
WO2020233171A1 (en) Song list switching method, apparatus and system, terminal, and storage medium
CN105095321A (en) Electronic bookmark implementation method and apparatus as well as electronic device
CN104954858A (en) Method for annotating and quickly playing multimedia playing nodes, mobile terminal and playing equipment
CN105847905A (en) A control method and device for an audio and video playback system
CN104794156A (en) File sharing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant