





技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种投屏方法及5G终端。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a screen projection method and a 5G terminal.
背景技术Background technique
目前的投屏技术方案,主要包括DLNA(Digital Living Network Alliance,数字家庭网络联盟)、AirPlay(隔空播放)、Miracast(由Wi-Fi联盟于2012年所制定,以Wi-Fi直连(Wi-Fi Direct)为基础的无线显示标准)。The current screen projection technology solutions mainly include DLNA (Digital Living Network Alliance, Digital Home Network Alliance), AirPlay (airplay), Miracast (developed by the Wi-Fi Alliance in 2012, using Wi-Fi direct connection (Wi-Fi) -Fi Direct) based wireless display standard).
其中,DLNA可以将图片和视频共享给大屏幕播放,但是其没有镜像功能,无法将终端屏幕内容同步到大屏幕中;AirPlay具备DLNA所没有的镜像功能,可将苹果设备(例如iPhone或iPad)上的画面无线传输到电视上,也就是说终端设备显示的是什么,电视屏幕显示的就是什么,而不仅限于图片和视频;Miracast是由Wi-Fi联盟于2012年所制定,以Wi-Fi直连为基础的无线显示标准。支持此标准的设备可通过无线方式分享视频画面,例如手机可通过Miracast将影片或照片直接在电视或其他装置播放而无需受到连接线缆长度的影响。与DLNA不同的是,Miracast也有类似于AirPlay的镜像功能,可以将手机中屏幕内容直接投放到高清电视屏幕里。Among them, DLNA can share pictures and videos to the big screen for playback, but it has no mirroring function and cannot synchronize the terminal screen content to the big screen; AirPlay has the mirroring function that DLNA does not have, which can be used for Apple devices (such as iPhone or iPad) The picture on the screen is wirelessly transmitted to the TV, that is to say, what is displayed on the terminal device, what is displayed on the TV screen, not only limited to pictures and videos; Miracast was formulated by the Wi-Fi Alliance in 2012, based on Wi-Fi Direct-connect-based wireless display standard. Devices that support this standard can share video images wirelessly. For example, mobile phones can play videos or photos directly on TV or other devices through Miracast without being affected by the length of the connecting cable. Unlike DLNA, Miracast also has a mirroring function similar to AirPlay, which can directly cast the screen content of the mobile phone to the high-definition TV screen.
那么目前的上述三种投屏方案都是以将终端信号经由Wi-Fi传输到电视、电视盒的方式来实现终端向电视或电视盒的投屏的,这种通过Wi-Fi的投屏方案只可以由终端单点投屏到一个设备,而无法实现终端向多个设备的投屏。Then the above three current screen projection solutions all realize the screen projection of the terminal to the TV or TV box by transmitting the terminal signal to the TV and TV box via Wi-Fi. This kind of screen projection solution through Wi-Fi It is only possible to project the screen from the terminal to one device at a single point, and it is not possible to project the screen from the terminal to multiple devices.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种投屏方法及移动终端,以解决相关技术中的投屏方案所存在的终端无法向多个设备同时投屏的问题。Embodiments of the present invention provide a screen projection method and a mobile terminal, so as to solve the problem that a terminal cannot project a screen to multiple devices simultaneously in the screen projection solution in the related art.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种投屏方法,应用于5G终端,所述方法包括:In a first aspect, an embodiment of the present invention provides a screen projection method, which is applied to a 5G terminal, and the method includes:
若检测到第一投屏设备的5G投屏请求,则判断通过5G双向通信天线已连接的第二投屏设备的数量n是否大于或等于5G双向通信天线的总数量m;If the 5G screen projection request of the first screen projection device is detected, determine whether the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is greater than or equal to the total number m of 5G bidirectional communication antennas;
若是,则拒绝所述5G投屏请求,或,利用时分多址技术或利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线;If so, reject the 5G screen projection request, or use time division multiple access technology or frequency division multiple access technology to allocate a target 5G two-way communication antenna to the first screen projection device;
若否,则检测所述第一投屏设备以及每个第二投屏设备所需要传输的数据量,根据所述数据量,对所述第一投屏设备分配目标5G双向通信天线,或,利用时分多址技术或利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线;If not, detect the amount of data that the first screen projection device and each second screen projection device need to transmit, and allocate a target 5G two-way communication antenna to the first screen projection device according to the data amount, or, Allocate a target 5G two-way communication antenna to the first screen projection device by using time division multiple access technology or frequency division multiple access technology;
利用所述目标5G双向通信天线,与所述第一投屏设备传输投屏数据。Using the target 5G bidirectional communication antenna, transmit screen projection data with the first screen projection device.
第二方面,本发明实施例还提供了一种5G终端,所述5G终端包括:In a second aspect, an embodiment of the present invention further provides a 5G terminal, where the 5G terminal includes:
判断模块,用于若检测到第一投屏设备的5G投屏请求,则判断通过5G双向通信天线已连接的第二投屏设备的数量n是否大于或等于5G双向通信天线的总数量m;The judgment module is used to judge whether the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is greater than or equal to the total number m of the 5G bidirectional communication antennas if the 5G screen projection request of the first screen projection device is detected;
拒绝模块,用于若所述判断模块确定通过5G双向通信天线已连接的第二投屏设备的数量n大于或等于5G双向通信天线的总数量m,则拒绝所述5G投屏请求;A rejection module, configured to reject the 5G screen projection request if the determination module determines that the number n of second screen projection devices connected through the 5G bidirectional communication antenna is greater than or equal to the total number m of 5G bidirectional communication antennas;
第一分配模块,用于利用时分多址技术对所述第一投屏设备分配目标5G双向通信天线;a first allocation module, configured to allocate a target 5G two-way communication antenna to the first screen projection device by using the time division multiple access technology;
第二分配模块,用于利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线;a second allocation module, configured to allocate a target 5G two-way communication antenna to the first screen projection device by using the frequency division multiple access technology;
第三分配模块,用于若所述判断模块确定通过5G双向通信天线已连接的第二投屏设备的数量n小于5G双向通信天线的总数量m,则检测所述第一投屏设备以及每个第二投屏设备所需要传输的数据量,根据所述数据量,对所述第一投屏设备分配目标5G双向通信天线;The third allocation module is configured to detect the first screen projection device and each screen projection device if the determination module determines that the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is less than the total number m of the 5G bidirectional communication antenna. The amount of data that needs to be transmitted by the second screen projection device, and according to the data amount, allocate a target 5G two-way communication antenna to the first screen projection device;
传输模块,用于利用所述目标5G双向通信天线,与所述第一投屏设备传输投屏数据。A transmission module, configured to transmit screen projection data with the first screen projection device by using the target 5G bidirectional communication antenna.
第三方面,本发明实施例还提供了一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现所述的投屏方法的步骤。In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor, and a computer program stored in the memory and running on the processor, the computer program being processed by the processor The steps of implementing the described screen projection method when the device is executed.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现所述的投屏方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screen projection method are implemented .
在本发明实施例中,在已通过5G双向通信天线连接有第二投屏设备的情况下,若检测到第一投屏设备的5G投屏请求,则可以判断第二投屏设备的数量n是否大于或等于该5G中的所具有的5G双向通信天线的总数量m,若是,则说明没有未连接任何投屏设备的剩余双向通信天线,可以拒绝与该第一投屏设备之间的投屏,或者利用时分多址技术或利用频分多址记录来对第一投屏设备分配目标5G双向通信天线;若否,则可以根据第一投屏设备和第二投屏设备所需要传输的数据量大小,来对第一投屏设备进行灵活的分配目标5G双向通信天线,或者利用时分多址技术或利用频分多址记录来对第一投屏设备分配目标5G双向通信天线;最后,在5G终端已经和第二投屏设备进行投屏的情况下,利用目标5G双向通信天线,来实现5G终端与第一投屏设备的投屏,实现了5G终端向多个设备同时投屏。In the embodiment of the present invention, in the case where the second screen projection device is connected through the 5G bidirectional communication antenna, if the 5G screen projection request of the first screen projection device is detected, the number n of the second screen projection device can be determined. Whether it is greater than or equal to the total number m of 5G two-way communication antennas in the 5G, if so, it means that there are no remaining two-way communication antennas that are not connected to any screen projection device, and the projection with the first screen projection device can be rejected. screen, or use time division multiple access technology or frequency division multiple access recording to assign the target 5G two-way communication antenna to the first screen projection device; The amount of data is used to flexibly allocate the target 5G two-way communication antenna to the first screen projection device, or use time division multiple access technology or frequency division multiple access recording to allocate the target 5G two-way communication antenna to the first screen projection device; Finally, In the case where the 5G terminal has already performed screen projection with the second screen projection device, the target 5G bidirectional communication antenna is used to realize the screen projection between the 5G terminal and the first screen projection device, and the 5G terminal can simultaneously project to multiple devices.
附图说明Description of drawings
图1是本发明一个实施例的投屏方法的流程图;1 is a flowchart of a screen projection method according to an embodiment of the present invention;
图2是本发明另一个实施例的投屏方法的流程图;2 is a flowchart of a screen projection method according to another embodiment of the present invention;
图3是本发明再一个实施例的投屏方法的流程图;3 is a flowchart of a screen projection method according to another embodiment of the present invention;
图4是本发明又一个实施例的投屏方法的流程图;4 is a flowchart of a screen projection method according to another embodiment of the present invention;
图5是本发明一个实施例的5G终端的框图;5 is a block diagram of a 5G terminal according to an embodiment of the present invention;
图6是本发明一个实施例的移动终端的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
参照图1,示出了本发明一个实施例的投屏方法的流程图,应用于5G(第五代移动通信网络)终端,所述方法具体可以包括如下步骤:Referring to FIG. 1, a flowchart of a screen projection method according to an embodiment of the present invention is shown, which is applied to a 5G (fifth generation mobile communication network) terminal. The method may specifically include the following steps:
步骤101,若检测到第一投屏设备的5G投屏请求,则判断通过5G双向通信天线已连接的第二投屏设备的数量n是否大于或等于5G双向通信天线的总数量m;
若是,则执行步骤301,拒绝所述5G投屏请求,或,利用时分多址技术或利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线(即,执行下述步骤102或下述步骤103或下述步骤104);If so, go to step 301 to reject the 5G screen projection request, or use time division multiple access technology or frequency division multiple access technology to allocate a target 5G two-way communication antenna to the first screen projection device (that is, perform the following steps 102 or the following step 103 or the following step 104);
若否,则执行步骤302,检测所述第一投屏设备以及每个第二投屏设备所需要传输的数据量,根据所述数据量,对所述第一投屏设备分配目标5G双向通信天线,或,利用时分多址技术或利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线(即,执行下述步骤105或下述步骤103或下述步骤104)。If not, step 302 is executed to detect the amount of data that the first screen projection device and each second screen projection device need to transmit, and according to the data amount, assign a target 5G two-way communication to the first screen projection device Antenna, or, use time division multiple access technology or use frequency division multiple access technology to allocate a target 5G bidirectional communication antenna to the first screen projection device (ie, perform the following step 105 or the following step 103 or the following step 104).
其中,n为自然数,m为正整数。where n is a natural number and m is a positive integer.
其中,5G终端具有5G天线,5G天线可以包括5G双向通信天线和5G单向通信天线。举例而言,5G天线的射频硬件链路可以包括但不限于以下几类:1T(transit,发射)4R(receive,接收)、2T4R、4T8R等。以4T8R为例,其表示该5G终端有8根天线,其中,4根天线为既可以发射数据又可以接收数据的天线,该4根天线均为5G双向通信天线,另外4根天线为只可以接收数据的天线,即该4根天线为5G单向通信天线。Among them, the 5G terminal has a 5G antenna, and the 5G antenna may include a 5G two-way communication antenna and a 5G one-way communication antenna. For example, the radio frequency hardware link of the 5G antenna may include, but is not limited to, the following categories: 1T (transit, transmit), 4R (receive, receive), 2T4R, 4T8R, and so on. Taking 4T8R as an example, it means that the 5G terminal has 8 antennas. Among them, 4 antennas are antennas that can both transmit and receive data. These 4 antennas are all 5G two-way communication antennas, and the other 4 antennas are only available. The antennas that receive data, that is, the four antennas are 5G unidirectional communication antennas.
如图2所示,以5G终端的5G天线的射频硬件链路为4T8R为例示出了5G终端与w个设备同时进行投屏的示意图。As shown in Figure 2, taking the radio frequency hardware link of the 5G antenna of the 5G terminal as 4T8R as an example, it shows a schematic diagram of the simultaneous screencasting of the 5G terminal and w devices.
如图2所示,5G终端在进行投屏业务时,5G终端需要使用至少一根5G双向通信天线(例如图2中的TR)来与投屏设备连接,来实现投屏。可选地,为了提高蜂窝下行吞吐量,还可以使5G终端的上述5G单向通信天线(例如图2中的DR)与投屏设备连接,其中,下行方向指代从与该5G终端连接的投屏设备向该5G终端传输的数据的方向。As shown in Figure 2, when the 5G terminal performs the screen projection service, the 5G terminal needs to use at least one 5G bidirectional communication antenna (such as TR in Figure 2) to connect with the screen projection device to realize the screen projection. Optionally, in order to improve the cellular downlink throughput, the above-mentioned 5G unidirectional communication antenna (for example, the DR in FIG. 2 ) of the 5G terminal can also be connected to the screen projection device, wherein the downlink direction refers to the connection from the 5G terminal connected to the 5G terminal. The direction of the data transmitted by the screen-casting device to the 5G terminal.
在本发明实施例的技术方案中,如图2所示,5G终端可以通过基站(5G基站或者4G基站均可)与远距离的配对设备(设备4~设备w)进行连接,从而将5G终端的屏幕内容的数据以超低延迟的形式实时传送给配对设备,同时又可以与近距离(利用5G的D2D(Device toDevice)技术)的配对设备直接连接,来进行投屏。In the technical solution of the embodiment of the present invention, as shown in FIG. 2 , a 5G terminal can connect with a remote paired device (device 4 to device w) through a base station (either a 5G base station or a 4G base station), so as to connect the 5G terminal The data of the screen content is transmitted to the paired device in real time in the form of ultra-low latency, and at the same time, it can be directly connected to the paired device at a short distance (using 5G's D2D (Device to Device) technology) for screen projection.
因此,本发明实施例中的不论是第一投屏设备还是第二投屏设备都是指代与5G终端通过天线直接连接的设备,因此,该第一投屏设备或者该第二投屏设备可以是终端设备也可以是基站,即本发明实施例的5G终端可以通过与基站连接来实现对侧和基站连接的多个终端设备的投屏,还可以通过直接与终端设备连接,来实现5G终端与终端设备之间的投屏。Therefore, in the embodiments of the present invention, whether it is the first screen projection device or the second screen projection device refers to a device directly connected to the 5G terminal through an antenna. Therefore, the first screen projection device or the second screen projection device It can be a terminal device or a base station, that is, the 5G terminal in the embodiment of the present invention can realize the screen projection of multiple terminal devices connected to the opposite side and the base station by connecting with the base station, and can also realize 5G by directly connecting with the terminal device. Screencasting between terminals and terminal devices.
在步骤101中,该第一投屏设备的5G投屏请求可以是5G终端向第一投屏设备发送的5G投屏请求(即5G终端向第一投屏设备进行5G投屏),也可以是从第一投屏设备接收到的5G投屏请求(即第一投屏设备向5G终端进行5G投屏)。In
其中,在图2中,5G双向通信天线的总数量m=4。5G终端至少需要1T1R(1根天线)与基站通信,保证网络功能,其余的3T3R(3根天线)可以同时连接最多3台投屏设备,剩余的4DR(4根天线)与基站连接来提高蜂窝下行(基站向5G终端发送数据)吞吐量。Among them, in Figure 2, the total number of 5G two-way communication antennas is m=4. 5G terminals need at least 1T1R (1 antenna) to communicate with the base station to ensure network functions, and the remaining 3T3R (3 antennas) can be connected to a maximum of 3 at the same time. For screen projection equipment, the remaining 4DR (4 antennas) are connected to the base station to improve the throughput of cellular downlink (the base station sends data to the 5G terminal).
例如,在步骤101中,5G终端已连接的第二投屏设备包括通过TRX2、TRX3、TRX4分别连接的设备2和设备3以及基站,因此,n=3。For example, in
这里以第一投屏设备为设备1为例进行说明,显然n<m,m=4,因此,转到执行步骤105或步骤103或步骤104。Here, the first screen projection device is
具体执行步骤105还是步骤103或是步骤104可以根据需要灵活配置,也可以根据用户需求来选择执行步骤105或步骤103或步骤104。The specific execution of step 105, step 103 or step 104 can be flexibly configured according to needs, and step 105 or step 103 or step 104 can also be selected to be executed according to user needs.
再如,已连接的第二投屏设备包括通过TRX2、TRX3、TRX4分别连接的设备2和设备3以及基站,还包括通过TRX1连接的设备1,则n=4,显然n=m,因此,转到执行步骤102或步骤103或步骤104。For another example, the connected second screen projection device includes device 2, device 3 and base station connected through TRX2, TRX3, and TRX4 respectively, and also includes
具体执行步骤102还是步骤103或是步骤104可以根据需要灵活配置,也可以根据用户需求来选择执行步骤102或步骤103或步骤104。The specific execution of step 102, step 103 or step 104 can be flexibly configured as required, and step 102 or step 103 or step 104 can also be selected to be executed according to user requirements.
其中,步骤103和步骤104分别是利用时分多址技术、频分多址技术来与已经连接投屏设备的5G双向通信天线进行共用的方式,来实现投屏设备数量的扩展。由于在相同信道数的情况下,采用时分多址要比频分多址能容纳更多的投屏设备,因此,5G终端可以根据需要连接的第一投屏设备的数量来灵活选择执行步骤103还是执行步骤104。Wherein, step 103 and step 104 respectively utilize time division multiple access technology and frequency division multiple access technology to share with the 5G bidirectional communication antenna that has been connected to the screen projection device, so as to realize the expansion of the number of screen projection devices. Since time division multiple access can accommodate more screen projection devices than frequency division multiple access in the case of the same number of channels, the 5G terminal can flexibly choose to execute step 103 according to the number of first screen projection devices to be connected. Step 104 is still executed.
步骤102,拒绝所述5G投屏请求;Step 102, rejecting the 5G screen projection request;
其中,5G终端可以通过发送表示拒绝该5G投屏请求的反馈信息给第一投屏设备,来拒绝该5G投屏请求。The 5G terminal may reject the 5G screen projection request by sending feedback information indicating that the 5G screen projection request is rejected to the first screen projection device.
步骤103,利用时分多址技术对所述第一投屏设备分配目标5G双向通信天线;Step 103, using time division multiple access technology to allocate a target 5G two-way communication antenna to the first screen projection device;
具体而言,如图3所示,以5G终端的天线为1T4R为例,5G终端可以将一个TR在不同的时间上进行切片,分为多个时隙给多个投屏设备使用,由于各个投屏设备占用的时间不同,所以相互之间不会干扰。Specifically, as shown in Figure 3, taking the antenna of the 5G terminal as 1T4R as an example, the 5G terminal can slice a TR at different times and divide it into multiple time slots for use by multiple screen projection devices. Screen-casting devices take different time, so they will not interfere with each other.
在本实施例中,5G终端可以从已与n个第二投屏设备连接的处于已连接投屏设备状态的5G双向通信天线中,来选择一个目标5G双向通信天线来通过时分多址技术分配给该第一投屏设备使用。In this embodiment, the 5G terminal can select a target 5G two-way communication antenna from the 5G two-way communication antennas in the connected screen-casting device state that have been connected to the n second screen-casting devices to be allocated by time division multiple access technology Use it for the first screen projection device.
以图2为例,可以从4个均处于已连接投屏设备状态的TR(即TRX1、TRX2、TRX3、TRX4)中,选择一个TR来通过时分多址技术分配给该第一投屏设备使用。Taking Figure 2 as an example, from the four TRs (ie TRX1, TRX2, TRX3, TRX4) that are all connected to the screen-casting device, one TR can be selected to be allocated to the first screen-casting device through time division multiple access technology. .
可选地,在执行步骤103时,可以通过以下方式来实现:Optionally, when step 103 is executed, it can be implemented in the following manner:
判断m个5G双向通信天线中是否存在处于空闲状态的5G双向通信天线;Determine whether there is an idle 5G two-way communication antenna among the m 5G two-way communication antennas;
其中,由于n>m,说明5G终端的m个TR(即所有的TR)均已分配给投屏设备进行连接,且每个TR至少连接了一个第二投屏设备。Among them, since n>m, it means that m TRs of the 5G terminal (that is, all TRs) have been allocated to the screen projection device for connection, and each TR is connected to at least one second screen projection device.
但是,对于通过一个TR来与5G终端进行投屏连接的第二投屏设备而言,该5G终端与该第二投屏设备之间并非实时都在进行数据传输,而当该TR虽然与该第二投屏设备连接,但是当其处于未传输数据状态(即空闲状态)下时,则本发明实施例的方法可以将一个TR在不同的时间上进行切片,分为多个时隙给多个投屏设备使用,由于各个投屏设备占用的时间不同,所以相互之间不会干扰。However, for the second screen projection device that is connected to the 5G terminal for screen projection through a TR, data transmission is not performed between the 5G terminal and the second screen projection device in real time. The second screen projection device is connected, but when it is in a state of not transmitting data (ie, an idle state), the method of the embodiment of the present invention can slice a TR at different times and divide it into multiple time slots for multiple When using one screen-casting device, each screen-casting device will not interfere with each other because the time occupied by each screen-casting device is different.
因此,这里可以判断m个TR中是否存在处于空闲状态的TR。Therefore, it can be determined whether there is a TR in an idle state among the m TRs.
若是(例如m个TR中存在处于空闲状态的TR,其中,TR处于空闲状态可以是已连接投屏设备但是未与该已连接投屏设备传输任何数据而处于空闲状态,也可以是未连接任何投屏设备而处于空闲状态),则从处于空闲状态的5G双向通信天线中随机选择一个目标5G双向通信天线分配至所述第一投屏设备;If (for example, there is a TR in an idle state among m TRs, where the TR in an idle state may be connected to a screen-casting device but has not transmitted any data with the connected screen-casting device and is in an idle state, or it may be not connected to any The screen projection device is in an idle state), randomly select a target 5G two-way communication antenna from the 5G two-way communication antennas in the idle state and assign it to the first screen projection device;
其中,当m个TR中存在处于空闲状态的TR时,则可以从处于空闲状态的TR中随机选择一个目标TR来分配给该第一投屏设备。Wherein, when there is a TR in an idle state among the m TRs, a target TR may be randomly selected from the TRs in an idle state to be allocated to the first screen projection device.
如图3所示,目标TR(这里为TRX1)已通过时分多址技术分配给基站、设备3、设备2来连接进行投屏,当前又检测到设备1的投屏请求,且检测到该投屏请求时,该目标TR处于未与基站、设备2以及设备3进行任何数据传输的状态,即空闲状态,因此,可以将该TRX1分配给设备1来进行投屏,那么在设备1与5G终端通过TRX1进行投屏的过程中,该基站、设备2以及设备3则不可以与5G终端之间传输投屏数据。待该TRX1再次处于空闲状态时,才可以切换通过TRX1进行投屏的设备,例如在时隙2切换至设备3与5G终端之间传输投屏数据。As shown in Figure 3, the target TR (here, TRX1) has been allocated to the base station, device 3, and device 2 through time division multiple access technology to connect for screen projection. Currently, the screen projection request of
需要说明的是,图3中每个投屏设备占用的时隙可以是固定的,也可以是可变化的(并非设备1固定于在时隙4进行数据传输,而设备2在时隙3进行数据传输)。It should be noted that the time slot occupied by each screen projection device in Figure 3 can be fixed or variable (not that
若否(例如m个TR中不存在处于空闲状态的TR),则执行步骤104,即利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线。If no (for example, there is no TR in an idle state among the m TRs), step 104 is performed, that is, a target 5G bidirectional communication antenna is allocated to the first screen projection device by using the frequency division multiple access technology.
其中,例如图2中的4个TR均没有处于空闲状态,即都在传输投屏数据,那么则难以采用时分多址技术来对第一投屏设备分配目标TR,这里,可以执行步骤104,即利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线,步骤104的具体实现过程参照下述相关实施例,这里不再赘述。Among them, for example, none of the four TRs in FIG. 2 is in an idle state, that is, they are all transmitting screen projection data, then it is difficult to use the time division multiple access technology to allocate the target TR to the first screen projection device. Here, step 104 can be performed, That is, using the frequency division multiple access technology to allocate the target 5G bidirectional communication antenna to the first screen projection device, the specific implementation process of step 104 refers to the following related embodiments, which will not be repeated here.
在本发明实施例中,当通过5G双向通信天线已连接的第二投屏设备的数量n大于或等于5G双向通信天线的总数量m时,则说明5G终端的所有5G双向通信天线都已连接有投屏设备,那么为了增加同时投屏设备的数量,本发明实施例可以在一个双向通信天线的射频硬件链路的不同时隙上来传输已连接的不同投屏设备的投屏数据,从而在5G双向通信天线数量有限的情况下,增加同时投屏的投屏设备的数量。此外,还可以避免空分多址受天线数量的限制而无法扩展更多的投屏设备的问题,使得各个投屏设备通过不同的时隙与5G终端进行通信,极大的扩展了可接入的投屏设备数量。In the embodiment of the present invention, when the number n of the second screen projection devices connected through the 5G two-way communication antenna is greater than or equal to the total number m of the 5G two-way communication antenna, it means that all 5G two-way communication antennas of the 5G terminal have been connected. If there are screen projection devices, in order to increase the number of simultaneous screen projection devices, in this embodiment of the present invention, the screen projection data of different connected When the number of 5G two-way communication antennas is limited, increase the number of screen-casting devices that screen simultaneously. In addition, it can also avoid the problem that space division multiple access is limited by the number of antennas and cannot expand more screen projection devices, so that each screen projection device communicates with 5G terminals through different time slots, which greatly expands the accessibility. The number of screen-casting devices.
步骤104,利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线;Step 104, using frequency division multiple access technology to allocate a target 5G two-way communication antenna to the first screen projection device;
具体而言,如图4所示,以5G终端的天线为1T4R为例,5G终端可以将一个TR在不同的频率上进行信道的划片,分为多个频率的信道来供多个投屏设备使用,由于各个投屏设备使用的信道的频率不同,所以相互之间不会干扰。Specifically, as shown in Figure 4, taking the antenna of the 5G terminal as 1T4R as an example, the 5G terminal can slice a TR on different frequencies and divide it into channels of multiple frequencies for multiple screen projections When the device is used, since the frequencies of the channels used by each screen projection device are different, they will not interfere with each other.
可选地,若n≥m,5G终端可以从已与n个第二投屏设备连接的处于已连接投屏设备状态的5G双向通信天线中,来选择一个目标5G双向通信天线来通过频分多址技术分配给该第一投屏设备使用。Optionally, if n ≥ m, the 5G terminal can select a target 5G two-way communication antenna from the 5G two-way communication antennas in the connected screen-casting device state that have been connected to the n second screen-casting devices to pass the frequency division. The multiple access technology is allocated to the first screen projection device for use.
以图2为例,可以从4个均处于已连接投屏设备状态的TR(即TRX1、TRX2、TRX3、TRX4)中,选择一个TR来通过频分多址技术分配给该第一投屏设备使用。Taking Figure 2 as an example, from the four TRs (ie, TRX1, TRX2, TRX3, and TRX4) that are all connected to the screen-casting device, a TR can be selected to be allocated to the first screen-casting device through frequency division multiple access technology. use.
可选地,若n<m,则说明5G终端还存在未连接任何投屏设备的5G双向通信天线,因此,5G终端可以从m个5G双向通信天线中随机选择一个目标5G双向通信天线。Optionally, if n<m, it means that the 5G terminal also has a 5G bidirectional communication antenna that is not connected to any screen projection device. Therefore, the 5G terminal can randomly select a target 5G bidirectional communication antenna from m 5G bidirectional communication antennas.
可选地,在执行步骤104时,可以通过S201~S206来实现:Optionally, when step 104 is performed, S201 to S206 may be used to implement:
S201,从m个5G双向通信天线中随机选择一个目标5G双向通信天线;S201, randomly select a target 5G two-way communication antenna from m 5G two-way communication antennas;
例如,n>m,说明5G终端的m个TR(即所有的TR)均已分配给投屏设备进行连接,且每个TR至少连接了一个第二投屏设备。For example, n>m, it means that m TRs (that is, all TRs) of the 5G terminal have been allocated to the screen projection device for connection, and each TR is connected to at least one second screen projection device.
但是,对于通过一个TR来与5G终端进行投屏连接的第二投屏设备而言,该第二投屏设备通过该TR所传输数据采用的信道的载波频率是固定的,其并非会占用该TR的所有载波频率的所有信道,因此,本发明实施例的方法可以借助于不同的投屏设备虽然都通过同一个TR来与5G终端连接,但是在发送投屏内容时,通过分配该TR的不同载波频率的不同信道来与不同的投屏设备连接,从而可以实现通过该不同信道同时与多个投屏设备进行投屏内容的传输的目的。However, for the second screen projection device that is connected to the 5G terminal for screen projection through a TR, the carrier frequency of the channel used by the second screen projection device to transmit data through the TR is fixed, and it does not occupy the All channels of all carrier frequencies of the TR, therefore, the method of the embodiment of the present invention can use different screen projection devices to connect with the 5G terminal through the same TR, but when the screen projection content is sent, by assigning the TR's Different channels of different carrier frequencies are used to connect to different screen projection devices, so that the purpose of simultaneously transmitting screen projection content to multiple screen projection devices through the different channels can be achieved.
本步骤中,可以从m个TR中随机选取一个用于分配至该第一投屏设备的目标TR。In this step, one target TR to be allocated to the first screen projection device may be randomly selected from m TRs.
S202,检测所述目标5G双向通信天线的带宽;S202, detecting the bandwidth of the target 5G bidirectional communication antenna;
S203,根据所述带宽确定所述目标5G双向通信天线的信道数量P;S203, determining the number of channels P of the target 5G bidirectional communication antenna according to the bandwidth;
其中,可以根据目标TR的带宽来确定该目标TR的所有信道的总数量P,其中,P个信道的载波频率不同,即不同信道所传输的数据的频率不同。The total number P of all channels of the target TR can be determined according to the bandwidth of the target TR, wherein the carrier frequencies of the P channels are different, that is, the frequencies of data transmitted by different channels are different.
其中,P大于或等于2。其中,带宽越大,其信道数量也越多。where P is greater than or equal to 2. Among them, the greater the bandwidth, the greater the number of channels.
S204,识别P个信道中处于空闲状态的Q个信道,其中Q<P;S204, identifying Q channels in an idle state among the P channels, where Q<P;
所谓处于空闲状态的信道,即未传输任何数据的信道。The so-called idle channel is a channel that does not transmit any data.
S205,检测所述第一投屏设备所需要传输的第一数据量;S205, detecting the first amount of data that needs to be transmitted by the first screen projection device;
S206,根据所述第一数据量,从Q个信道中选取资源块数与所述第一数据量匹配的目标信道分配至所述第一投屏设备。S206, according to the first data amount, select a target channel whose number of resource blocks matches the first data amount from the Q channels and assign it to the first screen projection device.
虽然该目标TR中存在处于空闲状态的Q个信道,但是每个信道的RB(即资源块)数是存在区别的,而信道的RB数越多,该信道所能够传输的数据量就越大,因此,这里可以根据该第一投屏设备所需要传输的第一数据量的大小,来从Q个空闲信道中选取RB数可以支持传输该第一数据量的数据的目标信道,来将目标TR中的目标信道来分配给该第一投屏设备。Although there are Q channels in an idle state in the target TR, the number of RBs (ie resource blocks) of each channel is different, and the more RBs in a channel, the greater the amount of data that the channel can transmit. , therefore, according to the size of the first data amount that the first screen projection device needs to transmit, a target channel whose number of RBs can support the transmission of the first data amount can be selected from the Q idle channels to convert the target The target channel in the TR is allocated to the first screen projection device.
例如,如图4所示,检测到设备1的投屏请求,且分配目标TR(这里为TRX1)给设备1,另外,该目标TR已通过频分多址技术分配给基站、设备3、设备2来连接进行投屏,而该目标TR的目标信道的RB数可以支持设备1的数据量的传输,且目标信道处于空闲状态,因此,可以将该TRX1的目标信道分配给设备1来进行投屏,那么在5G终端与设备1通过TRX1的频率4的目标信道进行投屏的过程中,5G终端还可以与基站、设备3、设备2分别通过TRX1的频率1、频率2以及频率3的3个信道分别进行投屏。For example, as shown in Figure 4, the screen projection request of
需要说明的是,图4中每个投屏设备占用所占用的具有相应载波频率的信道可以是固定的,也可以是可变化的(例如,并非设备1固定于在载波频率为频率4的TRX1的信道来与5G终端进行投屏数据传输)。It should be noted that the channel with the corresponding carrier frequency occupied by each screen projection device in FIG. 4 may be fixed or variable (for example, not
在本发明实施例中,当通过5G双向通信天线已连接的第二投屏设备的数量n大于或等于5G双向通信天线的总数量m时,则说明5G终端的所有5G双向通信天线都已连接有投屏设备,那么为了增加同时投屏设备的数量,本发明实施例可以在一个双向通信天线的射频硬件链路的支持不同载波频率的不同信道上来传输已连接的不同投屏设备的投屏数据,从而在5G双向通信天线数量有限的情况下,增加同时投屏的投屏设备的数量。并且,提高了5G双向通信天线的频谱的利用率,同时也能更灵活的分配频谱资源,让流量大的投屏设备充分的得到更多的频谱资源。In the embodiment of the present invention, when the number n of the second screen projection devices connected through the 5G two-way communication antenna is greater than or equal to the total number m of the 5G two-way communication antenna, it means that all 5G two-way communication antennas of the 5G terminal have been connected. If there are screen-casting devices, in order to increase the number of simultaneous screen-casting devices, the embodiment of the present invention can transmit the screen-casting of the connected different screen-casting devices on different channels of the radio frequency hardware link of a bidirectional communication antenna that support different carrier frequencies Therefore, in the case of a limited number of 5G two-way communication antennas, the number of screen-casting devices that cast screens at the same time is increased. In addition, the spectrum utilization rate of the 5G bidirectional communication antenna is improved, and spectrum resources can be allocated more flexibly, so that screen projection devices with large traffic can fully obtain more spectrum resources.
可选地,在执行S205时,可以从Q个信道中随机选择一个第一信道分配至所述第一投屏设备;从分配至所述第一投屏设备的目标5G双向通信天线的第一信道处,检测与所述第一投屏设备之间传输的第一数据量;Optionally, when S205 is performed, a first channel may be randomly selected from the Q channels and allocated to the first screen projection device; from the first channel of the target 5G bidirectional communication antenna allocated to the first screen projection device At the channel, detect the first amount of data transmitted with the first screen projection device;
其中,检测第一投屏设备所需要传输的第一数据量的大小的原理与下述实施例中步骤105的详细实施例中的第二步的原理类似,这里不再赘述。The principle of detecting the size of the first data amount to be transmitted by the first screen projection device is similar to the principle of the second step in the detailed embodiment of step 105 in the following embodiments, and will not be repeated here.
那么在执行S206时,则可以根据所述第一数据量,从Q个信道中选取资源块数与所述第一数据量匹配的目标信道;当所述目标信道与所述第一信道不同时,则将分配至所述第一投屏设备的信道从所述第一信道切换至所述目标信道。Then when S206 is performed, a target channel whose number of resource blocks matches the first data amount may be selected from the Q channels according to the first data amount; when the target channel is different from the first channel , the channel allocated to the first screen projection device is switched from the first channel to the target channel.
其中,由于从剩余处于空闲状态的Q个信道中选择一个第一信道分配给第一投屏设备的原因在于,可以获取该第一投屏设备所需要传输的第一数据量的大小,但是,该第一信道的RB数不一定可以支持传输该第一数据量的数据,因此,可以根据该第一数据量,来从Q个信道中选取RB数支持传输该第一数据量的数据的目标信道,那么当该第一信道和目标信道不同时,则将分配至所述第一投屏设备的信道从所述第一信道切换至所述目标信道。那么如果该第一信道和目标信道相同,则不需要执行上述切换步骤。Among them, the reason for selecting a first channel from the remaining Q channels in an idle state and assigning it to the first screen projection device is that the size of the first data amount that the first screen projection device needs to transmit can be obtained, but, The number of RBs of the first channel may not necessarily support the transmission of the data of the first amount of data. Therefore, the number of RBs may be selected from the Q channels according to the first amount of data to support the target of transmitting the data of the first amount of data. channel, then when the first channel and the target channel are different, the channel allocated to the first screen projection device is switched from the first channel to the target channel. Then, if the first channel and the target channel are the same, the above switching step does not need to be performed.
在本发明实施例中,可以通过首先从Q个信道中随机分配一个第一信道给第一投屏设备的方式,来获取该第一投屏设备所传输的数据量大小,从而可以准确的根据该第一投屏设备所需要传输的该数据量大小,来合理分配适应与该数据量大小的目标信道,提升5G终端与第一投屏设备之间的数据传输速度。且能更灵活的分配频谱资源,让流量大的投屏设备充分的得到更多的频谱资源。In this embodiment of the present invention, the amount of data transmitted by the first screen projection device can be obtained by randomly allocating a first channel from the Q channels to the first screen projection device, so that the amount of data transmitted by the first screen projection device can be accurately The size of the amount of data that the first screen projection device needs to transmit is used to reasonably allocate a target channel adapted to the size of the data amount, so as to improve the data transmission speed between the 5G terminal and the first screen projection device. And it can allocate spectrum resources more flexibly, so that screen projection devices with large traffic can fully obtain more spectrum resources.
在上述实施例中,当所述第一投屏设备的数量为多个时,也就是说,当同时检测到多个第一投屏设备的5G投屏请求时,则在执行所述根据所述第一数据量,从Q个信道中选取资源块数与所述第一数据量匹配的目标信道分配至所述第一投屏设备的步骤时,可以通过以下方式来实现:In the above embodiment, when the number of the first screen projection devices is multiple, that is, when 5G screen projection requests from multiple first screen projection devices are detected at the same time, the The first data amount, when selecting a target channel whose number of resource blocks matches the first data amount from the Q channels and assigning it to the first screen projection device, can be achieved in the following ways:
获取多个第一投屏设备对应的多个第一数据量的比例关系;从Q个信道中选取多个资源块数的比例成所述比例关系的多个目标信道;将所述多个目标信道分配至对应的所述多个第一投屏设备。Obtain the proportional relationship of the multiple first data amounts corresponding to the multiple first screen projection devices; select multiple target channels whose proportions of the number of resource blocks are in the proportional relationship from the Q channels; Channels are allocated to the corresponding plurality of first screen projection devices.
具体而言,例如多个第一投屏设备分别为设备1、设备2和设备3,它们三个设备所需要的数据量大小的比例关系为设备1对应的第一数据量:设备2对应的第一数据:设备3对应的第一数据量=1:2:3。而Q个空闲的信道中每个信道的RB数是已知的,因此,可以也获取RB数成1:2:3的目标信道1、目标信道2以及目标信道3,并将目标信道1、目标信道2以及目标信道3依次分配给设备1、设备2以及设备3。Specifically, for example, the multiple first screen projection devices are
其中,目标信道1、目标信道2以及目标信道3的RB数也是分别与设备1的第一数据量、设备2的第一数据量、设备3的第一数据量相匹配的,即相应信道的RB数支持相应设备的第一数据量的数据传输。The RB numbers of
在本发明实施例中,当检测到多个第一投屏设备的投屏请求,则可以按照多个第一投屏设备所需要的第一数据量之间的比例关系,来分配RB数成该比例关系的多个目标信道给给多个第一投屏设备,从而能够快速的对多个投屏设备分配信道,提升多个投屏设备投屏连接的效率。In this embodiment of the present invention, when screen projection requests from multiple first screen projection devices are detected, the number of RBs may be allocated according to the proportional relationship between the first data amounts required by the multiple first screen projection devices. The multiple target channels in the proportional relationship are assigned to the multiple first screen projection devices, so that channels can be quickly allocated to the multiple screen projection devices, and the efficiency of the screen projection connection of the multiple screen projection devices can be improved.
可选地,当第一投屏设备为基站时,即终端与基站进行频分多址的通信时,则可以由基站来分配通过该基站来与5G终端进行投屏连接的多个投屏设备,所需要使用的目标信道;而当第一投屏设备为终端时,则由5G终端来对每个第一投屏设备分配目标信道。Optionally, when the first screen projection device is a base station, that is, when the terminal communicates with the base station in frequency division multiple access, the base station can allocate multiple screen projection devices that are connected to the 5G terminal for screen projection through the base station. , the target channel to be used; and when the first screen projection device is a terminal, the 5G terminal allocates the target channel to each first screen projection device.
步骤105,检测所述第一投屏设备以及每个第二投屏设备所需要传输的数据量,根据所述数据量,对所述第一投屏设备分配目标5G双向通信天线;Step 105: Detect the amount of data that the first screen projection device and each second screen projection device need to transmit, and allocate a target 5G two-way communication antenna to the first screen projection device according to the data amount;
其中,当n<m时,说明5G终端还存在处于未连接任何设备的状态的TR,因此,转到执行步骤105,来根据当前请求连接的投屏设备以及所有已连接的投屏设备所分别需要传输的数据量大小,来灵活的对当前请求进行投屏的第一投屏设备分别相应的TR。Among them, when n<m, it means that the 5G terminal still has a TR in a state that is not connected to any device. Therefore, go to step 105 to perform the screencasting device currently requested to be connected and all connected screencasting devices respectively. The size of the amount of data to be transmitted is used to flexibly project the corresponding TR of the first screen projection device currently requesting to perform screen projection.
可选地,在执行步骤105时,可以通过以下流程来实现:Optionally, when step 105 is executed, the following process may be used to implement:
第一步,从m-n个处于未连接投屏设备状态的5G双向通信天线中随机选择一个5G双向通信天线分配至所述第一投屏设备;The first step is to randomly select a 5G two-way communication antenna from m-n 5G two-way communication antennas that are not connected to the screen-casting device and assign it to the first screen-casting device;
首先,从剩余未连接投屏设备的TR中选择一个TR分配给第一投屏设备的原因在于,可以获取该第一投屏设备所需要传输的第一数据量。First of all, the reason for selecting a TR from the remaining TRs that are not connected to the screen-casting device and assign it to the first screen-casting device is to obtain the first amount of data that the first screen-casting device needs to transmit.
第二步,从分配至所述第一投屏设备的5G双向通信天线处,检测与所述第一投屏设备之间传输的第一数据量;The second step is to detect the first amount of data transmitted with the first screen projection device from the 5G bidirectional communication antenna allocated to the first screen projection device;
需要说明的是,当第一投屏设备为基站时,且该5G投屏请求为5G终端向基站发送的,用于同时向设备4~设备w进行投屏,则该第一数据量为5G终端向该基站发送的数据量;It should be noted that when the first screen projection device is the base station, and the 5G screen projection request is sent by the 5G terminal to the base station for simultaneously projecting the screen to devices 4 to w, the first data amount is 5G The amount of data sent by the terminal to the base station;
当第一投屏设备为基站时,且该5G投屏请求为基站向5G终端发送的,用于设备4~设备w向5G终端进行投屏,则该第一数据量为设备4~设备w通过基站向5G终端发送的数据量之和。When the first screen projection device is a base station, and the 5G screen projection request is sent by the base station to the 5G terminal for device 4 to device w to perform screen projection to the 5G terminal, the first data volume is device 4 to device w The sum of the amount of data sent by the base station to the 5G terminal.
由于5G终端已经通过一个TR来与第一投屏设备连接,因此,可以从该TR处检测到二者之间传输的第一数据量大小。Since the 5G terminal has been connected to the first screen projection device through a TR, the size of the first amount of data transmitted between the two can be detected from the TR.
第三步,从与每个所述第二投屏设备连接的每个5G双向通信天线处,检测与每个所述第二投屏设备之间传输的每个第二数据量;In the third step, from each 5G bidirectional communication antenna connected to each of the second screen projection devices, detect the amount of each second data transmitted with each of the second screen projection devices;
其中,由于在检测到上述5G投屏请求之前,5G终端已经通过至少一个TR来与至少一个第二投屏设备连接,因此,检测每个第二投屏设备所需要传输的数据量大小的方案类似于第二步,也是从相应的TR处检测数据量。Among them, since the 5G terminal has been connected to at least one second screen projection device through at least one TR before the above-mentioned 5G screen projection request is detected, the solution for detecting the amount of data that each second screen projection device needs to transmit Similar to the second step, the amount of data is also detected from the corresponding TR.
第四步,识别所述第一数据量和n个所述第二数据量中的最大数据量所对应的目标投屏设备;The fourth step is to identify the target screen projection device corresponding to the largest data amount in the first data amount and the n second data amounts;
其中,可以将第二步和第三步得到的n+1个数据量作从大到小的排序,从而识别到需要最大数据量的目标投屏设备,其中,所述目标投屏设备为所述第一投屏设备,或n个所述第二投屏设备中的一个。Among them, the n+1 data volumes obtained in the second and third steps can be sorted from large to small, so as to identify the target screen projection device that requires the largest amount of data, wherein the target screen projection device is all The first screen projection device, or one of the n second screen projection devices.
第五步,将m-n-1个处于未连接投屏设备状态的5G双向通信天线分配至所述目标投屏设备,其中,分配至所述第一投屏设备的5G双向通信天线为目标5G双向通信天线。Step 5: Allocate m-n-1 5G two-way communication antennas that are not connected to the screen-casting device to the target screen-casting device, wherein the 5G two-way communication antenna allocated to the first screen-casting device is the target 5G two-way communication antenna communication antenna.
其中,由于目前存在n+1个投屏设备占用了n+1个TR,因此,目前剩余的TR数量为m-n-1,可以将剩余的m-n-1个处于未连接投屏设备状态的TR均分配至该目标投屏设备。Among them, since there are currently n+1 screen projection devices occupying n+1 TRs, the number of remaining TRs is m-n-1, and the remaining m-n-1 TRs in the state of not connected to the screen projection device can be all Assign to the target screencasting device.
那么当该目标投屏设备为该第一投屏设备时,则分配至该第一投屏设备的目标5G双向通信天线则可以包括上述第一步中随机分配的一个TR以及第五步中分配的m-n-1个TR;而当该目标投屏设备不为该第一投屏设备,而是n个第二投屏设备中的一个时,则该目标5G双向通信天线则是上述第一步中随机分配给第一投屏设备的一个TR。Then, when the target screen projection device is the first screen projection device, the target 5G bidirectional communication antenna allocated to the first screen projection device may include a TR randomly allocated in the first step and a TR allocated in the fifth step. m-n-1 TRs; and when the target screen projection device is not the first screen projection device, but one of n second screen projection devices, the target 5G two-way communication antenna is the first step above A TR randomly assigned to the first screen projection device.
可选地,当目标5G双向通信天线所支持传输的数据量之和仍旧小于该目标投屏设备所需要的数据量时,则可以将单向通信天线也分配给该目标投屏设备,例如图2中的4个DR。Optionally, when the sum of the data volume supported by the target 5G two-way communication antenna is still less than the data volume required by the target screen projection device, the one-way communication antenna can also be allocated to the target screen projection device, for example, as shown in Fig. 4 DRs out of 2.
在本发明实施例中,在对新接入的一个投屏设备分配双向通信天线时,可以根据所有已连接的投屏设备(包括该新接入的投屏设备)所需的数据量大小关系进行智能分配,将未连接任何投屏设备的剩余的双向通信天线来分配给需要流量最大的投屏设备(当然,该投屏设备也可以是基站),以提高投屏数据的传输速率。In this embodiment of the present invention, when allocating a two-way communication antenna to a newly-connected screen-casting device, the relationship between the amount of data required by all the connected screen-casting devices (including the newly-connected screen-casting device) can be determined Perform intelligent allocation, and allocate the remaining two-way communication antennas that are not connected to any screencasting device to the screencasting device that requires the most traffic (of course, the screencasting device can also be a base station) to improve the transmission rate of screencasting data.
步骤106,利用所述目标5G双向通信天线,与所述第一投屏设备传输投屏数据。
其中,对第一投屏设备分配了目标5G双向通信天线进行连接,从而进行5G终端与第一投屏设备之间的投屏数据的传输;而5G终端还通过其他的双向通信天线来与n个第二投屏设备连接,从而使得5G终端通过其他的双向通信天线来与n个第二投屏设备之间进行投屏数据的传输,从而利用5G的双向通信天线,实现了5G终端与多个设备之间的同时投屏。Among them, the target 5G two-way communication antenna is allocated to the first screen projection device for connection, so as to transmit screen projection data between the 5G terminal and the first screen projection device; and the 5G terminal also communicates with n through other two-way communication antennas. A second screen projection device is connected, so that the 5G terminal can transmit screen projection data with the n second screen projection devices through other two-way communication antennas. Simultaneous screencasting between two devices.
在本发明实施例中,在已通过5G双向通信天线连接有第二投屏设备的情况下,若检测到第一投屏设备的5G投屏请求,则可以判断第二投屏设备的数量n是否大于或等于该5G中的所具有的5G双向通信天线的总数量m,若是,则说明没有未连接任何投屏设备的剩余双向通信天线,可以拒绝与该第一投屏设备之间的投屏,或者利用时分多址技术或利用频分多址记录来对第一投屏设备分配目标5G双向通信天线;若否,则可以根据第一投屏设备和第二投屏设备所需要传输的数据量大小,来对第一投屏设备进行灵活的分配目标5G双向通信天线,或者利用时分多址技术或利用频分多址记录来对第一投屏设备分配目标5G双向通信天线;最后,在5G终端已经和第二投屏设备进行投屏的情况下,利用目标5G双向通信天线,来实现5G终端与第一投屏设备的投屏,实现了5G终端向多个设备同时投屏。In the embodiment of the present invention, in the case where the second screen projection device is connected through the 5G bidirectional communication antenna, if the 5G screen projection request of the first screen projection device is detected, the number n of the second screen projection device can be determined. Whether it is greater than or equal to the total number m of 5G two-way communication antennas in the 5G, if so, it means that there are no remaining two-way communication antennas that are not connected to any screen projection device, and the projection with the first screen projection device can be rejected. screen, or use time division multiple access technology or frequency division multiple access recording to assign the target 5G two-way communication antenna to the first screen projection device; The amount of data is used to flexibly allocate the target 5G two-way communication antenna to the first screen projection device, or use time division multiple access technology or frequency division multiple access recording to allocate the target 5G two-way communication antenna to the first screen projection device; Finally, In the case where the 5G terminal has already performed screen projection with the second screen projection device, the target 5G bidirectional communication antenna is used to realize the screen projection between the 5G terminal and the first screen projection device, and the 5G terminal can simultaneously project to multiple devices.
此外,图3和图4中,也示出了对已通过5G双向通信天线连接的投屏设备分配单向通信天线,例如DR的方式,来提高蜂窝下行吞吐量,具体参照上文,这里不再赘述。In addition, FIG. 3 and FIG. 4 also show the allocation of unidirectional communication antennas, such as DR, to screen projection devices that have been connected through 5G bidirectional communication antennas to improve cellular downlink throughput. For details, please refer to the above. Repeat.
借助于本发明实施例的上述技术方案,利用5G的射频硬件链路来进行多个设备的同时投屏,由于5G的网络传输速率是4G的上百倍,从而可以解决传统投屏方案中对4K甚至分辨率更高的视频投屏卡顿问题;而且5G网络具有mMTC的特点,从而可以实现万物互联,能够实现5G终端与多个投屏设备同时投屏互动的目的,例如在多个好友分享视频,多人投屏游戏等场景有很好的体验;此外,利用5G网络进行投屏,能够利用5G D2D技术来实现两个设备的直接通信,不限于投屏场景在在室内,可以借助于基站,来在室外(Device to Device)与其他设备(手机、广场屏幕、公交电视等)进行投屏共享;此外,5G网络具有URLLC超低延迟的特点,那么即使投屏设备距离该5G终端较远,例如两个终端分属不同的国家,则本发明实施例的方案依然可以实现超低延迟的投屏共享,将终端设备的内容实时投放到配对设备的屏幕中。With the help of the above technical solutions of the embodiments of the present invention, the 5G radio frequency hardware link is used to perform simultaneous screen projection of multiple devices. Since the network transmission rate of 5G is hundreds of times that of 4G, it can solve the problem of 4K display in traditional screen projection solutions. Even video projection with higher resolution is stuck; and the 5G network has the characteristics of mMTC, which can realize the interconnection of everything, and can realize the purpose of simultaneous projection and interaction between 5G terminals and multiple projection devices, such as sharing with multiple friends. Video, multi-player screencasting games and other scenes have a good experience; in addition, using 5G network for screencasting can use 5G D2D technology to achieve direct communication between two devices, not limited to screencasting scenes. Indoors, you can use the The base station is used outdoors (Device to Device) to share the screen with other devices (mobile phones, square screens, bus TVs, etc.); in addition, the 5G network has the characteristics of URLLC ultra-low latency, so even if the screen-casting device is closer to the 5G terminal For example, if the two terminals belong to different countries, the solution of the embodiment of the present invention can still achieve ultra-low-latency screen sharing, and the content of the terminal device can be put on the screen of the paired device in real time.
参照图5,示出了本发明一个实施例的5G终端的框图。本发明实施例的5G终端能实现上述实施例中的投屏方法的细节,并达到相同的效果。图5所示5G终端包括:Referring to FIG. 5, a block diagram of a 5G terminal according to an embodiment of the present invention is shown. The 5G terminal in the embodiment of the present invention can implement the details of the screen projection method in the foregoing embodiment, and achieve the same effect. The 5G terminal shown in Figure 5 includes:
判断模块501,用于若检测到第一投屏设备的5G投屏请求,则判断通过5G双向通信天线已连接的第二投屏设备的数量n是否大于或等于5G双向通信天线的总数量m;The determination module 501 is configured to determine whether the number n of the second screen projection devices connected through the 5G two-way communication antenna is greater than or equal to the total number m of the 5G two-way communication antenna if the 5G screen projection request of the first screen projection device is detected ;
拒绝模块502,用于若所述判断模块501确定通过5G双向通信天线已连接的第二投屏设备的数量n大于或等于5G双向通信天线的总数量m,则拒绝所述5G投屏请求;The rejection module 502 is configured to reject the 5G screen projection request if the determination module 501 determines that the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is greater than or equal to the total number m of the 5G bidirectional communication antenna;
第一分配模块503,用于利用时分多址技术对所述第一投屏设备分配目标5G双向通信天线;a first allocation module 503, configured to allocate a target 5G two-way communication antenna to the first screen projection device by using the time division multiple access technology;
可选地,第一分配模块503,用于若所述判断模块501确定通过5G双向通信天线已连接的第二投屏设备的数量n大于或等于5G双向通信天线的总数量m,则利用时分多址技术对所述第一投屏设备分配目标5G双向通信天线;Optionally, the first allocation module 503 is configured to use time division if the determination module 501 determines that the number n of the second screen projection devices connected through the 5G two-way communication antenna is greater than or equal to the total number m of the 5G two-way communication antenna. The multiple access technology allocates the target 5G two-way communication antenna to the first screen projection device;
第二分配模块504,用于利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线;A second allocating module 504, configured to allocate a target 5G bidirectional communication antenna to the first screen projection device by using the frequency division multiple access technology;
可选地,第二分配模块504,用于若所述判断模块501确定通过5G双向通信天线已连接的第二投屏设备的数量n大于或等于5G双向通信天线的总数量m,则利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线;Optionally, the second allocation module 504 is configured to, if the determination module 501 determines that the number n of the second screen projection devices connected through the 5G two-way communication antenna is greater than or equal to the total number m of the 5G two-way communication antenna, use the frequency The division multiple access technology allocates a target 5G two-way communication antenna to the first screen projection device;
第三分配模块505,用于若所述判断模块501确定通过5G双向通信天线已连接的第二投屏设备的数量n小于5G双向通信天线的总数量m,则检测所述第一投屏设备以及每个第二投屏设备所需要传输的数据量,根据所述数据量,对所述第一投屏设备分配目标5G双向通信天线;The third allocation module 505 is configured to detect the first screen projection device if the determination module 501 determines that the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is less than the total number m of the 5G bidirectional communication antenna and the amount of data that each second screen projection device needs to transmit, and according to the data amount, allocate a target 5G two-way communication antenna to the first screen projection device;
可选地,在所述判断模块501确定通过5G双向通信天线已连接的第二投屏设备的数量n大于或等于5G双向通信天线的总数量m的情况下,该5G终端触发拒绝模块501或第一分配模块503或第二分配模块504的执行。Optionally, when the determination module 501 determines that the number n of the second screen projection devices connected through the 5G two-way communication antenna is greater than or equal to the total number m of the 5G two-way communication antenna, the 5G terminal triggers the rejection module 501 or Execution of the first distribution module 503 or the second distribution module 504 .
可选地,在所述判断模块501确定通过5G双向通信天线已连接的第二投屏设备的数量n小于5G双向通信天线的总数量m的情况下,该5G终端触发第三分配模块505或第一分配模块503或第二分配模块504的执行。Optionally, when the determination module 501 determines that the number n of the second screen projection devices connected through the 5G two-way communication antenna is less than the total number m of the 5G two-way communication antenna, the 5G terminal triggers the third allocation module 505 or Execution of the first distribution module 503 or the second distribution module 504 .
传输模块506,用于利用所述目标5G双向通信天线,与所述第一投屏设备传输投屏数据。The transmission module 506 is configured to use the target 5G bidirectional communication antenna to transmit screen projection data with the first screen projection device.
可选地,所述第三分配模块505包括:Optionally, the third distribution module 505 includes:
第一选择子模块,用于从m-n个处于未连接投屏设备状态的5G双向通信天线中随机选择一个5G双向通信天线分配至所述第一投屏设备;a first selection sub-module for randomly selecting a 5G two-way communication antenna from m-n 5G two-way communication antennas that are not connected to the screen-casting device and assigning it to the first screen-casting device;
第一检测子模块,用于从分配至所述第一投屏设备的5G双向通信天线处,检测与所述第一投屏设备之间传输的第一数据量;a first detection sub-module, configured to detect the first amount of data transmitted with the first screen projection device from the 5G bidirectional communication antenna allocated to the first screen projection device;
第二检测子模块,用于从与每个所述第二投屏设备连接的每个5G双向通信天线处,检测与每个所述第二投屏设备之间传输的每个第二数据量;The second detection sub-module is configured to detect the amount of each second data transmitted with each of the second screen projection devices from each 5G bidirectional communication antenna connected to each of the second screen projection devices ;
第一识别模块,用于识别所述第一数据量和n个所述第二数据量中的最大数据量所对应的目标投屏设备;a first identification module, configured to identify the target screen projection device corresponding to the largest data amount in the first data amount and the n second data amounts;
第一分配子模块,用于将m-n-1个处于未连接投屏设备状态的5G双向通信天线分配至所述目标投屏设备,其中,所述目标投屏设备为所述第一投屏设备,或n个所述第二投屏设备中的一个,其中,分配至所述第一投屏设备的5G双向通信天线为目标5G双向通信天线。The first allocation sub-module is used to allocate m-n-1 5G bidirectional communication antennas in the state of not connected to the screen projection device to the target screen projection device, wherein the target screen projection device is the first screen projection device , or one of the n second screen projection devices, wherein the 5G bidirectional communication antenna allocated to the first screen projection device is the target 5G bidirectional communication antenna.
可选地,所述第一分配模块503包括:Optionally, the first distribution module 503 includes:
判断子模块,用于判断m个5G双向通信天线中是否存在处于空闲状态的5G双向通信天线;The judgment sub-module is used to judge whether there is a 5G two-way communication antenna in an idle state among the m 5G two-way communication antennas;
第二分配子模块,用于若所述判断子模块确定m个5G双向通信天线中存在处于空闲状态的5G双向通信天线,则从处于空闲状态的5G双向通信天线中随机选择一个目标5G双向通信天线分配至所述第一投屏设备;The second allocation sub-module is configured to randomly select a target 5G two-way communication from the 5G two-way communication antennas in the idle state if the judgment sub-module determines that there is an idle 5G two-way communication antenna among the m 5G two-way communication antennas the antenna is allocated to the first screen projection device;
所述第二分配模块504,还用于若所述判断子模块确定m个5G双向通信天线中不存在处于空闲状态的5G双向通信天线,则利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线。The second allocation module 504 is further configured to use frequency division multiple access technology to project the first screen if the judgment sub-module determines that there is no 5G two-way communication antenna in an idle state among the m 5G two-way communication antennas. Equipment allocation target 5G two-way communication antenna.
可选地,所述第二分配模块504包括:Optionally, the second distribution module 504 includes:
第二选择子模块,用于从m个5G双向通信天线中随机选择一个目标5G双向通信天线;The second selection sub-module is used to randomly select a target 5G two-way communication antenna from the m 5G two-way communication antennas;
第三检测子模块,用于检测所述目标5G双向通信天线的带宽;a third detection sub-module for detecting the bandwidth of the target 5G bidirectional communication antenna;
确定子模块,用于根据所述带宽确定所述目标5G双向通信天线的信道数量P,其中,P个信道的载波频率不同;a determination submodule, configured to determine the number of channels P of the target 5G bidirectional communication antenna according to the bandwidth, wherein the carrier frequencies of the P channels are different;
第二识别模块,用于识别P个信道中处于空闲状态的Q个信道,其中Q<P;a second identification module, configured to identify Q channels in an idle state among the P channels, where Q<P;
第四检测子模块,用于检测所述第一投屏设备所需要传输的第一数据量;a fourth detection submodule, configured to detect the first amount of data to be transmitted by the first screen projection device;
第三分配子模块,用于根据所述第一数据量,从Q个信道中选取资源块数与所述第一数据量匹配的目标信道分配至所述第一投屏设备。The third allocation sub-module is configured to select, according to the first data volume, a target channel whose number of resource blocks matches the first data volume from the Q channels and allocate it to the first screen projection device.
可选地,所述第四检测子模块包括:Optionally, the fourth detection submodule includes:
分配单元,用于从Q个信道中随机选择一个第一信道分配至所述第一投屏设备;an assigning unit, configured to randomly select a first channel from the Q channels and assign it to the first screen projection device;
检测单元,用于从分配至所述第一投屏设备的目标5G双向通信天线的第一信道处,检测与所述第一投屏设备之间传输的第一数据量;a detection unit, configured to detect the first amount of data transmitted with the first screen projection device from the first channel of the target 5G bidirectional communication antenna allocated to the first screen projection device;
所述第三分配子模块包括:The third distribution submodule includes:
第一选取单元,用于根据所述第一数据量,从Q个信道中选取资源块数与所述第一数据量匹配的目标信道;a first selection unit, configured to select a target channel whose number of resource blocks matches the first data volume from the Q channels according to the first data volume;
切换单元,用于当所述目标信道与所述第一信道不同时,则将分配至所述第一投屏设备的信道从所述第一信道切换至所述目标信道。A switching unit, configured to switch the channel allocated to the first screen projection device from the first channel to the target channel when the target channel is different from the first channel.
可选地,所述第三分配子模块包括:Optionally, the third distribution submodule includes:
获取单元,用于当所述第一投屏设备的数量为多个时,获取多个第一投屏设备对应的多个第一数据量的比例关系;an acquiring unit, configured to acquire the proportional relationship of the multiple first data amounts corresponding to the multiple first screen projection devices when the number of the first screen projection devices is multiple;
第二选取单元,用于从Q个信道中选取多个资源块数的比例成所述比例关系的多个目标信道;a second selection unit, configured to select a plurality of target channels whose ratios of the number of resource blocks are in the proportional relationship from the Q channels;
分配单元,用于将所述多个目标信道分配至对应的所述多个第一投屏设备。an allocation unit, configured to allocate the multiple target channels to the corresponding multiple first screen projection devices.
本发明实施例提供的5G终端能够实现上述方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The 5G terminal provided by the embodiments of the present invention can implement each process implemented by the mobile terminal in the foregoing method embodiments, and to avoid repetition, details are not repeated here.
图6为实现本发明各个实施例的一种移动终端的硬件结构示意图,6 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention,
该移动终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图6中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The
其中,射频单元401,用于检测5G投屏请求;Among them, the
处理器410,用于若所述射频单元401检测到第一投屏设备的5G投屏请求,则判断通过5G双向通信天线已连接的第二投屏设备的数量n是否大于或等于5G双向通信天线的总数量m;若是,则拒绝所述5G投屏请求,或,利用时分多址技术或频分多址技术对所述第一投屏设备分配目标5G双向通信天线;若否,则检测所述第一投屏设备以及每个第二投屏设备所需要传输的数据量,根据所述数据量,对所述第一投屏设备分配目标5G双向通信天线,或,利用时分多址技术或利用频分多址技术对所述第一投屏设备分配目标5G双向通信天线;利用所述目标5G双向通信天线,与所述第一投屏设备传输投屏数据。The
在本发明实施例中,在已通过5G双向通信天线连接有第二投屏设备的情况下,若检测到第一投屏设备的5G投屏请求,则可以判断第二投屏设备的数量n是否大于或等于该5G中的所具有的5G双向通信天线的总数量m,若是,则说明没有未连接任何投屏设备的剩余双向通信天线,可以拒绝与该第一投屏设备之间的投屏,或者利用时分多址技术或利用频分多址记录来对第一投屏设备分配目标5G双向通信天线;若否,则可以根据第一投屏设备和第二投屏设备所需要传输的数据量大小,来对第一投屏设备进行灵活的分配目标5G双向通信天线,或者利用时分多址技术或利用频分多址记录来对第一投屏设备分配目标5G双向通信天线;最后,在移动终端已经和第二投屏设备进行投屏的情况下,利用目标5G双向通信天线,来实现移动终端与第一投屏设备的投屏,实现了移动终端向多个设备同时投屏。In the embodiment of the present invention, in the case where the second screen projection device is connected through the 5G bidirectional communication antenna, if the 5G screen projection request of the first screen projection device is detected, the number n of the second screen projection device can be determined. Whether it is greater than or equal to the total number m of 5G two-way communication antennas in the 5G, if so, it means that there are no remaining two-way communication antennas that are not connected to any screen projection device, and the projection with the first screen projection device can be rejected. screen, or use time division multiple access technology or frequency division multiple access recording to assign the target 5G two-way communication antenna to the first screen projection device; The amount of data is used to flexibly allocate the target 5G two-way communication antenna to the first screen projection device, or use time division multiple access technology or frequency division multiple access recording to allocate the target 5G two-way communication antenna to the first screen projection device; Finally, When the mobile terminal has already performed screen projection with the second screen projection device, the target 5G two-way communication antenna is used to realize the screen projection between the mobile terminal and the first screen projection device, and the mobile terminal can simultaneously project the screen to multiple devices.
应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
移动终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与移动终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The
移动终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在移动终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The
用户输入单元407可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图6中,触控面板4071与显示面板4061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the
接口单元408为外部装置与移动终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端400内的一个或多个元件或者可以用于在移动终端400和外部装置之间传输数据。The
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器410是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The
移动终端400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,移动终端400包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种移动终端,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述投屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述投屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned embodiments of the screen projection method can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910683892.2ACN110493756B (en) | 2019-07-26 | 2019-07-26 | Screen projection method and 5G terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910683892.2ACN110493756B (en) | 2019-07-26 | 2019-07-26 | Screen projection method and 5G terminal |
| Publication Number | Publication Date |
|---|---|
| CN110493756A CN110493756A (en) | 2019-11-22 |
| CN110493756Btrue CN110493756B (en) | 2022-08-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910683892.2AActiveCN110493756B (en) | 2019-07-26 | 2019-07-26 | Screen projection method and 5G terminal |
| Country | Link |
|---|---|
| CN (1) | CN110493756B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111148081B (en)* | 2019-12-06 | 2023-10-20 | 维沃移动通信有限公司 | Information interaction method and electronic equipment |
| CN113129202B (en)* | 2020-01-10 | 2023-05-09 | 华为技术有限公司 | Data transmission method, device, data processing system, and storage medium |
| CN113498109A (en)* | 2020-04-01 | 2021-10-12 | 中移智行网络科技有限公司 | Information processing method, device and system and computer equipment |
| CN111831246B (en)* | 2020-07-27 | 2021-06-08 | 深圳乐播科技有限公司 | Screen projection method, device, equipment and storage medium based on 5G network |
| CN112243219A (en)* | 2020-10-15 | 2021-01-19 | 北京字节跳动网络技术有限公司 | Display device, terminal control method and device, terminal and storage medium |
| CN113079578B (en)* | 2021-03-29 | 2022-06-14 | 成都飞鱼星科技股份有限公司 | Smart screen wireless screen projection data priority transmission method and system |
| CN116679895B (en)* | 2022-10-26 | 2024-06-07 | 荣耀终端有限公司 | Collaborative business scheduling method, electronic equipment and collaborative system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN204145638U (en)* | 2014-06-17 | 2015-02-04 | 王玉 | A kind of intelligent wireless interaction display unit |
| CN105872728A (en)* | 2016-05-28 | 2016-08-17 | 刘健文 | Screen transfer video processing method for multi-screen interaction |
| CN106507072A (en)* | 2016-10-11 | 2017-03-15 | 努比亚技术有限公司 | A kind of wireless display device, system and method |
| EP3209004A1 (en)* | 2016-02-19 | 2017-08-23 | Samsung Electronics Co., Ltd | Electronic device, accessory apparatus and information displaying method using the same |
| EP3319237A2 (en)* | 2016-11-08 | 2018-05-09 | Samsung Electronics Co., Ltd. | Apparatus and method for receiving a signal in wireless communication system |
| CN108282193A (en)* | 2017-01-06 | 2018-07-13 | 三星电子株式会社 | Electronic equipment and the method for controlling its wireless communication |
| CN109771936A (en)* | 2019-01-23 | 2019-05-21 | 努比亚技术有限公司 | Game control method, terminal and computer readable storage medium |
| CN109922205A (en)* | 2018-11-29 | 2019-06-21 | 努比亚技术有限公司 | Throw screen implementation method, mobile terminal and computer readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN204145638U (en)* | 2014-06-17 | 2015-02-04 | 王玉 | A kind of intelligent wireless interaction display unit |
| EP3209004A1 (en)* | 2016-02-19 | 2017-08-23 | Samsung Electronics Co., Ltd | Electronic device, accessory apparatus and information displaying method using the same |
| CN105872728A (en)* | 2016-05-28 | 2016-08-17 | 刘健文 | Screen transfer video processing method for multi-screen interaction |
| CN106507072A (en)* | 2016-10-11 | 2017-03-15 | 努比亚技术有限公司 | A kind of wireless display device, system and method |
| EP3319237A2 (en)* | 2016-11-08 | 2018-05-09 | Samsung Electronics Co., Ltd. | Apparatus and method for receiving a signal in wireless communication system |
| CN108282193A (en)* | 2017-01-06 | 2018-07-13 | 三星电子株式会社 | Electronic equipment and the method for controlling its wireless communication |
| CN109922205A (en)* | 2018-11-29 | 2019-06-21 | 努比亚技术有限公司 | Throw screen implementation method, mobile terminal and computer readable storage medium |
| CN109771936A (en)* | 2019-01-23 | 2019-05-21 | 努比亚技术有限公司 | Game control method, terminal and computer readable storage medium |
| Title |
|---|
| 大屏幕拼接投影电子系统;黄效兵;《西部广播电视》;20031028(第10期);全文* |
| 手持显控终端的屏幕自动定焦算法;徐鹏;《数字技术与应用》;20161115(第11期);全文* |
| Publication number | Publication date |
|---|---|
| CN110493756A (en) | 2019-11-22 |
| Publication | Publication Date | Title |
|---|---|---|
| CN110493756B (en) | Screen projection method and 5G terminal | |
| CN111867129B (en) | Physical random access channel transmission method, terminal and network side equipment | |
| CN110958706B (en) | A cache report transmission method, terminal and scheduling device | |
| CN109768926B (en) | A data processing method, terminal device and computer-readable storage medium | |
| CN106412681B (en) | Live bullet screen video broadcasting method and device | |
| CN110324859B (en) | Transmission resource selection method, configuration method, terminal and network device for secondary link | |
| KR20210078557A (en) | How to direct resources, devices and systems | |
| CN108924817A (en) | A kind of SIM card state switching method and mobile terminal | |
| CN107949035A (en) | A kind of connection method of Wireless LAN, device and mobile terminal | |
| CN110719319B (en) | Resource sharing method, device, terminal equipment and storage medium | |
| CN110958710B (en) | Channel access method, configuration method, terminal and network side equipment | |
| CN110944408B (en) | Data transmission method and electronic equipment | |
| CN111132316B (en) | Resource allocation method, terminal equipment and network side equipment | |
| US12418891B2 (en) | Feedback information transmission method and apparatus, device, and medium | |
| CN108601048B (en) | Flow control method and mobile terminal | |
| CN110856219A (en) | Uplink data transmission method and device | |
| CN111836266B (en) | SRS sending method, configuration method, terminal and network side equipment | |
| CN110784844A (en) | Signal transmission method and communication device | |
| CN109819458B (en) | Network connection method, terminal device and computer readable storage medium | |
| CN111106909B (en) | Data transmission method, data transmission configuration method, terminal and network side equipment | |
| JP2022501963A (en) | Ability of terminal equipment Information processing method, terminal equipment and network side equipment | |
| CN111278124A (en) | Resource allocation method, resource determination method, network side equipment and terminal | |
| CN108419283A (en) | Method and mobile terminal for WIFI hotspot scanning | |
| CN111836307B (en) | Determination method and terminal of mapping type | |
| CN109275161B (en) | A network distribution method and terminal device |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |