CN115623069A - Method and device for multi-screen projection - Google Patents
Method and device for multi-screen projection Download PDFInfo
- Publication number
- CN115623069A CN115623069A CN202211124007.5A CN202211124007A CN115623069A CN 115623069 A CN115623069 A CN 115623069A CN 202211124007 A CN202211124007 A CN 202211124007A CN 115623069 A CN115623069 A CN 115623069A
- Authority
- CN
- China
- Prior art keywords
- data
- projected
- screen
- display device
- content
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
本申请实施例公开了一种多屏幕投屏方法及装置,应用于无线保真WiFi收发器,其中方法包括:在第一显示设备和第二显示设备上不存在投屏内容的情况下,接收终端发送的目标数据,其中,所述终端、所述第一显示设备和所述第二显示设备加入了所述无线保真WiFi收发器组建的无线局域网,所述目标数据包括第一待投屏数据和第二待投屏数据,所述第一待投屏数据的内容为静态图文内容或动态视频内容,所述第二待投屏数据的内容为所述动态视频内容;向所述第一显示设备发送解码后的第一待投屏数据,以及向第二显示设备发送解码后的第二待投屏数据。本申请实施例能够增大带宽,提高视频数据投屏时的分辨率和帧率。
The embodiment of the present application discloses a multi-screen projection method and device, which are applied to a wireless fidelity WiFi transceiver, wherein the method includes: when there is no projection content on the first display device and the second display device, receiving The target data sent by the terminal, wherein the terminal, the first display device, and the second display device have joined the wireless local area network formed by the wireless fidelity WiFi transceiver, and the target data includes the first screen to be projected data and second screen-to-be-projected data, the content of the first screen-to-be-projected data is static graphic content or dynamic video content, and the content of the second screen-to-be-projected data is the dynamic video content; A display device sends the decoded first screen-to-be-projected data, and sends the decoded second screen-to-be-projected data to the second display device. The embodiment of the present application can increase the bandwidth, and improve the resolution and frame rate of video data projection.
Description
技术领域technical field
本申请涉及通信技术,应用于互联网、大数据等领域,尤其涉及一种多屏幕投屏方法及装置。The present application relates to communication technology, which is applied to the Internet, big data and other fields, and in particular relates to a multi-screen projection method and device.
背景技术Background technique
当前对于视频的投屏参数大多在4K/30帧,使得投屏画质不高,且在会议等场景下,会议室投影设备(电视、投影机)尺寸也越来越大,大部分已经达到了4K的分辨率。但是若当低分辨率和大尺寸显示画面组合时,画面质量就会被二次劣化。另外,在会议等场景下,用户还可能有多屏幕投屏的需求,因此在投屏时,不仅需要考虑到有视频需要投屏时投屏的画质问题,还要考虑到无线保真WiFi收发器的功耗和处理的效率问题。At present, most of the video projection parameters are 4K/30 frames, which makes the projection quality not high, and in the conference and other scenarios, the size of the conference room projection equipment (TV, projector) is also getting larger and larger, and most of them have reached up to 4K resolution. However, when low-resolution and large-size display screens are combined, the picture quality will be degraded twice. In addition, in scenarios such as conferences, users may also need to cast from multiple screens. Therefore, when casting, not only the quality of the screen when there is video to be cast, but also the wireless fidelity WiFi Transceiver power consumption and processing efficiency issues.
发明内容Contents of the invention
本申请实施例提供了一种多屏幕投屏方法及装置,能够增大带宽,提高视频数据投屏时的分辨率和帧率。Embodiments of the present application provide a method and device for multi-screen projection, which can increase the bandwidth and improve the resolution and frame rate of video data projection.
第一方面,本申请实施例提供了一种多屏幕投屏方法,应用于无线保真WiFi收发器,包括:In the first aspect, the embodiment of the present application provides a multi-screen projection method, which is applied to a wireless fidelity WiFi transceiver, including:
在第一显示设备和第二显示设备上不存在投屏内容的情况下,接收终端发送的目标数据,其中,所述终端、所述第一显示设备和所述第二显示设备加入了所述无线保真WiFi收发器组建的无线局域网,所述目标数据包括第一待投屏数据和第二待投屏数据,所述第一待投屏数据的内容为静态图文内容或动态视频内容,所述第二待投屏数据的内容为所述动态视频内容,所述目标数据携带了将所述第一待投屏数据投屏于所述第一显示设备的编号标识,以及携带了将所述第二待投屏数据投屏于所述第二显示设备的编号标识;In the case that there is no screen-casting content on the first display device and the second display device, the target data sent by the terminal is received, wherein the terminal, the first display device and the second display device add the A wireless local area network formed by a wireless fidelity WiFi transceiver, the target data includes the first data to be projected and the second data to be projected, and the content of the first data to be projected is static graphic content or dynamic video content, The content of the second screen-to-be-projected data is the dynamic video content, and the target data carries the identification number for projecting the first screen-to-be-projected data on the first display device, and carries the The number identification of the second screen-to-be-projected data projected on the second display device;
向所述第一显示设备发送解码后的第一待投屏数据,以及向所述第二显示设备发送解码后的第二待投屏数据。Sending the decoded first screen-to-be-projected data to the first display device, and sending the decoded second screen-to-be-projected data to the second display device.
现有技术中,当前对于视频的投屏参数大多在4K/30帧,使得投屏画质不高,且在会议等场景下,用户还可能有多屏幕投屏的需求。本申请针对有多屏幕投屏需求的情况,在第一显示设备和第二显示设备上不存在投屏内容的情况下,无线保真WiFi收发器接收终端发送的目标数据,其中,该目标数据包括内容为静态图文内容或动态视频内容的第一待投屏数据,以及内容为动态视频内容的第二待投屏数据,该目标数据携带了将该第一待投屏数据投屏于该第一显示设备的编号标识,以及携带了将该第二待投屏数据投屏于该第二显示设备的编号标识;最后向该第一显示设备发送解码后的第一待投屏数据,以及向第二显示设备发送解码后的第二待投屏数据。本方案能够提高视频数据投屏时的分辨率和帧率。In the existing technology, the current projection parameters for video are mostly 4K/30 frames, which makes the projection quality not high, and in scenarios such as conferences, users may also have the requirement of multi-screen projection. This application is aimed at the situation where there is a need for multi-screen projection. When there is no projection content on the first display device and the second display device, the wireless fidelity WiFi transceiver receives the target data sent by the terminal, wherein the target data Including the first data to be projected whose content is static graphic content or dynamic video content, and the second data to be projected whose content is dynamic video content, the target data carries the first data to be projected to the screen The number identification of the first display device, and the number identification carrying the second data to be projected on the second display device; finally, the decoded first data to be projected is sent to the first display device, and Send the decoded second screen-to-be-projected data to the second display device. This solution can improve the resolution and frame rate of video data projection.
在一种可能的实施方式中,所述在第一显示设备和第二显示设备上不存在投屏内容的情况下,接收终端发送的目标数据之后,所述向所述第一显示设备发送解码后的第一待投屏数据,以及向所述第二显示设备发送解码后的第二待投屏数据之前,还包括:In a possible implementation manner, in the case that there is no screen-casting content on the first display device and the second display device, after receiving the target data sent by the terminal, the sending of the decoding information to the first display device Before the first screen-to-be-projected data after decoding, and before sending the decoded second screen-to-be-projected data to the second display device, it also includes:
在所述第一待投屏数据的内容和所述第二待投屏数据的内容均为所述动态视频内容的情况下,将所述第一待投屏数据转换为协议格式为USB协议的第一编码数据,以及将所述第二待投屏数据转换为协议格式为USB协议的第二编码数据;In the case where the content of the first screen-to-be-projected data and the content of the second screen-to-be-projected data are both the dynamic video content, converting the first screen-to-be-projected data into a protocol format of the USB protocol The first encoded data, and converting the second data to be projected into the second encoded data whose protocol format is the USB protocol;
通过电脑配件UGA对所述第一编码数据进行解码,得到所述解码后的第一待投屏数据;Decoding the first coded data by using the computer accessory UGA to obtain the decoded first screen-to-be-projected data;
通过所述UGA对所述第二编码数据进行解码,得到所述解码后的第二待投屏数据。The UGA is used to decode the second coded data to obtain the decoded second screen-to-be-projected data.
在上述方法中,在第一待投屏数据的内容和第二待投屏数据的内容均为动态视频内容(比如该第一待投屏数据的内容为视频《设计方案1》,该第二待投屏数据的内容为视频《设计方案2》)的情况下,无线保真WiFi收发器可以先将第一待投屏数据(视频《设计方案1》)转换为协议格式为USB协议的第一编码数据,以及将第二待投屏数据(视频《设计方案2》)转换为协议格式为USB协议的第二编码数据;然后通过UGA对第一编码数据进行解码,得到解码后的第一待投屏数据(视频《设计方案1》),以及通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据(视频《设计方案2》)。本方案基于UGA对编码数据进行解码,能够通过主机USB接口外接多个显示设备,并实现对每个显示设备进行显示设置。In the above method, both the content of the first data to be projected and the content of the second data to be projected are dynamic video contents (for example, the content of the first data to be projected is the video "
在另一种可能的实施方式中,所述在第一显示设备和第二显示设备上不存在投屏内容的情况下,接收终端发送的目标数据之后,所述向所述第一显示设备发送解码后的第一待投屏数据,以及向所述第二显示设备发送解码后的第二待投屏数据之前,还包括:In another possible implementation manner, in the case that there is no screen-casting content on the first display device and the second display device, after receiving the target data sent by the terminal, the sending The decoded first screen-to-be-projected data, and before sending the decoded second screen-to-be-projected data to the second display device, further include:
在所述第一待投屏数据的内容为所述静态图文内容,以及所述第二待投屏数据的内容为动态视频内容的情况下,将所述第一待投屏数据转换为协议格式为WiFi协议的所述第一编码数据;When the content of the first data to be projected is the static graphic content, and the content of the second data to be projected is dynamic video content, converting the first data to be projected into a protocol The format is the first encoded data of WiFi protocol;
根据预设解码方式对所述第一编码数据进行解码,得到所述解码后的第一待投屏数据;Decoding the first coded data according to a preset decoding method to obtain the decoded first screen-to-be-projected data;
将所述第二待投屏数据转换为协议格式为USB协议的所述第二编码数据;Converting the second screen-to-be-projected data into the second coded data whose protocol format is the USB protocol;
通过所述UGA对所述第二编码数据进行解码,得到所述解码后的第二待投屏数据。The UGA is used to decode the second coded data to obtain the decoded second screen-to-be-projected data.
在上述方法中,在第一待投屏数据的内容为静态图文内容,以及第二待投屏数据的内容为动态视频内容的情况下,无线保真WiFi收发器可以将第一待投屏数据转换为协议格式为WiFi协议的第一编码数据,再根据预设解码方式对第一编码数据进行解码,得到解码后的第一待投屏数据。然后将第二待投屏数据转换为协议格式为USB协议的第二编码数据,通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据。本方案采用不同的方式针对性地对第一待投屏数据和第二待投屏数据进行编码和解码,能够有效提高视频数据投屏的处理效率。In the above method, when the content of the first data to be projected is static graphic content, and the content of the second data to be projected is dynamic video content, the wireless fidelity WiFi transceiver can transfer the first screen to be projected to The data is converted into the first coded data whose protocol format is the WiFi protocol, and then the first coded data is decoded according to a preset decoding method to obtain the decoded first screen-to-be-projected data. Then convert the second screen-to-be-projected data into second coded data whose protocol format is the USB protocol, and decode the second coded data through UGA to obtain decoded second screen-to-be-projected data. This solution uses different methods to specifically encode and decode the first data to be projected and the second data to be projected, which can effectively improve the processing efficiency of video data projection.
在又一种可能的实施方式中,还包括:In yet another possible implementation manner, it also includes:
在所述第一显示设备上存在所述投屏内容,以及所述第二显示设备上不存在所述投屏内容的情况下,确定所述第一显示设备上存在所述第一待投屏数据;In a case where the screen-casting content exists on the first display device and the screen-casting content does not exist on the second display device, determining that the first screen-to-be-projected screen exists on the first display device data;
检测所述第一待投屏数据是否需要调整;Detecting whether the first data to be projected needs to be adjusted;
若不需要调整,则接收所述终端发送的所述第二待投屏数据。If adjustment is not required, receiving the second screen-to-be-projected data sent by the terminal.
在上述方法中,在第一显示设备上存在投屏内容,且第二显示设备上不存在投屏内容的情况下,若无线保真WiFi收发器确定第一显示设备上存在的投屏内容为第一待投屏数据,则无线保真WiFi收发器可以进一步检测用户是否在终端上对该第一待投屏数据进行了调整,若检测到用户未在终端上对该第一待投屏数据进行调整,即该第一待投屏数据未作改变时,无线保真WiFi收发器仅需接收终端发送的第二待投屏数据。本方案在第一显示设备上存在投屏内容,且第二显示设备上不存在投屏内容的情况下,通过检测第一显示设备上的投屏内容是否需要调整,使得无线保真WiFi收发器能够针对性地接收终端发送的目标数据,最终提高投屏数据的处理效率以及有效节省资源。In the above method, when there is screen-casting content on the first display device and no screen-casting content exists on the second display device, if the Wireless Fidelity WiFi transceiver determines that the screen-casting content existing on the first display device is The first data to be projected, the wireless fidelity WiFi transceiver can further detect whether the user has adjusted the first data to be projected on the terminal, if it is detected that the user has not adjusted the first data to be projected on the terminal Adjustment is made, that is, when the first screen-to-be-projected data remains unchanged, the Wi-Fi WiFi transceiver only needs to receive the second screen-to-be-projected data sent by the terminal. In this solution, when there is projection content on the first display device and there is no projection content on the second display device, by detecting whether the projection content on the first display device needs to be adjusted, the wireless fidelity WiFi transceiver It can receive the target data sent by the terminal in a targeted manner, and ultimately improve the processing efficiency of the projection data and effectively save resources.
在又一种可能的实施方式中,所述向所述第一显示设备发送解码后的第一待投屏数据,以及向所述第二显示设备发送解码后的第二待投屏数据之后,还包括:In yet another possible implementation manner, after sending the decoded first screen-to-be-projected data to the first display device and sending the decoded second screen-to-be-projected data to the second display device, Also includes:
若检测到所述第二显示设备上的所述第二待投屏数据中断,则向所述终端发送请求消息,其中,所述请求消息用于请求所述终端发送所述第二待投屏数据的源地址,所述源地址包括所述第二待投屏数据的名称、剧集序号中的一项或多项;If it is detected that the second screen to be projected data on the second display device is interrupted, a request message is sent to the terminal, where the request message is used to request the terminal to send the second screen to be projected The source address of the data, the source address includes one or more of the name of the second data to be projected and the serial number of the episode;
接收所述终端发送的所述第二待投屏数据的源地址;receiving the source address of the second screen-to-be-projected data sent by the terminal;
根据所述源地址下载所述第二待投屏数据;downloading the second screen-to-be-projected data according to the source address;
向所述第二显示设备发送所述源地址的第二待投屏数据。Sending the second screen-to-be-projected data of the source address to the second display device.
在上述方法中,无线保真WiFi收发器在向第一显示设备发送解码后的第一待投屏数据,以及向所述第二显示设备发送解码后的第二待投屏数据之后,还可以检测第二显示设备上的第二待投屏数据是否正常播放,若检测到第二待投屏数据播放中断,则可以请求终端发送第二待投屏数据的源地址,其中,该源地址包括第二待投屏数据的名称、剧集序号中的一项或多项,然后无线保真WiFi收发器可以根据第二待投屏数据的名称、剧集序号中的一项或多项下载该源地址的第二待投屏数据,最后向第二显示设备发送源地址的第二待投屏数据。本方案能够在出现异常情况导致第二待投屏数据播放中断时,及时根据源地址下载第二待投屏数据,以对出现预设异常情况时的第二待投屏数据进行衔接,提高视频播放的流畅度,保证用户观看的体验感。In the above method, after the wireless fidelity WiFi transceiver sends the decoded first screen-to-be-projected data to the first display device, and sends the decoded second screen-to-be-projected data to the second display device, it may further Detect whether the second screen-to-be-projected data on the second display device is played normally, and if it is detected that the playback of the second screen-to-be-projected data is interrupted, the terminal may be requested to send the source address of the second screen-to-be-projected data, wherein the source address includes One or more of the name of the second screen data to be projected, the serial number of the episode, and then the wireless fidelity WiFi transceiver can download the data according to one or more of the name of the second data to be screened, the serial number of the drama The second screen-to-be-projected data at the source address, and finally send the second screen-to-be-projected data at the source address to the second display device. This solution can download the second data to be projected according to the source address in time when the playback of the second data to be projected is interrupted due to an abnormal situation, so as to connect the second data to be projected when a preset abnormal situation occurs, and improve video quality. The fluency of playback ensures the user's viewing experience.
第二方面,本申请实施例提供一种多屏幕投屏装置,该装置包括接收单元和发送单元,该装置用于实现第一方面或第一方面任一种可能的实施方式所描述的方法。In a second aspect, an embodiment of the present application provides a multi-screen projection device, the device includes a receiving unit and a sending unit, and the device is used to implement the method described in the first aspect or any possible implementation manner of the first aspect.
需要说明的是,上述第二方面所描述的装置所包含的处理器,可以是专门用于执行这些方法的处理器(便于区别称为专用处理器),也可以是通过调用计算机程序来执行这些方法的处理器,例如通用处理器。可选的,至少一个处理器还可以既包括专用处理器也包括通用处理器。It should be noted that the processor included in the device described in the second aspect above may be a processor specially used to execute these methods (referred to as a dedicated processor for easy distinction), or it may execute these methods by calling a computer program. A handler for a method, such as a generic handler. Optionally, at least one processor may also include both a special-purpose processor and a general-purpose processor.
可选的,上述计算机程序可以存在存储器中。示例性的,存储器可以为非瞬时性(non-transitory)存储器,例如只读存储器(Read Only Memory,ROM),其可以与处理器集成在同一块器件上,也可以分别设置在不同的器件上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。Optionally, the above computer programs may be stored in memory. Exemplarily, the memory may be a non-transitory (non-transitory) memory, such as a read-only memory (Read Only Memory, ROM), which may be integrated with the processor on the same device, or may be separately disposed on different devices , the embodiment of the present application does not limit the type of the memory and the arrangement of the memory and the processor.
在一种可能的实施方式中,上述至少一个存储器位于上述装置之外。In a possible implementation manner, the at least one storage device is located outside the device.
在又一种可能的实施方式中,上述至少一个存储器位于上述装置之内。In yet another possible implementation manner, the at least one storage device is located within the device.
在又一种可能的实施方式之中,上述至少一个存储器的部分存储器位于上述装置之内,另一部分存储器位于上述装置之外。In yet another possible implementation manner, part of the memory of the at least one memory is located inside the device, and another part of the memory is located outside the device.
本申请中,处理器和存储器还可能集成于一个器件中,即处理器和存储器还可以被集成在一起。In this application, the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together.
第三方面,本申请实施例提供一种无线保真WiFi收发器,该无线保真WiFi收发器包括处理器和存储器;所述存储器中存储有计算机程序;处理器执行计算机程序时,计算设备执行前述第一或者第一方面任一项所描述的方法。In a third aspect, an embodiment of the present application provides a wireless fidelity WiFi transceiver, the wireless fidelity WiFi transceiver includes a processor and a memory; a computer program is stored in the memory; when the processor executes the computer program, the computing device executes The method described in any one of the first aspect or the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在至少一个处理器上运行时,实现前述第一至第四方面任一项所描述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on at least one processor, the aforementioned first to fourth aspects are implemented any of the methods described.
第五方面,本申请提供了一种计算机程序产品,计算机程序产品包括计算机指令,当所述指令在至少一个处理器上运行时,实现前述第一至第四方面任一项所描述的方法。该计算机程序产品可以为一个软件安装包,在需要使用前述方法的情况下,可以下载该计算机程序产品并在计算设备上执行该计算机程序产品。In a fifth aspect, the present application provides a computer program product, the computer program product includes computer instructions, and when the instructions are run on at least one processor, the method described in any one of the aforementioned first to fourth aspects is implemented. The computer program product may be a software installation package, and the computer program product may be downloaded and executed on a computing device if the foregoing method needs to be used.
本申请第二至第五方面所提供的技术方法,其有益效果可以参考第一方面的技术方案的有益效果,此处不再赘述。For the beneficial effects of the technical methods provided in the second to fifth aspects of the present application, reference may be made to the beneficial effects of the technical solution in the first aspect, which will not be repeated here.
附图说明Description of drawings
下面将对实施例描述中所需要使用的附图作简单的介绍。The drawings that need to be used in the description of the embodiments will be briefly introduced below.
图1是本申请实施例提供的一种多屏幕投屏的应用场景图;FIG. 1 is an application scene diagram of a multi-screen projection provided by an embodiment of the present application;
图2是本申请实施例提供的一种多屏幕投屏系统的架构示意图;FIG. 2 is a schematic structural diagram of a multi-screen projection system provided by an embodiment of the present application;
图3是本申请实施例提供的一种多屏幕投屏方法的流程示意图;FIG. 3 is a schematic flowchart of a multi-screen projection method provided in an embodiment of the present application;
图4是本申请实施例提供的一种终端向无线保真WiFi收发器发送目标数据的示意图;FIG. 4 is a schematic diagram of a terminal sending target data to a wireless fidelity WiFi transceiver provided by an embodiment of the present application;
图5是本申请实施例提供的一种终端向无线保真WiFi收发器发送第二待投屏数据的示意图;FIG. 5 is a schematic diagram of a terminal sending second data to be projected to a Wi-Fi transceiver provided by an embodiment of the present application;
图6是本申请实施例提供的一种多屏幕投屏装置60的结构示意图;FIG. 6 is a schematic structural diagram of a multi-screen projection device 60 provided in an embodiment of the present application;
图7是本申请实施例提供的一种无线保真WiFi收发器70的结构示意图。FIG. 7 is a schematic structural diagram of a wireless
具体实施方式detailed description
下面结合本申请实施例中的附图对本申请实施例进行描述。Embodiments of the present application are described below with reference to the drawings in the embodiments of the present application.
为了便于理解,先对本申请实施例涉及的技术术语进行简单介绍。For ease of understanding, a brief introduction to the technical terms involved in the embodiments of the present application is given first.
1.UGA1.UGA
UGA是由wavlink(睿因)公司于2003年在全球发布的一款通过USB接口转接显示器接口的硬件设备,其英文名全称为USB Graphic Adapter,简称USB显示卡,或USB外置(多功能)显示卡。UGA采用USB输入,VGA/DVI/HDMI接口输出。通过主机USB接口,将音/视频信号传输到显示器(VGA/DVI/HDMI等接口)。通过UGA,用户可以通过主机USB接口外接多个显示器,并实现对每个显示器进行显示设置,应用范围涉及到:大型财务报表制作、商务会议(投影结合)、安防监控(单屏分解为多屏显示)、交通管理(单屏分解为多屏显示)、大屏广告(单屏拼接为大屏显示)、游戏玩家(代练/多屏显示)、个人多屏办公、绘图制图多屏拼接显示、搭建微软Windows Multipoint Server零客户系统、营业厅/POS机等双显示场合等。UGA is a hardware device that connects to the display interface through the USB interface released by wavlink (Ruiyin) company in the world in 2003. Its full English name is USB Graphic Adapter, referred to as USB display card, or USB external (multi-function )graphics card. UGA adopts USB input, VGA/DVI/HDMI interface output. Through the host USB interface, the audio/video signal is transmitted to the display (VGA/DVI/HDMI and other interfaces). Through UGA, users can connect multiple monitors through the USB interface of the host computer, and realize display settings for each monitor. display), traffic management (single screen is decomposed into multi-screen display), large-screen advertisement (single-screen splicing into large-screen display), game player (power leveling/multi-screen display), personal multi-screen office, drawing and drawing multi-screen splicing display , Build Microsoft Windows Multipoint Server zero-client system, business hall/POS machine and other dual-display occasions, etc.
请参见图1,图1示意的是本申请实施例提供的一种多屏幕投屏的应用场景图,在图1中,当终端根据编号标识A1将第一待投屏数据显示的内容(比如第一待投屏数据为静态图文内容,具体显示内容为:《项目分析报告》PPT第1页)投屏到第一显示设备A1上,以及根据编号标识A2将第二待投屏数据显示的内容(比如第二待投屏数据为动态视频内容,具体显示内容为:视频《设计方案1》)投屏到第二显示设备A2上之后,当前第一显示设备A1上以及第二显示设备A2上也对应地显示终端上投屏的内容(即第一显示设备A1上的显示内容为:《项目分析报告》PPT第1页;第二显示设备A2上的显示内容为:视频《设计方案1》),即最终呈现出来的效果就是终端与第一显示设备、第二显示设备对应显示的内容是一致的。本申请实施例后续将重点围绕多屏幕投屏的场景进行说明。Please refer to FIG. 1. FIG. 1 schematically shows an application scenario diagram of a multi-screen projection provided by an embodiment of the present application. In FIG. 1 , when the terminal displays the content of the first data to be projected ( For example, the first screen data to be projected is static graphic content, and the specific display content is: "Project Analysis Report" PPT page 1 ) is projected to the first display device A1, and the second screen to be projected is displayed according to the number identification A2 After the content displayed on the screen data (for example, the second data to be projected is dynamic video content, and the specific display content is: video "
请参见图2,图2是本申请实施例提供的一种多屏幕投屏系统的架构示意图,该系统包括无线保真WiFi收发器201、终端202、第一显示设备203和第二显示设备204。Please refer to FIG. 2. FIG. 2 is a schematic diagram of the architecture of a multi-screen projection system provided by an embodiment of the present application. The system includes a wireless
应说明的是,终端202、第一显示设备203和第二显示设备204均加入了无线保真WiFi收发器201组建的无线局域网,即无线保真WiFi收发器201、终端202、第一显示设备203和第二显示设备204在同一片无线局域网下进行数据的传输和交互。It should be noted that the terminal 202, the
无线保真WiFi收发器201为一种无线网卡核心的装置,无线网卡用于终端202连接无线网络,其作用是收发无线信号进行数据传输,无线保真WiFi收发器用于接收和发射无线信号。无线保真WiFi收发器可以是无线路由器,也可以是无线网卡改成的,以及笔记本电脑也可以当作无线保真WiFi收发器。在本申请实施例中,在第一显示设备203和第二显示设备204上不存在投屏内容的情况下,无线保真WiFi收发器201接收终端202发送的目标数据,其中,该目标数据包括内容为静态图文内容或动态视频内容的第一待投屏数据,以及内容为动态视频内容的第二待投屏数据,该目标数据携带了将该第一待投屏数据投屏于该第一显示设备203的编号标识,以及携带了将该第二待投屏数据投屏于该第二显示设备204的编号标识;最后向该第一显示设备203发送解码后的第一待投屏数据,以及解码后的第二待投屏数据。无线保真WiFi收发器201为终端202、第一显示设备203和第二显示设备204提供应用服务。The wireless
终端202是具有处理能力和数据收发能力的装置。终端202可以是计算机、笔记本电脑、平板电脑、掌上电脑、台式机、诊断仪、手机、超级移动个人计算机(Ultra-mobilePersonal Computer,UMPC)、上网本、个人数字助理(Personal Digital Assistant,PDA)等。在本申请实施例中,终端202为应用程序(Application,APP)。终端202用于向无线保真WiFi收发器201发送目标数据。The terminal 202 is a device having processing capability and data transceiving capability. The terminal 202 may be a computer, a notebook computer, a tablet computer, a handheld computer, a desktop computer, a diagnostic instrument, a mobile phone, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a netbook, a personal digital assistant (Personal Digital Assistant, PDA), etc. In the embodiment of the present application, the terminal 202 is an application program (Application, APP). The terminal 202 is used to send target data to the Wi-
第一显示设备203和第二显示设备204可以是平板、可旋转的智能电视等具有显示功能的设备。在本申请实施例中,第一显示设备203用于接收无线保真WiFi收发器201发送的解码后的第一待投屏数据并显示该第一待投屏数据,第二显示设备204用于接收无线保真WiFi收发器201发送的解码后的第二待投屏数据并显示该第二待投屏数据。The
下面对本申请实施例的方法进行详细介绍。The method in the embodiment of the present application will be described in detail below.
请参见图3,图3是本申请实施例提供的一种多屏幕投屏方法的流程示意图。可选的,该方法可以应用图2所述系统。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a multi-screen projection method provided by an embodiment of the present application. Optionally, this method may apply the system described in FIG. 2 .
如图3所述的多屏幕投屏方法至少包括步骤S301至步骤S302。The multi-screen projection method as shown in FIG. 3 includes at least step S301 to step S302.
步骤S301:在第一显示设备和第二显示设备上不存在投屏内容的情况下,无线保真WiFi收发器接收终端发送的目标数据。Step S301: In the case that there is no projected content on the first display device and the second display device, the WiFi transceiver receives the target data sent by the terminal.
其中,终端、第一显示设备和第二显示设备加入了无线保真WiFi收发器组建的无线局域网,目标数据包括第一待投屏数据和第二待投屏数据,第一待投屏数据的内容为静态图文内容或动态视频内容,第二待投屏数据的内容为动态视频内容,目标数据携带了将第一待投屏数据投屏于第一显示设备的编号标识,以及携带了将第二待投屏数据投屏于第二显示设备的编号标识。应说明的是,第一显示设备和第二显示设备上不存在投屏内容表征无线保真WiFi收发器在未检测到第一显示设备与第二显示设备上存在动态视频内容或者静态图文内容的情况下,可以直接接收终端发送的目标数据,而后将目标数据投屏到第一显示设备和第二显示设备上。Among them, the terminal, the first display device and the second display device have joined the wireless local area network formed by the wireless fidelity WiFi transceiver, and the target data includes the first data to be projected and the second data to be projected, and the first data to be projected The content is static graphic content or dynamic video content, and the content of the second data to be projected is dynamic video content. The second screen-to-be-projected data is projected on the second display device to identify the serial number. It should be noted that the absence of projected content on the first display device and the second display device indicates that the wireless fidelity WiFi transceiver does not detect the existence of dynamic video content or static graphic content on the first display device and the second display device In this case, the target data sent by the terminal can be directly received, and then the target data can be projected onto the first display device and the second display device.
具体的,无线保真WiFi收发器接收终端发送的目标数据的来源有很多种,比如,用户可以基于终端的平台向无线保真WiFi收发器发送目标数据,平台可以是APP、云端平台或者网页等。在终端、第一显示设备和第二显示设备加入了无线保真WiFi收发器组建的无线局域网之后,无线保真WiFi收发器可以先确定第一显示设备和第二显示设备上是否存在投屏内容,若确定第一显示设备和第二显示设备上不存在投屏内容,则可以请求终端发送该第一待投屏数据和第二待投屏数据,相应地,终端可以在平台上确定第一待投屏数据和第二待投屏数据后向无线保真WiFi收发器发送,然后无线保真WiFi收发器相应地接收该第一待投屏数据和第二待投屏数据。举例来说,图4是本申请实施例提供的一种终端向无线保真WiFi收发器发送目标数据的示意图,如图4所示,若终端、第一显示设备和第二显示设备加入了无线保真WiFi收发器组建的无线局域网“Ming-8826”,则在同一局域网下,若无线保真WiFi收发器确定第一显示设备和第二显示设备上不存在投屏内容,即第一显示设备A1和第二显示设备A2处于空闲状态时,则请求终端向无线保真WiFi收发器发送第一待投屏数据和第二待投屏数据。相应地,终端向无线保真WiFi收发器发送的携带了编号标识为A1的第一待投屏数据对应投屏于第一显示设备A1(其中,该第一待投屏数据的内容可以为《项目分析报告》PPT第1页,或者是视频《设计方案1》),以及携带了编号标识为A2的第二待投屏数据对应投屏于第二显示设备A2(其中,该第二待投屏数据的内容可以为视频《设计方案2》)。再如,用户从本地储存的文件里选取第一待投屏数据和第二待投屏数据,或者从云端下载该第一待投屏数据和第二待投屏数据,或者从该平台的数据库(如666影视)中选择该第一待投屏数据和第二待投屏数据,然后向无线保真WiFi收发器发送该第一待投屏数据和第二待投屏数据。相应地,无线保真WiFi收发器接收终端发送的目标数据(即目标数据为该第一待投屏数据和第二待投屏数据)。Specifically, there are many sources for the wireless fidelity WiFi transceiver to receive the target data sent by the terminal. For example, the user can send target data to the wireless fidelity WiFi transceiver based on the platform of the terminal, and the platform can be an APP, a cloud platform, or a web page, etc. . After the terminal, the first display device and the second display device join the wireless local area network formed by the Wi-Fi WiFi transceiver, the Wi-Fi WiFi transceiver can first determine whether there is screen projection content on the first display device and the second display device , if it is determined that there is no screen-casting content on the first display device and the second display device, the terminal may be requested to send the first screen-to-be-projected data and the second screen-to-be-projected data, and accordingly, the terminal may determine the first The screen-to-be-projected data and the second screen-to-be-projected data are sent to the Wi-Fi WiFi transceiver, and then the Wi-Fi WiFi transceiver receives the first screen-to-be-projected data and the second screen-to-be-projected data correspondingly. For example, FIG. 4 is a schematic diagram of a terminal sending target data to a Wi-Fi transceiver provided by an embodiment of the present application. As shown in FIG. 4, if the terminal, the first display device, and the second display device join the wireless The wireless LAN "Ming-8826" established by the fidelity WiFi transceiver, under the same LAN, if the wireless fidelity WiFi transceiver determines that there is no projection content on the first display device and the second display device, that is, the first display device When A 1 and the second display device A 2 are in an idle state, the requesting terminal sends the first screen-to-be-projected data and the second screen-to-be-projected data to the Wi-Fi transceiver. Correspondingly, the terminal sends to the wireless fidelity WiFi transceiver the first screen-to-be-projected data with the serial number identified as A1 correspondingly projected on the first display device A1 (wherein, the content of the first screen-to-be-projected data can be It is the first page of the "Project Analysis Report" PPT, or the video "
进一步的,在步骤S301之后,无线保真WiFi收发器需要对终端发送的目标数据进行编码和解码,从而得到解码后的第一待投屏数据和解码后的第二待投屏数据。应说明的是,该目标数据中的第一待投屏数据的内容可以为静态图文内容或者是动态视频内容,第二待投屏数据的内容可以为动态视频内容。具体的,在第一显示设备和第二显示设备上不存在投屏内容的情况下,无线保真WiFi收发器可以接收终端发送的内容为静态图文内容的第一待投屏数据,以及内容为动态视频内容的第二待投屏数据,也可以接收终端发送的内容均为动态视频内容的第一待投屏数据和第二待投屏数据。下面针对这两种情况进行详细阐述。Further, after step S301, the Wi-Fi transceiver needs to encode and decode the target data sent by the terminal, so as to obtain decoded first data to be projected and decoded second data to be projected. It should be noted that the content of the first data to be projected in the target data may be static graphic content or dynamic video content, and the content of the second data to be projected may be dynamic video content. Specifically, in the case that there is no projection content on the first display device and the second display device, the wireless fidelity WiFi transceiver can receive the first data to be projected that the content is static graphic content sent by the terminal, and the content It is the second screen-to-be-projected data of the dynamic video content, or the first data to-be-screen-to-be-projected and the second screen-to-be-projected data whose contents are all dynamic video content sent by the receiving terminal. These two situations are described in detail below.
情况一,在第一待投屏数据的内容和第二待投屏数据的内容均为动态视频内容(比如该第一待投屏数据的内容为视频《设计方案1》,该第二待投屏数据的内容为视频《设计方案2》)的情况下,无线保真WiFi收发器可以先将第一待投屏数据(视频《设计方案1》)转换为协议格式为USB协议的第一编码数据,以及将第二待投屏数据(视频《设计方案2》)转换为协议格式为USB协议的第二编码数据;然后通过UGA对第一编码数据进行解码,得到解码后的第一待投屏数据(视频《设计方案1》),以及通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据(视频《设计方案2》)。本方案基于UGA对编码数据进行解码,能够通过主机USB接口外接多个显示设备,并实现对每个显示设备进行显示设置。
情况二,在第一待投屏数据的内容为静态图文内容(如该第一待投屏数据的内容为《项目分析报告》PPT第1页),以及第二待投屏数据的内容为动态视频内容(如该第二待投屏数据的内容为视频《设计方案2》)的情况下,无线保真WiFi收发器可以先将第一待投屏数据(《项目分析报告》PPT第1页)转换为协议格式为WiFi协议的第一编码数据;再根据预设解码方式(其中,该预设解码方式可以为unescape解码、decode URI或者decode URIComponent解码)对第一编码数据进行解码,得到解码后的第一待投屏数据(《项目分析报告》PPT第1页);以及将第二待投屏数据(视频《设计方案2》)转换为协议格式为USB协议的第二编码数据;最后通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据(视频《设计方案2》)。在本方案中,由于第一待投屏数据的内容为静态图文内容(《项目分析报告》PPT第1页),而第二待投屏数据的内容为动态视频内容(视频《设计方案2》),二者相比较而言,对视频《设计方案2》的帧率要求要比《项目分析报告》PPT的要求要高,当帧率越高时,视频《设计方案2》的播放越流畅,因此无线保真WiFi收发器可以将视频《设计方案2》转换为协议格式为USB协议的第二编码数据,再通过UGA对第二编码数据进行解码,得到解码后的视频《设计方案2》。由于第一待投屏数据的内容为静态图文内容(《项目分析报告》PPT第1页),其对帧率的要求比视频对帧率的要求要低,因此无线保真WiFi收发器可以将《项目分析报告》PPT第1页转换为协议格式为WiFi协议的第一编码数据,再通过预设的解码方式对第一编码数据进行解码,得到解码后的《项目分析报告》PPT第1页。本方案采用不同的方式针对性地对第一待投屏数据和第二待投屏数据进行编码和解码,能够有效提高视频数据投屏的处理效率。In the second case, the content of the first data to be projected is static graphic content (for example, the content of the first data to be projected is the first page of the "Project Analysis Report" PPT), and the content of the second data to be projected is In the case of dynamic video content (for example, the content of the second data to be projected is the video "Design Scheme 2"), the wireless fidelity WiFi transceiver can first upload the first data to be projected ("Project Analysis Report" PPT No. 1 page) into the first coded data whose protocol format is the WiFi protocol; then decode the first coded data according to a preset decoding method (wherein, the preset decoding method can be unescape decoding, decode URI or decode URIComponent decoding), and obtain The decoded first screen-to-be-projected data ("Project Analysis Report" PPT page 1); and convert the second screen-to-be-projected data (video "Design Scheme 2") into the second coded data whose protocol format is the USB protocol; Finally, the second encoded data is decoded by UGA to obtain the decoded second data to be projected (video "Design Scheme 2"). In this solution, since the content of the first data to be projected is static graphic content (
步骤S302:无线保真WiFi收发器向第一显示设备发送解码后的第一待投屏数据,以及向第二显示设备发送解码后的第二待投屏数据。Step S302: the wireless fidelity WiFi transceiver sends the decoded first screen-to-be-projected data to the first display device, and sends the decoded second screen-to-be-projected data to the second display device.
具体的,第一显示设备以及第二显示设备可以自动接收无线保真WiFi收发器发送的解码后的第一待投屏数据以及解码后的第二待投屏数据,也可以通过第一显示设备与第二显示设备向用户输出解码后的第一待投屏数据以及解码后的第二待投屏数据,用户可以对解码后的第一待投屏数据以及解码后的第二待投屏数据进行操作,比如确认接收操作、取消接收等,其中,如果第一显示设备以及第二显示设备接收到用户输入的确认接收操作,则接收无线保真WiFi收发器发送的解码后的第一待投屏数据以及解码后的第二待投屏数据,如果第一显示设备以及第二显示设备接收到用户输入的取消接收操作,则不接收无线保真WiFi收发器发送的解码后的第一待投屏数据以及解码后的第二待投屏数据。Specifically, the first display device and the second display device may automatically receive the decoded first screen-to-be-projected data and the decoded second screen-to-be-projected data sent by the Wi-Fi transceiver, or the first display device may The second display device outputs the decoded first screen-to-be-projected data and the decoded second screen-to-be-projected data to the user, and the user can compare the decoded first screen-to-be-projected data and the decoded second screen-to-be-projected data Perform operations, such as confirming the receiving operation, canceling receiving, etc., wherein, if the first display device and the second display device receive the confirming receiving operation input by the user, then receive the decoded first to-be-projected image sent by the Wireless Fidelity WiFi transceiver. screen data and the decoded second screen data to be projected, if the first display device and the second display device receive the cancel receiving operation input by the user, the decoded first screen data to be projected sent by the wireless fidelity WiFi transceiver will not be received. screen data and the decoded second screen data to be projected.
可选的,无线保真WiFi收发器在向第一显示设备发送解码后的第一待投屏数据,以及向第二显示设备发送解码后的第二待投屏数据之后,若检测到第二显示设备上的第二待投屏数据中断,则向终端发送请求消息,其中,请求消息用于请求终端发送第二待投屏数据的源地址,源地址包括第二待投屏数据的名称、剧集序号中的一项或多项,然后终端向无线保真WiFi收发器发送第二待投屏数据的源地址后,无线保真WiFi收发器相应地接收终端发送的第二待投屏数据的源地址;然后根据源地址下载第二待投屏数据;最后向第二显示设备发送源地址的第二待投屏数据。Optionally, after the wireless fidelity WiFi transceiver sends the decoded first screen-to-be-projected data to the first display device, and sends the decoded second screen-to-be-projected data to the second display device, if the second If the second data to be projected on the display device is interrupted, a request message is sent to the terminal, wherein the request message is used to request the terminal to send the source address of the second data to be projected, and the source address includes the name of the second data to be projected, One or more items in the serial number of the episode, and after the terminal sends the source address of the second data to be projected to the wireless fidelity WiFi transceiver, the wireless fidelity WiFi transceiver correspondingly receives the second data to be projected to be sent by the terminal The source address; then download the second screen-to-be-projected data according to the source address; finally send the second screen-to-be-projected data of the source address to the second display device.
具体的,举例来说,无线保真WiFi收发器在向第一显示设备发送解码后的第一待投屏数据(视频《设计方案1》)以及向第二显示设备发送解码后的第二待投屏数据(视频《设计方案2》)之后,还可以检测第二显示设备上的第二待投屏数据(视频《设计方案2》)是否正常播放,若在预设时间段内检测到第二待投屏数据(视频《设计方案2》)播放中断,则可以请求终端发送第二待投屏数据(视频《设计方案2》)的源地址,然后无线保真WiFi收发器可以根据第二待投屏数据的名称(视频《设计方案2》)下载该源地址的第二待投屏数据,最后向第二显示设备发送源地址的第二待投屏数据(视频《设计方案2》)。本方案能够在出现异常情况导致第二待投屏数据播放中断时,及时根据源地址下载第二待投屏数据,以对出现预设异常情况时的第二待投屏数据进行衔接,提高视频播放的流畅度,保证用户观看的体验感。Specifically, for example, the wireless fidelity WiFi transceiver sends the decoded first data to be projected to the first display device (video "
可选的,在第一显示设备上存在投屏内容,以及第二显示设备上不存在投屏内容的情况下,无线保真WiFi收发器在确定第一显示设备上存在第一待投屏数据之后,可以检测第一待投屏数据是否需要调整;若不需要调整,则接收终端发送的第二待投屏数据。Optionally, in the case that there is screen-casting content on the first display device and there is no screen-casting content on the second display device, the wireless fidelity WiFi transceiver determines that there is first screen-to-be-cast data on the first display device Afterwards, it may be detected whether the first screen-to-be-projected data needs to be adjusted; if no adjustment is required, the second screen-to-be-projected data sent by the terminal is received.
具体的,图5是本申请实施例提供的一种终端向无线保真WiFi收发器发送第二待投屏数据的示意图,如图5所示,在第一显示设备A1上存在投屏内容,且第二显示设备A2上不存在投屏内容的情况下,若无线保真WiFi收发器确定第一显示设备A1上存在的投屏内容为第一待投屏数据(如《项目分析报告》PPT第1页),则无线保真WiFi收发器可以进一步检测用户是否在终端上对该第一待投屏数据进行了调整(比如无线保真WiFi收发器可以检测用户是否将《项目分析报告》PPT第1页切换到为其它页面),若检测到用户未在终端上对该第一待投屏数据进行调整,即该第一待投屏数据未作改变,仍为《项目分析报告》PPT第1页时,此时终端仅需向无线保真WiFi收发器发送第二待投屏数据,相应地,无线保真WiFi收发器接收终端发送的第二待投屏数据(如视频《设计方案2》)。本方案在第一显示设备上存在投屏内容,且第二显示设备上不存在投屏内容的情况下,通过检测第一显示设备上的投屏内容是否需要调整,使得无线保真WiFi收发器能够针对性地接收终端发送的目标数据,最终提高投屏数据的处理效率以及有效节省资源。Specifically, FIG. 5 is a schematic diagram of a terminal sending the second screen data to be projected to the Wi-Fi transceiver provided by the embodiment of the present application. As shown in FIG. 5, there is screen projection content on the first display device A1 , and there is no projected content on the second display device A2, if the Wi-Fi transceiver determines that the projected content on the first display device A1 is the first data to be projected (such as "Project Analysis Report" PPT page 1), the wireless fidelity WiFi transceiver can further detect whether the user has adjusted the first data to be projected on the terminal (for example, the wireless fidelity WiFi transceiver can detect whether the user has adjusted the project analysis Report"
可选的,在第一显示设备和第二显示设备上均存在投屏内容的情况下,无线保真WiFi收发器可以检测第一显示设备和第二显示设备的投屏内容,举例来说,无线保真WiFi收发器确定第一显示设备上的投屏内容为视频《设计方案1》,以及第二显示设备上的投屏内容为视频《设计方案2》,若无线保真WiFi收发器检测到视频《设计方案2》在播放时间戳为第11分钟45秒时出现了预设异常情况(如终端黑屏或者是有来电呼叫的事件发生),阻断了视频《设计方案2》的视频流,则无线保真WiFi收发器可以先向终端发送请求消息,该请求消息可以以弹窗显示的方式显示在终端上以及该请求消息具体用于获得终端的授权,以使得终端向无线保真WiFi收发器发送第二待投屏数据的源地址,若终端确认向无线保真WiFi收发器发送该源地址,则无线保真WiFi收发器相应地接收该源地址并根据源地址下载完整时长的视频《设计方案2》,然后根据该视频《设计方案2》的播放时间戳确定出播放中断位置为第11分钟45秒的节点,再从下载的完整时长的视频《设计方案2》中查找与第11分钟45秒的节点对应的视频数据,最后向第二显示设备对应地发送该第11分钟45秒的节点对应的视频数据。本方案基于当第一显示设备和第二显示设备上存在的投屏内容的视频流中断时,无线保真WiFi收发器能够及时向第一显示设备和第二显示设备对应地发送播放中断位置的视频数据,从而在第一显示设备和第二显示设备上存在的投屏内容的视频流中断后,使得源地址的视频数据能够与未中断前的投屏内容的视频数据相衔接,保证用户在观看投屏视频时视频能够流畅播放,不会受到预设异常情况的干扰,提高用户的观看体验。Optionally, in the case that there is screen-casting content on both the first display device and the second display device, the wireless fidelity WiFi transceiver may detect the screen-casting content of the first display device and the second display device, for example, The Wi-Fi transceiver determines that the projected content on the first display device is the video "
现有技术中,当前对于视频的投屏参数大多在4K/30帧,使得投屏画质不高,且在会议等场景下,用户还可能有多屏幕投屏的需求。本申请针对有多屏幕投屏需求的情况,在第一显示设备和第二显示设备上不存在投屏内容的情况下,无线保真WiFi收发器接收终端发送的目标数据,其中,该目标数据包括内容为静态图文内容或动态视频内容的第一待投屏数据,以及内容为动态视频内容的第二待投屏数据,该目标数据携带了将该第一待投屏数据投屏于该第一显示设备的编号标识,以及携带了将该第二待投屏数据投屏于该第二显示设备的编号标识;最后向该第一显示设备发送解码后的第一待投屏数据,以及向第二显示设备发送解码后的第二待投屏数据。本方案能够提高视频数据投屏时的分辨率和帧率。In the existing technology, the current projection parameters for video are mostly 4K/30 frames, which makes the projection quality not high, and in scenarios such as conferences, users may also have the requirement of multi-screen projection. This application is aimed at the situation where there is a need for multi-screen projection. When there is no projection content on the first display device and the second display device, the wireless fidelity WiFi transceiver receives the target data sent by the terminal, wherein the target data Including the first data to be projected whose content is static graphic content or dynamic video content, and the second data to be projected whose content is dynamic video content, the target data carries the first data to be projected to the screen The number identification of the first display device, and the number identification carrying the second data to be projected on the second display device; finally, the decoded first data to be projected is sent to the first display device, and Send the decoded second screen-to-be-projected data to the second display device. This solution can improve the resolution and frame rate of video data projection.
上述详细阐述了本申请实施例的方法,下面提供本申请实施例的装置。The method of the embodiment of the present application has been described in detail above, and the device of the embodiment of the present application is provided below.
可以理解的是,本申请实施例提供的多个装置,例如多屏幕投屏装置,为了实现上述方法实施例中的功能,其包含了执行各个功能相应的硬件结构、软件模块、或硬件结构和软件结构的组合等。It can be understood that the multiple devices provided in the embodiments of the present application, such as multi-screen projection devices, in order to realize the functions in the above method embodiments, include corresponding hardware structures, software modules, or hardware structures and Combination of software structures, etc.
本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以在不同的使用场景中,使用不同的装置实现方式来实现前述的方法实施例,对于装置的不同实现方式不应认为超出本申请实施例的范围。Those skilled in the art should easily realize that the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the example units and algorithm steps described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different device implementations in different usage scenarios to implement the aforementioned method embodiments, and the different implementations of devices should not be considered beyond the scope of the embodiments of the present application.
本申请实施例可以对装置进行功能模块的划分。例如,可对应各个功能划分各个功能模块,也可将两个或两个以上的功能集成在一个功能模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the device may be divided into functional modules. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one functional module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
例如,以采用集成的方式划分装置各个功能模块的情况下,本申请例举几种可能的处理装置。For example, in the case of dividing each functional module of the device in an integrated manner, the present application exemplifies several possible processing devices.
请参见图6,图6是本申请实施例提供的一种多屏幕投屏装置60的结构示意图,该多屏幕投屏装置60可以为图2所示的无线保真WiFi收发器或者为该无线保真WiFi收发器中的一个器件,例如芯片、软件模块、集成电路等。该多屏幕投屏装置60用于实现前述的多屏幕投屏方法,例如图3所述的多屏幕投屏方法。Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a multi-screen projection device 60 provided by an embodiment of the present application. The multi-screen projection device 60 can be the wireless fidelity WiFi transceiver shown in FIG. 2 or the wireless A device in a fidelity WiFi transceiver, such as a chip, software module, integrated circuit, etc. The multi-screen projection device 60 is used to implement the aforementioned multi-screen projection method, such as the multi-screen projection method described in FIG. 3 .
一种可能的实施方式中,该多屏幕投屏装置60可以包括接收单元601和发送单元602。In a possible implementation manner, the multi-screen projection device 60 may include a receiving
在第一显示设备和第二显示设备上不存在投屏内容的情况下,所述接收单元601,用于接收终端发送的目标数据,其中,所述终端、所述第一显示设备和所述第二显示设备加入了所述无线保真WiFi收发器组建的无线局域网,所述目标数据包括第一待投屏数据和第二待投屏数据,所述第一待投屏数据的内容为静态图文内容或动态视频内容,所述第二待投屏数据的内容为所述动态视频内容,所述目标数据携带了将所述第一待投屏数据投屏于所述第一显示设备的编号标识,以及携带了将所述第二待投屏数据投屏于所述第二显示设备的编号标识;In the case that there is no screen projection content on the first display device and the second display device, the receiving
所述发送单元602,用于向所述第一显示设备发送解码后的第一待投屏数据,以及向所述第二显示设备发送解码后的第二待投屏数据。The sending
现有技术中,当前对于视频的投屏参数大多在4K/30帧,使得投屏画质不高,且在会议等场景下,用户还可能有多屏幕投屏的需求。本申请针对有多屏幕投屏需求的情况,在第一显示设备和第二显示设备上不存在投屏内容的情况下,无线保真WiFi收发器接收终端发送的目标数据,其中,该目标数据包括内容为静态图文内容或动态视频内容的第一待投屏数据,以及内容为动态视频内容的第二待投屏数据,该目标数据携带了将该第一待投屏数据投屏于该第一显示设备的编号标识,以及携带了将该第二待投屏数据投屏于该第二显示设备的编号标识;最后向该第一显示设备发送解码后的第一待投屏数据,以及解码后的第二待投屏数据。本方案能够提高视频数据投屏时的分辨率和帧率。In the existing technology, the current projection parameters for video are mostly 4K/30 frames, which makes the projection quality not high, and in scenarios such as conferences, users may also have the requirement of multi-screen projection. This application is aimed at the situation where there is a need for multi-screen projection. When there is no projection content on the first display device and the second display device, the wireless fidelity WiFi transceiver receives the target data sent by the terminal, wherein the target data Including the first data to be projected whose content is static graphic content or dynamic video content, and the second data to be projected whose content is dynamic video content, the target data carries the first data to be projected to the screen The number identification of the first display device, and the number identification carrying the second data to be projected on the second display device; finally, the decoded first data to be projected is sent to the first display device, and The decoded second screen data to be projected. This solution can improve the resolution and frame rate of video data projection.
另一种可能的实施方式中,还包括转换单元和解码单元;In another possible implementation manner, a conversion unit and a decoding unit are also included;
在所述第一待投屏数据的内容和所述第二待投屏数据的内容均为所述动态视频内容的情况下,所述转换单元,用于将所述第一待投屏数据转换为协议格式为USB协议的第一编码数据,以及将所述第二待投屏数据转换为协议格式为USB协议的第二编码数据;In the case where the content of the first screen-to-be-projected data and the second screen-to-be-projected data are both the dynamic video content, the conversion unit is configured to convert the first screen-to-be-projected data It is the first coded data whose protocol format is the USB protocol, and converting the second data to be projected into the second coded data whose protocol format is the USB protocol;
所述解码单元,用于通过电脑配件UGA对所述第一编码数据进行解码,得到所述解码后的第一待投屏数据;还用于通过所述UGA对所述第二编码数据进行解码,得到所述解码后的第二待投屏数据。The decoding unit is used to decode the first coded data through the computer accessory UGA to obtain the decoded first data to be projected; it is also used to decode the second coded data through the UGA , to obtain the decoded second data to be projected.
在本申请实施例中,在第一待投屏数据的内容和第二待投屏数据的内容均为动态视频内容(比如该第一待投屏数据的内容为视频《设计方案1》,该第二待投屏数据的内容为视频《设计方案2》)的情况下,无线保真WiFi收发器可以先将第一待投屏数据(视频《设计方案1》)转换为协议格式为USB协议的第一编码数据,以及将第二待投屏数据(视频《设计方案2》)转换为协议格式为USB协议的第二编码数据;然后通过UGA对第一编码数据进行解码,得到解码后的第一待投屏数据(视频《设计方案1》),以及通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据(视频《设计方案2》)。本方案基于UGA对编码数据进行解码,能够通过主机USB接口外接多个显示设备,并实现对每个显示设备进行显示设置。In this embodiment of the application, both the content of the first data to be projected and the content of the second data to be projected are dynamic video contents (for example, the content of the first data to be projected is the video "
又一种可能的实施方式中,在所述第一待投屏数据的内容为所述静态图文内容,以及所述第二待投屏数据的内容为动态视频内容的情况下,所述转换单元,还用于将所述第一待投屏数据转换为协议格式为WiFi协议的第一编码数据;In yet another possible implementation manner, when the content of the first data to be projected is the static graphic content, and the content of the second data to be projected is dynamic video content, the converting The unit is also used to convert the first screen-to-be-projected data into first coded data whose protocol format is the WiFi protocol;
所述解码单元,还用于根据预设解码方式对所述第一编码数据进行解码,得到解码后的第一待投屏数据。The decoding unit is further configured to decode the first encoded data according to a preset decoding method to obtain decoded first data to be projected.
所述转换单元,还用于将所述第二待投屏数据转换为协议格式为USB协议的第二编码数据;The converting unit is further configured to convert the second screen-to-be-projected data into second coded data whose protocol format is the USB protocol;
所述解码单元,还用于通过所述UGA对所述第二编码数据进行解码,得到解码后的第二待投屏数据。The decoding unit is further configured to decode the second coded data through the UGA to obtain decoded second data to be projected.
在本申请实施例中,在第一待投屏数据的内容为静态图文内容,以及第二待投屏数据的内容为动态视频内容的情况下,无线保真WiFi收发器可以将第一待投屏数据转换为协议格式为WiFi协议的第一编码数据,再根据预设解码方式对第一编码数据进行解码,得到解码后的第一待投屏数据。然后将第二待投屏数据转换为协议格式为USB协议的第二编码数据,通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据。本方案采用不同的方式针对性地对第一待投屏数据和第二待投屏数据进行编码和解码,能够有效提高视频数据投屏的处理效率。In the embodiment of the present application, when the content of the first data to be projected is static graphic content, and the content of the second data to be projected is dynamic video content, the wireless fidelity WiFi transceiver can The projected screen data is converted into the first coded data whose protocol format is the WiFi protocol, and then the first coded data is decoded according to a preset decoding method to obtain the decoded first screen-to-be-projected data. Then convert the second screen-to-be-projected data into second coded data whose protocol format is the USB protocol, and decode the second coded data through UGA to obtain decoded second screen-to-be-projected data. This solution uses different methods to specifically encode and decode the first data to be projected and the second data to be projected, which can effectively improve the processing efficiency of video data projection.
又一种可能的实施方式中,还包括确定单元和检测单元;In yet another possible implementation manner, a determination unit and a detection unit are also included;
在所述第一显示设备上存在所述投屏内容,以及所述第二显示设备上不存在所述投屏内容的情况下,所述确定单元,用于确定所述第一显示设备上存在所述第一待投屏数据;In the case that the screen-casting content exists on the first display device and the screen-casting content does not exist on the second display device, the determining unit is configured to determine that the screen-casting content exists on the first display device The first screen-to-be-projected data;
所述检测单元,用于检测所述第一待投屏数据是否需要调整;The detection unit is configured to detect whether the first data to be projected needs to be adjusted;
若不需要调整,则所述接收单元601,还用于接收所述终端发送的所述第二待投屏数据。If adjustment is not required, the receiving
在本申请实施例中,在第一显示设备上存在投屏内容,且第二显示设备上不存在投屏内容的情况下,若无线保真WiFi收发器确定第一显示设备上存在的投屏内容为第一待投屏数据,则无线保真WiFi收发器可以进一步检测用户是否在终端上对该第一待投屏数据进行了调整,若检测到用户未在终端上对该第一待投屏数据进行调整,即该第一待投屏数据未作改变时,无线保真WiFi收发器仅需接收终端发送的第二待投屏数据。本方案在第一显示设备上存在投屏内容,且第二显示设备上不存在投屏内容的情况下,通过检测第一显示设备上的投屏内容是否需要调整,使得无线保真WiFi收发器能够针对性地接收终端发送的目标数据,最终提高投屏数据的处理效率以及有效节省资源。In the embodiment of the present application, in the case that there is screen-casting content on the first display device and there is no screen-casting content on the second display device, if the Wireless Fidelity WiFi transceiver determines that the screen-casting content existing on the first display device If the content is the first data to be projected, the wireless fidelity WiFi transceiver can further detect whether the user has adjusted the first data to be projected on the terminal, if it is detected that the user has not adjusted the first data to be projected on the terminal The screen data is adjusted, that is, when the first screen data to be projected remains unchanged, the WiFi transceiver only needs to receive the second screen data to be projected sent by the terminal. In this solution, when there is projection content on the first display device and there is no projection content on the second display device, by detecting whether the projection content on the first display device needs to be adjusted, the wireless fidelity WiFi transceiver It can receive the target data sent by the terminal in a targeted manner, and ultimately improve the processing efficiency of the projection data and effectively save resources.
又一种可能的实施方式中,还包括下载单元;In yet another possible implementation manner, a downloading unit is also included;
若检测到所述第二显示设备上的所述第二待投屏数据中断,则所述发送单元602,还用于向所述终端发送请求消息,其中,所述请求消息用于请求所述终端发送所述第二待投屏数据的源地址,所述源地址包括所述第二待投屏数据的名称、剧集序号中的一项或多项;If it is detected that the second data to be projected on the second display device is interrupted, the sending
所述接收单元601,还用于接收所述终端发送的所述第二待投屏数据的源地址;The receiving
所述下载单元,用于根据所述源地址下载所述第二待投屏数据;The downloading unit is configured to download the second screen-to-be-projected data according to the source address;
所述发送单元602,还用于向所述第二显示设备发送所述源地址的第二待投屏数据。The sending
在本申请实施例中,无线保真WiFi收发器在向第一显示设备发送解码后的第一待投屏数据,以及解码后的第二待投屏数据之后,还可以检测第二显示设备上的第二待投屏数据是否正常播放,若检测到第二待投屏数据播放中断,则可以请求终端发送第二待投屏数据的源地址,其中,该源地址包括第二待投屏数据的名称、剧集序号中的一项或多项,然后无线保真WiFi收发器可以根据第二待投屏数据的名称、剧集序号中的一项或多项下载该源地址的第二待投屏数据,最后向第二显示设备发送源地址的第二待投屏数据。本方案能够在出现异常情况导致第二待投屏数据播放中断时,及时根据源地址下载第二待投屏数据,以对出现预设异常情况时的第二待投屏数据进行衔接,提高视频播放的流畅度,保证用户观看的体验感。In this embodiment of the application, after the wireless fidelity WiFi transceiver sends the decoded first screen-to-be-projected data and the decoded second screen-to-be-projected data to the first display device, it can also detect the Whether the second data to be projected is played normally, if it is detected that the playback of the second data to be projected is interrupted, the terminal may be requested to send the source address of the second data to be projected, wherein the source address includes the second data to be projected One or more of the name of the data to be projected, one or more of the serial number of the episode, and then the wireless fidelity WiFi transceiver can download the second waiting data of the source address according to one or more of the name of the second screen data to be projected and the serial number of the episode Screen projection data, and finally send the second data to be screen projection of the source address to the second display device. This solution can download the second data to be projected according to the source address in time when the playback of the second data to be projected is interrupted due to an abnormal situation, so as to connect the second data to be projected when a preset abnormal situation occurs, and improve video quality. The fluency of playback ensures the user's viewing experience.
请参见图7,图7是本申请实施例提供的一种无线保真WiFi收发器70的结构示意图,例如芯片、软件模块、集成电路等。该无线保真WiFi收发器70可以包括至少一个处理器701。可选的还可以包括至少一个存储器703。进一步可选的,该无线保真WiFi收发器70还可以包括通信接口702。更进一步可选的,还可以包含总线704,其中,处理器701、通信接口702和存储器703通过总线704相连。Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of a wireless
其中,处理器701是进行算术运算和/或逻辑运算的模块,具体可以是中央处理器(Central Processing Unit,CPU)、图片处理器(Graphics Processing Unit,GPU)、微处理器(Microprocessor Unit,MPU)、专用集成电路(Application Specific IntegratedCircuit,ASIC)、现场可编程逻辑门阵列(Field Programmable Gate Array,FPGA)、复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)、协处理器(协助中央处理器完成相应处理和应用)、微控制单元(Microcontroller Unit,MCU)等处理模块中的一种或者多种的组合。Wherein, the
通信接口702可以用于为所述至少一个处理器提供信息输入或者输出。和/或,所述通信接口702可以用于接收外部发送的数据和/或向外部发送数据,可以为包括诸如以太网电缆等的有线链路接口,也可以是无线链路(Wi-Fi、蓝牙、通用无线传输、车载短距通信技术以及其他短距无线通信技术等)接口。可选的,通信接口702还可以包括与接口耦合的发射器(如射频发射器、天线等),或者接收器等。
存储器703用于提供存储空间,存储空间中可以存储操作系统和计算机程序等数据。存储器703可以是随机存储记忆体(Random Access Memory,RAM)、只读存储器(Read-only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable Read-onlyMemory,EPROM)、或便携式只读存储器(Compact Disc Read-only Memory,CD-ROM)等等中的一种或者多种的组合。The
该无线保真WiFi收发器70中的至少一个处理器701用于执行前述的方法,例如图3所述实施例所描述的方法。At least one
可选的,处理器701,可以是专门用于执行这些方法的处理器(便于区别称为专用处理器),也可以是通过调用计算机程序来执行这些方法的处理器,例如通用处理器。可选的,至少一个处理器还可以既包括专用处理器也包括通用处理器。可选的,在计算设备包括至少一个处理器701的情况下,上述计算机程序可以存在存储器703中。Optionally, the
可选的,该无线保真WiFi收发器70中的至少一个处理器701用于执行调用计算机指令,以执行以下操作:Optionally, at least one
在第一显示设备和第二显示设备上不存在投屏内容的情况下,接收终端发送的目标数据,其中,所述终端、所述第一显示设备和所述第二显示设备加入了所述无线保真WiFi收发器组建的无线局域网,所述目标数据包括第一待投屏数据和第二待投屏数据,所述第一待投屏数据的内容为静态图文内容或动态视频内容,所述第二待投屏数据的内容为所述动态视频内容,所述目标数据携带了将所述第一待投屏数据投屏于所述第一显示设备的编号标识,以及携带了将所述第二待投屏数据投屏于所述第二显示设备的编号标识;In the case that there is no screen-casting content on the first display device and the second display device, the target data sent by the terminal is received, wherein the terminal, the first display device and the second display device add the A wireless local area network formed by a wireless fidelity WiFi transceiver, the target data includes the first data to be projected and the second data to be projected, and the content of the first data to be projected is static graphic content or dynamic video content, The content of the second screen-to-be-projected data is the dynamic video content, and the target data carries the identification number for projecting the first screen-to-be-projected data on the first display device, and carries the The number identification of the second screen-to-be-projected data projected on the second display device;
向所述第一显示设备发送解码后的第一待投屏数据,以及向所述第二显示设备发送解码后的第二待投屏数据。Sending the decoded first screen-to-be-projected data to the first display device, and sending the decoded second screen-to-be-projected data to the second display device.
现有技术中,当前对于视频的投屏参数大多在4K/30帧,使得投屏画质不高,且在会议等场景下,用户还可能有多屏幕投屏的需求。本申请针对有多屏幕投屏需求的情况,在第一显示设备和第二显示设备上不存在投屏内容的情况下,无线保真WiFi收发器接收终端发送的目标数据,其中,该目标数据包括内容为静态图文内容或动态视频内容的第一待投屏数据,以及内容为动态视频内容的第二待投屏数据,该目标数据携带了将该第一待投屏数据投屏于该第一显示设备的编号标识,以及携带了将该第二待投屏数据投屏于该第二显示设备的编号标识;最后向该第一显示设备发送解码后的第一待投屏数据,以及解码后的第二待投屏数据。本方案能够提高视频数据投屏时的分辨率和帧率。In the existing technology, the current projection parameters for video are mostly 4K/30 frames, which makes the projection quality not high, and in scenarios such as conferences, users may also have the requirement of multi-screen projection. This application is aimed at the situation where there is a need for multi-screen projection. When there is no projection content on the first display device and the second display device, the wireless fidelity WiFi transceiver receives the target data sent by the terminal, wherein the target data Including the first data to be projected whose content is static graphic content or dynamic video content, and the second data to be projected whose content is dynamic video content, the target data carries the first data to be projected to the screen The number identification of the first display device, and the number identification carrying the second data to be projected on the second display device; finally, the decoded first data to be projected is sent to the first display device, and The decoded second screen data to be projected. This solution can improve the resolution and frame rate of video data projection.
可选的,所述处理器701还用于:Optionally, the
在所述第一待投屏数据的内容和所述第二待投屏数据的内容均为所述动态视频内容的情况下,将所述第一待投屏数据转换为协议格式为USB协议的第一编码数据,以及将所述第二待投屏数据转换为协议格式为USB协议的第二编码数据;In the case where the content of the first screen-to-be-projected data and the content of the second screen-to-be-projected data are both the dynamic video content, converting the first screen-to-be-projected data into a protocol format of the USB protocol The first encoded data, and converting the second data to be projected into the second encoded data whose protocol format is the USB protocol;
通过电脑配件UGA对所述第一编码数据进行解码,得到所述解码后的第一待投屏数据;Decoding the first coded data by using the computer accessory UGA to obtain the decoded first screen-to-be-projected data;
通过所述UGA对所述第二编码数据进行解码,得到所述解码后的第二待投屏数据。The UGA is used to decode the second coded data to obtain the decoded second screen-to-be-projected data.
在本申请实施例中,在第一待投屏数据的内容和第二待投屏数据的内容均为动态视频内容(比如该第一待投屏数据的内容为视频《设计方案1》,该第二待投屏数据的内容为视频《设计方案2》)的情况下,无线保真WiFi收发器可以先将第一待投屏数据(视频《设计方案1》)转换为协议格式为USB协议的第一编码数据,以及将第二待投屏数据(视频《设计方案2》)转换为协议格式为USB协议的第二编码数据;然后通过UGA对第一编码数据进行解码,得到解码后的第一待投屏数据(视频《设计方案1》),以及通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据(视频《设计方案2》)。本方案基于UGA对编码数据进行解码,能够通过主机USB接口外接多个显示设备,并实现对每个显示设备进行显示设置。In this embodiment of the application, both the content of the first data to be projected and the content of the second data to be projected are dynamic video contents (for example, the content of the first data to be projected is the video "
可选的,所述处理器701还用于:Optionally, the
在所述第一待投屏数据的内容为所述静态图文内容,以及所述第二待投屏数据的内容为动态视频内容的情况下,将所述第一待投屏数据转换为协议格式为WiFi协议的所述第一编码数据;When the content of the first data to be projected is the static graphic content, and the content of the second data to be projected is dynamic video content, converting the first data to be projected into a protocol The format is the first encoded data of WiFi protocol;
根据预设解码方式对所述第一编码数据进行解码,得到所述解码后的第一待投屏数据;Decoding the first coded data according to a preset decoding method to obtain the decoded first screen-to-be-projected data;
将所述第二待投屏数据转换为协议格式为USB协议的所述第二编码数据;Converting the second screen-to-be-projected data into the second coded data whose protocol format is the USB protocol;
通过所述UGA对所述第二编码数据进行解码,得到所述解码后的第二待投屏数据。The UGA is used to decode the second coded data to obtain the decoded second screen-to-be-projected data.
在本申请实施例中,在第一待投屏数据的内容为静态图文内容,以及第二待投屏数据的内容为动态视频内容的情况下,无线保真WiFi收发器可以将第一待投屏数据转换为协议格式为WiFi协议的第一编码数据,再根据预设解码方式对第一编码数据进行解码,得到解码后的第一待投屏数据。然后将第二待投屏数据转换为协议格式为USB协议的第二编码数据,通过UGA对第二编码数据进行解码,得到解码后的第二待投屏数据。本方案采用不同的方式针对性地对第一待投屏数据和第二待投屏数据进行编码和解码,能够有效提高视频数据投屏的处理效率。In the embodiment of the present application, when the content of the first data to be projected is static graphic content, and the content of the second data to be projected is dynamic video content, the wireless fidelity WiFi transceiver can The projected screen data is converted into the first coded data whose protocol format is the WiFi protocol, and then the first coded data is decoded according to a preset decoding method to obtain the decoded first screen-to-be-projected data. Then convert the second screen-to-be-projected data into second coded data whose protocol format is the USB protocol, and decode the second coded data through UGA to obtain decoded second screen-to-be-projected data. This solution uses different methods to specifically encode and decode the first data to be projected and the second data to be projected, which can effectively improve the processing efficiency of video data projection.
可选的,所述处理器701还用于:Optionally, the
在所述第一显示设备上存在所述投屏内容,以及所述第二显示设备上不存在所述投屏内容的情况下,确定所述第一显示设备上存在所述第一待投屏数据;In a case where the screen-casting content exists on the first display device and the screen-casting content does not exist on the second display device, determining that the first screen-to-be-projected screen exists on the first display device data;
检测所述第一待投屏数据是否需要调整;Detecting whether the first data to be projected needs to be adjusted;
若不需要调整,则接收所述终端发送的所述第二待投屏数据。If adjustment is not required, receiving the second screen-to-be-projected data sent by the terminal.
在本申请实施例中,在第一显示设备上存在投屏内容,且第二显示设备上不存在投屏内容的情况下,若无线保真WiFi收发器确定第一显示设备上存在的投屏内容为第一待投屏数据,则无线保真WiFi收发器可以进一步检测用户是否在终端上对该第一待投屏数据进行了调整,若检测到用户未在终端上对该第一待投屏数据进行调整,即该第一待投屏数据未作改变时,无线保真WiFi收发器仅需接收终端发送的第二待投屏数据。本方案在第一显示设备上存在投屏内容,且第二显示设备上不存在投屏内容的情况下,通过检测第一显示设备上的投屏内容是否需要调整,使得无线保真WiFi收发器能够针对性地接收终端发送的目标数据,最终提高投屏数据的处理效率以及有效节省资源。In the embodiment of the present application, in the case that there is screen-casting content on the first display device and there is no screen-casting content on the second display device, if the Wireless Fidelity WiFi transceiver determines that the screen-casting content existing on the first display device If the content is the first data to be projected, the wireless fidelity WiFi transceiver can further detect whether the user has adjusted the first data to be projected on the terminal, if it is detected that the user has not adjusted the first data to be projected on the terminal The screen data is adjusted, that is, when the first screen data to be projected remains unchanged, the WiFi transceiver only needs to receive the second screen data to be projected sent by the terminal. In this solution, when there is projection content on the first display device and there is no projection content on the second display device, by detecting whether the projection content on the first display device needs to be adjusted, the wireless fidelity WiFi transceiver It can receive the target data sent by the terminal in a targeted manner, and ultimately improve the processing efficiency of the projection data and effectively save resources.
可选的,所述处理器701还用于:Optionally, the
若检测到所述第二显示设备上的所述第二待投屏数据中断,则向所述终端发送请求消息,其中,所述请求消息用于请求所述终端发送所述第二待投屏数据的源地址,所述源地址包括所述第二待投屏数据的名称、剧集序号中的一项或多项;If it is detected that the second screen to be projected data on the second display device is interrupted, a request message is sent to the terminal, where the request message is used to request the terminal to send the second screen to be projected The source address of the data, the source address includes one or more of the name of the second data to be projected and the serial number of the episode;
接收所述终端发送的所述第二待投屏数据的源地址;receiving the source address of the second screen-to-be-projected data sent by the terminal;
根据所述源地址下载所述第二待投屏数据;downloading the second screen-to-be-projected data according to the source address;
向所述第二显示设备发送所述源地址的第二待投屏数据。Sending the second screen-to-be-projected data of the source address to the second display device.
在本申请实施例中,无线保真WiFi收发器在向第一显示设备发送解码后的第一待投屏数据,以及解码后的第二待投屏数据之后,还可以检测第二显示设备上的第二待投屏数据是否正常播放,若检测到第二待投屏数据播放中断,则可以请求终端发送第二待投屏数据的源地址,其中,该源地址包括第二待投屏数据的名称、剧集序号中的一项或多项,然后无线保真WiFi收发器可以根据第二待投屏数据的名称、剧集序号中的一项或多项下载该源地址的第二待投屏数据,最后向第二显示设备发送源地址的第二待投屏数据。本方案能够在出现异常情况导致第二待投屏数据播放中断时,及时根据源地址下载第二待投屏数据,以对出现预设异常情况时的第二待投屏数据进行衔接,提高视频播放的流畅度,保证用户观看的体验感。In this embodiment of the application, after the wireless fidelity WiFi transceiver sends the decoded first screen-to-be-projected data and the decoded second screen-to-be-projected data to the first display device, it can also detect the Whether the second data to be projected is played normally, if it is detected that the playback of the second data to be projected is interrupted, the terminal may be requested to send the source address of the second data to be projected, wherein the source address includes the second data to be projected One or more of the name of the data to be projected, one or more of the serial number of the episode, and then the wireless fidelity WiFi transceiver can download the second waiting data of the source address according to one or more of the name of the second screen data to be projected and the serial number of the episode Screen projection data, and finally send the second data to be screen projection of the source address to the second display device. This solution can download the second data to be projected according to the source address in time when the playback of the second data to be projected is interrupted due to an abnormal situation, so as to connect the second data to be projected when a preset abnormal situation occurs, and improve video quality. The fluency of playback ensures the user's viewing experience.
本申请还提供了一种算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在至少一个处理器上运行时,实现前述的多屏幕投屏方法,例如图3所述的方法。The present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on at least one processor, the aforementioned multi-screen projection method is realized, for example, 3 methods described.
本申请还提供了一种计算机程序产品,该计算机程序产品包括计算机指令,在被计算设备执行时,实现前述的多屏幕投屏方法,例如图3所述的方法。The present application also provides a computer program product, which includes computer instructions, and when executed by a computing device, implements the aforementioned method for multi-screen projection, such as the method described in FIG. 3 .
本申请实施例中,“举例来说”或者“比如”等词用于表示作例子、例证或说明。本申请中被描述为“举例来说”或者“比如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“举例来说”或者“比如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "for example" or "such as" are used as examples, illustrations or descriptions. Any embodiment or design described as "for example" or "such as" in this application shall not be construed as being preferred or more advantageous than other embodiments or designs. Rather, the use of words such as "for example" or "such as" is intended to present related concepts in a concrete manner.
本申请中实施例提到的“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b、或c中的至少一项(个),可以表示:a、b、c、(a和b)、(a和c)、(b和c)、或(a和b和c),其中a、b、c可以是单个,也可以是多个。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B这三种情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。The "at least one" mentioned in the embodiments of the present application refers to one or more, and the "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c may represent: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, c can be single or multiple. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which may indicate: A exists alone, A and B exist simultaneously, and B exists alone, among which A and B may be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship.
以及,除非有相反的说明,本申请实施例使用“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一设备和第二设备,只是为了便于描述,而并不是表示这第一设备和第二设备的结构、重要程度等的不同,在某些实施例中,第一设备和第二设备还可以是同样的设备。And, unless otherwise stated, the embodiments of the present application use ordinal numerals such as "first" and "second" to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects degree. For example, the first device and the second device are only for the convenience of description, and do not represent the differences in the structure and importance of the first device and the second device. In some embodiments, the first device and the second device It can also be the same device.
上述实施例中所用,根据上下文,术语“当……时”可以被解释为意思是“如果……”或“在……后”或“响应于确定……”或“响应于检测到……”。以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的构思和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。As used in the above embodiments, depending on the context, the term "when" may be interpreted to mean "if..." or "after" or "in response to determining..." or "in response to detecting... ". The above are only optional embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the concept and principles of the application shall be included in the protection of the application. within range.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the application, but the scope of protection of the application is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the scope of the technology disclosed in the application. Modifications or replacements, these modifications or replacements shall be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211124007.5A CN115623069A (en) | 2022-09-15 | 2022-09-15 | Method and device for multi-screen projection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211124007.5A CN115623069A (en) | 2022-09-15 | 2022-09-15 | Method and device for multi-screen projection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115623069A true CN115623069A (en) | 2023-01-17 |
Family
ID=84859115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211124007.5A Pending CN115623069A (en) | 2022-09-15 | 2022-09-15 | Method and device for multi-screen projection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115623069A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519634A (en) * | 2019-09-09 | 2019-11-29 | 京东方科技集团股份有限公司 | A kind of throwing screen system and throw screen method |
WO2020103326A1 (en) * | 2018-11-23 | 2020-05-28 | 深圳市鹰硕技术有限公司 | One-to-many screen mirroring method, apparatus, and system, screen mirroring device, and storage medium |
CN112995575A (en) * | 2021-05-13 | 2021-06-18 | 广州朗国电子科技有限公司 | Wireless screen projection transfer device, transfer control method and wireless screen projection system |
CN114640879A (en) * | 2022-03-21 | 2022-06-17 | 深圳市湘凡科技有限公司 | Wireless docking station, wireless docking station system and screen projection method of system |
CN114666893A (en) * | 2022-03-14 | 2022-06-24 | 平安国际智慧城市科技股份有限公司 | WIFI-based screen projection method, device, device and storage medium |
-
2022
- 2022-09-15 CN CN202211124007.5A patent/CN115623069A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020103326A1 (en) * | 2018-11-23 | 2020-05-28 | 深圳市鹰硕技术有限公司 | One-to-many screen mirroring method, apparatus, and system, screen mirroring device, and storage medium |
CN110519634A (en) * | 2019-09-09 | 2019-11-29 | 京东方科技集团股份有限公司 | A kind of throwing screen system and throw screen method |
CN112995575A (en) * | 2021-05-13 | 2021-06-18 | 广州朗国电子科技有限公司 | Wireless screen projection transfer device, transfer control method and wireless screen projection system |
CN114666893A (en) * | 2022-03-14 | 2022-06-24 | 平安国际智慧城市科技股份有限公司 | WIFI-based screen projection method, device, device and storage medium |
CN114640879A (en) * | 2022-03-21 | 2022-06-17 | 深圳市湘凡科技有限公司 | Wireless docking station, wireless docking station system and screen projection method of system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3972261A1 (en) | Method and apparatus for processing live-streaming interaction video | |
WO2022111672A1 (en) | Data processing method and apparatus, and electronic device | |
US9257097B2 (en) | Remote rendering for efficient use of wireless bandwidth for wireless docking | |
US8648843B2 (en) | USB image transmission system and device | |
EP4262214A1 (en) | Screen projection method and apparatus, and electronic device and storage medium | |
US20130215142A1 (en) | Apparatus and method for displaying an image on a sink device | |
CN108235077B (en) | Image providing apparatus, control method thereof, and image providing system | |
CN111629239B (en) | Screen projection processing method, device, equipment and computer readable storage medium | |
US20130242117A1 (en) | Frame buffer format detection | |
WO2021254168A1 (en) | Conference control method and apparatus, readable medium and electronic device | |
CN114428598B (en) | Screen projection method, device, electronic device and storage medium | |
CN112770159A (en) | Multi-screen interaction system, method, device, equipment and storage medium | |
WO2023142390A1 (en) | Screen mirroring method and apparatus, and device and computer-readable storage medium | |
CN110806846A (en) | Screen sharing method, screen sharing device, mobile terminal and storage medium | |
US9392063B2 (en) | Information processing apparatus that controls transfer of image, control method therefor, and storage medium | |
JP2009515442A (en) | Point-to-multipoint wireless display method | |
CN114173183B (en) | Screen projection method and electronic equipment | |
CN115623069A (en) | Method and device for multi-screen projection | |
KR101484045B1 (en) | Multi display device for smart phone | |
CN211506458U (en) | Intelligent video communication control circuit capable of realizing wireless screen projection and screen projection device | |
CN115695928A (en) | Screen projection method and device, electronic equipment and storage medium | |
CN116320589A (en) | Screen projection control method, data transmitting device, data receiving device and storage medium | |
CN113962729A (en) | Multimedia playing method, screen projection terminal, server and storage medium | |
CN115209212B (en) | System chip, electronic device and screen projection method of electronic device | |
TW202244914A (en) | Data sharing method and data sharing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |