CN106155606A - A kind of multi-screen interaction method and device - Google Patents

A kind of multi-screen interaction method and device Download PDF

Info

Publication number
CN106155606A
CN106155606A CN201510162001.0A CN201510162001A CN106155606A CN 106155606 A CN106155606 A CN 106155606A CN 201510162001 A CN201510162001 A CN 201510162001A CN 106155606 A CN106155606 A CN 106155606A
Authority
CN
China
Prior art keywords
receiving terminal
supported
parameter information
transmitting terminal
inquiry
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
CN201510162001.0A
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 CN201510162001.0A priority Critical patent/CN106155606A/en
Publication of CN106155606A publication Critical patent/CN106155606A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种多屏互动方法及装置,应用于发送端的多屏互动方法包括:利用第一传输参数向接收端传输同屏数据;传输同屏数据的过程中,实时检测参数调整的触发信息;当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,得到第二传输参数,并利用所述第二传输参数传输后续的同屏数据。本发明实施例在同屏数据的传输过程中,实时的检测传输参数调整的触发信息,当触发信息满足触发条件时,发送端和接收端实时协商并调整第一传输参数,进而得到适合当前同屏传输的第二传输参数,再利用第二传输参数传输后续的同屏数据;该多屏互动方法实现了动态协商发送端能力和接收端能力,能够及时调整传输参数,提高同屏传输的效率和效果。

The present invention provides a multi-screen interaction method and device. The multi-screen interaction method applied to the sending end includes: using the first transmission parameter to transmit the same-screen data to the receiving end; during the process of transmitting the same-screen data, real-time detection of trigger information for parameter adjustment ; When the detected trigger information satisfies the preset trigger condition, adjust the first transmission parameter to obtain a second transmission parameter, and use the second transmission parameter to transmit subsequent same-screen data. In the embodiment of the present invention, during the transmission of data on the same screen, the trigger information for adjusting the transmission parameters is detected in real time. The second transmission parameter of the screen transmission, and then use the second transmission parameter to transmit the subsequent same-screen data; this multi-screen interaction method realizes the dynamic negotiation of the sending end capability and the receiving end capability, and can adjust the transmission parameters in time to improve the efficiency of the same screen transmission and effects.

Description

一种多屏互动方法及装置A method and device for multi-screen interaction

技术领域technical field

本发明涉及通信技术领域,特别涉及一种多屏互动方法及装置。The invention relates to the field of communication technologies, in particular to a multi-screen interaction method and device.

背景技术Background technique

现有技术中的多屏互动技术主要包括强制转屏和分辨率协商转屏(在转屏之前提供了分辨率协商机制),但是现有技术的多屏互动技术主要解决如何预协商的问题,对于使用过程中的改变无法解决。The multi-screen interactive technology in the prior art mainly includes forced screen switching and resolution negotiation screen switching (a resolution negotiation mechanism is provided before screen switching), but the multi-screen interactive technology in the prior art mainly solves the problem of how to pre-negotiate, Changes in the use process cannot be resolved.

多屏互动方案包括屏幕分享和内容分享,其中屏幕分享在发送端包括抓屏、编码、打包、发送等流程,在接收端包括接收、解包、解码、播放的流程。同屏的方案存在一个问题,就是所有的显示都是屏幕拷贝,如果接收端和发送端面临的场景或者现实方式不同,可能因为发送端和接收端的情况差异,导致效率低或者显示的方式不符合要求。例如当一个分辨率很高的设备向低分辨率的设备进行传输的时候,如发送端可以抓屏到1280*1080的分辨率,但是接收端只能显示到1280*720,甚至更低的分辨率,这样对发送端来说,消耗的资源比较多,但是并没有更好的效果;再例如发送端是横屏而接收端是竖屏,这样显示的体验会比较差,遇到这样的情况需要单独设计方案来实现强制横屏或竖屏,但是应用场景会非常受限。The multi-screen interactive solution includes screen sharing and content sharing. Screen sharing includes processes such as screen capture, encoding, packaging, and sending at the sending end, and receiving, unpacking, decoding, and playing at the receiving end. There is a problem with the same-screen solution, that is, all displays are screen copies. If the scene or reality faced by the receiving end and the sending end are different, it may be due to the difference in the situation of the sending end and the receiving end, resulting in low efficiency or inconsistent display methods. Require. For example, when a device with a high resolution transmits to a device with a low resolution, the sender can capture a screen with a resolution of 1280*1080, but the receiver can only display a screen with a resolution of 1280*720 or even lower rate, so for the sending end, it consumes more resources, but it does not have a better effect; another example is that the sending end is a horizontal screen and the receiving end is a vertical screen, so the display experience will be relatively poor. In such a situation A separate design solution is required to implement forced horizontal or vertical screens, but the application scenarios will be very limited.

发明内容Contents of the invention

本发明的目的在于提供一种多屏互动方法及装置,解决了多屏互动过程中因为发送端和接收端的情况差异导致效率低下或显示方式不符合要求的问题,动态协商发送端和接收端的能力,提升多屏互动的效率和效果。The purpose of the present invention is to provide a multi-screen interaction method and device, which solves the problem of inefficiency or non-conformity of display mode caused by the difference between the sending end and the receiving end during the multi-screen interaction process, and dynamically negotiates the capabilities of the sending end and the receiving end , to improve the efficiency and effect of multi-screen interaction.

为了达到上述目的,本发明实施例提供一种多屏互动方法,应用于发送端,包括:In order to achieve the above purpose, the embodiment of the present invention provides a multi-screen interaction method applied to the sending end, including:

利用第一传输参数向接收端传输同屏数据;Using the first transmission parameter to transmit the same-screen data to the receiving end;

传输同屏数据的过程中,实时检测参数调整的触发信息;In the process of transmitting data on the same screen, real-time detection of trigger information for parameter adjustment;

当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,得到第二传输参数,并利用所述第二传输参数传输后续的同屏数据。When the detected trigger information satisfies the preset trigger condition, adjust the first transmission parameter to obtain a second transmission parameter, and use the second transmission parameter to transmit subsequent same-screen data.

其中,所述实时检测参数调整的触发信息,具体包括:Wherein, the trigger information of the real-time detection parameter adjustment specifically includes:

实时检测发送端当前的资源占用情况。Real-time detection of the current resource occupancy of the sender.

其中,所述当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,具体包括:Wherein, when the detected trigger information satisfies a preset trigger condition, adjusting the first transmission parameter specifically includes:

当检测到的发送端当前的资源占用情况超出第一预设情况或者低于第二预设情况,则调整所述第一传输参数;其中,所述第二预设情况低于所述第一预设情况。When the detected current resource occupancy of the sending end exceeds the first preset condition or is lower than the second preset condition, adjust the first transmission parameter; wherein the second preset condition is lower than the first preset condition Default situation.

其中,所述调整所述第一传输参数,具体包括:Wherein, the adjusting the first transmission parameter specifically includes:

若所述资源占用情况信息显示所述资源占用情况超过第一预设情况,则所述发送端主动降低所述第一传输参数;If the resource occupancy information shows that the resource occupancy exceeds a first preset situation, the sending end actively reduces the first transmission parameter;

若所述资源占用情况信息显示所述资源占用情况低于第二预设情况,则获取所述接收端当前支持的能力参数信息,并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。If the resource occupancy status information shows that the resource occupancy status is lower than a second preset status, acquiring capability parameter information currently supported by the receiving end, and adjusting the first capability parameter information based on the capability parameter information currently supported by the receiving end. - Transfer parameters.

其中,所述实时检测参数调整的触发信息,具体包括:Wherein, the trigger information of the real-time detection parameter adjustment specifically includes:

向接收端发送询问当前网络状况信息的第一询问消息;Sending a first inquiry message to the receiving end to inquire about the current network status information;

接收所述接收端返回的携带当前网络状况信息的第一询问响应消息;receiving a first query response message carrying current network status information returned by the receiving end;

实时检测所述第一询问响应消息,获得当前网络状况信息。Detecting the first query response message in real time to obtain current network status information.

其中,当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,具体包括:Wherein, when the detected trigger information satisfies the preset trigger condition, adjusting the first transmission parameter specifically includes:

当检测到当前网络状况低于预设网络状况时,调整所述第一传输参数。When it is detected that the current network condition is lower than the preset network condition, the first transmission parameter is adjusted.

其中,所述实时检测参数调整的触发信息,具体包括:Wherein, the trigger information of the real-time detection parameter adjustment specifically includes:

接收所述接收端发送的标识接收端能力参数变化的变化消息。receiving a change message sent by the receiving end that identifies a change in the capability parameter of the receiving end.

其中,当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,具体包括:Wherein, when the detected trigger information satisfies the preset trigger condition, adjusting the first transmission parameter specifically includes:

当检测到所述变化消息时,向接收端发送询问所述接收端支持的能力参数信息的第二询问消息;When the change message is detected, send a second inquiry message to the receiving end to inquire about the capability parameter information supported by the receiving end;

接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第二询问响应消息,从中获取所述接收端支持的能力参数信息;receiving and parsing the second inquiry response message carrying the capability parameter information supported by the receiving terminal returned by the receiving terminal, and obtaining the capability parameter information supported by the receiving terminal;

根据所述接收端支持的能力参数信息调整所述第一传输参数。Adjusting the first transmission parameter according to the capability parameter information supported by the receiving end.

其中,所述利用第一传输参数向接收端传输同屏数据之前还包括:Wherein, before using the first transmission parameter to transmit the same-screen data to the receiving end, it also includes:

与接收端协商确定发送端和接收端共同支持的能力参数信息,并根据所述共同支持的能力参数信息确定第一传输参数。Negotiating with the receiving end to determine the capability parameter information jointly supported by the transmitting end and the receiving end, and determining the first transmission parameter according to the commonly supported capability parameter information.

其中,所述与接收端协商确定发送端和接收端共同支持的能力参数信息,具体包括:Wherein, the negotiation with the receiving end to determine the capability parameter information jointly supported by the sending end and the receiving end includes:

向接收端发送询问所述接收端支持的第一能力参数信息的第三询问消息;sending a third inquiry message to the receiving end to inquire about the first capability parameter information supported by the receiving end;

接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第三询问响应消息,从中获取所述接收端支持的第一能力参数信息;receiving and parsing the third inquiry response message carrying the capability parameter information supported by the receiving terminal returned by the receiving terminal, and acquiring the first capability parameter information supported by the receiving terminal;

根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。According to the first capability parameter information supported by the receiving end and the second capability parameter information supported by the sending end itself, determine the capability parameter information supported by both the sending end and the receiving end.

其中,所述与接收端协商确定发送端和接收端共同支持的能力参数信息,具体包括:Wherein, the negotiation with the receiving end to determine the capability parameter information jointly supported by the sending end and the receiving end includes:

接收所述接收端发送的询问发送端支持的第二能力参数信息的第四询问消息;receiving a fourth inquiry message sent by the receiving end to inquire about the second capability parameter information supported by the sending end;

向接收端发送携带所述发送端支持的第二能力参数信息的第四询问响应消息,使得所述接收端能够根据自身支持的第一能力参数信息和所述发送端支持的第二能力参数信息确定所述发送端和所述接收端共同支持的能力参数信息;sending to the receiving end a fourth query response message carrying the second capability parameter information supported by the sending end, so that the receiving end can determining capability parameter information jointly supported by the sending end and the receiving end;

接收所述接收端发送的所述发送端和所述接收端共同支持的能力参数信息。receiving capability parameter information jointly supported by the sending end and the receiving end sent by the receiving end.

本发明实施例还提供一种多屏互动方法,应用于接收端,包括:The embodiment of the present invention also provides a multi-screen interaction method applied to the receiving end, including:

接收发送端利用第一传输参数传输的同屏数据;receiving the same-screen data transmitted by the sending end using the first transmission parameter;

传输同屏数据的过程中,当发送端检测到触发信息满足预设触发条件时,接收所述发送端利用调整后的第二传输参数传输的同屏数据。During the process of transmitting the same-screen data, when the sending end detects that the trigger information satisfies the preset trigger condition, the same-screen data transmitted by the sending end using the adjusted second transmission parameters is received.

其中,当触发信息为发送端当前的资源占用情况,且所述发送端当前的资源占用情况低于第二预设情况时,所述多屏互动方法还包括:Wherein, when the trigger information is the current resource occupancy situation of the sending end, and the current resource occupancy situation of the sending end is lower than the second preset situation, the multi-screen interaction method further includes:

接收所述发送端发送的询问所述接收端当前支持的能力参数信息的第五询问消息;receiving a fifth inquiry message sent by the sending end to inquire about the capability parameter information currently supported by the receiving end;

向所述发送端返回携带所述接收端当前支持的能力参数信息的第五询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。Returning to the sending end a fifth query response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end and based on the information currently supported by the receiving end The capability parameter information adjusts the first transmission parameter.

其中,当所述触发信息为当前网络状况信息时,所述多屏互动方法还包括:Wherein, when the trigger information is current network status information, the multi-screen interaction method further includes:

接收所述发送端发送的询问当前网络状况信息的第一询问消息;receiving a first inquiry message sent by the sending end to inquire about current network status information;

向所述发送端返回携带当前网络状况信息的第一询问响应消息,使得所述发送端能够从中获取当前网络状况信息。Returning the first inquiry response message carrying the current network status information to the sending end, so that the sending end can obtain the current network status information therefrom.

其中,当接收端能力参数变化时,所述多屏互动方法还包括:Wherein, when the capability parameter of the receiving end changes, the multi-screen interaction method further includes:

向所述发送端发送标识接收端能力参数变化的变化消息;Sending a change message identifying a change in the capability parameter of the receiving end to the sending end;

接收所述发送端检测到所述变化消息后发送的询问所述接收端当前支持的能力参数信息的第二询问消息;receiving a second inquiry message sent by the sending end after detecting the change message, inquiring about the capability parameter information currently supported by the receiving end;

向所述发送端返回携带所述接收端当前支持的能力参数信息的第二询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并根据所述接收端当前支持的能力参数信息调整所述第一传输参数。Returning to the sending end a second query response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end The capability parameter information adjusts the first transmission parameter.

其中,所述接收发送端利用第一传输参数传输的同屏数据之前还包括:Wherein, before the same-screen data transmitted by the sending and receiving end using the first transmission parameter, it also includes:

与发送端协商确定发送端和接收端共同支持的能力参数信息,使得发送端能够根据所述共同支持的能力参数信息确定第一传输参数。Negotiating with the sending end to determine the capability parameter information supported by the sending end and the receiving end, so that the sending end can determine the first transmission parameter according to the commonly supported capability parameter information.

其中,所述与发送端协商确定发送端和接收端共同支持的能力参数信息,具体包括:Wherein, the negotiation with the sending end to determine the capability parameter information jointly supported by the sending end and the receiving end includes:

接收所述发送端发送的询问所述接收端支持的第一能力参数信息的第三询问消息;receiving a third inquiry message sent by the sending end to inquire about the first capability parameter information supported by the receiving end;

向所述发送端返回携带所述接收端支持的第一能力参数信息的第三询问响应消息,使得发送端能够根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。return to the sending end a third inquiry response message carrying the first capability parameter information supported by the receiving end, so that the sending end can 2. Capability parameter information, which determines the capability parameter information jointly supported by the sending end and the receiving end.

其中,与发送端协商确定发送端和接收端共同支持的能力参数信息,具体包括:Among them, negotiate with the sender to determine the capability parameter information jointly supported by the sender and the receiver, including:

向发送端发送询问所述发送端支持的第二能力参数信息的第四询问消息;Sending a fourth inquiry message to the sending end to inquire about the second capability parameter information supported by the sending end;

接收并解析所述发送端返回的携带所述发送端支持的第二能力参数信息的第四询问响应消息,从中获取所述发送端支持的第二能力参数信息;receiving and parsing the fourth inquiry response message carrying the second capability parameter information supported by the sender returned by the sender, and obtaining the second capability parameter information supported by the sender;

根据所述发送端支持的第二能力参数信息和所述接收端自身支持的第一能力参数信息,确定所述发送端和所述接收端共同支持的能力参数信息并将所述共同支持的能力参数信息发送给所述发送端。According to the second capability parameter information supported by the sending end and the first capability parameter information supported by the receiving end itself, determine the capability parameter information jointly supported by the sending end and the receiving end and set the jointly supported capabilities The parameter information is sent to the sending end.

本发明实施例还提供一种多屏互动装置,应用于发送端,包括:The embodiment of the present invention also provides a multi-screen interactive device, which is applied to the sending end, including:

传输模块,用于利用第一传输参数向接收端传输同屏数据;A transmission module, configured to transmit data on the same screen to the receiving end using the first transmission parameter;

检测模块,用于在传输同屏数据的过程中,实时检测参数调整的触发信息;The detection module is used to detect the trigger information of parameter adjustment in real time during the process of transmitting the data on the same screen;

调整模块,用于当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,得到第二传输参数,并利用所述第二传输参数传输后续的同屏数据。An adjustment module, configured to adjust the first transmission parameter to obtain a second transmission parameter when the detected trigger information satisfies a preset trigger condition, and use the second transmission parameter to transmit subsequent same-screen data.

其中,所述检测模块包括:Wherein, the detection module includes:

资源占用检测模块,用于实时检测发送端当前的资源占用情况。The resource occupation detection module is used to detect the current resource occupation of the sending end in real time.

其中,所述调整模块包括:Wherein, the adjustment module includes:

资源占用调整模块,用于当检测到的发送端当前的资源占用情况超出第一预设情况或者低于第二预设情况,则调整所述第一传输参数;其中,所述第二预设情况低于所述第一预设情况。A resource occupancy adjustment module, configured to adjust the first transmission parameter when the detected current resource occupancy of the sending end exceeds a first preset situation or is lower than a second preset situation; wherein, the second preset The condition is lower than the first predetermined condition.

其中,所述资源占用调整模块包括:Wherein, the resource occupation adjustment module includes:

第一调整子模块,用于若所述资源占用情况信息显示所述资源占用情况超过第一预设情况,则所述发送端主动降低所述第一传输参数;The first adjustment submodule is configured to, if the resource occupancy information shows that the resource occupancy exceeds a first preset situation, the sending end actively reduces the first transmission parameter;

第二调整子模块,用于若所述资源占用情况信息显示所述资源占用情况低于第二预设情况,则获取所述接收端当前支持的能力参数信息,并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。The second adjustment submodule is configured to obtain the capability parameter information currently supported by the receiving end if the resource occupation information shows that the resource occupation is lower than the second preset condition, and based on the information currently supported by the receiving end The capability parameter information adjusts the first transmission parameter.

其中,所述检测模块包括:Wherein, the detection module includes:

第一发送模块,用于向接收端发送询问当前网络状况信息的第一询问消息;The first sending module is configured to send a first inquiry message to the receiving end to inquire about current network status information;

第一接收模块,用于接收所述接收端返回的携带当前网络状况信息的第一询问响应消息;A first receiving module, configured to receive a first query response message carrying current network status information returned by the receiving end;

网络状况检测模块,用于实时检测所述第一询问响应消息,获得当前网络状况信息。A network status detection module, configured to detect the first inquiry response message in real time to obtain current network status information.

其中,所述调整模块包括:Wherein, the adjustment module includes:

网络状况调整模块,用于当检测到当前网络状况低于预设网络状况时,调整所述第一传输参数。A network condition adjustment module, configured to adjust the first transmission parameter when it is detected that the current network condition is lower than the preset network condition.

其中,所述检测模块包括:Wherein, the detection module includes:

能力变化检测模块,用于接收所述接收端发送的标识接收端能力参数变化的变化消息。A capability change detection module, configured to receive a change message sent by the receiving end to identify a change in a capability parameter of the receiving end.

其中,所述调整模块包括:Wherein, the adjustment module includes:

第二发送模块,用于当检测到所述变化消息时,向接收端发送询问所述接收端支持的能力参数信息的第二询问消息;The second sending module is configured to, when the change message is detected, send to the receiving end a second inquiry message inquiring about the capability parameter information supported by the receiving end;

第三接收模块,接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第二询问响应消息,从中获取所述接收端支持的能力参数信息;The third receiving module receives and parses the second inquiry response message carrying the capability parameter information supported by the receiving terminal returned by the receiving terminal, and obtains the capability parameter information supported by the receiving terminal;

能力调整模块,用于根据所述接收端支持的能力参数信息调整所述第一传输参数。A capability adjustment module, configured to adjust the first transmission parameter according to the capability parameter information supported by the receiving end.

其中,所述装置还包括:Wherein, the device also includes:

第一参数确定模块,用于与接收端协商确定发送端和接收端共同支持的能力参数信息,并根据所述共同支持的能力参数信息确定第一传输参数。The first parameter determination module is configured to negotiate with the receiving end to determine the capability parameter information jointly supported by the transmitting end and the receiving end, and determine the first transmission parameter according to the jointly supported capability parameter information.

其中,所述第一参数确定模块包括:Wherein, the first parameter determination module includes:

第三发送模块,用于向接收端发送询问所述接收端支持的第一能力参数信息的第三询问消息;A third sending module, configured to send to the receiving end a third inquiry message inquiring about the first capability parameter information supported by the receiving end;

第四接收模块,用于接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第三询问响应消息,从中获取所述接收端支持的第一能力参数信息;The fourth receiving module is configured to receive and parse the third query response message returned by the receiving end carrying the capability parameter information supported by the receiving end, and obtain the first capability parameter information supported by the receiving end;

第一确定子模块,用于根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。The first determining submodule is configured to determine capability parameter information supported by both the transmitting end and the receiving end according to the first capability parameter information supported by the receiving end and the second capability parameter information supported by the transmitting end itself.

其中,所述第一参数确定模块包括:Wherein, the first parameter determination module includes:

第五接收模块,用于接收所述接收端发送的询问发送端支持的第二能力参数信息的第四询问消息;The fifth receiving module is configured to receive a fourth inquiry message sent by the receiving end to inquire about the second capability parameter information supported by the sending end;

第四发送模块,用于向接收端发送携带所述发送端支持的第二能力参数信息的第四询问响应消息,使得所述接收端能够根据自身支持的第一能力参数信息和所述发送端支持的第二能力参数信息确定所述发送端和所述接收端共同支持的能力参数信息;The fourth sending module is configured to send to the receiving end a fourth query response message carrying the second capability parameter information supported by the sending end, so that the receiving end can use the first capability parameter information supported by itself and the sending end The supported second capability parameter information determines the capability parameter information jointly supported by the sending end and the receiving end;

第六接收模块,用于接收所述接收端发送的所述发送端和所述接收端共同支持的能力参数信息。The sixth receiving module is configured to receive capability parameter information jointly supported by the sending end and the receiving end sent by the receiving end.

本发明实施例还提供一种多屏互动装置,应用于接收端,包括:The embodiment of the present invention also provides a multi-screen interactive device, which is applied to the receiving end, including:

第一数据接收模块,用于接收发送端利用第一传输参数传输的同屏数据;The first data receiving module is used to receive the same-screen data transmitted by the sending end using the first transmission parameter;

第二数据接收模块,用于在传输同屏数据的过程中,当发送端检测到触发信息满足预设触发条件时,接收所述发送端利用调整后的第二传输参数传输的同屏数据。The second data receiving module is configured to receive the same-screen data transmitted by the sending end using the adjusted second transmission parameters when the sending end detects that the trigger information satisfies a preset trigger condition during the process of transmitting the same-screen data.

其中,当触发信息为发送端当前的资源占用情况,且所述发送端当前的资源占用情况低于第二预设情况时,所述多屏互动装置还包括:Wherein, when the trigger information is the current resource occupancy situation of the sending end, and the current resource occupancy situation of the sending end is lower than the second preset situation, the multi-screen interaction device further includes:

第七接收模块,用于接收所述发送端发送的询问所述接收端当前支持的能力参数信息的第五询问消息;A seventh receiving module, configured to receive a fifth inquiry message sent by the sending end to inquire about the capability parameter information currently supported by the receiving end;

第五发送模块,用于向所述发送端返回携带所述接收端当前支持的能力参数信息的第五询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。A fifth sending module, configured to return to the sending end a fifth inquiry response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end and adjusting the first transmission parameter based on the capability parameter information currently supported by the receiving end.

其中,当所述触发信息为当前网络状况信息时,所述多屏互动装置还包括:Wherein, when the trigger information is current network status information, the multi-screen interaction device further includes:

第八接收模块,用于接收所述发送端发送的询问当前网络状况信息的第一询问消息;An eighth receiving module, configured to receive a first inquiry message sent by the sending end to inquire about current network status information;

第六发送模块,用于向所述发送端返回携带当前网络状况信息的第一询问响应消息,使得所述发送端能够从中获取当前网络状况信息。A sixth sending module, configured to return a first inquiry response message carrying current network status information to the sending end, so that the sending end can obtain the current network status information therefrom.

其中,当接收端能力参数变化时,所述多屏互动装置还包括:Wherein, when the capability parameter of the receiving end changes, the multi-screen interactive device further includes:

第七发送模块,用于向所述发送端发送标识接收端能力参数变化的变化消息;A seventh sending module, configured to send a change message identifying a change in the capability parameter of the receiving end to the sending end;

第九接收模块,用于接收所述发送端检测到所述变化消息后发送的询问所述接收端当前支持的能力参数信息的第二询问消息;A ninth receiving module, configured to receive a second inquiry message sent by the sending end after detecting the change message, inquiring about the capability parameter information currently supported by the receiving end;

第八发送模块,用于向所述发送端返回携带所述接收端当前支持的能力参数信息的第二询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并根据所述接收端当前支持的能力参数信息调整所述第一传输参数。An eighth sending module, configured to return to the sending end a second inquiry response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end and Adjusting the first transmission parameter according to the capability parameter information currently supported by the receiving end.

其中,所述多屏互动装置还包括:Wherein, the multi-screen interactive device also includes:

第二参数确定模块,用于与发送端协商确定发送端和接收端共同支持的能力参数信息,使得发送端能够根据所述共同支持的能力参数信息确定第一传输参数。The second parameter determination module is configured to negotiate with the sending end to determine the capability parameter information supported by the sending end and the receiving end, so that the sending end can determine the first transmission parameter according to the commonly supported capability parameter information.

其中,所述第二参数确定模块包括:Wherein, the second parameter determination module includes:

询问接收模块,用于接收所述发送端发送的询问所述接收端支持的第一能力参数信息的第三询问消息;An inquiry receiving module, configured to receive a third inquiry message sent by the sending end to inquire about the first capability parameter information supported by the receiving end;

返回模块,用于向所述发送端返回携带所述接收端支持的第一能力参数信息的第三询问响应消息,使得发送端能够根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。A return module, configured to return to the sending end a third inquiry response message carrying the first capability parameter information supported by the receiving end, so that the sending end can The second capability parameter information supported by the end itself determines the capability parameter information jointly supported by the sending end and the receiving end.

其中,所述第二参数确定模块包括:Wherein, the second parameter determination module includes:

询问发送模块,用于向发送端发送询问所述发送端支持的第二能力参数信息的第四询问消息;An inquiry sending module, configured to send to the sending end a fourth inquiry message inquiring about the second capability parameter information supported by the sending end;

接收解析模块,用于接收并解析所述发送端返回的携带所述发送端支持的第二能力参数信息的第四询问响应消息,从中获取所述发送端支持的第二能力参数信息;The receiving and parsing module is configured to receive and parse the fourth inquiry response message carrying the second capability parameter information supported by the sender returned by the sender, and obtain the second capability parameter information supported by the sender therefrom;

第二确定子模块,用于根据所述发送端支持的第二能力参数信息和所述接收端自身支持的第一能力参数信息,确定所述发送端和所述接收端共同支持的能力参数信息并将所述共同支持的能力参数信息发送给所述发送端。The second determining submodule is configured to determine the capability parameter information jointly supported by the transmitting terminal and the receiving terminal according to the second capability parameter information supported by the transmitting terminal and the first capability parameter information supported by the receiving terminal itself and sending the commonly supported capability parameter information to the sending end.

本发明的上述技术方案至少具有如下有益效果:The technical solution of the present invention has at least the following beneficial effects:

本发明实施例的多屏互动方法及装置中,在同屏数据的传输过程中,实时的检测传输参数调整的触发信息,当触发信息满足触发条件时,发送端和接收端实时协商并调整第一传输参数,进而得到适合当前同屏传输的第二传输参数,再利用第二传输参数传输后续的同屏数据;该多屏互动方法实现了动态协商发送端能力和接收端能力,能够及时调整传输参数,提高同屏传输的效率和效果。In the multi-screen interaction method and device of the embodiment of the present invention, during the transmission process of data on the same screen, the trigger information for adjusting the transmission parameters is detected in real time. When the trigger information meets the trigger conditions, the sending end and the receiving end negotiate and adjust the first One transmission parameter, and then obtain the second transmission parameter suitable for the current same-screen transmission, and then use the second transmission parameter to transmit the subsequent same-screen data; this multi-screen interaction method realizes dynamic negotiation of the ability of the sending end and the ability of the receiving end, and can be adjusted in time Transfer parameters to improve the efficiency and effect of the same screen transfer.

附图说明Description of drawings

图1表示本发明实施例的发送端的多屏互动方法的基本步骤流程图;FIG. 1 shows a flow chart of basic steps of a multi-screen interaction method at a sending end in an embodiment of the present invention;

图2表示本发明实施例的接收端的多屏互动方法的基本步骤流程图;Fig. 2 shows the flow chart of the basic steps of the multi-screen interaction method of the receiving end according to the embodiment of the present invention;

图3表示本发明实施例的基于RTSP的屏幕共享流程图;Fig. 3 represents the RTSP-based screen sharing flowchart of the embodiment of the present invention;

图4表示本发明实施例的发送端的多屏互动装置的组成结构图;FIG. 4 shows a structural diagram of a multi-screen interactive device at a sending end according to an embodiment of the present invention;

图5表示本发明实施例的接收端的多屏互动装置的组成结构图;FIG. 5 shows a structural diagram of a multi-screen interactive device at a receiving end in an embodiment of the present invention;

图6表示本发明实施例提供的发送端的多屏互动装置和接收端的多屏互动装置的多屏互动原理图。Fig. 6 shows a multi-screen interactive principle diagram of the multi-screen interactive device at the sending end and the multi-screen interactive device at the receiving end provided by an embodiment of the present invention.

具体实施方式detailed description

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

本发明针对现有技术中多屏互动过程中因为发送端和接收端的情况差异导致效率低下或显示方式不符合要求的问题,提供一种多屏互动方法及装置,在同屏数据的传输过程中,实时的检测传输参数调整的触发信息,当触发信息满足触发条件时,发送端和接收端实时协商并调整第一传输参数,进而得到适合当前同屏传输的第二传输参数,再利用第二传输参数传输后续的同屏数据;该多屏互动方法实现了动态协商发送端能力和接收端能力,能够及时调整传输参数,提高同屏传输的效率和效果。The present invention aims at the problem of inefficiency or non-conforming display mode caused by the difference between the sending end and the receiving end in the process of multi-screen interaction in the prior art, and provides a multi-screen interaction method and device, in the same-screen data transmission process , to detect the trigger information of transmission parameter adjustment in real time. When the trigger information satisfies the trigger condition, the sending end and the receiving end negotiate and adjust the first transmission parameter in real time, and then obtain the second transmission parameter suitable for the current same-screen transmission, and then use the second The transmission parameters transmit subsequent same-screen data; the multi-screen interaction method realizes dynamic negotiation of the capabilities of the sending end and the receiving end, and can adjust the transmission parameters in time to improve the efficiency and effect of the same-screen transmission.

需要说明的是,本发明实施例提供的多屏互动方法应用于包括至少一个发送端和至少一个接收端的环境中,一个发送端可以给一个接收端发送同屏数据也可以给多个接收端发送同屏数据,若给多个接收端发送同屏数据可采用分别与多个接收端协商的确定对应的多个传输参数的原则发送也可采用综合多个接收端能力确定统一传输参数的原则发送,在此不作具体限定;还可采用多个发送端给同一个接收端发送同屏数据,多个发送端分别跟接收端协商确定多个传输参数,通过多个传输参数将同屏数据传输到接收端的预设显示屏进行显示。此外,上述一对多或多对一的数据传输方式不是本申请的着重点,且属于本领域技术人员能够实现的方案,在此不详细解释。It should be noted that the multi-screen interaction method provided by the embodiment of the present invention is applied to an environment including at least one sending end and at least one receiving end. One sending end can send data on the same screen to one receiving end or send data to multiple receiving ends. For the same screen data, if the same screen data is sent to multiple receivers, it can be sent using the principle of determining the corresponding multiple transmission parameters negotiated with multiple receivers, or it can be sent using the principle of determining unified transmission parameters based on the capabilities of multiple receivers , which is not specifically limited here; multiple senders can also be used to send data on the same screen to the same receiver, multiple senders negotiate with the receiver to determine multiple transmission parameters, and transmit the same screen data to the display on the receiver's preset display. In addition, the above-mentioned one-to-many or many-to-one data transmission mode is not the focus of this application, and belongs to a solution that can be realized by those skilled in the art, and will not be explained in detail here.

下面分别从发送端和接收端的多屏互动方法对本发明实施例做具体解释:如图1所示,本发明实施例提供一种多屏互动方法,应用于发送端,包括:The following is a specific explanation of the embodiment of the present invention from the multi-screen interaction methods of the sending end and the receiving end respectively: As shown in Figure 1, the embodiment of the present invention provides a multi-screen interaction method, which is applied to the sending end, including:

步骤11,利用第一传输参数向接收端传输同屏数据;Step 11, using the first transmission parameter to transmit the same-screen data to the receiving end;

步骤12,传输同屏数据的过程中,实时检测参数调整的触发信息;Step 12, during the process of transmitting data on the same screen, real-time detection of trigger information for parameter adjustment;

步骤13,当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,得到第二传输参数,并利用所述第二传输参数传输后续的同屏数据。Step 13, when the detected trigger information satisfies the preset trigger condition, adjust the first transmission parameter to obtain a second transmission parameter, and use the second transmission parameter to transmit subsequent same-screen data.

如图2所示,本发明实施例还提供一种多屏互动方法,应用于接收端,包括:As shown in Figure 2, the embodiment of the present invention also provides a multi-screen interaction method applied to the receiving end, including:

步骤21,接收发送端利用第一传输参数传输的同屏数据;Step 21, receiving the same-screen data transmitted by the sending end using the first transmission parameter;

步骤22,传输同屏数据的过程中,当发送端检测到触发信息满足预设触发条件时,接收所述发送端利用调整后的第二传输参数传输的同屏数据。Step 22: During the process of transmitting the same-screen data, when the sending end detects that the trigger information satisfies the preset trigger condition, receive the same-screen data transmitted by the sending end using the adjusted second transmission parameters.

本发明上述实施例中,第一传输参数为传输同屏数据之前发送端与接收端协商确定的,即应用于发送端的步骤11之前还包括:In the above-mentioned embodiments of the present invention, the first transmission parameter is determined through negotiation between the sending end and the receiving end before transmitting the same-screen data, that is, before step 11 applied to the sending end, it also includes:

步骤14,与接收端协商确定发送端和接收端共同支持的能力参数信息,并根据所述共同支持的能力参数信息确定第一传输参数。Step 14: Negotiate with the receiving end to determine capability parameter information supported by both the transmitting end and the receiving end, and determine a first transmission parameter according to the jointly supported capability parameter information.

应用于接收端的步骤21之前还包括:Before step 21 applied to the receiving end also includes:

步骤23,与发送端协商确定发送端和接收端共同支持的能力参数信息,使得发送端能够根据所述共同支持的能力参数信息确定第一传输参数。Step 23: Negotiate with the sending end to determine the capability parameter information supported by both the sending end and the receiving end, so that the sending end can determine the first transmission parameter according to the jointly supported capability parameter information.

具体的,第一传输参数及第二传输参数的内容包括:(a)分辨率;(b)屏幕旋转角度;(c)屏幕显示比例和模式;(d)帧率;(e)其他影响显示和效率的问题。上述第一传输参数及第二传输参数均为可调整的参数,通过对第一传输参数的调整,得到更适合当前应用场景的第二传输参数,提高传输效率及效果。Specifically, the contents of the first transmission parameter and the second transmission parameter include: (a) resolution; (b) screen rotation angle; (c) screen display ratio and mode; (d) frame rate; (e) other influence display and efficiency issues. Both the above-mentioned first transmission parameter and the second transmission parameter are adjustable parameters. By adjusting the first transmission parameter, a second transmission parameter more suitable for the current application scenario is obtained, thereby improving transmission efficiency and effect.

进一步的,步骤14和步骤23为传屏之前的预协商过程,该预协商过程主要包括发送端主动询问接收端能力确定共同支持的能力参数,进而确定第一传输参数和接收端主动询问发送端能力确定共同支持的能力参数后返回给发送端,由发送端设置第一传输参数。Further, step 14 and step 23 are the pre-negotiation process before screen transfer, the pre-negotiation process mainly includes the sending end actively inquiring about the capabilities of the receiving end to determine the commonly supported capability parameters, and then determining the first transmission parameter and the receiving end actively asking the sending end The capability determines the commonly supported capability parameter and returns it to the sender, and the sender sets the first transmission parameter.

即发送端主动询问的情况为:发送端的步骤14包括:That is, the situation where the sending end actively inquires is: the step 14 of the sending end includes:

步骤141,向接收端发送询问所述接收端支持的第一能力参数信息的第三询问消息;Step 141, sending to the receiving end a third inquiry message inquiring about the first capability parameter information supported by the receiving end;

步骤142,接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第三询问响应消息,从中获取所述接收端支持的第一能力参数信息;Step 142, receiving and analyzing the third inquiry response message carrying the capability parameter information supported by the receiving terminal returned by the receiving terminal, and obtaining the first capability parameter information supported by the receiving terminal;

步骤143,根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。Step 143, according to the first capability parameter information supported by the receiving end and the second capability parameter information supported by the sending end itself, determine the capability parameter information jointly supported by the sending end and the receiving end.

接收端的步骤23包括:Step 23 at the receiving end includes:

步骤231,接收所述发送端发送的询问所述接收端支持的第一能力参数信息的第三询问消息;Step 231, receiving a third inquiry message sent by the sending end inquiring about the first capability parameter information supported by the receiving end;

步骤232,向所述发送端返回携带所述接收端支持的第一能力参数信息的第三询问响应消息,使得发送端能够根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。Step 232, return to the sending end a third inquiry response message carrying the first capability parameter information supported by the receiving end, so that the sending end can The supported second capability parameter information determines the capability parameter information jointly supported by the sending end and the receiving end.

例如,发送端主动询问的情况,即发送端在进行发送的时候,首先询问接收端能力,与接收端进行能力协商,比如接收端的硬件解码能力和帧率,如果是720p@25fps,那么即使是发送端可以达到1080p@30fps,那么发送端也只提供较低分辨率和帧率,这样,可以减少发送端抓屏和编码的资源负担。For example, when the sending end actively inquires, that is, when the sending end is sending, it first inquires about the capabilities of the receiving end and negotiates with the receiving end, such as the hardware decoding ability and frame rate of the receiving end. If it is 720p@25fps, then even if it is The sending end can reach 1080p@30fps, so the sending end only provides lower resolution and frame rate, so that the resource burden of screen capture and encoding at the sending end can be reduced.

而接收端主动询问的情况为:接收端的步骤23包括:And the situation that the receiving end actively inquires is: the step 23 of the receiving end includes:

步骤233,向发送端发送询问所述发送端支持的第二能力参数信息的第四询问消息;Step 233, sending a fourth inquiry message to the sending end to inquire about the second capability parameter information supported by the sending end;

步骤234,接收并解析所述发送端返回的携带所述发送端支持的第二能力参数信息的第四询问响应消息,从中获取所述发送端支持的第二能力参数信息;Step 234, receiving and analyzing the fourth query response message carrying the second capability parameter information supported by the sender returned by the sender, and obtaining the second capability parameter information supported by the sender;

步骤235,根据所述发送端支持的第二能力参数信息和所述接收端自身支持的第一能力参数信息,确定所述发送端和所述接收端共同支持的能力参数信息并将所述共同支持的能力参数信息发送给所述发送端。Step 235, according to the second capability parameter information supported by the sending end and the first capability parameter information supported by the receiving end itself, determine the capability parameter information jointly supported by the sending end and the receiving end and set the common The supported capability parameter information is sent to the sending end.

发送端的步骤14包括:Step 14 at the sending end includes:

步骤144,接收所述接收端发送的询问发送端支持的第二能力参数信息的第四询问消息;Step 144, receiving a fourth inquiry message sent by the receiving end to inquire about the second capability parameter information supported by the sending end;

步骤145,向接收端发送携带所述发送端支持的第二能力参数信息的第四询问响应消息,使得所述接收端能够根据自身支持的第一能力参数信息和所述发送端支持的第二能力参数信息确定所述发送端和所述接收端共同支持的能力参数信息;Step 145: Send to the receiving end a fourth inquiry response message carrying the second capability parameter information supported by the sending end, so that the receiving end can use the first capability parameter information supported by itself and the second capability parameter information supported by the sending end The capability parameter information determines the capability parameter information jointly supported by the sending end and the receiving end;

步骤146,接收所述接收端发送的所述发送端和所述接收端共同支持的能力参数信息。Step 146, receiving capability parameter information jointly supported by the sending end and the receiving end sent by the receiving end.

例如,接收端主动询问的情况,即接收端在接收同屏数据之前,首先询问发送端能力,与发送端进行能力协商,比如发送端的音频格式、视频格式、几种分辨率以及对应的帧率,如果发送端支持1080p及720p,接收端自身仅支持720p,则告知发送端当前环境下发送端和接收端均支持720p的分辨率,则发送端在发送过程中提供720p分辨率的同屏数据,这样能够减少发送端转屏和编码的资源负担和接收端转屏、解码的资源负担。For example, when the receiving end actively inquires, that is, before receiving the data on the same screen, the receiving end first inquires about the capability of the sending end, and negotiates with the sending end, such as the audio format, video format, several resolutions, and the corresponding frame rate of the sending end. , if the sender supports 1080p and 720p, and the receiver itself only supports 720p, then inform the sender that both the sender and the receiver support 720p resolution under the current environment, and the sender will provide the same screen data with 720p resolution during the sending process , which can reduce the resource burden of screen switching and encoding at the sending end and the resource burden of screen switching and decoding at the receiving end.

进一步的,步骤12及步骤13描述了传屏过程中对传输参数的动态调整;具体的,只有当发送端或接收端中的一方的能力参数或网络情况或资源占用情况发生更改时,才需要调整传输参数。即步骤12中的触发信息主要包括四个方面的信息,1)发送端当前的资源占用情况;2)当前网络状况信息;3)接收端或发送端的能力被更改。下面分别从以上3个方面具体描述如何触发调整,以及如何调整。Further, steps 12 and 13 describe the dynamic adjustment of transmission parameters during the screen transfer process; specifically, only when the capability parameters, network conditions, or resource occupancy of one of the sending end or the receiving end change, it is necessary to Adjust transfer parameters. That is, the trigger information in step 12 mainly includes four aspects of information, 1) the current resource occupation of the sending end; 2) the current network status information; 3) the ability of the receiving end or the sending end is changed. The following describes how to trigger the adjustment and how to adjust it from the above three aspects.

当触发信息为发送端当前的资源占用情况时,发送端侧的步骤12具体包括:When the trigger information is the current resource occupation of the sender, step 12 on the sender side specifically includes:

步骤121,实时检测发送端当前的资源占用情况。Step 121, real-time detection of the current resource occupancy of the sending end.

相应的,步骤13具体包括:Correspondingly, step 13 specifically includes:

步骤131,当检测到的发送端当前的资源占用情况超出第一预设情况或者低于第二预设情况,则调整所述第一传输参数;其中,所述第二预设情况低于所述第一预设情况。Step 131, when the detected current resource occupancy of the sending end exceeds the first preset condition or is lower than the second preset condition, adjust the first transmission parameter; wherein, the second preset condition is lower than the set Describe the first default situation.

且所述调整所述第一传输参数的步骤具体包括:And the step of adjusting the first transmission parameter specifically includes:

步骤132,若所述资源占用情况信息显示所述资源占用情况超过第一预设情况,则所述发送端主动降低所述第一传输参数;Step 132, if the resource occupancy information shows that the resource occupancy exceeds a first preset situation, the sending end actively reduces the first transmission parameter;

步骤133,若所述资源占用情况信息显示所述资源占用情况低于第二预设情况,则获取所述接收端当前支持的能力参数信息,并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。Step 133: If the resource occupancy information shows that the resource occupancy is lower than the second preset situation, obtain the capability parameter information currently supported by the receiving end, and adjust based on the capability parameter information currently supported by the receiving end The first transmission parameter.

与发送端的步骤133对应的接收端的多屏互动方法,即当触发信息为发送端当前的资源占用情况,且所述发送端当前的资源占用情况低于第二预设情况时,所述多屏互动方法还包括:The multi-screen interaction method of the receiving end corresponding to step 133 of the sending end, that is, when the trigger information is the current resource occupation of the sending end, and the current resource occupation of the sending end is lower than the second preset situation, the multi-screen Interactive methods also include:

步骤24,接收所述发送端发送的询问所述接收端当前支持的能力参数信息的第五询问消息;Step 24, receiving a fifth inquiry message sent by the sending end to inquire about the capability parameter information currently supported by the receiving end;

步骤25,向所述发送端返回携带所述接收端当前支持的能力参数信息的第五询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。Step 25, returning to the sending end a fifth inquiry response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end and based on the received The first transmission parameter is adjusted according to the capability parameter information currently supported by the terminal.

例如,发送端的多屏互动模块通过与系统的交互,获得当前系统资源占用情况如CPU占用率,内存占用数等。首先设置CPU、内存占用情况的上限和下限,如果CPU、内存的值有一项超过了上限,则发送端主动降低帧率和分辨率;如果CPU和内存的占用情况低于下限,则发送端可以向接收端发送消息以获取当前时间接收端设备的参数(如几种分辨率(如1080p,720p,480p等),以及对应的帧率等),接收端设备在消息应答中包含当前支持的帧率和分辨率,发送端根据返回的应答消息选择其中能够实现的最高的帧率和分辨率,对参数进行调整后再进行资源的传输。For example, the multi-screen interaction module at the sending end obtains current system resource occupancy such as CPU occupancy, memory occupancy, etc. through interaction with the system. First set the upper and lower limits of CPU and memory usage. If one of the values of CPU and memory exceeds the upper limit, the sender will actively reduce the frame rate and resolution; if the CPU and memory usage is lower than the lower limit, the sender can Send a message to the receiving end to obtain the parameters of the receiving end device at the current time (such as several resolutions (such as 1080p, 720p, 480p, etc.), and the corresponding frame rate, etc.), and the receiving end device includes the currently supported frames in the message response rate and resolution, the sender selects the highest frame rate and resolution that can be achieved according to the returned response message, and then transmits resources after adjusting the parameters.

承续上例,当触发信息为当前网络状况信息时,发送端侧的步骤12具体包括:Continuing from the above example, when the trigger information is current network status information, step 12 on the sending end side specifically includes:

步骤122,向接收端发送询问当前网络状况信息的第一询问消息;Step 122, sending a first inquiry message inquiring about the current network status information to the receiving end;

步骤123,接收所述接收端返回的携带当前网络状况信息的第一询问响应消息;Step 123, receiving a first query response message carrying current network status information returned by the receiving end;

步骤124,实时检测所述第一询问响应消息,获得当前网络状况信息。Step 124: Detect the first query response message in real time to obtain current network status information.

相应的,步骤13具体包括:Correspondingly, step 13 specifically includes:

步骤134,当检测到当前网络状况低于预设网络状况时,调整所述第一传输参数。Step 134, when it is detected that the current network condition is lower than the preset network condition, adjust the first transmission parameter.

与发送端步骤12对应的接收端的多屏互动方法,即当所述触发信息为当前网络状况信息时,所述多屏互动方法还包括:The multi-screen interactive method of the receiving end corresponding to step 12 of the sending end, that is, when the trigger information is current network status information, the multi-screen interactive method further includes:

步骤26,接收所述发送端发送的询问当前网络状况信息的第一询问消息;Step 26, receiving a first inquiry message sent by the sending end to inquire about current network status information;

步骤27,向所述发送端返回携带当前网络状况信息的第一询问响应消息,使得所述发送端能够从中获取当前网络状况信息。Step 27: Return the first inquiry response message carrying the current network status information to the sending end, so that the sending end can obtain the current network status information therefrom.

例如,发送端的多屏互动模块通过与接收端的交互,发送端设备向接收端发送第一询问消息(RTSP GET_PARAMETER请求)以获取当前时间网络状况信息(如当前网络的丢包率、时延等等);具体的,该消息需要增加参数以表明发送端设备需要从接收端设备处获取当前网络的状况信息,参数定义如下:For example, the multi-screen interaction module at the sending end interacts with the receiving end, and the sending end device sends the first query message (RTSP GET_PARAMETER request) to the receiving end to obtain current network status information (such as the current network packet loss rate, delay, etc. ); Specifically, the message needs to add parameters to indicate that the sending device needs to obtain the current network status information from the receiving device, and the parameters are defined as follows:

丢包率:wfd_sink_network_packet_loss、时延:wfd_sink_network_time_delay。发送端设备若在第一询问消息中发现参数wfd_sink_network_packet_loss(丢包率)和wfd_sink_network_time_delay(时延),则需在第一询问响应消息中包含上述参数以返回当前网络的丢包率和时延信息,并根据这些信息对传输参数进行调整。具体的,例如丢包率大于预设门限值,则发送端主动降低帧率和分辨率,或者时延大于预设门限值,发送端也主动降低帧率和分辨率等;或者丢包率和时延较小,发送端与接收端协商接收端当前支持分辨率和帧率,重新调整传输参数,进一步提高传输效率及效果。Packet loss rate: wfd_sink_network_packet_loss, delay: wfd_sink_network_time_delay. If the sender device finds the parameters wfd_sink_network_packet_loss (packet loss rate) and wfd_sink_network_time_delay (delay) in the first inquiry message, it needs to include the above parameters in the first inquiry response message to return the packet loss rate and delay information of the current network, And adjust the transmission parameters according to the information. Specifically, for example, if the packet loss rate is greater than the preset threshold, the sender will actively reduce the frame rate and resolution, or if the delay is greater than the preset threshold, the sender will also actively reduce the frame rate and resolution, etc.; or packet loss The transmission rate and delay are small. The sending end and the receiving end negotiate the resolution and frame rate currently supported by the receiving end, readjust the transmission parameters, and further improve the transmission efficiency and effect.

承接上例,当触发信息为接收端或发送端的能力被更改时,该种情况主要包括3种场景,场景一:发送端和接收端均提供人工配置的界面,可以根据用户选择来进行传屏参数的更换,从而在传屏过程中,更改这些参数,提升效率。需要说明的是,人工配置的调整优先级最高,即无论系统协商出的最佳传输参数是什么,也不管人工配置的方案是否能够提升效率,只要发送端或接收端中一方或两方响应到人工配置的参数,则后续的传屏过程均按照人工配置的参数执行。Following the above example, when the trigger information is that the ability of the receiving end or the sending end is changed, this situation mainly includes 3 scenarios. Scenario 1: Both the sending end and the receiving end provide a manual configuration interface, and the screen can be uploaded according to the user's choice Parameter replacement, so that during the screen transfer process, these parameters can be changed to improve efficiency. It should be noted that the adjustment priority of manual configuration is the highest, that is, no matter what the optimal transmission parameters negotiated by the system are, and regardless of whether the manual configuration scheme can improve efficiency, as long as one or both of the sending end or receiving end responds Manually configured parameters, the subsequent screen transfer process will be executed according to the manually configured parameters.

场景二,发送端的能力被更改,若确定第一传输参数时是发送端主动询问接收端能力,则无需再询问接收端能力,只需重新确定当前发送端和接收端共同支持的能力参数,继而重新调整传输参数,使其适应当前应用场景,提高传输效率;若确定第一传输参数时是接收端主动询问发送端能力,则发送端向接收端发送能力参数变化的变化消息,该变化消息触发接收端重新获取发送端当前的能力参数,继而重新确定共同支持的能力参数,再重新调整传输参数,使其适应当前应用场景,提高传输效率。Scenario 2: The capability of the sender is changed. If the sender actively inquires about the capability of the receiver when determining the first transmission parameter, there is no need to ask the capability of the receiver again. It is only necessary to re-determine the capability parameters currently supported by both the sender and the receiver, and then Readjust the transmission parameters to adapt to the current application scenario and improve transmission efficiency; if the receiving end actively inquires about the capability of the sending end when determining the first transmission parameter, the sending end sends a change message of the capability parameter change to the receiving end, and the change message triggers The receiving end reacquires the current capability parameters of the sending end, and then re-determines the commonly supported capability parameters, and then readjusts the transmission parameters to adapt to the current application scenario and improve transmission efficiency.

场景三,接收端能力更改,与场景二相同,若确定第一传输参数时是接收端主动询问发送端能力,则无需再询问发送端能力,只需重新确定发送端和当前接收端共同支持的能力参数,继而重新调整传输参数,使其适应当前应用场景,提高传输效率;若确定第一传输参数时是发送端主动询问接收端能力,则接收端向发送端发送能力参数变化的变化消息,该变化消息触发发送端重新获取接收端当前的能力参数,继而重新确定共同支持的能力参数,再重新调整传输参数,使其适应当前应用场景,提高传输效率。具体的,确定第一传输参数时是发送端主动询问接收端能力时,接收端的多屏互动方法还包括:Scenario 3, the capability of the receiving end is changed, which is the same as scenario 2. If the receiving end actively inquires about the capability of the sending end when determining the first transmission parameter, there is no need to inquire about the capabilities of the sending end, and it is only necessary to re-determine the capabilities supported by both the sending end and the current receiving end. capability parameters, and then readjust the transmission parameters to adapt to the current application scenario and improve transmission efficiency; if the sender actively inquires about the capability of the receiver when determining the first transmission parameter, the receiver sends a change message of the capability parameter change to the sender. The change message triggers the sending end to reacquire the current capability parameters of the receiving end, and then re-determines the commonly supported capability parameters, and then readjusts the transmission parameters to adapt to the current application scenario and improve transmission efficiency. Specifically, when the first transmission parameter is determined, when the sending end actively inquires about the capabilities of the receiving end, the multi-screen interaction method of the receiving end also includes:

步骤28,向所述发送端发送标识接收端能力参数变化的变化消息;Step 28, sending a change message identifying a change in the capability parameter of the receiving end to the sending end;

步骤29,接收所述发送端检测到所述变化消息后发送的询问所述接收端当前支持的能力参数信息的第二询问消息;Step 29, receiving a second inquiry message sent by the sending end after detecting the change message, inquiring about the capability parameter information currently supported by the receiving end;

步骤210,向所述发送端返回携带所述接收端当前支持的能力参数信息的第二询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并根据所述接收端当前支持的能力参数信息调整所述第一传输参数。Step 210, returning to the sending end a second inquiry response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end and according to the received The first transmission parameter is adjusted according to the capability parameter information currently supported by the terminal.

相应的,发送端的步骤12具体包括:Correspondingly, step 12 at the sending end specifically includes:

步骤125,接收所述接收端发送的标识接收端能力参数变化的变化消息。Step 125: Receive a change message from the receiving end that identifies a change in the capability parameter of the receiving end.

且步骤13具体包括:And step 13 specifically includes:

步骤135,当检测到所述变化消息时,向接收端发送询问所述接收端支持的能力参数信息的第二询问消息;Step 135, when the change message is detected, send a second inquiry message to the receiving end to inquire about the capability parameter information supported by the receiving end;

步骤136,接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第二询问响应消息,从中获取所述接收端支持的能力参数信息;Step 136, receiving and analyzing the second inquiry response message carrying the capability parameter information supported by the receiving terminal returned by the receiving terminal, and obtaining the capability parameter information supported by the receiving terminal;

步骤137,根据所述接收端支持的能力参数信息调整所述第一传输参数。Step 137: Adjust the first transmission parameter according to the capability parameter information supported by the receiving end.

例如,当传输一段时间后,接收端设备的一些参数会发生变化,接收端设备发送变化消息至接收端,触发发送端设备向接收端发送第二询问消息(RTSPGET_PARAMETER请求)以获取当前时间接收端设备参数(如几种分辨率(如1080p,720p,480p等),以及对应的帧率、屏幕的当前角度、显示比例和显示模式等);具体的,该第二询问消息需要增加下述参数以表明发送端设备需要获取接收端设备屏幕的当前角度、显示比例和显示模式,这些参数定义如下:For example, after a period of transmission, some parameters of the receiving end device will change, and the receiving end device sends a change message to the receiving end, triggering the sending end device to send a second inquiry message (RTSPGET_PARAMETER request) to the receiving end to obtain the current time of the receiving end Device parameters (such as several resolutions (such as 1080p, 720p, 480p, etc.), and the corresponding frame rate, the current angle of the screen, display ratio and display mode, etc.); specifically, the second inquiry message needs to add the following parameters To indicate that the sending device needs to obtain the current angle, display ratio and display mode of the receiving device's screen. These parameters are defined as follows:

当前角度:wfd_sink_screen_angle、显示比例:wfd_sink_screen_proportion、显示模式:wfd_sink_screen_mode。Current angle: wfd_sink_screen_angle, display ratio: wfd_sink_screen_proportion, display mode: wfd_sink_screen_mode.

接收端设备若在第二询问消息请求中发现wfd_sink_screen_angle(当前角度)、wfd_sink_screen_proportion(显示比例)、wfd_sink_screen_mode(显示模式)参数,则需在第二询问响应消息中包含该参数以返回当前屏幕的角度、显示比例和显示模式信息,角度参数值为0、90、180、270,即当前屏幕与水平方向间的角度;显示比例参数值为1:18、1:24等;显示模式参数值为3:4、16:9、16:10等。If the receiving device finds the parameters wfd_sink_screen_angle (current angle), wfd_sink_screen_proportion (display ratio), and wfd_sink_screen_mode (display mode) in the second inquiry message request, it needs to include these parameters in the second inquiry response message to return the angle of the current screen, Display scale and display mode information, the angle parameter value is 0, 90, 180, 270, that is, the angle between the current screen and the horizontal direction; the display scale parameter value is 1:18, 1:24, etc.; the display mode parameter value is 3: 4. 16:9, 16:10, etc.

发送端设备根据第二询问响应消息进行相应参数调整后(如分辨率从1280*720,降低到800*600,显示角度从0度,更改为自动转屏90度),继续发送同屏数据。After the sender device adjusts the corresponding parameters according to the second query response message (for example, the resolution is reduced from 1280*720 to 800*600, the display angle is changed from 0 degrees to 90 degrees), and then continues to send data on the same screen.

需要说明的是,本发明实施例提供的多屏互动方法中传输参数的具体内容针对不同的应用场景而变化;即发送端设备针对不同的传输应用与接收端设备对分辨率等参数进行协商,实现发送端对传输参数的调整。例如,当发送端与接收端之间实现视频传输时,发送端可以向接收端发送请求消息(RTSPGET_PARAMETER请求)以获取当前接收端设备参数(如几种分辨率(如1080p,720p,480p等),以及对应的帧率等),接收端设备在应答中包含当前接受的帧率和分辨率,发送端根据返回的响应消息选择其中能够实现的最高的帧率和分辨率,对参数进行调整后再进行资源的传输;当发送端与接收端之间实现游戏类应用传输时,只是为反向控制做大概位置的展示,发送端可以根据接收端发送的应答中包含当前接受的帧率和分辨率,选择其中能够实现的最低的帧率和分辨率,并相应的对传输参数进行调整。采用这个方法来实现对传屏分辨率、帧率的调整,传屏的应用或者模块需要感知目前正在运行的应用的特征。It should be noted that the specific content of the transmission parameters in the multi-screen interaction method provided by the embodiment of the present invention varies according to different application scenarios; that is, the sending end device negotiates with the receiving end device on parameters such as resolution for different transmission applications, Realize the adjustment of transmission parameters by the sender. For example, when video transmission is implemented between the sending end and the receiving end, the sending end can send a request message (RTSPGET_PARAMETER request) to the receiving end to obtain the current receiving end device parameters (such as several resolutions (such as 1080p, 720p, 480p, etc.) , and the corresponding frame rate, etc.), the receiving end device includes the currently accepted frame rate and resolution in the response, the sending end selects the highest frame rate and resolution that can be achieved according to the returned response message, and adjusts the parameters Then transfer resources; when the game application is transmitted between the sender and the receiver, it is only for displaying the approximate position for reverse control, and the sender can include the currently accepted frame rate and resolution in the response sent by the receiver. Rate, select the lowest frame rate and resolution that can be achieved, and adjust the transmission parameters accordingly. This method is used to adjust the resolution and frame rate of the screen transfer, and the screen transfer application or module needs to perceive the characteristics of the currently running application.

多屏互动方案包括屏幕分享和内容分享,其中屏幕分享在发送端包括抓屏、编码、打包、发送等流程,在接收端包括接受、解包、解码、播放的流程。而内容分享的具体描述如下,如图3所示为基于RTSP(实时流传输协议)的屏幕共享流程描述:The multi-screen interactive solution includes screen sharing and content sharing. Screen sharing includes processes such as screen capture, encoding, packaging, and sending at the sending end, and includes receiving, unpacking, decoding, and playing processes at the receiving end. The specific description of content sharing is as follows, as shown in Figure 3, the description of the screen sharing process based on RTSP (Real-time Streaming Protocol):

在WFD能力协商阶段(WFD Capability Negotiation)即在双方能力信息交互阶段,参与通信的发送端设备首先向接收端设备发送M1即RTSP OPTIONS请求消息,以获取接收端设备支持的RTSP方法集。接收端设备收到该请求后发送M1应答消息。然后接收端设备向发送端设备发送M2即RTSP OPTIONS请求消息,以获取发送端设备所支持的RTSP方法集。发送端设备收到该请求后发送M2应答消息。M2应答消息发送成功后,发送端设备向接收端设备发送M3即RTSP GET_PARAMETER请求消息,以获取自己感兴趣的接收端设备的WFD能力列表,具体内容包括(音频格式、视频格式、几种分辨率(如1080p,720p,480p等),以及对应的帧率,支持的内容保护方式)。然后接收端设备发送M3应答消息。根据应答消息携带的信息,发送端设备决定后续WFD会话(方向为发送端设备发送,接收端设备接收)的参数集并通过M4即RTSPSET_PARAMETER请求消息发送给接收端设备来设置参数,接收端设备回复M4应答。若接收端设备需要了解发送端设备的能力信息,则需要向发送端设备发送M3即RTSP GET_PARAMETER请求消息,以获取自己感兴趣的发送端设备的WFD能力列表具体内容包括(音频格式、视频格式、几种分辨率(如1080p,720p,480p等),以及对应的帧率,支持的内容保护方式)。然后发送端设备发送M3应答消息。据此应答,接收端设备决定后续WFD会话(方向为接收端设备发送,发送端设备接收)的参数集并通过M4即RTSP SET_PARAMETER请求消息发送给发送端设备,发送端设备回复M4应答。In the WFD Capability Negotiation phase (WFD Capability Negotiation), that is, the capability information exchange phase between the two parties, the sending device participating in the communication first sends an M1 RTSP OPTIONS request message to the receiving device to obtain the RTSP method set supported by the receiving device. After receiving the request, the receiving end device sends an M1 response message. Then the receiving end device sends M2, namely RTSP OPTIONS request message to the sending end device to obtain the RTSP method set supported by the sending end device. After receiving the request, the sending device sends an M2 response message. After the M2 response message is sent successfully, the sending device sends an M3 RTSP GET_PARAMETER request message to the receiving device to obtain the WFD capability list of the receiving device it is interested in. The specific content includes (audio format, video format, several resolutions) (such as 1080p, 720p, 480p, etc.), and the corresponding frame rate, supported content protection methods). Then the receiving end device sends an M3 response message. According to the information carried in the response message, the sending device determines the parameter set of the subsequent WFD session (the direction is sent by the sending device and received by the receiving device) and sends it to the receiving device through the M4 request message RTSPSET_PARAMETER to set the parameters, and the receiving device replies M4 answers. If the receiving end device needs to know the capability information of the sending end device, it needs to send M3 or RTSP GET_PARAMETER request message to the sending end device to obtain the WFD capability list of the sending end device that it is interested in. The specific content includes (audio format, video format, Several resolutions (such as 1080p, 720p, 480p, etc.), and the corresponding frame rate, supported content protection methods). Then the sending end device sends an M3 response message. According to this response, the receiver device determines the parameter set of the subsequent WFD session (the direction is sent by the receiver device and received by the sender device) and sends it to the sender device through the M4, RTSP SET_PARAMETER request message, and the sender device replies with an M4 response.

通过上述的消息交互流程,通信双方互相获知了对方的能力信息,并且设置了一套双方均能共同接受的参数集合,发送端设备根据接收端设备所拥有的能力进行选择,接收端设备根据发送端设备的选择,开始发起同屏数据传输。Through the above-mentioned message interaction process, both parties in the communication know each other's capability information, and set a set of parameters that both parties can accept. Select the terminal device and start to initiate the data transmission on the same screen.

进一步的,当传输一段时间后,上述三种触发信息中的任一中满足触发条件时,发送端设备向接收端发送M3消息(RTSP GET_PARAMETER请求)以获取当前时间接收端,设备参数(如几种分辨率(如1080p,720p,480p等),以及对应的帧率、屏幕的当前角度、显示比例和显示模式等),接收端设备返回M3应答消息,发送端设备根据M3应答消息调整传输参数后继续进行同屏数据的传输。Further, when any of the above three trigger information meets the trigger condition after transmission for a period of time, the sending end device sends an M3 message (RTSP GET_PARAMETER request) to the receiving end to obtain the current time receiving end, device parameters (such as several resolution (such as 1080p, 720p, 480p, etc.), and the corresponding frame rate, the current angle of the screen, display ratio and display mode, etc.), the receiving end device returns an M3 response message, and the sending end device adjusts the transmission parameters according to the M3 response message Then continue to transmit data on the same screen.

需要说明的是,上述三种触发信息的调整优先级如下:调整的优先级是首先依据用户的需求,根据用户输入的情况进行设置;对于帧率或码率降低的处理,当系统反馈资源占用率过高(CPU/内存/GPU)时,即使目前网络时延和丢包率满足要求,也需要降低码率和帧率;而对于提高帧率和码率的处理,需要先看网络时延和丢包率是否满足要求,如果满足则提高帧率和码率,再看资源占用是否满足要求。It should be noted that the adjustment priorities of the above three trigger information are as follows: the adjustment priority is firstly set according to the user's needs and the user's input; When the rate is too high (CPU/memory/GPU), even if the current network delay and packet loss rate meet the requirements, it is necessary to reduce the bit rate and frame rate; and for the processing of increasing the frame rate and bit rate, it is necessary to first look at the network delay and packet loss rate meet the requirements, if so, increase the frame rate and bit rate, and then check whether the resource occupancy meets the requirements.

为了更好的实现上述目的,如图4所示,本发明实施例还提供一种多屏互动装置,应用于发送端,包括:In order to better achieve the above purpose, as shown in Figure 4, the embodiment of the present invention also provides a multi-screen interactive device, which is applied to the sending end, including:

传输模块41,用于利用第一传输参数向接收端传输同屏数据;A transmission module 41, configured to transmit data on the same screen to the receiving end using the first transmission parameter;

检测模块42,用于在传输同屏数据的过程中,实时检测参数调整的触发信息;The detection module 42 is used to detect the trigger information of parameter adjustment in real time during the process of transmitting the same screen data;

调整模块43,用于当检测到的触发信息满足预设触发条件时,调整所述第一传输参数,得到第二传输参数,并利用所述第二传输参数传输后续的同屏数据。The adjustment module 43 is configured to adjust the first transmission parameter to obtain a second transmission parameter when the detected trigger information satisfies the preset trigger condition, and use the second transmission parameter to transmit subsequent same-screen data.

进一步的,本发明的上述实施例中,所述检测模块42包括:Further, in the above-mentioned embodiments of the present invention, the detection module 42 includes:

资源占用检测模块,用于实时检测发送端当前的资源占用情况。The resource occupation detection module is used to detect the current resource occupation of the sending end in real time.

进一步的,本发明的上述实施例中,所述调整模块43包括:Further, in the above-mentioned embodiments of the present invention, the adjustment module 43 includes:

资源占用调整模块,用于当检测到的发送端当前的资源占用情况超出第一预设情况或者低于第二预设情况,则调整所述第一传输参数;其中,所述第二预设情况低于所述第一预设情况。A resource occupancy adjustment module, configured to adjust the first transmission parameter when the detected current resource occupancy of the sending end exceeds a first preset situation or is lower than a second preset situation; wherein, the second preset The condition is lower than the first predetermined condition.

进一步的,本发明的上述实施例中,所述资源占用调整模块包括:Further, in the above-mentioned embodiments of the present invention, the resource occupation adjustment module includes:

第一调整子模块,用于若所述资源占用情况信息显示所述资源占用情况超过第一预设情况,则所述发送端主动降低所述第一传输参数;The first adjustment submodule is configured to, if the resource occupancy information shows that the resource occupancy exceeds a first preset situation, the sending end actively reduces the first transmission parameter;

第二调整子模块,用于若所述资源占用情况信息显示所述资源占用情况低于第二预设情况,则获取所述接收端当前支持的能力参数信息,并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。The second adjustment submodule is configured to obtain the capability parameter information currently supported by the receiving end if the resource occupation information shows that the resource occupation is lower than the second preset condition, and based on the information currently supported by the receiving end The capability parameter information adjusts the first transmission parameter.

进一步的,本发明的上述实施例中,所述检测模块42包括:Further, in the above-mentioned embodiments of the present invention, the detection module 42 includes:

第一发送模块,用于向接收端发送询问当前网络状况信息的第一询问消息;The first sending module is configured to send a first inquiry message to the receiving end to inquire about current network status information;

第一接收模块,用于接收所述接收端返回的携带当前网络状况信息的第一询问响应消息;A first receiving module, configured to receive a first query response message carrying current network status information returned by the receiving end;

网络状况检测模块,用于实时检测所述第一询问响应消息,获得当前网络状况信息。A network status detection module, configured to detect the first inquiry response message in real time to obtain current network status information.

进一步的,本发明的上述实施例中,所述调整模块43包括:Further, in the above-mentioned embodiments of the present invention, the adjustment module 43 includes:

网络状况调整模块,用于当检测到当前网络状况低于预设网络状况时,调整所述第一传输参数。A network condition adjustment module, configured to adjust the first transmission parameter when it is detected that the current network condition is lower than the preset network condition.

进一步的,本发明的上述实施例中,所述检测模块42包括:Further, in the above-mentioned embodiments of the present invention, the detection module 42 includes:

能力变化检测模块,用于接收所述接收端发送的标识接收端能力参数变化的变化消息。A capability change detection module, configured to receive a change message sent by the receiving end to identify a change in a capability parameter of the receiving end.

进一步的,本发明的上述实施例中,所述调整模块43包括:Further, in the above-mentioned embodiments of the present invention, the adjustment module 43 includes:

第二发送模块,用于当检测到所述变化消息时,向接收端发送询问所述接收端支持的能力参数信息的第二询问消息;The second sending module is configured to, when the change message is detected, send to the receiving end a second inquiry message inquiring about the capability parameter information supported by the receiving end;

第三接收模块,接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第二询问响应消息,从中获取所述接收端支持的能力参数信息;The third receiving module receives and parses the second inquiry response message carrying the capability parameter information supported by the receiving terminal returned by the receiving terminal, and obtains the capability parameter information supported by the receiving terminal;

能力调整模块,用于根据所述接收端支持的能力参数信息调整所述第一传输参数。A capability adjustment module, configured to adjust the first transmission parameter according to the capability parameter information supported by the receiving end.

进一步的,本发明的上述实施例中,所述装置还包括:Further, in the above-mentioned embodiments of the present invention, the device further includes:

第一参数确定模块,用于与接收端协商确定发送端和接收端共同支持的能力参数信息,并根据所述共同支持的能力参数信息确定第一传输参数。The first parameter determination module is configured to negotiate with the receiving end to determine the capability parameter information jointly supported by the transmitting end and the receiving end, and determine the first transmission parameter according to the jointly supported capability parameter information.

进一步的,本发明的上述实施例中,所述第一参数确定模块包括:Further, in the above-mentioned embodiment of the present invention, the first parameter determination module includes:

第三发送模块,用于向接收端发送询问所述接收端支持的第一能力参数信息的第三询问消息;A third sending module, configured to send to the receiving end a third inquiry message inquiring about the first capability parameter information supported by the receiving end;

第四接收模块,用于接收并解析所述接收端返回的携带所述接收端支持的能力参数信息的第三询问响应消息,从中获取所述接收端支持的第一能力参数信息;The fourth receiving module is configured to receive and parse the third query response message returned by the receiving end carrying the capability parameter information supported by the receiving end, and obtain the first capability parameter information supported by the receiving end;

第一确定子模块,用于根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。The first determining submodule is configured to determine capability parameter information supported by both the transmitting end and the receiving end according to the first capability parameter information supported by the receiving end and the second capability parameter information supported by the transmitting end itself.

进一步的,本发明的上述实施例中,所述第一参数确定模块包括:Further, in the above-mentioned embodiment of the present invention, the first parameter determination module includes:

第五接收模块,用于接收所述接收端发送的询问发送端支持的第二能力参数信息的第四询问消息;The fifth receiving module is configured to receive a fourth inquiry message sent by the receiving end to inquire about the second capability parameter information supported by the sending end;

第四发送模块,用于向接收端发送携带所述发送端支持的第二能力参数信息的第四询问响应消息,使得所述接收端能够根据自身支持的第一能力参数信息和所述发送端支持的第二能力参数信息确定所述发送端和所述接收端共同支持的能力参数信息;The fourth sending module is configured to send to the receiving end a fourth inquiry response message carrying the second capability parameter information supported by the sending end, so that the receiving end can use the first capability parameter information supported by itself and the sending end The supported second capability parameter information determines the capability parameter information jointly supported by the sending end and the receiving end;

第六接收模块,用于接收所述接收端发送的所述发送端和所述接收端共同支持的能力参数信息。The sixth receiving module is configured to receive capability parameter information jointly supported by the sending end and the receiving end sent by the receiving end.

需要说明的是,本发明的上述实施例中提供的发送端多屏互动装置是应用上述发送端的多屏互动方法的装置,则上述发送端的多屏互动方法的所有实施例及其有益效果均适用于该装置。It should be noted that the multi-screen interaction device at the sending end provided in the above-mentioned embodiments of the present invention is a device applying the multi-screen interaction method at the sending end, and all the embodiments and beneficial effects of the multi-screen interaction method at the sending end are applicable. on the device.

为了更好的实现上述目的,如图5所示,本发明实施例还提供一种多屏互动装置,应用于接收端,包括:In order to better achieve the above purpose, as shown in Figure 5, an embodiment of the present invention also provides a multi-screen interactive device, which is applied to the receiving end, including:

第一数据接收模块51,用于接收发送端利用第一传输参数传输的同屏数据;The first data receiving module 51 is used to receive the same-screen data transmitted by the sending end using the first transmission parameter;

第二数据接收模块52,用于在传输同屏数据的过程中,当发送端检测到触发信息满足预设触发条件时,接收所述发送端利用调整后的第二传输参数传输的同屏数据。The second data receiving module 52 is configured to receive the same-screen data transmitted by the sending end using the adjusted second transmission parameters when the sending end detects that the trigger information satisfies the preset trigger condition during the process of transmitting the same-screen data .

进一步的,本发明的上述实施例中,当触发信息为发送端当前的资源占用情况,且所述发送端当前的资源占用情况低于第二预设情况时,所述多屏互动装置还包括:Further, in the above embodiments of the present invention, when the trigger information is the current resource occupation of the sending end, and the current resource occupation of the sending end is lower than the second preset situation, the multi-screen interaction device further includes :

第七接收模块,用于接收所述发送端发送的询问所述接收端当前支持的能力参数信息的第五询问消息;A seventh receiving module, configured to receive a fifth inquiry message sent by the sending end to inquire about the capability parameter information currently supported by the receiving end;

第五发送模块,用于向所述发送端返回携带所述接收端当前支持的能力参数信息的第五询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并基于所述接收端当前支持的能力参数信息调整所述第一传输参数。A fifth sending module, configured to return to the sending end a fifth query response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end and adjusting the first transmission parameter based on the capability parameter information currently supported by the receiving end.

进一步的,本发明的上述实施例中,当所述触发信息为当前网络状况信息时,所述多屏互动装置还包括:Further, in the above-mentioned embodiments of the present invention, when the trigger information is current network status information, the multi-screen interaction device further includes:

第八接收模块,用于接收所述发送端发送的询问当前网络状况信息的第一询问消息;An eighth receiving module, configured to receive a first inquiry message sent by the sending end to inquire about current network status information;

第六发送模块,用于向所述发送端返回携带当前网络状况信息的第一询问响应消息,使得所述发送端能够从中获取当前网络状况信息。A sixth sending module, configured to return a first inquiry response message carrying current network status information to the sending end, so that the sending end can obtain the current network status information therefrom.

进一步的,本发明的上述实施例中,当接收端能力参数变化时,所述多屏互动装置还包括:Further, in the above-mentioned embodiment of the present invention, when the capability parameter of the receiving end changes, the multi-screen interaction device further includes:

第七发送模块,用于向所述发送端发送标识接收端能力参数变化的变化消息;A seventh sending module, configured to send a change message identifying a change in the capability parameter of the receiving end to the sending end;

第九接收模块,用于接收所述发送端检测到所述变化消息后发送的询问所述接收端当前支持的能力参数信息的第二询问消息;A ninth receiving module, configured to receive a second inquiry message sent by the sending end after detecting the change message, inquiring about the capability parameter information currently supported by the receiving end;

第八发送模块,用于向所述发送端返回携带所述接收端当前支持的能力参数信息的第二询问响应消息,使得所述发送端能够从中获取所述接收端当前支持的能力参数信息并根据所述接收端当前支持的能力参数信息调整所述第一传输参数。An eighth sending module, configured to return to the sending end a second inquiry response message carrying the capability parameter information currently supported by the receiving end, so that the sending end can obtain the capability parameter information currently supported by the receiving end and Adjusting the first transmission parameter according to the capability parameter information currently supported by the receiving end.

进一步的,本发明的上述实施例中,所述多屏互动装置还包括:Further, in the above-mentioned embodiment of the present invention, the multi-screen interactive device further includes:

第二参数确定模块,用于与发送端协商确定发送端和接收端共同支持的能力参数信息,使得发送端能够根据所述共同支持的能力参数信息确定第一传输参数。The second parameter determination module is configured to negotiate with the sending end to determine the capability parameter information supported by the sending end and the receiving end, so that the sending end can determine the first transmission parameter according to the commonly supported capability parameter information.

进一步的,本发明的上述实施例中,所述第二参数确定模块包括:Further, in the above-mentioned embodiment of the present invention, the second parameter determination module includes:

询问接收模块,用于接收所述发送端发送的询问所述接收端支持的第一能力参数信息的第三询问消息;An inquiry receiving module, configured to receive a third inquiry message sent by the sending end to inquire about the first capability parameter information supported by the receiving end;

返回模块,用于向所述发送端返回携带所述接收端支持的第一能力参数信息的第三询问响应消息,使得发送端能够根据所述接收端支持的第一能力参数信息和所述发送端自身支持的第二能力参数信息,确定发送端和接收端共同支持的能力参数信息。A return module, configured to return to the sending end a third inquiry response message carrying the first capability parameter information supported by the receiving end, so that the sending end can The second capability parameter information supported by the end itself determines the capability parameter information jointly supported by the sending end and the receiving end.

进一步的,本发明的上述实施例中,所述第二参数确定模块包括:Further, in the above-mentioned embodiment of the present invention, the second parameter determination module includes:

询问发送模块,用于向发送端发送询问所述发送端支持的第二能力参数信息的第四询问消息;An inquiry sending module, configured to send to the sending end a fourth inquiry message inquiring about the second capability parameter information supported by the sending end;

接收解析模块,用于接收并解析所述发送端返回的携带所述发送端支持的第二能力参数信息的第四询问响应消息,从中获取所述发送端支持的第二能力参数信息;The receiving and parsing module is configured to receive and parse the fourth inquiry response message carrying the second capability parameter information supported by the sender returned by the sender, and obtain the second capability parameter information supported by the sender therefrom;

第二确定子模块,用于根据所述发送端支持的第二能力参数信息和所述接收端自身支持的第一能力参数信息,确定所述发送端和所述接收端共同支持的能力参数信息并将所述共同支持的能力参数信息发送给所述发送端。The second determining submodule is configured to determine the capability parameter information jointly supported by the transmitting terminal and the receiving terminal according to the second capability parameter information supported by the transmitting terminal and the first capability parameter information supported by the receiving terminal itself and sending the commonly supported capability parameter information to the sending end.

需要说明的是,本发明的上述实施例中提供的接收端多屏互动装置是应用上述接收端的多屏互动方法的装置,则上述接收端的多屏互动方法的所有实施例及其有益效果均适用于该装置。It should be noted that the multi-screen interaction device at the receiving end provided in the above-mentioned embodiments of the present invention is a device that applies the multi-screen interaction method at the receiving end, and all the embodiments and beneficial effects of the multi-screen interaction method at the receiving end are applicable. on the device.

综上,本发明实施例的具体应用中,对同屏数据的传输参数的修改主要结合如图6所示的5个因素:1)当前的应用程序(即应用环境);2)从操作系统模块获取的资源占用情况;3)从网络通信模块获取的当前网络状况信息;4)发送端或接收端的能力参数修改;5)用户的自定义设置。在多屏互动过程中结合上述5个因素的一个或多个来综合调整传输参数,使其与当前的应用环境相匹配,提高传输及显示的效果和效率。To sum up, in the specific application of the embodiment of the present invention, the modification of the transmission parameters of the same-screen data is mainly combined with five factors as shown in Figure 6: 1) the current application program (i.e. the application environment); 2) from the operating system Resource occupancy obtained by the module; 3) Current network status information obtained from the network communication module; 4) Capability parameter modification of the sending end or receiving end; 5) User-defined settings. In the process of multi-screen interaction, combine one or more of the above five factors to comprehensively adjust the transmission parameters to match the current application environment and improve the effect and efficiency of transmission and display.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, these improvements and modifications It should also be regarded as the protection scope of the present invention.

Claims (36)

1. a multi-screen interaction method, is applied to transmitting terminal, it is characterised in that include:
The first transmission parameter is utilized to transmit screen data to receiving terminal;
During transmission screen data, detect the trigger message of parameter adjustment in real time;
When the trigger message detecting meets preset trigger condition, adjust the described first transmission parameter, obtain Second transmission parameter, and utilize the described second transmission parameter to transmit follow-up screen data.
2. multi-screen interaction method according to claim 1, it is characterised in that described real-time detection parameter The trigger message adjusting, specifically includes:
Detect the current occupation condition of transmitting terminal in real time.
3. multi-screen interaction method according to claim 2, it is characterised in that described when touching of detecting When photos and sending messages meets preset trigger condition, adjust the described first transmission parameter, specifically include:
When the current occupation condition of the transmitting terminal detecting exceeds the first predetermined condition or pre-less than second If situation, then adjust the described first transmission parameter;Wherein, described second predetermined condition is first pre-less than described If situation.
4. multi-screen interaction method according to claim 3, it is characterised in that described adjustment described first Transmission parameter, specifically includes:
If described occupation condition information show described occupation condition more than the first predetermined condition, then institute State transmitting terminal and actively reduce the described first transmission parameter;
If described occupation condition information shows that described occupation condition is less than the second predetermined condition, then obtain Take the ability parameter information that described receiving terminal is currently supported, and the ability ginseng currently supported based on described receiving terminal Number information adjusts the described first transmission parameter.
5. multi-screen interaction method according to claim 1, it is characterised in that described real-time detection parameter The trigger message adjusting, specifically includes:
Send the first inquiry message of inquiry current network conditions information to receiving terminal;
Receive the first inquiry response messages carrying current network conditions information that described receiving terminal returns;
Described first inquiry response messages of detection in real time, it is thus achieved that current network conditions information.
6. multi-screen interaction method according to claim 5, it is characterised in that when the triggering letter detecting When breath meets preset trigger condition, adjust the described first transmission parameter, specifically include:
When detecting that current network conditions is less than default network condition, adjust the described first transmission parameter.
7. multi-screen interaction method according to claim 1, it is characterised in that described real-time detection parameter The trigger message adjusting, specifically includes:
Receive the change message of the mark receiving terminal ability parameter change that described receiving terminal sends.
8. multi-screen interaction method according to claim 7, it is characterised in that when the triggering letter detecting When breath meets preset trigger condition, adjust the described first transmission parameter, specifically include:
When described change message being detected, send, to receiving terminal, the ability parameter that the described receiving terminal of inquiry is supported Second inquiry message of information;
Receive and parse through the second of the ability parameter information carrying the support of described receiving terminal that described receiving terminal returns Inquiry response messages, therefrom obtains the ability parameter information that described receiving terminal is supported;
Adjust the described first transmission parameter according to the ability parameter information that described receiving terminal is supported.
9. multi-screen interaction method according to claim 1, it is characterised in that described utilize the first transmission Parameter also included before receiving terminal transmission screen data:
Consult to determine, with receiving terminal, the ability parameter information that transmitting terminal and receiving terminal are supported jointly, and according to described The common ability parameter information supported determines the first transmission parameter.
10. multi-screen interaction method according to claim 9, it is characterised in that described and receiving terminal is consulted Determine the ability parameter information that transmitting terminal and receiving terminal are supported jointly, specifically include:
Send the 3rd inquiry message of the first ability parameter information that the described receiving terminal of inquiry is supported to receiving terminal;
Receive and parse through the 3rd of the ability parameter information carrying the support of described receiving terminal that described receiving terminal returns the Inquiry response messages, therefrom obtains the first ability parameter information that described receiving terminal is supported;
The second energy that the first ability parameter information supported according to described receiving terminal and described transmitting terminal self are supported Force parameter information, determines the ability parameter information that transmitting terminal and receiving terminal are supported jointly.
11. multi-screen interaction methods according to claim 9, it is characterised in that described and receiving terminal is consulted Determine the ability parameter information that transmitting terminal and receiving terminal are supported jointly, specifically include:
4th inquiry of the second ability parameter information receiving the inquiry transmitting terminal support that described receiving terminal sends disappears Breath;
The 4th query-response sending the second ability parameter information carrying the support of described transmitting terminal to receiving terminal disappears Breath so that described receiving terminal can be supported according to the first ability parameter information self supported and described transmitting terminal The second ability parameter information determine the ability parameter information that described transmitting terminal and described receiving terminal are supported jointly;
Receive described transmitting terminal and the ability parameter information jointly supported of described receiving terminal that described receiving terminal sends.
12. 1 kinds of multi-screen interaction methods, are applied to receiving terminal, it is characterised in that include:
Receiving end/sending end utilizes the screen data of the first transmission parameter transmission;
During transmission screen data, when transmitting terminal detects that trigger message meets preset trigger condition, Receive described transmitting terminal and utilize the screen data of the second transmission parameter transmission after adjusting.
13. multi-screen interaction methods according to claim 12, it is characterised in that when trigger message is for sending out The current occupation condition of sending end, and the current occupation condition of described transmitting terminal presets feelings less than second During condition, described multi-screen interaction method also includes:
Receive the 5th inquiry of the ability parameter information that the described receiving terminal of inquiry that described transmitting terminal sends currently is supported Ask message;
Return the 5th inquiry sound carrying the ability parameter information that described receiving terminal is currently supported to described transmitting terminal Answer message so that described transmitting terminal can therefrom obtain the ability parameter information that described receiving terminal currently supports simultaneously The ability parameter information currently supported based on described receiving terminal adjusts the described first transmission parameter.
14. multi-screen interaction methods according to claim 12, it is characterised in that when described trigger message During for current network conditions information, described multi-screen interaction method also includes:
Receive the first inquiry message of the inquiry current network conditions information that described transmitting terminal sends;
Return the first inquiry response messages carrying current network conditions information to described transmitting terminal so that described Transmitting terminal can therefrom obtain current network conditions information.
15. multi-screen interaction methods according to claim 12, it is characterised in that when receiving terminal ability ginseng During number change, described multi-screen interaction method also includes:
Send the change message of mark receiving terminal ability parameter change to described transmitting terminal;
Receive what the described receiving terminal of inquiry sending after described transmitting terminal detects described change message was currently supported Second inquiry message of ability parameter information;
Return the second inquiry sound carrying the ability parameter information that described receiving terminal is currently supported to described transmitting terminal Answer message so that described transmitting terminal can therefrom obtain the ability parameter information that described receiving terminal currently supports simultaneously Adjust the described first transmission parameter according to the ability parameter information that described receiving terminal is currently supported.
16. multi-screen interaction methods according to claim 12, it is characterised in that described receiving end/sending end Also include before the screen data utilizing the first transmission parameter transmission:
Consult to determine the ability parameter information that transmitting terminal and receiving terminal are supported jointly with transmitting terminal so that transmitting terminal The first transmission parameter can be determined according to the ability parameter information of described common support.
17. multi-screen interaction methods according to claim 16, it is characterised in that described and transmitting terminal association Business determines the ability parameter information that transmitting terminal and receiving terminal are supported jointly, specifically includes:
Receive the 3rd inquiry of the first ability parameter information of the inquiry described receiving terminal support that described transmitting terminal sends Ask message;
Return the 3rd inquiry sound carrying the first ability parameter information that described receiving terminal is supported to described transmitting terminal Answer message so that transmitting terminal can be according to the first ability parameter information of described receiving terminal support and described transmission Hold the second ability parameter information self supported, determine the ability parameter letter that transmitting terminal and receiving terminal are supported jointly Breath.
18. multi-screen interaction methods according to claim 16, it is characterised in that consult really with transmitting terminal Determine transmitting terminal and ability parameter information that receiving terminal is supported jointly, specifically include:
Send the 4th inquiry message of the second ability parameter information that the described transmitting terminal of inquiry is supported to transmitting terminal;
Receive and parse through the second ability parameter information carrying the support of described transmitting terminal of described transmitting terminal return 4th inquiry response messages, therefrom obtains the second ability parameter information that described transmitting terminal is supported;
The first energy that the second ability parameter information supported according to described transmitting terminal and described receiving terminal self are supported Force parameter information, determines ability parameter information that described transmitting terminal and described receiving terminal support jointly and by described The common ability parameter information supported is sent to described transmitting terminal.
19. 1 kinds of multi-screen interactive device, are applied to transmitting terminal, it is characterised in that include:
Transport module, is used for utilizing the first transmission parameter to transmit screen data to receiving terminal;
Detection module, for, during transmission screen data, detecting the trigger message of parameter adjustment in real time;
Adjusting module, for when the trigger message detecting meets preset trigger condition, adjusts described first Transmission parameter, obtains the second transmission parameter, and utilizes the described second transmission parameter to transmit follow-up screen data.
20. multi-screen interactive device according to claim 19, it is characterised in that described detection module bag Include:
Resource occupation detection module, for the current occupation condition of real-time detection transmitting terminal.
21. multi-screen interactive device according to claim 20, it is characterised in that described adjusting module bag Include:
Resource occupation adjusting module, for exceeding first when the current occupation condition of the transmitting terminal detecting Predetermined condition or be less than the second predetermined condition, then adjust described first transmission parameter;Wherein, described second Predetermined condition is less than described first predetermined condition.
22. multi-screen interactive device according to claim 21, it is characterised in that described resource occupation is adjusted Mould preparation block includes:
For described occupation condition information, first adjustment submodule, if showing that described occupation condition surpasses Cross the first predetermined condition, then described transmitting terminal actively reduces the described first transmission parameter;
For described occupation condition information, second adjustment submodule, if showing that described occupation condition is low In the second predetermined condition, then obtain the ability parameter information that described receiving terminal is currently supported, and connect based on described The ability parameter information that receiving end is currently supported adjusts the described first transmission parameter.
23. multi-screen interactive device according to claim 19, it is characterised in that described detection module bag Include:
First sending module, for sending the first inquiry message of inquiry current network conditions information to receiving terminal;
First receiver module, for receive described receiving terminal return carry the first of current network conditions information Inquiry response messages;
Network condition detection module, for described first inquiry response messages of real-time detection, it is thus achieved that current network Condition information.
24. multi-screen interactive device according to claim 23, it is characterised in that described adjusting module bag Include:
Network condition adjusting module, for when detecting that current network conditions is less than default network condition, adjusts Whole described first transmission parameter.
25. multi-screen interactive device according to claim 19, it is characterised in that described detection module bag Include:
Capacity variation detection module, for receiving the mark receiving terminal ability parameter change that described receiving terminal sends Change message.
26. multi-screen interactive device according to claim 25, it is characterised in that described adjusting module bag Include:
Second sending module, for when described change message being detected, sends to receiving terminal and connects described in inquiry Second inquiry message of the ability parameter information that receiving end is supported;
3rd receiver module, receives and parses through the ability carrying the support of described receiving terminal that described receiving terminal returns Second inquiry response messages of parameter information, therefrom obtains the ability parameter information that described receiving terminal is supported;
Capacity adjusting module, the ability parameter information for supporting according to described receiving terminal adjusts described first and passes Defeated parameter.
27. multi-screen interactive device according to claim 19, it is characterised in that described device also includes:
First parameter determination module, for consulting to determine the energy that transmitting terminal and receiving terminal are supported jointly with receiving terminal Force parameter information, and determine the first transmission parameter according to the ability parameter information of described common support.
28. multi-screen interactive device according to claim 27, it is characterised in that described first parameter is true Cover half block includes:
3rd sending module, for sending, to receiving terminal, the first ability parameter letter that the described receiving terminal of inquiry is supported 3rd inquiry message of breath;
4th receiver module, for receive and parse through described receiving terminal return carry described receiving terminal support 3rd inquiry response messages of ability parameter information, therefrom obtains the first ability parameter that described receiving terminal is supported Information;
First determination submodule, for according to described receiving terminal support the first ability parameter information and described The second ability parameter information that sending end self is supported, determines the ability parameter that transmitting terminal and receiving terminal are supported jointly Information.
29. multi-screen interactive device according to claim 27, it is characterised in that described first parameter is true Cover half block includes:
5th receiver module, the second ability ginseng that the inquiry transmitting terminal sending for receiving described receiving terminal is supported 4th inquiry message of number information;
4th sending module, carries, for sending to receiving terminal, the second ability parameter letter that described transmitting terminal is supported 4th inquiry response messages of breath so that described receiving terminal can be according to the first ability parameter letter self supported The second ability parameter information that breath and described transmitting terminal are supported determines that described transmitting terminal and described receiving terminal prop up jointly The ability parameter information held;
6th receiver module, common for the described transmitting terminal and described receiving terminal receiving the transmission of described receiving terminal The ability parameter information supported.
30. 1 kinds of multi-screen interactive device, are applied to receiving terminal, it is characterised in that include:
First data reception module, utilizes the screen data of the first transmission parameter transmission for receiving end/sending end;
Second data reception module, for during transmission screen data, when transmitting terminal detects triggering When information meets preset trigger condition, receive described transmitting terminal and utilize the second transmission parameter transmission after adjusting Screen data.
31. multi-screen interactive device according to claim 30, it is characterised in that when trigger message is for sending out The current occupation condition of sending end, and the current occupation condition of described transmitting terminal presets feelings less than second During condition, described multi-screen interactive device also includes:
7th receiver module, the energy that the described receiving terminal of inquiry sending for receiving described transmitting terminal is currently supported 5th inquiry message of force parameter information;
5th sending module, carries, for returning to described transmitting terminal, the ability ginseng that described receiving terminal is currently supported 5th inquiry response messages of number information so that described transmitting terminal can therefrom obtain described receiving terminal and currently prop up The ability parameter information held the ability parameter information currently supported based on described receiving terminal adjust described first and pass Defeated parameter.
32. multi-screen interaction methods according to claim 30, it is characterised in that when described trigger message During for current network conditions information, described multi-screen interactive device also includes:
8th receiver module, for receiving the first of the inquiry current network conditions information that described transmitting terminal sends Inquiry message;
6th sending module, for returning the first inquiry carrying current network conditions information to described transmitting terminal Response message so that described transmitting terminal can therefrom obtain current network conditions information.
33. multi-screen interaction methods according to claim 30, it is characterised in that when receiving terminal ability ginseng During number change, described multi-screen interactive device also includes:
7th sending module, the change for sending mark receiving terminal ability parameter change to described transmitting terminal disappears Breath;
9th receiver module, for receiving the inquiry institute sending after described transmitting terminal detects described change message State the second inquiry message of the ability parameter information that receiving terminal is currently supported;
8th sending module, carries, for returning to described transmitting terminal, the ability ginseng that described receiving terminal is currently supported Second inquiry response messages of number information so that described transmitting terminal can therefrom obtain described receiving terminal and currently prop up The ability parameter information held the ability parameter information currently supported according to described receiving terminal adjust described first and pass Defeated parameter.
34. multi-screen interactive device according to claim 30, it is characterised in that described multi-screen interactive fills Put and also include:
Second parameter determination module, for consulting to determine the energy that transmitting terminal and receiving terminal are supported jointly with transmitting terminal Force parameter information so that transmitting terminal can determine the first transmission according to the ability parameter information of described common support Parameter.
35. multi-screen interactive device according to claim 34, it is characterised in that described second parameter is true Cover half block includes:
Inquiry receiver module, the first energy that the described receiving terminal of inquiry sending for receiving described transmitting terminal is supported 3rd inquiry message of force parameter information;
Return module, carry, for returning to described transmitting terminal, the first ability parameter letter that described receiving terminal is supported 3rd inquiry response messages of breath so that the first ability parameter that transmitting terminal can be supported according to described receiving terminal The second ability parameter information that information and described transmitting terminal self are supported, determines that transmitting terminal and receiving terminal prop up jointly The ability parameter information held.
36. multi-screen interactive device according to claim 34, it is characterised in that described second parameter is true Cover half block includes:
Inquiry sending module, for sending, to transmitting terminal, the second ability parameter letter that the described transmitting terminal of inquiry is supported 4th inquiry message of breath;
Receive parsing module, for receive and parse through described transmitting terminal return carry described transmitting terminal support 4th inquiry response messages of the second ability parameter information, therefrom obtains the second ability that described transmitting terminal is supported Parameter information;
Second determination submodule, for the second ability parameter information supported according to described transmitting terminal with described connect The first ability parameter information that receiving end self is supported, determines what described transmitting terminal and described receiving terminal were supported jointly Ability parameter information the ability parameter information by described common support are sent to described transmitting terminal.
CN201510162001.0A 2015-04-07 2015-04-07 A kind of multi-screen interaction method and device Pending CN106155606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510162001.0A CN106155606A (en) 2015-04-07 2015-04-07 A kind of multi-screen interaction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510162001.0A CN106155606A (en) 2015-04-07 2015-04-07 A kind of multi-screen interaction method and device

Publications (1)

Publication Number Publication Date
CN106155606A true CN106155606A (en) 2016-11-23

Family

ID=57335694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510162001.0A Pending CN106155606A (en) 2015-04-07 2015-04-07 A kind of multi-screen interaction method and device

Country Status (1)

Country Link
CN (1) CN106155606A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273082A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 Display methods, device, terminal and the storage medium of image
CN108174200A (en) * 2017-11-28 2018-06-15 西安万像电子科技有限公司 Image transfer method and device
CN108257594A (en) * 2016-12-28 2018-07-06 中国移动通信有限公司研究院 A kind of conference system and its information processing method
CN108391161A (en) * 2018-02-06 2018-08-10 苏州必捷网络有限公司 A kind of cross-platform wireless throwing screen method
CN110519633A (en) * 2019-08-02 2019-11-29 广州视源电子科技股份有限公司 Wireless screen transmission method, device and system and intelligent interactive panel
CN110944220A (en) * 2019-12-10 2020-03-31 北京爱奇艺科技有限公司 Video screen projection playing method, device, equipment and system
CN111417006A (en) * 2020-04-28 2020-07-14 广州酷狗计算机科技有限公司 Video screen projection method, device, terminal and storage medium
CN111541934A (en) * 2020-07-08 2020-08-14 成都极米科技股份有限公司 Screen projection equipment, method and system and computer readable storage medium
CN111787377A (en) * 2020-08-19 2020-10-16 青岛海信传媒网络技术有限公司 Display device and screen projection method
CN112019897A (en) * 2020-08-27 2020-12-01 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN112399215A (en) * 2020-10-26 2021-02-23 努比亚技术有限公司 Screen projection parameter regulation and control method and device and computer readable storage medium
CN112492395A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Data processing method and device and electronic equipment
CN113127214A (en) * 2019-12-30 2021-07-16 中移(成都)信息通信科技有限公司 Timing wake-up processing method and device, terminal equipment and storage medium
CN113596231A (en) * 2021-07-28 2021-11-02 努比亚技术有限公司 Screen projection display control method and device and computer readable storage medium
WO2022022019A1 (en) * 2020-07-30 2022-02-03 华为技术有限公司 Screen projection data processing method and apparatus
CN114489547A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection method and device, electronic equipment and readable storage medium
CN114501122A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection method and device for audio data, storage medium and screen projector
CN114510191A (en) * 2022-02-16 2022-05-17 北京字跳网络技术有限公司 Screen projection method and device
WO2023279895A1 (en) * 2021-07-07 2023-01-12 海信视像科技股份有限公司 Display device and screen projection method
WO2023035805A1 (en) * 2021-09-07 2023-03-16 海信视像科技股份有限公司 Display device and display method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022089A1 (en) * 2003-07-25 2005-01-27 Nokia Corporation System and method for a communication network
CN101162971A (en) * 2007-10-30 2008-04-16 华为技术有限公司 Data transmitting method, equipment and system
CN103176765A (en) * 2013-02-05 2013-06-26 海信集团有限公司 Screen transmitting method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022089A1 (en) * 2003-07-25 2005-01-27 Nokia Corporation System and method for a communication network
CN101162971A (en) * 2007-10-30 2008-04-16 华为技术有限公司 Data transmitting method, equipment and system
CN103176765A (en) * 2013-02-05 2013-06-26 海信集团有限公司 Screen transmitting method and electronic equipment

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257594A (en) * 2016-12-28 2018-07-06 中国移动通信有限公司研究院 A kind of conference system and its information processing method
CN107273082A (en) * 2017-06-30 2017-10-20 百度在线网络技术(北京)有限公司 Display methods, device, terminal and the storage medium of image
CN107273082B (en) * 2017-06-30 2022-06-10 百度在线网络技术(北京)有限公司 Image display method, device, terminal and storage medium
CN108174200A (en) * 2017-11-28 2018-06-15 西安万像电子科技有限公司 Image transfer method and device
CN108391161A (en) * 2018-02-06 2018-08-10 苏州必捷网络有限公司 A kind of cross-platform wireless throwing screen method
CN110519633A (en) * 2019-08-02 2019-11-29 广州视源电子科技股份有限公司 Wireless screen transmission method, device and system and intelligent interactive panel
CN110519633B (en) * 2019-08-02 2021-10-15 广州视源电子科技股份有限公司 Wireless screen transmission method, device and system and intelligent interactive panel
CN110944220A (en) * 2019-12-10 2020-03-31 北京爱奇艺科技有限公司 Video screen projection playing method, device, equipment and system
CN113127214A (en) * 2019-12-30 2021-07-16 中移(成都)信息通信科技有限公司 Timing wake-up processing method and device, terminal equipment and storage medium
CN113127214B (en) * 2019-12-30 2024-02-06 中移(成都)信息通信科技有限公司 Timing wake-up processing method and device, terminal equipment and storage medium
CN111417006A (en) * 2020-04-28 2020-07-14 广州酷狗计算机科技有限公司 Video screen projection method, device, terminal and storage medium
CN111541934A (en) * 2020-07-08 2020-08-14 成都极米科技股份有限公司 Screen projection equipment, method and system and computer readable storage medium
WO2022007557A1 (en) * 2020-07-08 2022-01-13 成都极米科技股份有限公司 Screen projection device, method and system, and computer-readable storage medium
WO2022022019A1 (en) * 2020-07-30 2022-02-03 华为技术有限公司 Screen projection data processing method and apparatus
CN111787377A (en) * 2020-08-19 2020-10-16 青岛海信传媒网络技术有限公司 Display device and screen projection method
CN112019897A (en) * 2020-08-27 2020-12-01 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN112019897B (en) * 2020-08-27 2022-11-08 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN112399215A (en) * 2020-10-26 2021-02-23 努比亚技术有限公司 Screen projection parameter regulation and control method and device and computer readable storage medium
WO2022111672A1 (en) * 2020-11-30 2022-06-02 维沃移动通信有限公司 Data processing method and apparatus, and electronic device
CN112492395A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Data processing method and device and electronic equipment
WO2023279895A1 (en) * 2021-07-07 2023-01-12 海信视像科技股份有限公司 Display device and screen projection method
CN113596231A (en) * 2021-07-28 2021-11-02 努比亚技术有限公司 Screen projection display control method and device and computer readable storage medium
CN113596231B (en) * 2021-07-28 2024-03-19 努比亚技术有限公司 Screen-throwing display control method, device and computer readable storage medium
WO2023035805A1 (en) * 2021-09-07 2023-03-16 海信视像科技股份有限公司 Display device and display method
CN114501122A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection method and device for audio data, storage medium and screen projector
CN114489547A (en) * 2022-01-30 2022-05-13 深圳创维-Rgb电子有限公司 Screen projection method and device, electronic equipment and readable storage medium
CN114510191A (en) * 2022-02-16 2022-05-17 北京字跳网络技术有限公司 Screen projection method and device
CN114510191B (en) * 2022-02-16 2024-10-18 北京字跳网络技术有限公司 Screen projection method and device

Similar Documents

Publication Publication Date Title
CN106155606A (en) A kind of multi-screen interaction method and device
JP6279512B2 (en) System and method for adaptive video communication
CN111147893B (en) Video self-adaption method, related equipment and storage medium
EP2740265B1 (en) System and method for adapting video communications
US9648073B2 (en) Streaming control for real-time transport protocol
CN107743698B (en) Method and apparatus for multi-path media delivery
US20130346562A1 (en) Data transmission method and apparatus for mobile terminal
EP3273712B1 (en) Information processing device, information processing method, and program
US11316799B2 (en) Method and apparatus for transmitting a multimedia data packet using cross-layer optimization
EP3081047A1 (en) Session management and control procedures for supporting multiple groups of sink devices in a peer-to-peer wireless display system
JP7063985B2 (en) Network support for uplink streaming
KR101863965B1 (en) Apparatus and method for providing adaptive multimedia service
EP2827596A1 (en) Transmitting and receiving method of multimedia video data and corresponding device
CN106302377B (en) Media session processing method and related equipment and communication system
KR101682627B1 (en) Method and System for Providing Video Stream, and Relaying Apparatus
CN105992014A (en) Method of projecting image data and apparatus thereof, sending terminal and receiving terminal
Rodríguez et al. Adaptive cross-device videoconferencing solution for wireless networks based on QoS monitoring
CN104158804A (en) Multi-screen interaction method
WO2022007619A1 (en) Video transmission method, device, system, and storage medium
US20240031298A1 (en) Communication method and device
EP4358591A1 (en) Data transmission method and related device
Rodríguez et al. Cross-device Videoconferencing based on Adaptive Multimedia Streams.
TWI475842B (en) Real-time control method of servo-to-client data stream transfer rate
Shen et al. End-to-end wireless multimedia transmission system
Lee et al. Uncompressed video transmission in portable devices for wireless video mirroring service

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

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication