



















技术领域technical field
本公开涉及多媒体应用领域,尤其涉及一种多媒体内容分享方法、装置及电子设备。The present disclosure relates to the field of multimedia applications, and in particular to a multimedia content sharing method, device and electronic equipment.
背景技术Background technique
随着科技的发展,人们开始使用越来越多的智能终端,比如手机、平板、智能电视等。人们观看多媒体内容时,为了拥有更好的体验,通常会将移动设备上保存的多媒体内容分享至显示设备中进行观看。With the development of science and technology, people begin to use more and more smart terminals, such as mobile phones, tablets, smart TVs and so on. When people watch multimedia content, in order to have a better experience, they usually share the multimedia content saved on the mobile device to the display device for viewing.
现有的多媒体内容分享方法,通常是以多媒体内容的类型分目录展示对应的多媒体内容,当用户想要分享多种类型的多媒体内容时,需要切换不同的目录,寻找资源,依次分享,操作起来很不方便,影响了用户的观看体验。Existing multimedia content sharing methods usually display the corresponding multimedia content in sub-categories by type of multimedia content. When users want to share multiple types of multimedia content, they need to switch between different categories, search for resources, and share them one by one. It is very inconvenient and affects the user's viewing experience.
发明内容Contents of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种多媒体内容分享方法、装置及电子设备,通过将建立的多媒体内容分享列表中的地址信息分享至显示设备,达到了无需切换不同的目录,即可将多种类型的多媒体内容分享至显示设备中进行播放的效果,减少了用户操作,同时提升了用户的观看体验。In order to solve the above technical problems or at least partly solve the above technical problems, the present disclosure provides a multimedia content sharing method, device and electronic equipment, by sharing the address information in the established multimedia content sharing list to the display device, no need to By switching different directories, various types of multimedia content can be shared to the display device for playing effect, which reduces user operations and improves user viewing experience at the same time.
第一方面,本公开提供了一种多媒体内容分享方法,应用于移动设备,该方法包括:In a first aspect, the present disclosure provides a method for sharing multimedia content, which is applied to a mobile device, and the method includes:
建立多媒体内容分享列表,所述多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息;Establishing a multimedia content sharing list, the multimedia content sharing list includes multiple address information corresponding to different types of multimedia content;
从所述地址信息中确定目标地址信息,并将所述目标地址信息分享至显示设备,以使所述显示设备基于所述目标地址信息播放对应的目标多媒体内容,并将所述目标多媒体内容的播放状态发送至所述移动设备;Determine target address information from the address information, and share the target address information to a display device, so that the display device plays corresponding target multimedia content based on the target address information, and share the target multimedia content The playback status is sent to the mobile device;
接收所述显示设备发送的所述播放状态,基于所述播放状态确定所述目标多媒体内容播放完成之后,返回执行从所述地址信息中确定所述目标地址信息,并将所述目标地址信息分享至所述显示设备,直至所有地址信息均分享至所述显示设备。After receiving the playback state sent by the display device, and determining that the target multimedia content has been played based on the playback state, return to execution to determine the target address information from the address information, and share the target address information to the display device until all address information is shared to the display device.
第二方面,本公开提供了一种多媒体内容分享方法,应用于显示设备,该方法包括:In a second aspect, the present disclosure provides a method for sharing multimedia content, which is applied to a display device, and the method includes:
接收移动设备分享的目标地址信息,基于所述目标地址信息播放对应的目标多媒体内容,其中,所述目标地址信息从地址信息中确定,所述地址信息是从所述移动设备建立的多媒体内容分享列表中包括的多个不同类型的多媒体内容对应的地址信息中确定的;receiving the target address information shared by the mobile device, and playing the corresponding target multimedia content based on the target address information, wherein the target address information is determined from the address information, and the address information is the multimedia content shared by the mobile device determined in the address information corresponding to multiple different types of multimedia content included in the list;
将所述目标多媒体内容的播放状态发送至所述移动设备,以使所述移动设备接收所述显示设备发送的所述播放状态,基于所述播放状态确定所述目标多媒体内容播放完成之后,返回执行向所述显示设备分享目标地址信息,直至所有地址信息均分享至所述显示设备。Send the playing state of the target multimedia content to the mobile device, so that the mobile device receives the playing state sent by the display device, and after determining that the playing of the target multimedia content is completed based on the playing state, return performing sharing target address information to the display device until all address information is shared to the display device.
第三方面,本公开提供了一种多媒体内容分享装置,应用于移动设备,该装置包括:In a third aspect, the present disclosure provides a multimedia content sharing device, which is applied to a mobile device, and the device includes:
建立模块,用于建立多媒体内容分享列表,所述多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息;A building module, configured to create a multimedia content sharing list, the multimedia content sharing list includes address information corresponding to a plurality of different types of multimedia content;
分享模块,用于从所述地址信息中确定目标地址信息,并将所述目标地址信息分享至显示设备,以使所述显示设备基于所述目标地址信息播放对应的目标多媒体内容,并将所述目标多媒体内容的播放状态发送至所述移动设备;A sharing module, configured to determine target address information from the address information, and share the target address information to a display device, so that the display device can play corresponding target multimedia content based on the target address information, and share the target address information Send the playing status of the target multimedia content to the mobile device;
确定模块,用于接收所述显示设备发送的所述播放状态,基于所述播放状态确定所述目标多媒体内容播放完成之后,返回执行从所述地址信息中确定所述目标地址信息,并将所述目标地址信息分享至所述显示设备,直至所有地址信息均分享至所述显示设备。The determining module is configured to receive the playing state sent by the display device, and after determining that the playing of the target multimedia content is completed based on the playing state, return to execute determining the target address information from the address information, and store the The target address information is shared with the display device until all address information is shared with the display device.
第四方面,本公开提供了一种多媒体内容分享装置,应用于显示设备,该装置包括:In a fourth aspect, the present disclosure provides a multimedia content sharing device, which is applied to a display device, and the device includes:
接收模块,用于接收移动设备分享的目标地址信息,基于所述目标地址信息播放对应的目标多媒体内容,其中,所述目标地址信息从地址信息中确定,所述地址信息是从所述移动设备建立的多媒体内容分享列表中包括的多个不同类型的多媒体内容对应的地址信息中确定的;A receiving module, configured to receive target address information shared by a mobile device, and play corresponding target multimedia content based on the target address information, wherein the target address information is determined from address information obtained from the mobile device Determined in the address information corresponding to multiple different types of multimedia content included in the established multimedia content sharing list;
发送模块,用于将所述目标多媒体内容的播放状态发送至所述移动设备,以使所述移动设备接收所述显示设备发送的所述播放状态,基于所述播放状态确定所述目标多媒体内容播放完成之后,返回执行向所述显示设备分享目标地址信息,直至所有地址信息均分享至所述显示设备。A sending module, configured to send the playing state of the target multimedia content to the mobile device, so that the mobile device receives the playing state sent by the display device, and determines the target multimedia content based on the playing state After the playback is completed, return to the execution of sharing target address information to the display device until all address information is shared to the display device.
第五方面,本公开还提供了一种电子设备,包括:In a fifth aspect, the present disclosure also provides an electronic device, including:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,storage means for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面和第二方面所述的多媒体内容分享方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the multimedia content sharing methods described in the first aspect and the second aspect.
第六方面,本公开还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面和第二方面所述的多媒体内容分享方法。In a sixth aspect, the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the multimedia content sharing method as described in the first aspect and the second aspect is implemented.
本公开实施例提供的技术方案与现有技术相比具有如下优点:首先移动设备建立多媒体内容分享列表,多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息,然后移动设备从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,以使显示设备基于目标地址信息播放对应的目标多媒体内容,并将目标多媒体内容的播放状态发送至移动设备,最后移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,直至所有地址信息均分享至显示设备,上述技术方案中,通过将建立的多媒体内容分享列表中的地址信息分享至显示设备,达到了无需切换不同的目录,即可将多种类型的多媒体内容分享至显示设备中进行播放的效果,减少了用户操作,同时提升了用户的观看体验。Compared with the prior art, the technical solutions provided by the embodiments of the present disclosure have the following advantages: firstly, the mobile device establishes a multimedia content sharing list, which includes address information corresponding to a plurality of different types of multimedia content, and then the mobile device from the address Determine the target address information in the information, and share the target address information to the display device, so that the display device plays the corresponding target multimedia content based on the target address information, and sends the playback status of the target multimedia content to the mobile device, and finally the mobile device receives and displays Based on the playback status sent by the device, after the playback of the target multimedia content is determined based on the playback status, return to execution to determine the target address information from the address information, and share the target address information to the display device until all address information is shared to the display device. The above technology In the solution, by sharing the address information in the established multimedia content sharing list to the display device, it is possible to share various types of multimedia content to the display device for playback without switching between different directories, reducing user Operation, while improving the user's viewing experience.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.
图1为本公开实施例中一种多媒体内容分享方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a multimedia content sharing method in an embodiment of the present disclosure;
图2A为根据本公开一个或多个实施例的显示设备的硬件配置框图;FIG. 2A is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present disclosure;
图2B为根据本公开一个或多个实施例的显示设备中软件配置示意图;FIG. 2B is a schematic diagram of software configuration in a display device according to one or more embodiments of the present disclosure;
图2C为根据本公开一个或多个实施例的显示设备中应用程序的图标控件界面显示示意图;FIG. 2C is a schematic diagram of displaying an icon control interface of an application program in a display device according to one or more embodiments of the present disclosure;
图3A为本公开实施例提供的一种应用于移动设备的多媒体内容分享方法的流程示意图;FIG. 3A is a schematic flowchart of a multimedia content sharing method applied to mobile devices provided by an embodiment of the present disclosure;
图3B为本公开实施例提供的一种移动设备和显示设备的交互过程示意图;FIG. 3B is a schematic diagram of an interaction process between a mobile device and a display device according to an embodiment of the present disclosure;
图3C为本公开实施例提供的一种移动设备中分享目录的示意图;FIG. 3C is a schematic diagram of a shared directory in a mobile device provided by an embodiment of the present disclosure;
图3D为本公开实施例提供的一种查找显示设备的过程的示意图;FIG. 3D is a schematic diagram of a process of searching for a display device provided by an embodiment of the present disclosure;
图4A为本公开实施例提供的一种多媒体内容分享列表中包含的地址信息的示意图;FIG. 4A is a schematic diagram of address information contained in a multimedia content sharing list provided by an embodiment of the present disclosure;
图4B为本公开实施例提供的一种图片分享方式的示意图;FIG. 4B is a schematic diagram of a picture sharing method provided by an embodiment of the present disclosure;
图4C为本公开实施例提供的一种图片和视频的分享方式的示意图;FIG. 4C is a schematic diagram of a picture and video sharing method provided by an embodiment of the present disclosure;
图5A为本公开实施例提供的多媒体内容分享列表中包含两个列表时的地址信息示意图;FIG. 5A is a schematic diagram of address information when the multimedia content sharing list provided by an embodiment of the present disclosure contains two lists;
图5B为本公开实施例提供的第一列表中的图片和第二列表中的音频进行分享时的分享过程示意图;5B is a schematic diagram of the sharing process when the pictures in the first list and the audio in the second list are shared according to an embodiment of the present disclosure;
图5C为本公开实施例提供的在第一列表中的图片和第二列表中的音频分享之后,第一列表中的视频分享过程示意图;5C is a schematic diagram of the video sharing process in the first list after the pictures in the first list and the audio in the second list are shared according to an embodiment of the present disclosure;
图5D为本公开实施例提供的在第一列表中的图片和第二列表中的音频分享之后,继续分享第一列表中的下一图片和第二列表中的下一音频时的分享过程示意图;Fig. 5D is a schematic diagram of the sharing process when continuing to share the next picture in the first list and the next audio in the second list after sharing the picture in the first list and the audio in the second list provided by an embodiment of the present disclosure ;
图6A为本公开实施例提供的一种应用于显示设备的多媒体内容分享方法的流程示意图;FIG. 6A is a schematic flowchart of a multimedia content sharing method applied to a display device provided by an embodiment of the present disclosure;
图6B为本公开实施例提供的一种移动设备和显示设备的交互过程示意图;FIG. 6B is a schematic diagram of an interaction process between a mobile device and a display device according to an embodiment of the present disclosure;
图7为本公开实施例提供的一种应用于移动设备的多媒体内容分享装置的结构示意图;FIG. 7 is a schematic structural diagram of a multimedia content sharing device applied to mobile devices provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种应用于显示设备的多媒体内容分享装置的结构示意图;FIG. 8 is a schematic structural diagram of a multimedia content sharing device applied to a display device provided by an embodiment of the present disclosure;
图9为本公开实施例提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.
本公开中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。The terms "first" and "second", etc. in the present disclosure are used to distinguish different objects, not to describe a specific order of objects.
随着科技的发展,人们开始使用越来越多的智能终端,比如手机、平板、智能电视等。人们观看多媒体内容时,为了拥有更好的体验,通常会将移动设备上保存的多媒体内容分享至显示设备中进行观看。With the development of science and technology, people begin to use more and more smart terminals, such as mobile phones, tablets, smart TVs and so on. When people watch multimedia content, in order to have a better experience, they usually share the multimedia content saved on the mobile device to the display device for viewing.
通常,将移动设备中的数字生活网络联盟(DIGITAL LIVING NETWORK ALLIANCE,DLNA)资源(即多媒体内容)分享到显示设备中进行播放,是按照音频、视频以及图片等多媒体内容类型,分别推送的。但是在实际生活中,用户更多倾向于分享多种类型的多媒体内容至显示设备,目前的多媒体内容分享不能支持此种需求,需要切换不同的目录,寻找资源,依次分享,操作起来很不方便,影响了用户的观看体验。Usually, digital living network alliance (DIGITAL LIVING NETWORK ALLIANCE, DLNA) resources (that is, multimedia content) in the mobile device are shared to the display device for playback, and are pushed separately according to multimedia content types such as audio, video, and pictures. However, in real life, users are more inclined to share various types of multimedia content to display devices. The current multimedia content sharing cannot support this requirement. It is necessary to switch between different directories, find resources, and share them sequentially, which is very inconvenient to operate. , affecting the user's viewing experience.
为了解决上述问题,本公开提出了一种多媒体内容分享方法,首先移动设备建立多媒体内容分享列表,多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息,然后移动设备从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,以使显示设备基于目标地址信息播放对应的目标多媒体内容,并将目标多媒体内容的播放状态发送至移动设备,最后移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,直至所有地址信息均分享至显示设备,上述技术方案中,通过将建立的多媒体内容分享列表中的地址信息分享至显示设备,达到了无需切换不同的目录,即可将多种类型的多媒体内容分享至显示设备中进行播放的效果,减少了用户操作,同时提升了用户的观看体验。In order to solve the above problems, the present disclosure proposes a multimedia content sharing method. Firstly, the mobile device establishes a multimedia content sharing list, and the multimedia content sharing list includes multiple address information corresponding to different types of multimedia content. Determine the target address information, and share the target address information to the display device, so that the display device plays the corresponding target multimedia content based on the target address information, and sends the playback status of the target multimedia content to the mobile device, and finally the mobile device receives the display device. After the playback status of the target multimedia content is determined based on the playback status, return to execution to determine the target address information from the address information, and share the target address information to the display device until all address information is shared to the display device. In the above technical solution , by sharing the address information in the established multimedia content sharing list to the display device, it achieves the effect of sharing various types of multimedia content to the display device for playback without switching different directories, reducing user operations, At the same time, the user's viewing experience is improved.
图1为本公开实施例中一种多媒体内容分享方法的应用场景示意图。图1中包括移动设备100和显示设备200,当用户想要将移动设备100中多种不同类型的多媒体内容分享至显示设备200时,移动设备100需要建立多媒体内容分享列表,从多媒体内容分享列表中包括的地址信息中确定目标地址信息,并将目标地址信息分享至显示设备200。显示设备200在接收到目标地址信息之后,基于目标地址信息播放对应的目标多媒体内容,并将目标多媒体内容的播放状态发送至移动设备。相应的,移动设备100接收到显示设备200发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备200,直至所有地址信息均分享至显示设备200从而进行后续的分享过程,从而达到无需切换不同的目录,即可将多种类型的多媒体内容分享至显示设备200中进行播放的效果。FIG. 1 is a schematic diagram of an application scenario of a multimedia content sharing method in an embodiment of the present disclosure. Figure 1 includes
图2A为根据本公开一个或多个实施例的显示设备的硬件配置框图。如图2A所示,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口(即用户输入接口)280中的至少一种。控制器250包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第一接口至第n接口。显示器260可为液晶显示器、OLED显示器、触控显示器以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。通信器220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与控制设备100或服务器400建立控制信号和数据信号的发送和接收。检测器230用于采集外部环境或与外部交互的信号。控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。用户接口280可用于接收控制设备(如:红外遥控器等)的控制信号。FIG. 2A is a block diagram of a hardware configuration of a display device according to one or more embodiments of the present disclosure. As shown in Figure 2A, the
在一些实施例中,控制器250,通过存储在存储器上中各种软件控制程序,来控制显示设备的工作和响应用户的操作。控制器250控制显示设备200的整体操作。用户可在显示器260上显示的图形用户界面(GUI)输入用户命令,则用户输入接口通过图形用户界面(GUI)接收用户输入命令。或者,用户可通过输入特定的声音或手势进行输入用户命令,则用户输入接口通过传感器识别出声音或手势,来接收用户输入命令。In some embodiments, the
在一些实施例中,“用户界面”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面常用的表现形式是图形用户界面(Graphic User Interface,简称GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口和控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素中的至少一种。In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the conversion between the internal form of information and the form acceptable to the user. A commonly used form of user interface is a graphical user interface (Graphic User Interface, GUI for short), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be an interface element such as an icon, window, and control displayed on the display screen of an electronic device, where the control can include an icon, button, menu, tab, text box, dialog box, status bar, navigation bar, Widget, etc. At least one of the view's interface elements.
图2B为根据本公开一个或多个实施例的显示设备中软件配置示意图。如图2B所示,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。FIG. 2B is a schematic diagram of software configuration in a display device according to one or more embodiments of the present disclosure. As shown in Figure 2B, the system is divided into four layers, from top to bottom are the Applications (Applications) layer (abbreviated as "Application Layer"), Application Framework (Application Framework) layer (abbreviated as "Framework Layer"), Android Runtime (Android runtime) and system library layer (referred to as "system runtime layer"), and the kernel layer.
在一些实施例中,应用程序层中运行有至少一个应用程序,这些应用程序可以是操作系统自带的窗口(Window)程序、系统设置程序或时钟程序等;也可以是第三方开发者所开发的应用程序。在具体实施时,应用程序层中的应用程序包括但不限于以上举例。In some embodiments, there is at least one application program running in the application program layer, and these application programs can be window (Window) program, system setting program or clock program etc. that come with the operating system; they can also be developed by third-party developers. s application. During specific implementation, the applications in the application layer include but are not limited to the above examples.
在一些实施例中,系统运行库层为上层即框架层提供支撑,当框架层被使用时,安卓操作系统会运行系统运行库层中包含的C/C++库以实现框架层要实现的功能。In some embodiments, the system runtime layer provides support for the upper layer, that is, the framework layer. When the framework layer is used, the Android operating system will run the C/C++ library contained in the system runtime layer to realize the functions to be realized by the framework layer.
在一些实施例中,内核层是硬件和软件之间的层,至少包含以下驱动中的至少一种:音频驱动、显示驱动、蓝牙驱动、摄像头驱动、WIFI驱动、USB驱动、HDMI驱动、传感器驱动(如指纹传感器,温度传感器,压力传感器等)、以及电源驱动等。In some embodiments, the kernel layer is a layer between hardware and software, at least including at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power drive, etc.
图2C为根据本公开一个或多个实施例的显示设备中应用程序的图标控件界面显示示意图。如图2C中所示,应用程序层包含至少一个应用程序可以在显示器中显示对应的图标控件,如:直播电视应用程序图标控件、视频点播应用程序图标控件、媒体中心应用程序图标控件、应用程序中心图标控件、游戏应用图标控件等。直播电视应用程序,可以通过不同的信号源提供直播电视。视频点播应用程序,可以提供来自不同存储源的视频。不同于直播电视应用程序,视频点播提供来自某些存储源的视频显示。媒体中心应用程序,可以提供各种多媒体内容播放的应用程序。应用程序中心,可以提供储存各种应用程序。FIG. 2C is a schematic diagram of displaying an icon control interface of an application program in a display device according to one or more embodiments of the present disclosure. As shown in Figure 2C, the application layer includes at least one application program that can display corresponding icon controls in the display, such as: live TV application icon control, video-on-demand application icon control, media center application icon control, application Center Icon Control, Game App Icon Control, etc. Live TV app that provides live TV from different sources. A video-on-demand application that can provide videos from different storage sources. Unlike live TV applications, video on demand provides video displays from some stored source. The media center application program can provide an application program for playing various multimedia contents. The application program center can provide and store various application programs.
图3A为本公开实施例提供的一种应用于移动设备的多媒体内容分享方法的流程示意图。本实施例可适用于在移动设备侧,将多种类型的多媒体内容分享至显示设备的过程进行说明的情况。本实施例方法可由应用于移动设备的多媒体内容分享装置来执行,该装置可采用硬件/或软件的方式来实现,并可配置于电子设备中。FIG. 3A is a schematic flowchart of a multimedia content sharing method applied to a mobile device provided by an embodiment of the present disclosure. This embodiment is applicable to the case of describing the process of sharing multiple types of multimedia content to the display device on the mobile device side. The method of this embodiment can be executed by a multimedia content sharing device applied to a mobile device, and the device can be realized by hardware/or software, and can be configured in an electronic device.
如图3A所示,该方法具体包括如下步骤:As shown in Figure 3A, the method specifically includes the following steps:
S310,建立多媒体内容分享列表。S310. Establish a multimedia content sharing list.
其中,多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息,该列表中的地址信息可以由用户自定义设置,也可以视具体情况而定,多媒体内容的类型至少为2种,同一类型的地址信息的个数至少为1个,本实施例对不做限定。多媒体内容的类型可以包括图片、音频以及视频等。移动设备可以为手机、学习机或者个人计算机等终端设备。Among them, the multimedia content sharing list includes multiple address information corresponding to different types of multimedia content, the address information in the list can be customized by the user, or it can be determined according to the specific situation, and there are at least two types of multimedia content, The number of address information of the same type is at least one, which is not limited in this embodiment. Types of multimedia content may include pictures, audio, and video. The mobile device may be a terminal device such as a mobile phone, a learning machine, or a personal computer.
现有技术中,在多媒体内容分享过程中,分享目录的条目通常是以多媒体内容的类型进行划分,每个条目下包括的资源为移动设备中存储的该类型对应的全部资源。现有技术中的条目通常为:图片、视频以及音频。为了解决用户在分享多种类型的多媒体内容时,需要切换不同目录,寻找资源,依次分享,操作繁琐的问题,本实施例中移动设备需要建立多媒体内容分享列表,具体可以从移动设备自身存储的资源目录中获取至少两种类型的多媒体内容对应的地址信息,基于这些地址信息建立多媒体内容分享列表。In the prior art, during the multimedia content sharing process, the entries in the sharing directory are usually divided by the type of multimedia content, and the resources included in each entry are all resources corresponding to the type stored in the mobile device. Items in the prior art are usually: picture, video and audio. In order to solve the problem that users need to switch between different directories, search for resources, and share them sequentially when sharing multiple types of multimedia content, the mobile device in this embodiment needs to create a multimedia content sharing list, specifically from the resources stored in the mobile device itself. Address information corresponding to at least two types of multimedia content is obtained from the directory, and a multimedia content sharing list is established based on the address information.
S320,从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,以使显示设备基于目标地址信息播放对应的目标多媒体内容,并将目标多媒体内容的播放状态发送至移动设备。S320. Determine the target address information from the address information, and share the target address information to the display device, so that the display device plays the corresponding target multimedia content based on the target address information, and sends the playing status of the target multimedia content to the mobile device.
其中,显示设备可以为电视机、会议屏等屏幕较大的设备。目标地址信息为地址信息中的其中一个,目标多媒体内容为目标地址信息一一对应。播放状态可以包括与目标多媒体内容播放过程相关的参数的信息,例如,可以包括:状态类型(statetype)、目标多媒体内容的名称(name)、播放进度(curtime)、是否播放(play or stop)、总时长(totaltime)以及类型(mediatype)等,本实施例对此不做限定。Wherein, the display device may be a device with a larger screen such as a TV set or a conference screen. The target address information is one of the address information, and the target multimedia content has a one-to-one correspondence with the target address information. Play state can comprise the information of the parameter relevant with target multimedia content playing process, for example, can comprise: state type (statetype), title (name) of target multimedia content, play progress (curtime), whether to play (play or stop), The total time (totaltime) and the type (mediatype) are not limited in this embodiment.
移动设备在建立多媒体内容分享列表之后,可以依照多媒体内容分享列表中地址信息的排列顺序,依次将每个地址信息确定为目标地址信息;还可以从多媒体内容分享列表中的地址信息中随机确定目标地址信息,但是需要满足目标地址信息不重复的条件,也可以采取其它方式确定目标地址信息,本实施例对此不做限定。移动设备在确定了目标地址信息之后,将目标地址信息分享至显示设备,显示设备在收到移动设备分享的目标地址信息之后,基于该目标地址信息播放与该目标地址信息对应的目标多媒体内容,并将目标多媒体内容的播放状态发送至移动设备。After the mobile device establishes the multimedia content sharing list, it can sequentially determine each address information as the target address information according to the arrangement order of the address information in the multimedia content sharing list; it can also randomly determine the target address information from the address information in the multimedia content sharing list. The address information needs to meet the condition that the target address information is not repeated, and other methods can also be used to determine the target address information, which is not limited in this embodiment. After the mobile device determines the target address information, it shares the target address information with the display device, and after receiving the target address information shared by the mobile device, the display device plays the target multimedia content corresponding to the target address information based on the target address information, And send the playing state of the target multimedia content to the mobile device.
S330,接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,直至所有地址信息均分享至显示设备。S330: Receive the playback status sent by the display device, determine the playback of the target multimedia content based on the playback status, return to the execution to determine the target address information from the address information, and share the target address information to the display device until all address information is shared to the display equipment.
移动设备接收到显示设备发送的播放状态之后,根据该播放状态能够确定目标多媒体内容是否播放完成,在播放完成的情况下,返回执行S320,直至所有的地址信息均分享至显示设备,说明多媒体内容分享列表中的地址信息已分享完成,达到了将多种类型的多媒体内容分享至显示设备中进行播放的效果。After the mobile device receives the playback status sent by the display device, it can determine whether the target multimedia content has been played according to the playback status. The address information in the sharing list has been shared, achieving the effect of sharing various types of multimedia content to the display device for playback.
本实施例中提供的应用于移动设备的多媒体内容分享方法,首先移动设备建立多媒体内容分享列表,多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息,然后移动设备从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,以使显示设备基于目标地址信息播放对应的目标多媒体内容,并将目标多媒体内容的播放状态发送至移动设备,最后移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,直至所有地址信息均分享至显示设备,上述技术方案中,通过将建立的多媒体内容分享列表中的地址信息分享至显示设备,达到了无需切换不同的目录,即可将多种类型的多媒体内容分享至显示设备中进行播放的效果,减少了用户操作,同时提升了用户的观看体验。In the multimedia content sharing method applied to mobile devices provided in this embodiment, firstly, the mobile device establishes a multimedia content sharing list, and the multimedia content sharing list includes address information corresponding to a plurality of different types of multimedia content, and then the mobile device selects from the address information Determine the target address information, and share the target address information to the display device, so that the display device plays the corresponding target multimedia content based on the target address information, and sends the playback status of the target multimedia content to the mobile device, and finally the mobile device receives the display device. After the playback status of the target multimedia content is determined based on the playback status, return to execution to determine the target address information from the address information, and share the target address information to the display device until all address information is shared to the display device. In the above technical solution , by sharing the address information in the established multimedia content sharing list to the display device, it achieves the effect of sharing various types of multimedia content to the display device for playback without switching different directories, reducing user operations, At the same time, the user's viewing experience is improved.
示例性的,图3B为本公开实施例提供的一种移动设备和显示设备的交互过程示意图。图3B中所示的步骤,已经在上述实施例中详细描述过,为了避免重复,此处不再赘述。Exemplarily, FIG. 3B is a schematic diagram of an interaction process between a mobile device and a display device according to an embodiment of the present disclosure. The steps shown in FIG. 3B have been described in detail in the above embodiments, and will not be repeated here to avoid repetition.
示例性的,图3C为本公开实施例提供的一种移动设备中分享目录的示意图。如图3C所示,在现有技术中分享目录的条目为:图片、视频以及音频的基础上,本实施例新增了多媒体内容分享列表,该列表相关内容已经在上述实施例中详细描述过,为了避免重复,此处不再赘述。Exemplarily, FIG. 3C is a schematic diagram of a shared directory in a mobile device provided by an embodiment of the present disclosure. As shown in Figure 3C, the items in the sharing directory in the prior art are: pictures, videos, and audios. On the basis of this embodiment, a new multimedia content sharing list is added, and the relevant content of the list has been described in detail in the above-mentioned embodiments. , in order to avoid repetition, it will not be repeated here.
在一些实施例中,可选的,所述目标多媒体内容为音频或者视频;In some embodiments, optionally, the target multimedia content is audio or video;
所述基于所述播放状态确定所述目标多媒体内容播放完成,包括:The determining that the playing of the target multimedia content is completed based on the playing state includes:
基于所述音频的播放状态,确定所述音频对应的播放进度和播放总时长一致,则确定所述音频播放完成;Based on the playing state of the audio, it is determined that the playing progress corresponding to the audio is consistent with the total playing time, and then it is determined that the playing of the audio is completed;
或者,or,
基于所述视频的播放状态,确定所述视频对应的播放进度和播放总时长一致,则确定所述视频播放完成。Based on the playing state of the video, it is determined that the playing progress corresponding to the video is consistent with the total playing time, and then it is determined that the playing of the video is completed.
具体的,在目标多媒体内容为音频时,音频的播放状态可以包括:状态类型、音频的名称、播放进度、是否播放、总时长、开始时间以及类型等。移动设备根据基于音频的播放状态,能够获取到该音频对应的播放进度和播放总时长,在该音频对应的播放进度和播放总时长一致的情况下,能够确定该音频播放完成;相反,在该音频对应的播放进度和播放总时长不一致的情况下,能够确定该音频未播放完成。Specifically, when the target multimedia content is audio, the playing state of the audio may include: state type, audio name, playing progress, whether to play, total duration, start time, and type. According to the playback state based on the audio, the mobile device can obtain the playback progress and total playback time corresponding to the audio. If the playback progress corresponding to the audio is inconsistent with the total playback duration, it can be determined that the audio has not been played.
在目标多媒体内容为视频时,视频的播放状态可以包括:状态类型、视频的名称、播放进度、是否播放、总时长、开始时间以及类型等。移动设备根据基于视频的播放状态,能够获取到该视频对应的播放进度和播放总时长,在该视频对应的播放进度和播放总时长一致的情况下,能够确定该视频播放完成;相反,在该视频对应的播放进度和播放总时长不一致的情况下,能够确定该视频未播放完成。When the target multimedia content is a video, the playing state of the video may include: state type, video name, playing progress, whether to play, total duration, start time, and type. Based on the playback status of the video, the mobile device can obtain the corresponding playback progress and total playback duration of the video. If the corresponding playback progress of the video is consistent with the total playback duration, it can be determined that the video playback is complete; If the playback progress corresponding to the video is inconsistent with the total playback duration, it can be determined that the video has not been played completely.
示例性的,音频的播放状态可以如下所示:{"statetype":"mediadlna","name":"音频1","totaltime":50,"curtime":10,"starttime":0,"play or stop":"play","mediatype":"audio"}。Exemplarily, the playback state of the audio can be as follows: {"statetype":"mediadlna", "name":"audio 1", "totaltime":50, "curtime":10, "starttime":0," play or stop":"play", "mediatype":"audio"}.
即:状态类型为:数字生活网络联盟媒体,名称:音频1,总时长:50s,播放进度:10,开始时间:0,是否播放:播放以及类型:音频。That is: the status type is: Digital Living Network Alliance media, the name: audio 1, the total duration: 50s, the playback progress: 10, the start time: 0, whether to play: play and the type: audio.
需要说明的是:视频的播放状态与音频的播放状态类似。显示设备在播放视频或者音频时可以使用相对应的播放方式或者播放器进行播放,本实施例对此不做限定。It should be noted that the playback status of video is similar to that of audio. When the display device plays video or audio, it can use a corresponding playback mode or player to play, which is not limited in this embodiment.
本实施例中,在目标多媒体内容为音频或者视频时,通过上述方法确定目标多媒体内容播放完成,更准确,避免显示设备对DLNA播放状态处理存在问题时,造成的误差和不可靠问题。In this embodiment, when the target multimedia content is audio or video, it is more accurate to determine that the target multimedia content is played through the above method, which is more accurate and avoids errors and unreliability problems caused when the display device has problems processing the DLNA playback state.
在一些实施例中,可选的,所述目标多媒体内容为图片;In some embodiments, optionally, the target multimedia content is a picture;
所述方法还包括:The method also includes:
接收所述显示设备发送的所述图片的播放状态,启动计时器进行计时;receiving the playback state of the picture sent by the display device, and starting a timer for timing;
当所述计时器达到预设时长,确定所述图片播放完成。When the timer reaches the preset duration, it is determined that the playing of the picture is completed.
其中,预设时长可以预先设定,例如10s,也可以视具体情况而定,本实施例不做限定。显示设备在播放图片时可以使用相对应的播放方式或者播放应用进行播放,本实施例对此不做限定。Wherein, the preset duration may be preset, for example, 10s, or may be determined according to specific circumstances, which is not limited in this embodiment. The display device may use a corresponding playback method or playback application to play the picture, which is not limited in this embodiment.
具体的,在目标多媒体内容为图片时,图片的播放状态可以包括:状态类型、图片的名称、是否播放以及类型等。移动设备接收到显示设备发送的图片的播放状态之后,启动计时器进行计时,当计时器达到预设时长,则确定图片播放完成。Specifically, when the target multimedia content is a picture, the playing state of the picture may include: state type, name of the picture, whether to play it, and its type. After the mobile device receives the playback status of the picture sent by the display device, it starts a timer for timing, and when the timer reaches a preset duration, it determines that the picture playback is complete.
本实施例中,在目标多媒体内容为图片时,通过上述方法确定目标多媒体内容播放完成,不仅准确,而且能够使得图片具有一定的展示时间,能够提高播放效果和用户的使用体验。In this embodiment, when the target multimedia content is a picture, it is not only accurate to determine that the target multimedia content has been played through the above method, but also can make the picture have a certain display time, which can improve the playback effect and user experience.
在一些实施例中,可选的,在建立多媒体内容分享列表之前,所述方法还包括:In some embodiments, optionally, before establishing the multimedia content sharing list, the method further includes:
启动搜索功能,查找所述显示设备,并在查找到所述显示设备之后,与所述显示设备建立通信连接。A search function is started to search for the display device, and after the display device is found, a communication connection is established with the display device.
具体的,图3D为本公开实施例提供的一种查找显示设备的过程的示意图。如图3D所示,显示设备启动后,检测网络开关是否打开,该网络开关可以为WIFI等无线开关,在确定网络开关打开的情况下,启动搜索功能,查找显示设备,若查找到显示设备,则获取显示设备的地址信息,其中,该地址信息可以为互联网协议(Internet Protocol Address,IP)地址、媒体存取控制(Media Access Control,MAC)地址等,本实施例不做限定;若网络开关未打开,则设置网络;若未查找到显示设备,则继续查找。上述查找显示设备的过程可以采用DLNA协议。Specifically, FIG. 3D is a schematic diagram of a process of searching for a display device provided by an embodiment of the present disclosure. As shown in Figure 3D, after the display device is started, check whether the network switch is turned on. The network switch can be a wireless switch such as WIFI. When it is determined that the network switch is turned on, start the search function to find the display device. If the display device is found, Then obtain the address information of the display device, where the address information can be an Internet Protocol (Internet Protocol Address, IP) address, a Media Access Control (Media Access Control, MAC) address, etc., which are not limited in this embodiment; if the network switch If it is not opened, set up the network; if the display device is not found, continue to search. The above process of searching for a display device may adopt the DLNA protocol.
移动设备在查找到显示设备之后,基于获取到的显示设备的地址信息,通过消息队列遥测传输(Message Queuing Telemetry Transport,MQTT)协议或者其他连接协议,能够建立与显示设备之间的通信连接。具体的,移动设备可以通过IP地址信息与显示设备的Broker(相当于服务器)建立连接,显示设备也与本机Broker建立连接。此时,基于Broker,显示设备和移动设备能够互相给对方传递消息。After finding the display device, the mobile device can establish a communication connection with the display device through the Message Queuing Telemetry Transport (MQTT) protocol or other connection protocols based on the acquired address information of the display device. Specifically, the mobile device can establish a connection with the Broker (equivalent to a server) of the display device through the IP address information, and the display device also establishes a connection with the local Broker. At this time, based on the Broker, the display device and the mobile device can send messages to each other.
本实施例中,移动设备通过上述方法显示设备建立通信连接,便于后续多媒体内容分享过程的顺利进行。In this embodiment, the mobile device establishes a communication connection with the display device through the above method, which facilitates the smooth progress of the subsequent multimedia content sharing process.
在一些实施例中,可选的,所述方法还包括:In some embodiments, optionally, the method further includes:
响应于所述多媒体内容分享列表的循环分享功能,获取所述显示设备发送的所述多媒体内容分享列表中最后一个地址信息对应的多媒体内容的播放状态;In response to the circular sharing function of the multimedia content sharing list, acquire the playback state of the multimedia content corresponding to the last address information in the multimedia content sharing list sent by the display device;
基于所述最后一个地址信息对应的多媒体内容的播放状态,确定所述最后一个地址信息对应的多媒体内容播放完成之后,从所述地址信息中确定目标地址信息,并将所述目标地址信息分享至显示设备。Based on the playback state of the multimedia content corresponding to the last address information, after determining that the multimedia content corresponding to the last address information has been played, determine the target address information from the address information, and share the target address information with display screen.
具体的,用户可以设置多媒体内容分享列表的循环分享功能,在设置了多媒体内容分享列表的循环分享功能之后,移动设备响应于多媒体内容分享列表的循环分享功能,获取显示设备发送的多媒体内容分享列表中最后一个地址信息对应的多媒体内容的播放状态。移动设备基于最后一个地址信息对应的多媒体内容的播放状态,确定最后一个地址信息对应的多媒体内容播放完成之后,继续从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,从而自动进行循环分享。Specifically, the user can set the circular sharing function of the multimedia content sharing list. After setting the circular sharing function of the multimedia content sharing list, the mobile device responds to the circular sharing function of the multimedia content sharing list to obtain the multimedia content sharing list sent by the display device. The playback state of the multimedia content corresponding to the last address information in . Based on the playback status of the multimedia content corresponding to the last address information, the mobile device determines that after the multimedia content corresponding to the last address information has been played, it continues to determine the target address information from the address information, and shares the target address information to the display device, thereby automatically Do circular sharing.
示例性的,假设最后一个地址信息对应的多媒体内容为图片a,在设置了多媒体内容分享列表的循环分享功能之后,如果移动设备接收到显示设备发送的图片a的播放状态,则启动计时器,并在计时器达到预设时长后,自动从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备;假设最后一个地址信息对应的多媒体内容为视频b,在设置了多媒体内容分享列表的循环分享功能之后,如果移动设备接收到显示设备发送的视频b的播放状态,基于视频b的播放状态,确定视频b对应的播放进度和播放总时长一致,则确定视频b播放完成,同时,自动从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备;假设最后一个地址信息对应的多媒体内容为音频c,在设置了多媒体内容分享列表的循环分享功能之后,如果移动设备接收到显示设备发送的音频c的播放状态,基于音频c的播放状态,确定音频c对应的播放进度和播放总时长一致,则确定音频c播放完成,同时,自动从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备。Exemplarily, assuming that the multimedia content corresponding to the last address information is picture a, after the circular sharing function of the multimedia content sharing list is set, if the mobile device receives the playback status of picture a sent by the display device, then start the timer, And after the timer reaches the preset duration, automatically determine the target address information from the address information, and share the target address information to the display device; assuming that the multimedia content corresponding to the last address information is video b, set the multimedia content sharing list After the cyclic sharing function of , if the mobile device receives the playback status of video b sent by the display device, based on the playback status of video b, it is determined that the corresponding playback progress of video b is consistent with the total playback duration, and then it is determined that video b has been played. At the same time, Automatically determine the target address information from the address information, and share the target address information to the display device; assuming that the multimedia content corresponding to the last address information is audio c, after setting the circular sharing function of the multimedia content sharing list, if the mobile device receives To the playback status of audio c sent by the display device, based on the playback status of audio c, it is determined that the playback progress corresponding to audio c is consistent with the total playback duration, then it is determined that audio c has been played, and at the same time, the target address information is automatically determined from the address information. And share the target address information to the display device.
相应的,假设最后一个地址信息对应的多媒体内容为图片a,且并未设置多媒体内容分享列表的循环分享功能,那么在移动设备接收到显示设备发送的图片a的播放状态之后,本次多媒体内容分享过程结束。Correspondingly, assuming that the multimedia content corresponding to the last address information is picture a, and the circular sharing function of the multimedia content sharing list is not set, then after the mobile device receives the playback status of picture a sent by the display device, the multimedia content of this time The sharing process is over.
本实施例中,通过上述方法实现多媒体内容分享列表的循环分享,无需用户手动操作,能够自动实现循环分享,提升用户的使用体验。In this embodiment, the cyclic sharing of the multimedia content sharing list is realized through the above method, and the cyclic sharing can be automatically realized without manual operation by the user, so as to improve the user experience.
在一些实施例中,可选的,在建立多媒体内容分享列表之后,所述方法还包括:In some embodiments, optionally, after establishing the multimedia content sharing list, the method further includes:
检测多媒体内容分享列表中的地址信息是否存在;Detect whether the address information in the multimedia content sharing list exists;
若检测到不存在的地址信息,则将不存在的地址信息删除。If non-existing address information is detected, the non-existing address information is deleted.
本实施例中,通过上述方法能够保证每个地址信息都存在,能够对地址信息进行及时更新,避免发生地址信息已删除,无法分享的情况。In this embodiment, the above method can ensure the existence of each address information, update the address information in time, and avoid the situation that the address information has been deleted and cannot be shared.
示例性的,图4A为本公开实施例提供的一种多媒体内容分享列表中包含的地址信息的示意图。如图4A所示,多媒体内容分享列表中包含的地址信息为:图片1对应的地址信息1、图片2对应的地址信息2、图片3对应的地址信息3、视频4对应的地址信息4、图片5对应的地址信息5、图片6对应的地址信息6、图片7对应的地址信息7、音频8对应的地址信息8以及图片9对应的地址信息9。Exemplarily, FIG. 4A is a schematic diagram of address information included in a multimedia content sharing list provided by an embodiment of the present disclosure. As shown in Figure 4A, the address information contained in the multimedia content sharing list is: address information 1 corresponding to picture 1, address information 2 corresponding to picture 2, address information 3 corresponding to picture 3, address information 4 corresponding to video 4, picture Address information 5 corresponding to 5, address information 6 corresponding to picture 6, address information 7 corresponding to picture 7, address information 8 corresponding to audio 8, and address information 9 corresponding to picture 9.
需要说明的是:图4A中包含的地址信息仅用于示例性说明,不对其进行限定。It should be noted that: the address information contained in FIG. 4A is only used for exemplary description, and is not limited thereto.
示例性的,图4B为本公开实施例提供的一种图片分享方式的示意图。如图4B所示,在图4A的基础上,移动设备基于多媒体内容分享列表中包含的地址信息的排列顺序,确定目标地址信息,以目标地址信息为图片1对应的地址信息1为例,对图片分享方式进行说明。首先移动设备分享图片1对应的地址信息1至显示设备,接着显示设备发送图片1的播放状态,然后移动设备启动计时器进行计时,当计时器达到预设时长,说明图片1播放完成,接着分享图片2对应的地址信息2至显示设备。Exemplarily, FIG. 4B is a schematic diagram of a picture sharing manner provided by an embodiment of the present disclosure. As shown in FIG. 4B, on the basis of FIG. 4A, the mobile device determines the target address information based on the arrangement order of the address information contained in the multimedia content sharing list. Taking the target address information as the address information 1 corresponding to picture 1 as an example, for How to share pictures. First, the mobile device shares the address information 1 corresponding to picture 1 to the display device, and then the display device sends the playback status of picture 1, and then the mobile device starts a timer for timing. When the timer reaches the preset duration, it means that picture 1 is played, and then share Address information 2 corresponding to picture 2 is sent to the display device.
示例性的,移动设备可以通过以下命令将图片1对应的地址信息1分享至显示设备:Exemplarily, the mobile device can share the address information 1 corresponding to the picture 1 to the display device through the following command:
IDLNA.getInstance().pushLocalResource(uuid,picPath1)。IDLNA.getInstance().pushLocalResource(uuid, picPath1).
示例性的,图4C为本公开实施例提供的一种图片和视频的分享方式的示意图。在图4A和图4B的基础上,移动设备分享图片3对应的地址信息3至显示设备,接着显示设备发送图片3的播放状态,然后移动设备启动计时器进行计时,当计时器达到预设时长,说明图片3播放完成,接着分享视频4对应的地址信息4至显示设备,显示设备发送视频4的播放状态,移动设备基于视频4的播放状态,确定视频4对应的播放进度和播放总时长一致,则确定视频4播放完成,然后移动设备分享图片5对应的地址信息5至显示设备,后续的图片6对应的地址信息6、图片7对应的地址信息7、音频8对应的地址信息8以及图片9对应的地址信息9的分享方式,同上述分享方式类似,直至所有的地址信息均分享至显示设备,本次的多媒体内容分享过程结束。Exemplarily, FIG. 4C is a schematic diagram of a way of sharing pictures and videos provided by an embodiment of the present disclosure. On the basis of Figure 4A and Figure 4B, the mobile device shares the address information 3 corresponding to the picture 3 to the display device, and then the display device sends the playback status of the picture 3, and then the mobile device starts the timer for timing, when the timer reaches the preset duration , indicating that the playback of picture 3 is completed, then share the address information 4 corresponding to video 4 to the display device, and the display device sends the playback status of video 4, and the mobile device determines that the playback progress of video 4 is consistent with the total playback time based on the playback status of video 4 , it is determined that the playback of video 4 is completed, and then the mobile device shares the address information 5 corresponding to picture 5 to the display device, the address information 6 corresponding to picture 6, the address information 7 corresponding to picture 7, the address information 8 corresponding to audio 8, and the picture The sharing method of the address information 9 corresponding to 9 is similar to the above-mentioned sharing method, until all the address information is shared to the display device, and this multimedia content sharing process ends.
在一些实施例中,可选的,所述多媒体内容分享列表包括第一列表和第二列表,所述第一列表中包括第一类型的多媒体内容的地址信息和第二类型的多媒体内容的地址信息,所述第二列表中包括第三类型的多媒体内容的地址信息;In some embodiments, optionally, the multimedia content sharing list includes a first list and a second list, and the first list includes the address information of the first type of multimedia content and the address of the second type of multimedia content information, the second list includes address information of the third type of multimedia content;
所述从所述地址信息中确定目标地址信息,并将所述目标地址信息分享至显示设备,包括:The determining target address information from the address information and sharing the target address information to a display device includes:
当从所述第一列表的地址信息中确定的第一目标地址信息为所述第一类型的多媒体内容的地址信息时,将所述第一目标地址信息分享至所述显示设备;When the first target address information determined from the address information in the first list is the address information of the first type of multimedia content, sharing the first target address information to the display device;
基于所述第一类型的多媒体内容与所述第三类型的多媒体内容的关联关系,从所述第三类型的多媒体内容的地址信息中确定第二目标地址信息,将所述第二目标地址信息分享至所述显示设备;Based on the association relationship between the first type of multimedia content and the third type of multimedia content, determining second target address information from address information of the third type of multimedia content, and storing the second target address information share to said display device;
或者,or,
当从所述第一列表的地址信息中确定的目标地址信息为所述第二类型的多媒体内容的地址信息时,将所述目标地址信息分享至所述显示设备。When the target address information determined from the address information in the first list is the address information of the second type of multimedia content, sharing the target address information to the display device.
其中,第一类型可以为图片,第二类型可以为视频,第三类型可以为背景音频;第一类型还可以为无声视频,第二类型可以为有声视频,第三类型可以为背景音频,只要满足第一类型和第二类型具有关联关系,第一类型、第二类型和第三类型不相同即可,本实施例对此不限定。第一类型的多媒体内容与第三类型的多媒体内容的关联关系可以理解为二者能够同时进行分享,从而在显示设备中同时播放,具体的,第一类型的多媒体内容与哪个第三类型的多媒体内容关联,可以预先确定,例如图片e和背景音频2对应,图片f和背景音频2对应等,也可以视具体的播放进度情况而定,本实施例对此不做限定。Among them, the first type can be a picture, the second type can be a video, and the third type can be a background audio; the first type can also be a silent video, the second type can be a sound video, and the third type can be a background audio, as long as As long as the first type and the second type have an association relationship, it only needs to be different from the first type, the second type, and the third type, which is not limited in this embodiment. The relationship between the first type of multimedia content and the third type of multimedia content can be understood as the two can be shared at the same time, so that they can be played on the display device at the same time. Specifically, which third type of multimedia content is related to the first type of multimedia content The content association can be determined in advance, for example, the picture e corresponds to the background audio 2, and the picture f corresponds to the background audio 2, etc. It can also depend on the specific playback progress, which is not limited in this embodiment.
具体的,由于第一类型的多媒体内容与第三类型的多媒体内容具有关联关系,二者在显示设备中同时播放,而第二类型的多媒体内容是单独分享,因此,移动设备从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备时,当从第一列表的地址信息中确定的第一目标地址信息为第一类型的多媒体内容的地址信息时,先将第一目标地址信息分享至显示设备,然后移动设备基于第一类型的多媒体内容与第三类型的多媒体内容的关联关系,从第三类型的多媒体内容的地址信息中确定出与第一目标地址信息相关联的第二目标地址信息,将第二目标地址信息分享至显示设备,相应的显示设备可以达到同时播放第一类型的多媒体内容,以及与第一类型的多媒体内容相关联的第三类型的多媒体内容的效果。或者,当移动设备从第一列表的地址信息中确定的目标地址信息为第二类型的多媒体内容的地址信息时,直接将目标地址信息(即第二类型的多媒体内容的地址信息)分享至显示设备,相应的显示设备就能够播放第二类型的多媒体内容。Specifically, since the first type of multimedia content is associated with the third type of multimedia content, the two are played simultaneously on the display device, while the second type of multimedia content is shared separately, therefore, the mobile device determines from the address information target address information, and when sharing the target address information to the display device, when the first target address information determined from the address information in the first list is the address information of the first type of multimedia content, the first target address information share to the display device, and then the mobile device determines the second target address information associated with the first target address information from the address information of the third type of multimedia content based on the association relationship between the first type of multimedia content and the third type of multimedia content. For the target address information, the second target address information is shared with the display device, and the corresponding display device can simultaneously play the first type of multimedia content and the third type of multimedia content associated with the first type of multimedia content. Or, when the target address information determined by the mobile device from the address information in the first list is the address information of the second type of multimedia content, directly share the target address information (that is, the address information of the second type of multimedia content) to the display device, the corresponding display device can play the second type of multimedia content.
本实施例中,通过上述方法,在多媒体内容分享列表包括第一列表和第二列表,第一列表中包括第一类型的多媒体内容的地址信息和第二类型的多媒体内容的地址信息,第二列表中包括第三类型的多媒体内容的地址信息时,通过上述方法能够实现自动分享第一类型的多媒体内容的地址信息,以及与第一类型的多媒体内容相关联的第三类型的多媒体内容的地址信息,单独分享第二类型的多媒体内容的地址信息的效果,同时自动衔接后续要分享的地址信息,达到自动分享第一列表和第二列表中地址信息的效果。In this embodiment, through the above method, the multimedia content sharing list includes a first list and a second list, the first list includes the address information of the first type of multimedia content and the address information of the second type of multimedia content, and the second When the address information of the third type of multimedia content is included in the list, the above method can realize automatic sharing of the address information of the first type of multimedia content and the address of the third type of multimedia content associated with the first type of multimedia content Information, the effect of separately sharing the address information of the second type of multimedia content, and at the same time automatically connecting the address information to be shared later, so as to achieve the effect of automatically sharing the address information in the first list and the second list.
示例性的,图5A为本公开实施例提供的多媒体内容分享列表中包含两个列表时的地址信息示意图。如图5A所示,第一列表中包含的地址信息为:图片A对应的地址信息A、图片B对应的地址信息B、图片C对应的地址信息C、视频D对应的地址信息D、图片E对应的地址信息E以及图片F对应的地址信息F,第二列表中包含的地址信息为:音频A对应的地址信息a、音频B对应的地址信息b以及音频C对应的地址信息c。Exemplarily, FIG. 5A is a schematic diagram of address information provided by an embodiment of the present disclosure when the multimedia content sharing list includes two lists. As shown in Figure 5A, the address information contained in the first list is: address information A corresponding to picture A, address information B corresponding to picture B, address information C corresponding to picture C, address information D corresponding to video D, picture E The corresponding address information E and the address information F corresponding to the picture F, the address information included in the second list is: address information a corresponding to audio A, address information b corresponding to audio B, and address information c corresponding to audio C.
其中,图片A与音频A的前1/3具有关联关系,图片B与音频A的中间1/3具有关联关系,图片C与音频A的最后1/3具有关联关系,图片E与音频B具有关联关系以及图片F与音频C具有关联关系。Among them, picture A is associated with the first 1/3 of audio A, picture B is associated with the middle 1/3 of audio A, picture C is associated with the last 1/3 of audio A, and picture E is associated with audio B The association relationship and the picture F and the audio C have an association relationship.
示例性的,图5B为本公开实施例提供的第一列表中的图片和第二列表中的音频进行分享时的分享过程示意图。如图5B所示,在图5A的基础上,当移动设备从第一列表的地址信息中确定的第一目标地址信息为图片A对应的地址信息A时,移动设备分享第一列表中图片A对应的地址信息A至显示设备,接着显示设备发送图片A的播放状态,然后移动设备启动计时器进行计时,同时,基于图片与音频的关联关系,分享音频A对应的地址信息a,相应的显示设备在播放图片A的同时播放音频A,使得音频A作为图片A的背景音频进行播放,达到更好的体验效果。Exemplarily, FIG. 5B is a schematic diagram of a sharing process when pictures in the first list and audio in the second list are shared according to an embodiment of the present disclosure. As shown in Figure 5B, on the basis of Figure 5A, when the first target address information determined by the mobile device from the address information in the first list is the address information A corresponding to picture A, the mobile device shares picture A in the first list The corresponding address information A is sent to the display device, and then the display device sends the playback status of the picture A, and then the mobile device starts the timer for timing, and at the same time, based on the relationship between the picture and the audio, share the address information a corresponding to the audio A, and display accordingly The device plays audio A while playing picture A, so that audio A is played as the background audio of picture A to achieve a better experience.
示例性的,音频A名称可以为移动设备与显示设备提前约定好的#$%bg_music#$%音频A(即背景音频),显示设备接收到#$%bg_music#$%前缀的音频时,不启动界面化的音乐播放器,而是启动后台服务,例如MusicPlayerService来播放该音频A。Exemplarily, the name of audio A can be #$%bg_music#$% audio A (that is, background audio) agreed in advance between the mobile device and the display device. When the display device receives the audio prefixed with #$%bg_music#$%, it will not Start the interface-based music player, but start a background service, such as MusicPlayerService, to play the audio A.
示例性的,移动设备可以通过以下命令实现分享音频A对应的地址信息a至显示设备:Exemplarily, the mobile device can share the address information a corresponding to the audio A to the display device through the following command:
IDLNA.getInstance().pushLocalResource(uuid,musicPath1,#$%bg_music#$%音频A)。IDLNA.getInstance().pushLocalResource(uuid, musicPath1, #$%bg_music#$%audioA).
示例性的,图5C为本公开实施例提供的在第一列表中的图片和第二列表中的音频分享之后,第一列表中的视频分享过程示意图。如图5C所示,在图5A和图5B的基础上,移动设备分享图片C对应的地址信息C至显示设备,接着显示设备发送图片C的播放状态,然后移动设备启动计时器进行计时,同时,基于图片与音频的关联关系,分享音频A对应的播放进度,使得显示设备接收到音频A对应的播放进度之后,基于音频A对应的播放进度,在播放图片C的同时,继续播放后续的音频A。移动设备在计时器达到预设时长后,继续分享视频D对应的地址信息D至显示设备,此时显示设备只播放视频D,自动结束音频A的播放。Exemplarily, FIG. 5C is a schematic diagram of a video sharing process in the first list after the pictures in the first list and the audio in the second list are shared according to an embodiment of the present disclosure. As shown in Figure 5C, on the basis of Figure 5A and Figure 5B, the mobile device shares the address information C corresponding to the picture C to the display device, and then the display device sends the playback status of the picture C, and then the mobile device starts a timer for timing, and at the same time , based on the relationship between the picture and the audio, share the playback progress corresponding to audio A, so that after the display device receives the playback progress corresponding to audio A, based on the playback progress corresponding to audio A, continue to play the subsequent audio while playing picture C a. After the timer reaches the preset duration, the mobile device continues to share the address information D corresponding to the video D to the display device. At this time, the display device only plays the video D and automatically ends the playback of the audio A.
示例性的,图5D为本公开实施例提供的在第一列表中的图片和第二列表中的音频分享之后,继续分享第一列表中的下一图片和第二列表中的下一音频时的分享过程示意图。如图5D所示,在图5A、图5B以及图5C的基础上,移动设备分享图片E对应的地址信息E至显示设备,接着显示设备发送图片E的播放状态,然后移动设备启动计时器进行计时,同时,基于图片与音频的关联关系,分享音频B对应的地址信息B(音频B与图片E关联),使得显示设备在播放图片E的同时,还播放音频B。移动设备在计时器达到预设时长后,继续分享图片F对应的地址信息F,显示设备发送音频B的播放状态,移动设备基于音频B的播放状态,确定音频B对应的播放进度和播放总时长一致,则确定音频B播放完成,此时移动设备分享音频C对应的地址信息c(音频C与图片F关联),使得显示设备在播放图片F的同时,还播放音频C。Exemplarily, FIG. 5D is a picture provided by an embodiment of the present disclosure, after the picture in the first list and the audio in the second list are shared, when continuing to share the next picture in the first list and the next audio in the second list Schematic diagram of the sharing process. As shown in Figure 5D, on the basis of Figure 5A, Figure 5B and Figure 5C, the mobile device shares the address information E corresponding to the picture E to the display device, and then the display device sends the playback status of the picture E, and then the mobile device starts a timer to proceed. Timing, at the same time, based on the association between pictures and audio, share the address information B corresponding to audio B (audio B is associated with picture E), so that the display device plays audio B while playing picture E. After the timer reaches the preset duration, the mobile device continues to share the address information F corresponding to the picture F, and displays the playback status of the audio B sent by the device. Based on the playback status of the audio B, the mobile device determines the corresponding playback progress and total playback time of the audio B. If they match, it is determined that the audio B has been played. At this time, the mobile device shares the address information c corresponding to the audio C (the audio C is associated with the picture F), so that the display device plays the audio C while playing the picture F.
需要说明的是:图5A-图5D中所示只用于示例性说明,不用于进行具体限定,还可以有其他的实现方式,本实施例对此不做限定。It should be noted that: what is shown in FIG. 5A-FIG. 5D is only for exemplary description, not for specific limitation, and there may be other implementation manners, which are not limited in this embodiment.
图6A为本公开实施例提供的一种应用于显示设备的多媒体内容分享方法的流程示意图。本实施例可适用于在显示设备侧,对多媒体内容分享过程进行说明的情况。本实施例方法可由应用于显示设备的多媒体内容分享装置来执行,该装置可采用硬件/或软件的方式来实现,并可配置于电子设备中。FIG. 6A is a schematic flowchart of a multimedia content sharing method applied to a display device provided by an embodiment of the present disclosure. This embodiment is applicable to the case where the multimedia content sharing process is described on the display device side. The method of this embodiment can be executed by a multimedia content sharing device applied to a display device, which can be implemented in hardware/or software, and can be configured in an electronic device.
如图6A所示,该方法具体包括如下步骤:As shown in Figure 6A, the method specifically includes the following steps:
S610,接收移动设备分享的目标地址信息,基于目标地址信息播放对应的目标多媒体内容。S610. Receive target address information shared by the mobile device, and play corresponding target multimedia content based on the target address information.
其中,目标地址信息从地址信息中确定,地址信息是从移动设备建立的多媒体内容分享列表中包括的多个不同类型的多媒体内容对应的地址信息中确定的。Wherein, the target address information is determined from address information, and the address information is determined from address information corresponding to a plurality of different types of multimedia content included in the multimedia content sharing list established by the mobile device.
显示设备接收到移动设备分享的目标地址信息之后,基于该目标地址信息能够播放对应的目标多媒体内容。After receiving the target address information shared by the mobile device, the display device can play the corresponding target multimedia content based on the target address information.
S620,将目标多媒体内容的播放状态发送至移动设备,以使移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行向显示设备分享目标地址信息,直至所有地址信息均分享至显示设备。S620. Send the playing state of the target multimedia content to the mobile device, so that the mobile device receives the playing state sent by the display device. After determining that the playing state of the target multimedia content is completed based on the playing state, return to share the target address information with the display device until all addresses The information is shared to the display device.
显示设备基于目标地址信息播放对应的目标多媒体内容之后,将目标多媒体内容的播放状态发送至移动设备,以使移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行向显示设备分享目标地址信息,直至所有地址信息均分享至显示设备,从而达到无需切换不同的目录,即可在显示设备中自动播放多种类型的多媒体内容的效果,减少了用户操作,同时提升了用户的观看体验。After the display device plays the corresponding target multimedia content based on the target address information, it sends the playback status of the target multimedia content to the mobile device, so that the mobile device receives the playback status sent by the display device, determines that the playback of the target multimedia content is completed based on the playback status, and returns Execute the sharing of target address information to the display device until all address information is shared to the display device, so as to achieve the effect of automatically playing various types of multimedia content on the display device without switching different directories, reducing user operations, and at the same time The user's viewing experience is improved.
本实施例中提供的应用于显示设备的多媒体内容分享方法,首先接收移动设备分享的目标地址信息,基于目标地址信息播放对应的目标多媒体内容,然后将目标多媒体内容的播放状态发送至移动设备,以使移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行向显示设备分享目标地址信息,直至所有地址信息均分享至显示设备,上述技术方案中,无需切换不同的目录,即可在显示设备中自动播放多种类型的多媒体内容,减少了用户操作,同时提升了用户的观看体验。The multimedia content sharing method applied to the display device provided in this embodiment first receives the target address information shared by the mobile device, plays the corresponding target multimedia content based on the target address information, and then sends the playback status of the target multimedia content to the mobile device, Make the mobile device receive the playback status sent by the display device, determine the target multimedia content based on the playback status, and return to share the target address information with the display device until all address information is shared with the display device. In the above technical solution, there is no need to switch Various types of multimedia content can be automatically played on the display device with different directories, which reduces user operations and improves user viewing experience at the same time.
在一些实施例中,可选的,所述目标多媒体内容为音频或者视频;In some embodiments, optionally, the target multimedia content is audio or video;
所述将所述目标多媒体内容的播放状态发送至所述移动设备,包括:The sending the playing state of the target multimedia content to the mobile device includes:
间隔预设时间,获取所述音频的播放状态;Acquiring the playback status of the audio at preset time intervals;
将所述音频的播放状态发送至所述移动设备;sending the playback status of the audio to the mobile device;
或者,or,
间隔预设时间,获取所述视频的播放状态;Acquiring the playback status of the video at preset time intervals;
将所述视频的播放状态发送至所述移动设备。Sending the playing state of the video to the mobile device.
其中,预设时间可以预先设定,例如2s,也可以视具体情况而定,本实施例不做限定。Wherein, the preset time may be preset, for example, 2s, or it may be determined according to specific circumstances, which is not limited in this embodiment.
具体的,为了使移动设备能够实时获取到目标多媒体内容的播放状态,在目标多媒体内容为音频时,间隔预设时间,获取音频的播放状态,并将该音频的播放状态发送至移动设备,以使移动设备能够确定该音频是否播放完成,从而确定是否分享下一地址信息;或者,在目标多媒体内容为视频时,间隔预设时间,获取视频的播放状态,并将该视频的播放状态发送至移动设备,以使移动设备能够确定该视频是否播放完成,从而确定是否推送下一地址信息。Specifically, in order to enable the mobile device to obtain the playback status of the target multimedia content in real time, when the target multimedia content is audio, the playback status of the audio is acquired at an interval of a preset time, and the playback status of the audio is sent to the mobile device. Enable the mobile device to determine whether the audio has been played, so as to determine whether to share the next address information; or, when the target multimedia content is a video, obtain the playback status of the video at a preset time interval, and send the playback status of the video to mobile device, so that the mobile device can determine whether the video has been played, so as to determine whether to push the next address information.
本实施例中,通过上述方法,有利于移动设备确定音频或者视频是否播放完成,从而确定是否分享下一地址信息,便于实现准确分享。In this embodiment, through the above method, it is beneficial for the mobile device to determine whether the audio or video has been played, so as to determine whether to share the next address information, so as to realize accurate sharing.
示例性的,图6B为本公开实施例提供的一种移动设备和显示设备的交互过程示意图。图6B中所示的步骤,已经在上述实施例中详细描述过,为了避免重复,此处不再赘述。Exemplarily, FIG. 6B is a schematic diagram of an interaction process between a mobile device and a display device according to an embodiment of the present disclosure. The steps shown in FIG. 6B have been described in detail in the above embodiments, and will not be repeated here to avoid repetition.
图7为本公开实施例提供的一种应用于移动设备的多媒体内容分享装置的结构示意图。该装置配置于电子设备中,可实现本申请任意实施例所述的应用于移动设备的多媒体内容分享方法。该装置具体包括如下:FIG. 7 is a schematic structural diagram of an apparatus for sharing multimedia content applied to a mobile device provided by an embodiment of the present disclosure. The device is configured in an electronic device, and can realize the multimedia content sharing method applied to a mobile device described in any embodiment of the present application. The device specifically includes the following:
建立模块701,用于建立多媒体内容分享列表,所述多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息;A
分享模块702,用于从所述地址信息中确定目标地址信息,并将所述目标地址信息分享至显示设备,以使所述显示设备基于所述目标地址信息播放对应的目标多媒体内容,并将所述目标多媒体内容的播放状态发送至所述移动设备;A
确定模块703,用于接收所述显示设备发送的所述播放状态,基于所述播放状态确定所述目标多媒体内容播放完成之后,返回执行从所述地址信息中确定所述目标地址信息,并将所述目标地址信息分享至所述显示设备,直至所有地址信息均分享至所述显示设备。The determining
作为本公开实施例一种可选的实施方式,确定模块703,包括:As an optional implementation manner of this embodiment of the present disclosure, the determining
确定单元,用于接收所述显示设备发送的所述播放状态,基于所述播放状态确定所述目标多媒体内容播放完成;A determining unit, configured to receive the playing state sent by the display device, and determine that the playing of the target multimedia content is completed based on the playing state;
分享单元,用于返回执行从所述地址信息中确定所述目标地址信息,并将所述目标地址信息分享至所述显示设备,直至所有地址信息均分享至所述显示设备;A sharing unit, configured to return to determine the target address information from the address information, and share the target address information to the display device until all address information is shared to the display device;
其中,所述目标多媒体内容为音频或者视频;Wherein, the target multimedia content is audio or video;
所述确定单元,具体用于:接收所述显示设备发送的所述音频的播放状态,基于所述音频的播放状态,确定所述音频对应的播放进度和播放总时长一致,则确定所述音频播放完成;The determination unit is specifically configured to: receive the playback state of the audio sent by the display device, and determine that the playback progress corresponding to the audio is consistent with the total playback duration based on the playback state of the audio, then determine the audio playback status. Play complete;
或者,or,
接收所述显示设备发送的所述视频的播放状态,基于所述视频的播放状态,确定所述视频对应的播放进度和播放总时长一致,则确定所述视频播放完成。Receiving the playing state of the video sent by the display device, based on the playing state of the video, determining that the playing progress corresponding to the video is consistent with the total playing time, and then determining that the playing of the video is completed.
作为本公开实施例一种可选的实施方式,所述目标多媒体内容为图片;As an optional implementation manner of the embodiment of the present disclosure, the target multimedia content is a picture;
所述确定单元,具体用于:接收所述显示设备发送的所述图片的播放状态,启动计时器进行计时;The determining unit is specifically configured to: receive the playback state of the picture sent by the display device, and start a timer for timing;
当所述计时器达到预设时长,确定所述图片播放完成。When the timer reaches the preset duration, it is determined that the playing of the picture is completed.
作为本公开实施例一种可选的实施方式,所述多媒体内容分享列表包括第一列表和第二列表,所述第一列表中包括第一类型的多媒体内容的地址信息和第二类型的多媒体内容的地址信息,所述第二列表中包括第三类型的多媒体内容的地址信息;As an optional implementation manner of this embodiment of the present disclosure, the multimedia content sharing list includes a first list and a second list, and the first list includes address information of the first type of multimedia content and a second type of multimedia content address information of the content, the second list includes address information of the third type of multimedia content;
所述分享模块702,具体用于:The
当从所述第一列表的地址信息中确定的第一目标地址信息为所述第一类型的多媒体内容的地址信息时,将所述第一目标地址信息分享至所述显示设备;When the first target address information determined from the address information in the first list is the address information of the first type of multimedia content, sharing the first target address information to the display device;
基于所述第一类型的多媒体内容与所述第三类型的多媒体内容的关联关系,从所述第三类型的多媒体内容的地址信息中确定第二目标地址信息,将所述第二目标地址信息分享至所述显示设备;Based on the association relationship between the first type of multimedia content and the third type of multimedia content, determining second target address information from address information of the third type of multimedia content, and storing the second target address information share to said display device;
或者,or,
当从所述第一列表的地址信息中确定的目标地址信息为所述第二类型的多媒体内容的地址信息时,将所述目标地址信息分享至所述显示设备。When the target address information determined from the address information in the first list is the address information of the second type of multimedia content, sharing the target address information to the display device.
作为本公开实施例一种可选的实施方式,上述装置还包括:As an optional implementation manner of the embodiment of the present disclosure, the above device further includes:
响应模块,用于响应于所述多媒体内容分享列表的循环分享功能,获取所述显示设备发送的所述多媒体内容分享列表中最后一个地址信息对应的多媒体内容的播放状态;A response module, configured to respond to the circular sharing function of the multimedia content sharing list, and obtain the playback status of the multimedia content corresponding to the last address information in the multimedia content sharing list sent by the display device;
继续分享模块,用于基于所述最后一个地址信息对应的多媒体内容的播放状态,确定所述最后一个地址信息对应的多媒体内容播放完成之后,从所述地址信息中确定目标地址信息,并将所述目标地址信息分享至显示设备。The continuing sharing module is used to determine the target address information from the address information after determining that the multimedia content corresponding to the last address information has been played based on the playing state of the multimedia content corresponding to the last address information, and The above target address information is shared to the display device.
通过本公开实施例提供的应用于移动设备的多媒体内容分享装置,首先移动设备建立多媒体内容分享列表,多媒体内容分享列表中包括多个不同类型的多媒体内容对应的地址信息,然后移动设备从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,以使显示设备基于目标地址信息播放对应的目标多媒体内容,并将目标多媒体内容的播放状态发送至移动设备,最后移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行从地址信息中确定目标地址信息,并将目标地址信息分享至显示设备,直至所有地址信息均分享至显示设备,上述技术方案中,通过将建立的多媒体内容分享列表中的地址信息分享至显示设备,达到了无需切换不同的目录,即可将多种类型的多媒体内容分享至显示设备中进行播放的效果,减少了用户操作,同时提升了用户的观看体验。Through the multimedia content sharing device applied to mobile devices provided by the embodiments of the present disclosure, firstly, the mobile device establishes a multimedia content sharing list, and the multimedia content sharing list includes address information corresponding to a plurality of different types of multimedia content, and then the mobile device starts from the address information Determine the target address information, and share the target address information to the display device, so that the display device plays the corresponding target multimedia content based on the target address information, and sends the playback status of the target multimedia content to the mobile device, and finally the mobile device receives the display device The sent playback state, after determining the target multimedia content based on the playback state, returns to the execution to determine the target address information from the address information, and shares the target address information to the display device until all address information is shared to the display device. The above technical solution In , by sharing the address information in the established multimedia content sharing list to the display device, it is possible to share various types of multimedia content to the display device for playback without switching between different directories, reducing user operations , while improving the user's viewing experience.
本公开实施例所提供的应用于移动设备的多媒体内容分享装置可执行本公开任意实施例所提供的应用于移动设备的多媒体内容分享方法,具备执行方法相应的功能模块和有益效果。The multimedia content sharing device applied to mobile devices provided by the embodiments of the present disclosure can execute the multimedia content sharing method applied to mobile devices provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
图8为本公开实施例提供的一种应用于显示设备的多媒体内容分享装置的结构示意图。该装置配置于电子设备中,可实现本申请任意实施例所述的应用于显示设备的多媒体内容分享方法。该装置具体包括如下:FIG. 8 is a schematic structural diagram of an apparatus for sharing multimedia content applied to a display device according to an embodiment of the present disclosure. The device is configured in an electronic device, and can implement the multimedia content sharing method applied to a display device described in any embodiment of the present application. The device specifically includes the following:
接收模块801,用于接收移动设备分享的目标地址信息,基于所述目标地址信息播放对应的目标多媒体内容,其中,所述目标地址信息从地址信息中确定,所述地址信息是从所述移动设备建立的多媒体内容分享列表中包括的多个不同类型的多媒体内容对应的地址信息中确定的;The receiving
发送模块802,用于将所述目标多媒体内容的播放状态发送至所述移动设备,以使所述移动设备接收所述显示设备发送的所述播放状态,基于所述播放状态确定所述目标多媒体内容播放完成之后,返回执行向所述显示设备分享目标地址信息,直至所有地址信息均分享至所述显示设备。A sending
作为本公开实施例一种可选的实施方式,所述目标多媒体内容为音频或者视频;As an optional implementation manner of the embodiment of the present disclosure, the target multimedia content is audio or video;
所述发送模块802,用于:The sending
间隔预设时间,获取所述音频的播放状态;Acquiring the playback status of the audio at preset time intervals;
将所述音频的播放状态发送至所述移动设备;sending the playback status of the audio to the mobile device;
或者,or,
间隔预设时间,获取所述视频的播放状态;Acquiring the playback status of the video at preset time intervals;
将所述视频的播放状态发送至所述移动设备。Sending the playing state of the video to the mobile device.
通过本公开实施例提供的应用于显示设备的多媒体内容分享装置,首先接收移动设备分享的目标地址信息,基于目标地址信息播放对应的目标多媒体内容,然后将目标多媒体内容的播放状态发送至移动设备,以使移动设备接收显示设备发送的播放状态,基于播放状态确定目标多媒体内容播放完成之后,返回执行向显示设备分享目标地址信息,直至所有地址信息均分享至显示设备,上述技术方案中,无需切换不同的目录,即可在显示设备中自动播放多种类型的多媒体内容,减少了用户操作,同时提升了用户的观看体验。The multimedia content sharing device applied to the display device provided by the embodiment of the present disclosure first receives the target address information shared by the mobile device, plays the corresponding target multimedia content based on the target address information, and then sends the playing status of the target multimedia content to the mobile device so that the mobile device receives the playback status sent by the display device, and after determining that the target multimedia content has been played based on the playback status, it returns to share the target address information with the display device until all address information is shared with the display device. In the above technical solution, there is no need By switching between different directories, various types of multimedia content can be automatically played on the display device, which reduces user operations and improves user viewing experience at the same time.
本公开实施例所提供的应用于显示设备的多媒体内容分享装置可执行本公开任意实施例所提供的应用于显示设备的多媒体内容分享方法,具备执行方法相应的功能模块和有益效果。The multimedia content sharing device applied to the display device provided by the embodiments of the present disclosure can execute the multimedia content sharing method applied to the display device provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
本公开实施例提供一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例中的任一种所述的多媒体内容分享方法。An embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, The one or more processors are made to implement any one of the multimedia content sharing methods in the embodiments of the present disclosure.
图9为本公开实施例提供的一种电子设备的结构示意图。如图9所示,该电子设备包括处理器910和存储装置920;电子设备中处理器910的数量可以是一个或多个,图9中以一个处理器910为例;电子设备中的处理器910和存储装置920可以通过总线或其他方式连接,图9中以通过总线连接为例。FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. As shown in Figure 9, the electronic device includes a
存储装置920作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本公开实施例中的多媒体内容分享方法对应的程序指令/模块。处理器910通过运行存储在存储装置920中的软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现本公开实施例所提供的多媒体内容分享方法。The
存储装置920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储装置920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储装置920可进一步包括相对于处理器910远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The
本实施例提供的一种电子设备可用于执行上述任意实施例提供的多媒体内容分享方法,具备相应的功能和有益效果。An electronic device provided in this embodiment can be used to execute the multimedia content sharing method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
本公开实施例提供一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述设备的多媒体内容分享方法执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process performed by the multimedia content sharing method of the above-mentioned device can be achieved, and the same Technical effects, in order to avoid repetition, will not be repeated here.
本公开实施例提供一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述多媒体内容分享方法执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process performed by the above-mentioned multimedia content sharing method can be realized, and the same technical effect can be achieved , to avoid repetition, it will not be repeated here.
其中,该计算机可读存储介质可以为只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本公开提供一种计算机程序产品,包括:当所述计算机程序产品在计算机上运行时,使得所述计算机实现上述的多媒体内容分享方法。The present disclosure provides a computer program product, including: when the computer program product is run on a computer, the computer is enabled to implement the above multimedia content sharing method.
为了方便解释,已经结合具体的实施方式进行了上述说明。但是,上述在一些实施例中讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用实施方式以及适于具体使用考虑的各种不同的变形的实施方式。For convenience of explanation, the above description has been made in conjunction with specific implementation manners. However, the above discussion of some embodiments is not intended to be exhaustive or to limit implementations to the specific forms disclosed above. Many modifications and variations are possible in light of the above teachings. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various modified embodiments suitable for specific use considerations.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211272678.6ACN115834944A (en) | 2022-10-18 | 2022-10-18 | Multimedia content sharing method, device and electronic device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211272678.6ACN115834944A (en) | 2022-10-18 | 2022-10-18 | Multimedia content sharing method, device and electronic device |
| Publication Number | Publication Date |
|---|---|
| CN115834944Atrue CN115834944A (en) | 2023-03-21 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211272678.6APendingCN115834944A (en) | 2022-10-18 | 2022-10-18 | Multimedia content sharing method, device and electronic device |
| Country | Link |
|---|---|
| CN (1) | CN115834944A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20030038933A (en)* | 2001-11-09 | 2003-05-17 | 이승근 | Method for reproducing some multimedia files being associated with time and space and apparatus thereof |
| CN101326790A (en)* | 2005-12-13 | 2008-12-17 | 艾利森电话股份有限公司 | Technique for distributing content via different bearer types |
| CN101360118A (en)* | 2007-08-02 | 2009-02-04 | 广东新支点技术服务有限公司 | Method and protocol suitable for mobile terminal multimedia file sharing and searching |
| CN103067379A (en)* | 2012-12-26 | 2013-04-24 | 北京百度网讯科技有限公司 | Multimedia resource sharing method, system and mobile terminal of instant communication |
| CN104394127A (en)* | 2014-11-11 | 2015-03-04 | 海信集团有限公司 | A multimedia sharing method, device and system |
| WO2019171128A1 (en)* | 2018-03-06 | 2019-09-12 | Yogesh Chunilal Rathod | In-media and with controls advertisement, ephemeral, actionable and multi page photo filters on photo, automated integration of external contents, automated feed scrolling, template based advertisement post and actions and reaction controls on recognized objects in photo or video |
| CN111556352A (en)* | 2020-03-27 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Multimedia resource sharing method and device, electronic equipment and storage medium |
| CN111953709A (en)* | 2020-08-25 | 2020-11-17 | 中卓信(北京)科技有限公司 | Multimedia content transmission method, multimedia content display device and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20030038933A (en)* | 2001-11-09 | 2003-05-17 | 이승근 | Method for reproducing some multimedia files being associated with time and space and apparatus thereof |
| CN101326790A (en)* | 2005-12-13 | 2008-12-17 | 艾利森电话股份有限公司 | Technique for distributing content via different bearer types |
| CN101360118A (en)* | 2007-08-02 | 2009-02-04 | 广东新支点技术服务有限公司 | Method and protocol suitable for mobile terminal multimedia file sharing and searching |
| CN103067379A (en)* | 2012-12-26 | 2013-04-24 | 北京百度网讯科技有限公司 | Multimedia resource sharing method, system and mobile terminal of instant communication |
| CN104394127A (en)* | 2014-11-11 | 2015-03-04 | 海信集团有限公司 | A multimedia sharing method, device and system |
| WO2019171128A1 (en)* | 2018-03-06 | 2019-09-12 | Yogesh Chunilal Rathod | In-media and with controls advertisement, ephemeral, actionable and multi page photo filters on photo, automated integration of external contents, automated feed scrolling, template based advertisement post and actions and reaction controls on recognized objects in photo or video |
| CN111556352A (en)* | 2020-03-27 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Multimedia resource sharing method and device, electronic equipment and storage medium |
| CN111953709A (en)* | 2020-08-25 | 2020-11-17 | 中卓信(北京)科技有限公司 | Multimedia content transmission method, multimedia content display device and electronic equipment |
| Title |
|---|
| 顾健, 周敬利, 余胜生, 向东, 邱会川: "集成多媒体文件系统模型研究", 计算机工程与应用, no. 07, 9 July 2000 (2000-07-09)* |
| Publication | Publication Date | Title |
|---|---|---|
| US20240267581A1 (en) | Systems, methods, and media for presenting media content | |
| WO2015096687A1 (en) | Method and device for mobile communication terminal to control smart television to play video file | |
| CN113064645B (en) | Startup interface control method and display device | |
| CN113590059A (en) | Screen projection method and mobile terminal | |
| WO2021139581A1 (en) | Method and apparatus for displaying material, electronic device and storage medium | |
| CN103648051A (en) | Method and device for searching video files played by smart television | |
| CN103686290A (en) | Method and device for mobile communication terminal to control smart TV to play video with delay | |
| CN117806746A (en) | Display equipment and audio playing interface display method | |
| EP2480005A1 (en) | Information processing apparatus, television receiver, information processing method, program, and information processing system | |
| CN115119030B (en) | A subtitle processing method and device | |
| CN114885193A (en) | Display device, terminal device and screen projection method | |
| CN115665468B (en) | Screen projection method and device and electronic equipment | |
| CN113645479A (en) | Live program state display method and display equipment | |
| WO2024260182A1 (en) | Display device and mirroring method | |
| CN115834944A (en) | Multimedia content sharing method, device and electronic device | |
| CN115270030A (en) | Display device and media asset playing method | |
| CN118891880A (en) | A display device, a playback device, a control device and a data transmission method | |
| CN114915810B (en) | Media resource pushing method and intelligent terminal | |
| CN114915818B (en) | A method for pushing media assets and an intelligent terminal | |
| CN113992963A (en) | Display device and screen projection method | |
| CN115022688A (en) | Display device and media data relay method | |
| CN112584210A (en) | Display device, video recording method and recorded file display method | |
| CN114025221B (en) | A playback control method for display device and video application | |
| TWI521957B (en) | A method and a device for sharing multimedia messages in a remote sequence | |
| CN115361572B (en) | Display device, key control method and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |