[go: up one dir, main page]

CN104602118A - Multimedia data output method and equipment - Google Patents

Multimedia data output method and equipment Download PDF

Info

Publication number
CN104602118A
CN104602118A CN201310527023.3A CN201310527023A CN104602118A CN 104602118 A CN104602118 A CN 104602118A CN 201310527023 A CN201310527023 A CN 201310527023A CN 104602118 A CN104602118 A CN 104602118A
Authority
CN
China
Prior art keywords
display device
multimedia data
display
top box
capability information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310527023.3A
Other languages
Chinese (zh)
Inventor
金鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201310527023.3A priority Critical patent/CN104602118A/en
Publication of CN104602118A publication Critical patent/CN104602118A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43622Interfacing an external recording device

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开了一种多媒体数据的输出方法和设备,在多屏互动业务中,对现有的机顶盒设备做了优化,机顶盒不直接将一个显示设备发送的多媒体数据传输给其他显示设备,而是根据其他显示设备的显示能力信息,将多媒体数据缓存成不同显示状态的多媒体数据(如:将原始的高分辨率的多媒体数据缓存成低分辨率的多媒体数据),机顶盒根据缓存的各多媒体数据的显示状态,将其传输给显示能力信息适配的显示设备,使得不同显示能力的显示设备在接收到机顶盒传输的多媒体数据后,都能够正确显示接收到的多媒体数据。

The invention discloses a multimedia data output method and device. In multi-screen interactive services, the existing set-top box equipment is optimized. The set-top box does not directly transmit the multimedia data sent by one display device to other display devices, but According to the display capability information of other display devices, the multimedia data is cached into multimedia data of different display states (such as: the original high-resolution multimedia data is cached into low-resolution multimedia data), and the set-top box according to the buffered multimedia data. The display state is transmitted to the display device adapted to display capability information, so that display devices with different display capabilities can correctly display the received multimedia data after receiving the multimedia data transmitted by the set-top box.

Description

一种多媒体数据的输出方法和设备A kind of multimedia data output method and device

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种多媒体数据的输出方法和设备。The invention relates to the field of computer technology, in particular to a multimedia data output method and device.

背景技术Background technique

网络电视机顶盒是家庭常用的娱乐设备,一台网络电视机顶盒可以与多个显示设备连接,例如,机顶盒可以通过有线方式(如高清晰度多媒体接口(英文:High Definition Multimedia Interface,HDMI)与电视机或投影仪等显示设备连接,也可以通过无线方式(如机顶盒作为一个WiFi接入点)与具有WiFi功能的手机、平板电脑等显示设备连接。The Internet TV set-top box is a commonly used entertainment device in the home. An Internet TV set-top box can be connected to multiple display devices. It can also be connected to display devices such as projectors or projectors, and can also be connected to display devices such as mobile phones and tablet computers with WiFi functions through wireless methods (such as a set-top box as a WiFi access point).

与同一机顶盒连接的多个显示设备之间的多屏互动功能也逐渐成为主流,以机顶盒通过HDMI与一台电视机连接以及通过WiFi与一台手机连接的情形为例,假设要将电视机中存储的多媒体数据在手机上显示,具体的做法为:The multi-screen interactive function between multiple display devices connected to the same set-top box has gradually become mainstream. Take the situation where the set-top box is connected to a TV through HDMI and a mobile phone through WiFi as an example. The stored multimedia data is displayed on the mobile phone. The specific method is as follows:

首先,电视机通过HDMI接口,将多媒体数据传输到机顶盒中。First, the television transmits multimedia data to the set-top box through the HDMI interface.

然后,机顶盒在根据用户的指示,将该多媒体数据传输至通过WiFi连接的手机,具体地,机顶盒可以按照一定的无线多媒体传输协议,将多媒体数据传输给手机。Then, the set-top box transmits the multimedia data to the mobile phone connected through WiFi according to the instruction of the user. Specifically, the set-top box can transmit the multimedia data to the mobile phone according to a certain wireless multimedia transmission protocol.

最后,由手机显示接收到的多媒体数据,实现了电视机与手机之间的多屏互动。Finally, the mobile phone displays the received multimedia data, realizing the multi-screen interaction between the TV and the mobile phone.

但是在实际的多屏互动业务中,与同一机顶盒连接的多个显示设备的显示能力不同,如能够显示的多媒体数据的分辨率不同,目前的多屏互动业务可能会出现某些显示设备的能力不支持,而导致无法正确显示的问题。However, in the actual multi-screen interactive service, the display capabilities of multiple display devices connected to the same set-top box are different. For example, the resolution of the multimedia data that can be displayed is different. The current multi-screen interactive service may have the capability of some display devices. Not supported, resulting in problems that cannot be displayed correctly.

发明内容Contents of the invention

本发明实施例提供了一种多媒体数据的输出方法和设备,用以解决现有技术中存在的多屏互动业务因为显示设备的能力不支持,而导致无法正确显示的问题。Embodiments of the present invention provide a method and device for outputting multimedia data, which are used to solve the problem in the prior art that multi-screen interactive services cannot be displayed correctly due to lack of support by display devices.

本发明实施例提供了一种多媒体数据的输出方法,所述方法包括:An embodiment of the present invention provides a method for outputting multimedia data, the method comprising:

机顶盒接收第一显示设备发送的多媒体数据;The set-top box receives the multimedia data sent by the first display device;

机顶盒根据待接收多媒体数据的第二显示设备的显示能力信息,将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据,并存储;The set-top box adjusts the multimedia data sent by the first display device to multimedia data whose display state is adapted to the display capability information of the second display device according to the display capability information of the second display device to receive the multimedia data, and stores it;

机顶盒将存储的多媒体数据发送给所述第二显示设备。The set-top box sends the stored multimedia data to the second display device.

通过本发明实施例的方案,机顶盒为不同显示能力的显示设备产生适配的多媒体数据,使得不同显示能力的显示设备在接收到机顶盒传输的多媒体数据后,都能够正确显示接收到的多媒体数据,以正确实现多屏互动业务。Through the solution of the embodiment of the present invention, the set-top box generates adapted multimedia data for display devices with different display capabilities, so that the display devices with different display capabilities can correctly display the received multimedia data after receiving the multimedia data transmitted by the set-top box, In order to correctly realize the multi-screen interactive business.

优选地,机顶盒通过以下方式将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据,并存储:Preferably, the set-top box adjusts the multimedia data sent by the first display device into multimedia data whose display state is adapted to the display capability information of the second display device in the following manner, and stores:

机顶盒根据第二显示设备的显示能力信息,确定第一显示设备发送的多媒体数据的显示状态调整后所需的缓冲区大小;The set-top box determines the buffer size required after the adjustment of the display state of the multimedia data sent by the first display device according to the display capability information of the second display device;

机顶盒根据所述第二显示设备的显示能力信息,对第一显示设备发送的多媒体数据的显示状态进行调整,使得调整后的多媒体数据的显示状态与第二显示设备的显示能力信息适配;The set-top box adjusts the display state of the multimedia data sent by the first display device according to the display capability information of the second display device, so that the adjusted display state of the multimedia data is adapted to the display capability information of the second display device;

机顶盒将调整后的多媒体数据存储到所述缓冲区中,并将所述缓冲区在内存空间的起始地址与所述第二显示设备建立映射关系;The set-top box stores the adjusted multimedia data in the buffer, and establishes a mapping relationship between the start address of the buffer in the memory space and the second display device;

机顶盒将存储的多媒体数据发送给所述第二显示设备,具体包括:The set-top box sends the stored multimedia data to the second display device, specifically including:

机顶盒根据所述缓冲区在内存空间的起始地址,从缓冲区中读取多媒体数据后发送给所述第二显示设备。The set-top box reads the multimedia data from the buffer and sends it to the second display device according to the start address of the buffer in the memory space.

通过本发明实施例的方案,机顶盒采用帧缓存的方式来生成并缓存与第二显示设备的显示能力适配的多媒体数据,可应用在现有的安卓体系下,对机顶盒和显示设备的硬件改动较小,易于实现。Through the scheme of the embodiment of the present invention, the set-top box uses frame buffering to generate and cache multimedia data adapted to the display capability of the second display device, which can be applied to the existing Android system to modify the hardware of the set-top box and the display device Small and easy to implement.

优选地,机顶盒通过以下方式确定第二显示设备的显示能力信息:Preferably, the set-top box determines the display capability information of the second display device in the following manner:

机顶盒与所述第二显示设备连接时,从第二显示设备上报的设备描述符中确定第二显示设备的显示能力信息。When the set-top box is connected to the second display device, it determines the display capability information of the second display device from the device descriptor reported by the second display device.

通过本发明实施例的方案,显示设备的设备描述符在连接过程向机顶盒上报,确保机顶盒在进行多屏互动时,能够获知显示设备的设备描述符。Through the solution of the embodiment of the present invention, the device descriptor of the display device is reported to the set-top box during the connection process, so as to ensure that the set-top box can obtain the device descriptor of the display device when performing multi-screen interaction.

优选地,所述设备描述符是携带在多媒体消息的扩展字段中。Preferably, the device descriptor is carried in an extension field of the multimedia message.

通过本发明实施例的方案,对多媒体消息的结构进行扩展来携带设备描述符,可以在对现有的传输机制改动较小的情况下,达到传输设备描述符的目的。Through the solution of the embodiment of the present invention, the structure of the multimedia message is extended to carry the device descriptor, and the purpose of transmitting the device descriptor can be achieved with minor changes to the existing transmission mechanism.

优选地,所述显示能力信息包括以下至少一种信息:Preferably, the display capability information includes at least one of the following information:

显示设备的分辨率、显示设备的比特率和显示设备的每个像素点的参数。The resolution of the display device, the bit rate of the display device, and the parameters of each pixel of the display device.

本发明实施例还提供了一种多媒体数据的输出设备,所述设备包括:The embodiment of the present invention also provides a kind of output device of multimedia data, and described device comprises:

数据接收模块,用于接收第一显示设备发送的多媒体数据;A data receiving module, configured to receive multimedia data sent by the first display device;

处理模块,用于根据待接收多媒体数据的第二显示设备的显示能力信息,将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据;A processing module, configured to adjust the multimedia data sent by the first display device to multimedia data whose display state is adapted to the display capability information of the second display device according to the display capability information of the second display device to receive the multimedia data;

存储模块,用于存储处理模块调整后的多媒体数据;The storage module is used for storing the multimedia data adjusted by the processing module;

数据发送模块,用于将存储模块中存储的多媒体数据发送给第二显示设备。The data sending module is used to send the multimedia data stored in the storage module to the second display device.

通过本发明实施例的方案,机顶盒为不同显示能力的显示设备产生适配的多媒体数据,使得不同显示能力的显示设备在接收到机顶盒传输的多媒体数据后,都能够正确显示接收到的多媒体数据,以正确实现多屏互动业务。Through the solution of the embodiment of the present invention, the set-top box generates adapted multimedia data for display devices with different display capabilities, so that the display devices with different display capabilities can correctly display the received multimedia data after receiving the multimedia data transmitted by the set-top box, In order to correctly realize the multi-screen interactive business.

优选地,所述处理模块,具体用于根据第二显示设备的显示能力信息,确定第一显示设备发送的多媒体数据的显示状态调整后所需的缓冲区大小,并根据所述第二显示设备的显示能力信息,对第一显示设备发送的多媒体数据的显示状态进行调整,使得调整后的多媒体数据的显示状态与第二显示设备的显示能力信息适配;Preferably, the processing module is specifically configured to determine, according to the display capability information of the second display device, the buffer size required after adjustment of the display state of the multimedia data sent by the first display device, and according to the display capability information of the second display device The display capability information of the first display device is used to adjust the display state of the multimedia data sent by the first display device, so that the adjusted display state of the multimedia data is adapted to the display capability information of the second display device;

所述存储模块,具体用于将所述处理模块调整后的多媒体数据存储到所述缓冲区中,并将所述缓冲区在内存空间的起始地址与所述第二显示设备建立映射关系;The storage module is specifically configured to store the multimedia data adjusted by the processing module in the buffer, and establish a mapping relationship between the start address of the buffer in the memory space and the second display device;

所述数据发送模块,具体用于根据所述缓冲区在内存空间的起始地址,从缓冲区中读取多媒体数据后传输给所述第二显示设备。The data sending module is specifically configured to read the multimedia data from the buffer and transmit it to the second display device according to the start address of the buffer in the memory space.

通过本发明实施例的方案,机顶盒采用帧缓存的方式来生成并缓存与第二显示设备的显示能力适配的多媒体数据,可应用在现有的安卓体系下,对机顶盒和显示设备的硬件改动较小,易于实现。Through the scheme of the embodiment of the present invention, the set-top box uses frame buffering to generate and cache multimedia data adapted to the display capability of the second display device, which can be applied to the existing Android system to modify the hardware of the set-top box and the display device Small and easy to implement.

优选地,所述处理模块,还用于在与所述第二显示设备连接时,从第二显示设备上报的设备描述符中确定第二显示设备的显示能力信息。Preferably, the processing module is further configured to determine display capability information of the second display device from a device descriptor reported by the second display device when connected to the second display device.

通过本发明实施例的方案,显示设备的设备描述符在连接过程向机顶盒上报,确保机顶盒在进行多屏互动时,能够获知显示设备的设备描述符。Through the solution of the embodiment of the present invention, the device descriptor of the display device is reported to the set-top box during the connection process, so as to ensure that the set-top box can obtain the device descriptor of the display device when performing multi-screen interaction.

优选地,所述设备描述符是携带在多媒体消息的扩展字段中。Preferably, the device descriptor is carried in an extension field of the multimedia message.

通过本发明实施例的方案,对多媒体消息的结构进行扩展来携带设备描述符,可以在对现有的传输机制改动较小的情况下,达到传输设备描述符的目的。Through the solution of the embodiment of the present invention, the structure of the multimedia message is extended to carry the device descriptor, and the purpose of transmitting the device descriptor can be achieved with minor changes to the existing transmission mechanism.

优选地,所述显示能力信息包括以下至少一种信息:Preferably, the display capability information includes at least one of the following information:

显示设备的分辨率、显示设备的比特率和显示设备的每个像素点的参数。The resolution of the display device, the bit rate of the display device, and the parameters of each pixel of the display device.

附图说明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 of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1为本发明实施例所应用的网络架构示意图;FIG. 1 is a schematic diagram of a network architecture applied in an embodiment of the present invention;

图2为本发明实施例一中多媒体数据的输出方法步骤示意图;2 is a schematic diagram of the steps of the output method of multimedia data in Embodiment 1 of the present invention;

图3为本发明实施例一中多媒体数据的输出方法步骤示意图;FIG. 3 is a schematic diagram of the steps of a method for outputting multimedia data in Embodiment 1 of the present invention;

图4为本发明实施例一中多媒体协议消息的消息格式示意图;4 is a schematic diagram of a message format of a multimedia protocol message in Embodiment 1 of the present invention;

图5为本发明实施例一中多媒体消息的消息格式示意图;FIG. 5 is a schematic diagram of a message format of a multimedia message in Embodiment 1 of the present invention;

图6为本发明实施例三中多媒体数据的输出设备结构示意图。FIG. 6 is a schematic structural diagram of an output device for multimedia data in Embodiment 3 of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为了在多屏互动业务中,与同一机顶盒连接的多个显示能力不同的显示设备能够显示其他显示设备提供的多媒体数据,本发明实施例对现有的机顶盒设备做了优化,在接收到某一个显示设备上报的多媒体数据后,并不直接将该多媒体数据传输给其他显示设备,而是根据其他显示设备的显示能力信息,将多媒体数据缓存成不同显示状态的多媒体数据(如:将原始的高分辨率的多媒体数据缓存成低分辨率的多媒体数据),机顶盒根据缓存的各多媒体数据的显示状态,将其传输给显示能力信息适配的显示设备,使得不同显示能力的显示设备在接收到机顶盒传输的多媒体数据后,都能够正确显示接收到的多媒体数据。In order to enable multiple display devices with different display capabilities connected to the same set-top box to display multimedia data provided by other display devices in the multi-screen interactive service, the embodiment of the present invention optimizes the existing set-top box device. After displaying the multimedia data reported by the device, it does not directly transmit the multimedia data to other display devices, but caches the multimedia data into multimedia data in different display states according to the display capability information of other display devices (for example, the original high high-resolution multimedia data into low-resolution multimedia data), the set-top box transmits the buffered multimedia data to the display device adapted to the display capability information according to the display status of each cached multimedia data, so that display devices with different display capabilities receive the set-top box After transmitting the multimedia data, the received multimedia data can be displayed correctly.

如图1所示,为本发明实施例的方案所应用的网络架构,从图1中可以看出,机顶盒可以通过WiFi等无线通信方式,与多个便携式显示设备相连(如采用底层硬件方式或安装支持无线多媒体传输协议的应用的软件方式),并通过HDMI等有线方式与多个非便携式显示设备相连,同时,机顶盒还具有IR端口,可以接收IR遥控器的触发。As shown in Figure 1, it is the network architecture applied by the solution of the embodiment of the present invention. As can be seen from Figure 1, the set-top box can be connected to multiple portable display devices through wireless communication methods such as WiFi (such as using the underlying hardware method or Install the application software that supports the wireless multimedia transmission protocol), and connect to multiple non-portable display devices through HDMI and other wired methods. At the same time, the set-top box also has an IR port, which can receive the trigger of the IR remote control.

所述便携式显示设备可以是任何可移动电子设备,如:便携式媒体播放器、便携式游戏系统、智能手机、平板电脑等。所述非便携式显示设备可以是电视机、电脑显示器和投影仪等。The portable display device can be any mobile electronic device, such as: portable media player, portable game system, smart phone, tablet computer, etc. The non-portable display device may be a television, a computer monitor, a projector, and the like.

下面结合具体实施例对本发明做详细描述,但本发明并不局限于以下实施例。The present invention will be described in detail below in conjunction with specific examples, but the present invention is not limited to the following examples.

实施例一:Embodiment one:

如图2所示,为本发明实施例一中多媒体数据的输出方法步骤示意图,所述方法包括:As shown in Figure 2, it is a schematic diagram of the steps of the output method of multimedia data in Embodiment 1 of the present invention, and the method includes:

步骤101:机顶盒接收第一显示设备发送的多媒体数据。Step 101: The STB receives multimedia data sent by the first display device.

若第一显示设备通过无线方式与机顶盒连接,则本步骤101中,第一显示设备可通过无线多媒体协议消息(如UDP消息)将多媒体数据发送给机顶盒。若第一显示设备通过HDMI方式与机顶盒连接,则第一显示设备可直接通过HDMI接口将多媒体数据发送给机顶盒If the first display device is connected to the set-top box in a wireless manner, then in step 101, the first display device may send multimedia data to the set-top box through a wireless multimedia protocol message (such as a UDP message). If the first display device is connected to the set-top box through HDMI, the first display device can directly send multimedia data to the set-top box through the HDMI interface

所述多媒体数据可以是视频数据,也可以是其他类型的多媒体数据。The multimedia data may be video data, or other types of multimedia data.

步骤102:机顶盒根据待接收多媒体数据的第二显示设备的显示能力信息,将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据,并存储。Step 102: According to the display capability information of the second display device to receive the multimedia data, the set-top box adjusts the multimedia data sent by the first display device to multimedia data whose display state is adapted to the display capability information of the second display device, and storage.

在本实施例的方案中,显示设备与机顶盒连接时,显示设备将向机顶盒上报自身的设备描述符,在所述设备描述符中包含显示设备的显示能力信息,如:显示设备的分辨率、显示设备的比特率、显示设备的每个像素点的参数和显示设备的其他特征参数,所述显示设备的每个像素点的参数包括但不限于像素点的偏移量等。In the solution of this embodiment, when the display device is connected to the set-top box, the display device will report its own device descriptor to the set-top box, and the device descriptor includes the display capability information of the display device, such as: the resolution of the display device, The bit rate of the display device, the parameters of each pixel of the display device and other characteristic parameters of the display device, the parameters of each pixel of the display device include but not limited to the offset of the pixel and the like.

本步骤102中所涉及的显示状态是用于反映多媒体数据的参数,如视频数据的分辨率等。The display state involved in this step 102 is used to reflect parameters of multimedia data, such as resolution of video data and the like.

本步骤102的一种优选实现方式为:机顶盒通过帧缓冲(Framebuffer)的方式,将接收到的多媒体数据存储为不同显示状态的多媒体数据,如:将高分辨率的视频数据存储为低分辨率的视频数据。A preferred implementation of this step 102 is: the set-top box stores the received multimedia data as multimedia data in different display states through frame buffer (Framebuffer), such as: storing high-resolution video data as low-resolution video data.

所述帧缓冲的原理是将实际用于存储多媒体数据的缓冲区进行抽象,屏蔽了机顶盒的底层硬件能力,允许上层应用程序在图形模式下直接对缓冲区进行读写操作,具体做法为:The principle of the frame buffer is to abstract the buffer actually used for storing multimedia data, shield the underlying hardware capability of the set-top box, and allow the upper layer application to directly read and write the buffer in the graphics mode. The specific method is as follows:

首先,机顶盒根据第二显示设备的显示能力信息,确定第一显示设备发送的多媒体数据的显示状态调整后所需的缓冲区大小。First, the set-top box determines the buffer size required after the display state adjustment of the multimedia data sent by the first display device according to the display capability information of the second display device.

例如:机顶盒可以读取第二显示设备的设备描述符,并从中获知第二显示设备当前的显示能力信息,如:第二显示设备的分辨率、像素点的参数等,机顶盒可根据第二显示设备的显示能力信息以及接收到的来自第一显示设备的多媒体数据大小,确定出与第二显示设备适配的多媒体数据所需的缓冲区大小。For example: the set-top box can read the device descriptor of the second display device, and obtain the current display capability information of the second display device, such as: the resolution of the second display device, the pixel parameters, etc. The display capability information of the device and the size of the multimedia data received from the first display device determine the buffer size required by the multimedia data adapted to the second display device.

然后,机顶盒将显示状态与所述第二显示设备的显示能力信息适配的多媒体数据存储到所述缓冲区中,并将所述缓冲区在内存空间的起始地址与所述第二显示设备建立映射关系。Then, the set-top box stores the multimedia data whose display state is adapted to the display capability information of the second display device into the buffer, and matches the start address of the buffer in the memory space with the second display device Create a mapping relationship.

机顶盒内部可通过系统调用,将缓冲区映射与第二显示设备建立映射关系,如果调用成功,调用返回值就是磁盘文件中与第二显示设备建立了映射关系的缓冲区在内存空间的起始地址。The set-top box can establish a mapping relationship between the buffer mapping and the second display device through a system call. If the call is successful, the return value of the call is the starting address of the buffer in the disk file that has established a mapping relationship with the second display device in the memory space. .

最后,机顶盒可对缓冲区中的多媒体数据进行读/写操作,在将多媒体数据传输给第二显示设备后,可通过系统调用释放映射关系以及缓冲区的空间。Finally, the set-top box can perform read/write operations on the multimedia data in the buffer, and after transmitting the multimedia data to the second display device, the mapping relationship and the space of the buffer can be released through a system call.

以上是机顶盒根据一个第二显示设备的显示能力信息,生成与第二显示设备的显示能力信息适配的多媒体数据的方式,若第一显示设备向机顶盒上报的多媒体数据需要在其他多个显示设备上输出(即有多个第二显示设备),则机顶盒可分别为每个第二显示设备执行本步骤102的方案,具体地,机顶盒可以并行为这多个第二显示设备存储各自适配的多媒体数据,也可以每次为一个第二显示设备生成适配的多媒体数据并传输给该第二显示设备后,释放相应的映射关系以及缓冲区的空间后,再为其他的第二显示设备生成视频的多媒体数据。The above is how the set-top box generates multimedia data adapted to the display capability information of the second display device according to the display capability information of a second display device. If the multimedia data reported by the first display device to the set-top box needs to be displayed on other multiple display devices output (that is, there are multiple second display devices), the set-top box can execute the solution of step 102 for each second display device, specifically, the set-top box can store the respectively adapted Multimedia data can also generate adapted multimedia data for a second display device each time and transmit it to the second display device, release the corresponding mapping relationship and buffer space, and then generate for other second display devices Multimedia data for video.

步骤103:机顶盒将存储的多媒体数据发送给所述第二显示设备。Step 103: the STB sends the stored multimedia data to the second display device.

在本步骤103中,第二显示设备接收到的多媒体数据的显示状态与自身显示能力信息适配,因此,可以正确显示接收到的多媒体数据,真正实现多屏业务。In this step 103, the display state of the multimedia data received by the second display device is adapted to its own display capability information, therefore, the received multimedia data can be displayed correctly, and multi-screen services can be truly realized.

实施例二:Embodiment two:

本发明实施例二通过一个具体的实例对本发明实施例一的方案进行详细说明。Embodiment 2 of the present invention describes the scheme of Embodiment 1 of the present invention in detail through a specific example.

假设:一个智能手机和一台平板电脑分别与机顶盒相连,平板电脑向机顶盒发送的视频数据希望在智能手机上显示,如图3所示,多媒体数据的输出方法主要包括以下三个过程:Assumption: a smart phone and a tablet computer are respectively connected to the set-top box, and the video data sent by the tablet computer to the set-top box is expected to be displayed on the smart phone, as shown in Figure 3, the output method of multimedia data mainly includes the following three processes:

第一过程:智能手机和平板电脑分别与机顶盒建立无线连接的过程,下面以智能手机与机顶盒建立无线连接为例进行说明,平板电脑与机顶盒的连接建立过程相同,将不再赘述。The first process: the process of establishing a wireless connection between a smartphone and a tablet computer and a set-top box. The following takes the establishment of a wireless connection between a smartphone and a set-top box as an example. The process of establishing a connection between a tablet computer and a set-top box is the same and will not be repeated.

步骤201:智能手机广播发现请求(discovery_Request)消息。Step 201: The smartphone broadcasts a discovery request (discovery_Request) message.

步骤202:机顶盒接收到所述discovery_Request消息后,返回发现响应(discovery_Response)消息,并在其中携带机顶盒的IP地址。Step 202: After receiving the discovery_Request message, the set-top box returns a discovery response (discovery_Response) message, which carries the IP address of the set-top box.

步骤203:机顶盒广播discovery_Request消息。Step 203: The STB broadcasts a discovery_Request message.

步骤204:智能手机接收到机顶盒广播的discovery_Request消息后,向机顶盒发送discovery_Response消息,此时,平板电脑也可与智能手机执行相同的过程。Step 204: After receiving the discovery_Request message broadcast by the set-top box, the smartphone sends a discovery_Response message to the set-top box. At this time, the tablet computer can also perform the same process as the smartphone.

步骤205:机顶盒根据接收到的discovery_Response消息,确定有一个智能手机和一台平板电脑这两个显示设备要求进行无线连接,假设机顶盒同意与智能手机建立无线连接,向所述智能手机发送设备连接请求(Device_Connecting_Request)消息。Step 205: According to the received discovery_Response message, the set-top box determines that there are two display devices, a smart phone and a tablet computer, that require a wireless connection, assuming that the set-top box agrees to establish a wireless connection with the smart phone, and sends a device connection request to the smart phone (Device_Connecting_Request) message.

步骤206:智能手机向机顶盒发送连接响应(Device_Connecting_Response)消息。Step 206: the smartphone sends a connection response (Device_Connecting_Response) message to the STB.

步骤207:机顶盒向智能手机发送能力查询(Capability_Request)消息,请求获得智能手机的显示能力信息。Step 207: The set-top box sends a capability query (Capability_Request) message to the smart phone, requesting to obtain display capability information of the smart phone.

步骤208:智能手机向机顶盒返回能力响应(Capability_Response)消息,并在其中携带设备描述符。Step 208: the smartphone returns a Capability Response (Capability_Response) message to the STB, and carries the device descriptor therein.

所述设备描述符可以携带在多媒体消息中,由智能手机发送给机顶盒,如图4所示,为多媒体协议消息的消息格式,其中:The device descriptor can be carried in the multimedia message, and sent to the set-top box by the smart phone, as shown in Figure 4, which is the message format of the multimedia protocol message, wherein:

目标地址(Destination Addresss)为6字节,用于指示接收方的MAC地址。The destination address (Destination Addresss) is 6 bytes, which is used to indicate the MAC address of the receiver.

源地址(Source Address)为6字节,用于指示发送方的MAC地址。The source address (Source Address) is 6 bytes, which is used to indicate the MAC address of the sender.

以太网类型(Ether Type)为2字节,为标准IP(0x0800)。The Ethernet type (Ether Type) is 2 bytes, which is the standard IP (0x0800).

UDP目标端口为2字节,UDP目标端口设为48689。The UDP destination port is 2 bytes, and the UDP destination port is set to 48689.

多媒体消息(MultimediaMessage)的具体格式如图5所示,本发明实施例在常规的多媒体消息基础上增加了用于表示设备描述符的字段(Device Info),例如,设备描述符的内容为分辨率和比特率时,可以在常规的多媒体消息基础上增加2字节,用于表示智能手机的分辨率的代码(DPI Code)和比特率的代码(Bit Rate Code)。The specific format of the multimedia message (MultimediaMessage) is shown in Figure 5. The embodiment of the present invention adds a field (Device Info) for representing the device descriptor on the basis of the conventional multimedia message. For example, the content of the device descriptor is resolution and bit rate, you can add 2 bytes on the basis of the regular multimedia message, which is used to represent the resolution code (DPI Code) and bit rate code (Bit Rate Code) of the smartphone.

步骤209:机顶盒向智能手机发送连接请求(Session_Connecting_Request)消息,并在其中携带机顶盒的TCP和UDP端口号。Step 209: the set-top box sends a connection request (Session_Connecting_Request) message to the smart phone, and carries the TCP and UDP port numbers of the set-top box in it.

步骤210:智能手机向机顶盒返回连接响应(Session_Connecting_Response)消息。Step 210: the smartphone returns a connection response (Session_Connecting_Response) message to the STB.

通过以上步骤201至步骤210,智能手机与机顶盒建立了无线连接,且机顶盒获知了智能手机的设备描述符。平板电脑与机顶盒间采用相同的方式建立连接。以上步骤201至步骤210只是智能手机与机顶盒之间实现无线连接的一种可行的方案,目前,现有技术中的所有无线连接方式都可适用在本发明实施例的方案。Through the above steps 201 to 210, the smart phone establishes a wireless connection with the set-top box, and the set-top box learns the device descriptor of the smart phone. The connection between the tablet and the set-top box is established in the same way. The above steps 201 to 210 are only a feasible solution for wireless connection between the smart phone and the set-top box. At present, all wireless connection methods in the prior art are applicable to the solution of the embodiment of the present invention.

第二过程:平板电脑向机顶盒发送视频数据。The second process: the tablet computer sends video data to the set-top box.

步骤211:平板电脑可从本地选择一段视频数据,并将该视频数据通过机顶盒的UDP端口发送给机顶盒。Step 211: The tablet computer can select a piece of video data locally, and send the video data to the set-top box through the UDP port of the set-top box.

步骤212:机顶盒将接收到的视频数据存储在本地,确定该视频数据将要传输给的显示设备是连接的智能手机。Step 212: The set-top box stores the received video data locally, and determines that the display device to which the video data is to be transmitted is the connected smart phone.

步骤213:机顶盒确定智能手机的分辨率,并判断当前接收到的视频数据的分辨率是否与智能手机的分辨率适配;若是,则直接将平板电脑发送的视频数据传输给智能手机;否则,调整平板电脑发送的视频数据的分辨率,使得调整后的视频数据的分辨率与智能手机的分辨率适配,并将分辨率调整后的视频数据存储在缓冲区中,如果本步骤213采用帧缓冲的方式,则机顶盒内部通过系统调用,调用返回值就是磁盘文件中与智能手机建立了映射关系的缓冲区在内存空间的起始地址。Step 213: The set-top box determines the resolution of the smart phone, and judges whether the resolution of the currently received video data matches the resolution of the smart phone; if so, directly transmits the video data sent by the tablet computer to the smart phone; otherwise, Adjust the resolution of the video data sent by the tablet computer so that the resolution of the adjusted video data is adapted to the resolution of the smart phone, and store the video data after the resolution adjustment in the buffer, if this step 213 adopts frame In the way of buffering, the set-top box uses a system call, and the return value of the call is the starting address of the buffer in the memory space that has established a mapping relationship with the smart phone in the disk file.

假设,平板电脑发送给机顶盒的视频数据的分辨率是1024×768,而智能手机的支持的分辨率为800×480,则机顶盒可对平板电脑发送的视频数据进行插值、采样等操作后,得到分辨率为800×480的视频数据(也可以为分辨率低于800×480的视频数据),并存储。本发明实施例所涉及的对视频数据的显示状态的调整过程可视为对视频数据的编解码过程,本发明实施例并不对具体的调整方式做限定,可沿用现有的任何能够达到调整显示状态的目的的方式。Assuming that the resolution of the video data sent by the tablet to the set-top box is 1024×768, while the resolution supported by the smartphone is 800×480, the set-top box can interpolate and sample the video data sent by the tablet to obtain Video data with a resolution of 800×480 (or video data with a resolution lower than 800×480) and stored. The adjustment process of the display state of the video data involved in the embodiment of the present invention can be regarded as the encoding and decoding process of the video data. The way of the purpose of the state.

本步骤213是以分辨率为例来进行说明的,对于其他的显示能力信息也适用。This step 213 is described by taking the resolution as an example, and it is also applicable to other display capability information.

第三过程:机顶盒将分辨率调整后的视频数据发送给智能手机。The third process: the set-top box sends the video data after resolution adjustment to the smart phone.

步骤214:机顶盒通过TCP方式与智能手机交换控制面数据,以便于进行视频数据的传输。Step 214: The set-top box exchanges control plane data with the smart phone through TCP, so as to transmit video data.

步骤215:机顶盒将分辨率调整后的视频数据传输给智能手机。Step 215: The set-top box transmits the video data after resolution adjustment to the smart phone.

如果步骤213采用帧缓冲的方式,则机顶盒通过缓冲区在内存空间的起始地址读取为智能手机生成的分辨率适配的视频数据,并传输给智能手机。If frame buffering is used in step 213, the set-top box reads the resolution-adapted video data generated for the smart phone through the starting address of the buffer in the memory space, and transmits the video data to the smart phone.

实施例三:Embodiment three:

本发明实施例三描述了一种与实施例一属于同一构思下的多媒体数据的输出设备,如图6所示,所述设备包括数据接收模块11、处理模块12、存储模块13和数据发送模块14,其中:Embodiment 3 of the present invention describes a multimedia data output device under the same idea as Embodiment 1. As shown in FIG. 6, the device includes a data receiving module 11, a processing module 12, a storage module 13 and a data sending module 14, of which:

数据接收模块11用于接收第一显示设备发送的多媒体数据;The data receiving module 11 is used for receiving the multimedia data sent by the first display device;

处理模块12用于根据待接收多媒体数据的第二显示设备的显示能力信息,将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据;The processing module 12 is configured to adjust the multimedia data sent by the first display device to multimedia data whose display state is adapted to the display capability information of the second display device according to the display capability information of the second display device to receive the multimedia data;

存储模块13用于存储处理模块调整后的多媒体数据;The storage module 13 is used for storing the multimedia data adjusted by the processing module;

数据发送模块14用于将存储模块中存储的多媒体数据发送给第二显示设备。The data sending module 14 is used for sending the multimedia data stored in the storage module to the second display device.

所述数据接收模块11和数据发送模块14除了用于与显示设备之间进行多媒体数据的传输,还可用于在与显示设备之间建立连接时,用于收发相关的请求消息和响应消息。The data receiving module 11 and the data sending module 14 are not only used for transmitting multimedia data with the display device, but also used for sending and receiving related request messages and response messages when establishing a connection with the display device.

所述处理模块12除了具有优化多媒体数据的显示状态的功能外,还可用于在与显示设备连接时,从显示设备上报的设备描述符中确定第二显示设备的显示能力信息。In addition to the function of optimizing the display state of multimedia data, the processing module 12 can also be used to determine the display capability information of the second display device from the device descriptor reported by the display device when connected to the display device.

所述存储模块13可以创建并管理多个缓冲区,在采用帧缓冲的方式时,可将各缓冲区在内存空间的起始地址与不同显示能力的显示设备建立映射关系,以达到将不同显示状态的多媒体数据在不同显示能力的显示设备上显示的目的。The storage module 13 can create and manage a plurality of buffers. When using frame buffering, the initial address of each buffer in the memory space can be mapped to display devices with different display capabilities, so as to achieve different display The purpose of displaying state multimedia data on display devices with different display capabilities.

进一步地,所述处理模块12具体用于根据第二显示设备的显示能力信息,确定第一显示设备发送的多媒体数据的显示状态调整后所需的缓冲区大小,并根据所述第二显示设备的显示能力信息,对第一显示设备发送的多媒体数据的显示状态进行调整,使得调整后的多媒体数据的显示状态与第二显示设备的显示能力信息适配;Further, the processing module 12 is specifically configured to determine, according to the display capability information of the second display device, the buffer size required after the display state adjustment of the multimedia data sent by the first display device, and according to the display capability information of the second display device The display capability information of the first display device is used to adjust the display state of the multimedia data sent by the first display device, so that the adjusted display state of the multimedia data is adapted to the display capability information of the second display device;

所述存储模块13具体用于将所述处理模块调整后的多媒体数据存储到所述缓冲区中,并将所述缓冲区在内存空间的起始地址与所述第二显示设备建立映射关系;The storage module 13 is specifically configured to store the multimedia data adjusted by the processing module in the buffer, and establish a mapping relationship between the start address of the buffer in the memory space and the second display device;

所述数据发送模块14具体用于根据所述缓冲区在内存空间的起始地址,从缓冲区中读取多媒体数据后传输给所述第二显示设备。The data sending module 14 is specifically configured to read the multimedia data from the buffer and transmit it to the second display device according to the start address of the buffer in the memory space.

需要说明的是,所述多媒体数据的输出设备可以具有网络设备模块10,用于与数据接收模块11和数据发送模块14协同运行,与多个显示设备建立连接;所述多媒体数据的输出设备还可以具有多个缓冲区15,用于存储存储模块13指定的多媒体数据。It should be noted that the output device of the multimedia data can have a network device module 10 for cooperating with the data receiving module 11 and the data sending module 14 to establish a connection with a plurality of display devices; There may be multiple buffers 15 for storing the multimedia data specified by the storage module 13 .

本发明实施例三所涉及的多媒体数据的输出设备可以是集成在机顶盒中的功能部件。The multimedia data output device involved in Embodiment 3 of the present invention may be a functional component integrated in a set-top box.

通过本发明实施例一至实施例三的方案,多个显示设备同时连接至机顶盒时可实现多媒体数据的共享,即使显示设备的显示能力不同,通过机顶盒调整共享的多媒体数据的显示状态,使得调整后的多媒体数据的显示状态与各显示设备的显示能力适配,使显示效果更好;且本发明实施例的方案可应用在现有的安卓体系下,对机顶盒和显示设备的硬件改动较小,易于实现。Through the solutions of Embodiment 1 to Embodiment 3 of the present invention, when multiple display devices are connected to the set-top box at the same time, the sharing of multimedia data can be realized. Even if the display capabilities of the display devices are different, the display state of the shared multimedia data can be adjusted through the set-top box, so that The display status of the multimedia data is adapted to the display capability of each display device, so that the display effect is better; and the solution of the embodiment of the present invention can be applied to the existing Android system, and the hardware changes of the set-top box and the display device are relatively small. Easy to implement.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and combinations of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.

在一个典型的配置中,所述计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。In a typical configuration, the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces and memory. Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer readable media. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-persistent computer readable media (transitory media), such as modulated data signals and carrier waves.

尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While preferred embodiments of the present application have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the application.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (10)

1.一种多媒体数据的输出方法,其特征在于,所述方法包括:1. a kind of output method of multimedia data, it is characterized in that, described method comprises: 机顶盒接收第一显示设备发送的多媒体数据;The set-top box receives the multimedia data sent by the first display device; 机顶盒根据待接收多媒体数据的第二显示设备的显示能力信息,将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据,并存储;The set-top box adjusts the multimedia data sent by the first display device to multimedia data whose display state is adapted to the display capability information of the second display device according to the display capability information of the second display device to receive the multimedia data, and stores it; 机顶盒将存储的多媒体数据发送给所述第二显示设备。The set-top box sends the stored multimedia data to the second display device. 2.如权利要求1所述的方法,其特征在于,机顶盒通过以下方式将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据,并存储:2. The method according to claim 1, wherein the set-top box adjusts the multimedia data sent by the first display device into multimedia data whose display state is adapted to the display capability information of the second display device in the following manner, and storage: 机顶盒根据第二显示设备的显示能力信息,确定第一显示设备发送的多媒体数据的显示状态调整后所需的缓冲区大小;The set-top box determines the buffer size required after the adjustment of the display state of the multimedia data sent by the first display device according to the display capability information of the second display device; 机顶盒根据所述第二显示设备的显示能力信息,对第一显示设备发送的多媒体数据的显示状态进行调整,使得调整后的多媒体数据的显示状态与第二显示设备的显示能力信息适配;The set-top box adjusts the display state of the multimedia data sent by the first display device according to the display capability information of the second display device, so that the adjusted display state of the multimedia data is adapted to the display capability information of the second display device; 机顶盒将调整后的多媒体数据存储到所述缓冲区中,并将所述缓冲区在内存空间的起始地址与所述第二显示设备建立映射关系;The set-top box stores the adjusted multimedia data in the buffer, and establishes a mapping relationship between the start address of the buffer in the memory space and the second display device; 机顶盒将存储的多媒体数据发送给所述第二显示设备,具体包括:The set-top box sends the stored multimedia data to the second display device, specifically including: 机顶盒根据所述缓冲区在内存空间的起始地址,从缓冲区中读取多媒体数据后发送给所述第二显示设备。The set-top box reads the multimedia data from the buffer and sends it to the second display device according to the start address of the buffer in the memory space. 3.如权利要求1所述的方法,其特征在于,机顶盒通过以下方式确定第二显示设备的显示能力信息:3. The method according to claim 1, wherein the set-top box determines the display capability information of the second display device in the following manner: 机顶盒与所述第二显示设备连接时,从第二显示设备上报的设备描述符中确定第二显示设备的显示能力信息。When the set-top box is connected to the second display device, it determines the display capability information of the second display device from the device descriptor reported by the second display device. 4.如权利要求3所述的方法,其特征在于,所述设备描述符是携带在多媒体消息的扩展字段中。4. The method according to claim 3, wherein the device descriptor is carried in an extension field of the multimedia message. 5.如权利要求1~4任一所述的方法,其特征在于,所述显示能力信息包括以下至少一种信息:5. The method according to any one of claims 1-4, wherein the display capability information includes at least one of the following information: 显示设备的分辨率、显示设备的比特率和显示设备的每个像素点的参数。The resolution of the display device, the bit rate of the display device, and the parameters of each pixel of the display device. 6.一种多媒体数据的输出设备,其特征在于,所述设备包括:6. A kind of output equipment of multimedia data, it is characterized in that, described equipment comprises: 数据接收模块,用于接收第一显示设备发送的多媒体数据;A data receiving module, configured to receive multimedia data sent by the first display device; 处理模块,用于根据待接收多媒体数据的第二显示设备的显示能力信息,将第一显示设备发送的多媒体数据调整为显示状态与所述第二显示设备的显示能力信息适配的多媒体数据;A processing module, configured to adjust the multimedia data sent by the first display device to multimedia data whose display state is adapted to the display capability information of the second display device according to the display capability information of the second display device to receive the multimedia data; 存储模块,用于存储处理模块调整后的多媒体数据;The storage module is used for storing the multimedia data adjusted by the processing module; 数据发送模块,用于将存储模块中存储的多媒体数据发送给第二显示设备。The data sending module is used to send the multimedia data stored in the storage module to the second display device. 7.如权利要求6所述的设备,其特征在于,7. The apparatus of claim 6, wherein 所述处理模块,具体用于根据第二显示设备的显示能力信息,确定第一显示设备发送的多媒体数据的显示状态调整后所需的缓冲区大小,并根据所述第二显示设备的显示能力信息,对第一显示设备发送的多媒体数据的显示状态进行调整,使得调整后的多媒体数据的显示状态与第二显示设备的显示能力信息适配;The processing module is specifically configured to determine, according to the display capability information of the second display device, the buffer size required after the display state adjustment of the multimedia data sent by the first display device, and according to the display capability information of the second display device Information, adjusting the display state of the multimedia data sent by the first display device, so that the adjusted display state of the multimedia data is adapted to the display capability information of the second display device; 所述存储模块,具体用于将所述处理模块调整后的多媒体数据存储到所述缓冲区中,并将所述缓冲区在内存空间的起始地址与所述第二显示设备建立映射关系;The storage module is specifically configured to store the multimedia data adjusted by the processing module in the buffer, and establish a mapping relationship between the start address of the buffer in the memory space and the second display device; 所述数据发送模块,具体用于根据所述缓冲区在内存空间的起始地址,从缓冲区中读取多媒体数据后传输给所述第二显示设备。The data sending module is specifically configured to read the multimedia data from the buffer and transmit it to the second display device according to the start address of the buffer in the memory space. 8.如权利要求6所述的设备,其特征在于,8. The apparatus of claim 6, wherein 所述处理模块,还用于在与所述第二显示设备连接时,从第二显示设备上报的设备描述符中确定第二显示设备的显示能力信息。The processing module is further configured to determine display capability information of the second display device from a device descriptor reported by the second display device when connected to the second display device. 9.如权利要求8所述的设备,其特征在于,所述设备描述符是携带在多媒体消息的扩展字段中。9. The device according to claim 8, wherein the device descriptor is carried in an extension field of the multimedia message. 10.如权利要求6~9任一所述的设备,其特征在于,所述显示能力信息包括以下至少一种信息:10. The device according to any one of claims 6-9, wherein the display capability information includes at least one of the following information: 显示设备的分辨率、显示设备的比特率和显示设备的每个像素点的参数。The resolution of the display device, the bit rate of the display device, and the parameters of each pixel of the display device.
CN201310527023.3A 2013-10-30 2013-10-30 Multimedia data output method and equipment Pending CN104602118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310527023.3A CN104602118A (en) 2013-10-30 2013-10-30 Multimedia data output method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310527023.3A CN104602118A (en) 2013-10-30 2013-10-30 Multimedia data output method and equipment

Publications (1)

Publication Number Publication Date
CN104602118A true CN104602118A (en) 2015-05-06

Family

ID=53127553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310527023.3A Pending CN104602118A (en) 2013-10-30 2013-10-30 Multimedia data output method and equipment

Country Status (1)

Country Link
CN (1) CN104602118A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187867A (en) * 2015-07-22 2015-12-23 北京视信互动科技有限公司 Media stream control method and device thereof
CN105681704A (en) * 2016-01-19 2016-06-15 四川长虹电器股份有限公司 Multi-screen television
CN106155551A (en) * 2016-06-30 2016-11-23 努比亚技术有限公司 Information processing method and terminal
CN106375786A (en) * 2016-09-22 2017-02-01 深圳创维数字技术有限公司 A UDP media data communication method, device, set-top box and system
WO2017101860A1 (en) * 2015-12-18 2017-06-22 深圳市九洲电器有限公司 Multi-screen interaction and management method and system for set top box
CN107872721A (en) * 2017-11-23 2018-04-03 深圳市创维软件有限公司 A kind of multimedia data transmission method, terminal and computer-readable medium
CN108134957A (en) * 2017-12-29 2018-06-08 咪咕视讯科技有限公司 A kind of throwing screen method, terminal and computer storage media
CN109874055A (en) * 2019-03-12 2019-06-11 深圳市天威视讯股份有限公司 A kind of collecting method and system suitable for Intelligent set top box
CN110139055A (en) * 2019-04-25 2019-08-16 深圳市天威视讯股份有限公司 A kind of method and system of the adaptive output resolution ratio suitable for set-top box
CN110704340A (en) * 2019-09-26 2020-01-17 支付宝(杭州)信息技术有限公司 Data transmission device, system and method
CN112423118A (en) * 2020-10-26 2021-02-26 深圳Tcl新技术有限公司 Multimedia file decoding method and device, terminal equipment and storage medium
CN113949910A (en) * 2021-10-15 2022-01-18 深圳小湃科技有限公司 Set-top box resolution matching method, device, set-top box and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1717674A (en) * 2001-12-12 2006-01-04 索尼电子有限公司 Transform multimedia data for delivery to multiple heterogeneous devices
CN1949839A (en) * 2005-10-11 2007-04-18 美国博通公司 Video processing system, set-top box and method for treating audio/video information
CN101420604A (en) * 2008-11-20 2009-04-29 华为技术有限公司 Method and system for media providing, downloading
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
US20100131671A1 (en) * 2008-11-24 2010-05-27 Jaspal Kohli Adaptive network content delivery system
CN103188552A (en) * 2011-12-30 2013-07-03 旭智科技(深圳)有限公司 Method for video data acceptance and conversion between terminals and system for video data acceptance and conversion between terminals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1717674A (en) * 2001-12-12 2006-01-04 索尼电子有限公司 Transform multimedia data for delivery to multiple heterogeneous devices
CN1949839A (en) * 2005-10-11 2007-04-18 美国博通公司 Video processing system, set-top box and method for treating audio/video information
CN101420604A (en) * 2008-11-20 2009-04-29 华为技术有限公司 Method and system for media providing, downloading
US20100131671A1 (en) * 2008-11-24 2010-05-27 Jaspal Kohli Adaptive network content delivery system
CN101697549A (en) * 2009-10-23 2010-04-21 中兴通讯股份有限公司 Method and system for displaying stream media and stream media management server
CN103188552A (en) * 2011-12-30 2013-07-03 旭智科技(深圳)有限公司 Method for video data acceptance and conversion between terminals and system for video data acceptance and conversion between terminals

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187867A (en) * 2015-07-22 2015-12-23 北京视信互动科技有限公司 Media stream control method and device thereof
WO2017101860A1 (en) * 2015-12-18 2017-06-22 深圳市九洲电器有限公司 Multi-screen interaction and management method and system for set top box
CN105681704B (en) * 2016-01-19 2018-10-19 四川长虹电器股份有限公司 A kind of multi-screen TV
CN105681704A (en) * 2016-01-19 2016-06-15 四川长虹电器股份有限公司 Multi-screen television
CN106155551A (en) * 2016-06-30 2016-11-23 努比亚技术有限公司 Information processing method and terminal
CN106375786A (en) * 2016-09-22 2017-02-01 深圳创维数字技术有限公司 A UDP media data communication method, device, set-top box and system
CN106375786B (en) * 2016-09-22 2020-03-17 深圳创维数字技术有限公司 UDP media data communication method, device, set-top box and system
CN107872721B (en) * 2017-11-23 2020-12-11 深圳市创维软件有限公司 Multimedia data transmission method, terminal and computer readable medium
CN107872721A (en) * 2017-11-23 2018-04-03 深圳市创维软件有限公司 A kind of multimedia data transmission method, terminal and computer-readable medium
CN108134957A (en) * 2017-12-29 2018-06-08 咪咕视讯科技有限公司 A kind of throwing screen method, terminal and computer storage media
CN109874055A (en) * 2019-03-12 2019-06-11 深圳市天威视讯股份有限公司 A kind of collecting method and system suitable for Intelligent set top box
CN110139055A (en) * 2019-04-25 2019-08-16 深圳市天威视讯股份有限公司 A kind of method and system of the adaptive output resolution ratio suitable for set-top box
CN110139055B (en) * 2019-04-25 2021-04-13 深圳市天威视讯股份有限公司 Method and system for self-adaptive output resolution ratio suitable for set top box
CN110704340A (en) * 2019-09-26 2020-01-17 支付宝(杭州)信息技术有限公司 Data transmission device, system and method
CN112423118A (en) * 2020-10-26 2021-02-26 深圳Tcl新技术有限公司 Multimedia file decoding method and device, terminal equipment and storage medium
CN113949910A (en) * 2021-10-15 2022-01-18 深圳小湃科技有限公司 Set-top box resolution matching method, device, set-top box and storage medium

Similar Documents

Publication Publication Date Title
CN104602118A (en) Multimedia data output method and equipment
CN102595239B (en) Multi-screen interactive method, device and intelligent television for terminal system
US10284644B2 (en) Information processing and content transmission for multi-display
CN104581405B (en) A kind of display content processing method and equipment
JP5746379B2 (en) Data exchange between wireless source device and sink device for image display
CN112235626B (en) Video rendering method and device, electronic equipment and storage medium
CN103339590B (en) User input device for wireless return channel
WO2022111672A1 (en) Data processing method and apparatus, and electronic device
US20130050271A1 (en) Mobile terminal, image display device mounted on vehicle and data processing method using the same
US20150095510A1 (en) Protocol Switching over Multi-Network Interface
US11656831B2 (en) Implementing wireless displays that handle rotation and/or portrait-first sinks
US20150350288A1 (en) Media agnostic display for wi-fi display
CN107592551B (en) Method and device for cloud streaming service
CN105718227A (en) Screen transmission method and related device
WO2015176648A1 (en) Method and device for transmitting data in intelligent terminal to television terminal
CN104394127A (en) A multimedia sharing method, device and system
CN106209523B (en) A method, device and media terminal for realizing screen sharing
CN104010204B (en) Image information processing method and device
WO2015085873A1 (en) Video code stream obtaining method and apparatus
WO2025108149A1 (en) Cross-device playback method and electronic device
US11405443B2 (en) Technologies for streaming device role reversal
CN104580289A (en) Method, device and system for controlling user equipment
WO2022206772A1 (en) Connection establishment method, storage meduim and related device
CN115145508B (en) Screen transmission processing method, storage medium and related equipment
CN117499688A (en) Method, equipment and storage medium for processing audio and video confluence in live broadcast continuous wheat

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150506