CN110493756B - Screen projection method and 5G terminal - Google Patents

Screen projection method and 5G terminal Download PDF

Info

Publication number
CN110493756B
CN110493756B CN201910683892.2A CN201910683892A CN110493756B CN 110493756 B CN110493756 B CN 110493756B CN 201910683892 A CN201910683892 A CN 201910683892A CN 110493756 B CN110493756 B CN 110493756B
Authority
CN
China
Prior art keywords
screen projection
bidirectional communication
target
communication antenna
projection equipment
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.)
Active
Application number
CN201910683892.2A
Other languages
Chinese (zh)
Other versions
CN110493756A (en
Inventor
黄润鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910683892.2A priority Critical patent/CN110493756B/en
Publication of CN110493756A publication Critical patent/CN110493756A/en
Application granted granted Critical
Publication of CN110493756B publication Critical patent/CN110493756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/046Wireless resource allocation based on the type of the allocated resource the resource being in the space domain, e.g. beams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/52Allocation or scheduling criteria for wireless resources based on load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a screen projection method and a 5G terminal. The method comprises the following steps: if the 5G screen projection request of the first screen projection equipment is detected, judging whether the number of second screen projection equipment connected through the 5G bidirectional communication antenna is larger than or equal to the total number of the 5G bidirectional communication antennas; if yes, rejecting the 5G screen projection request, or distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a time division multiple access technology or a frequency division multiple access technology; if not, detecting the data volume required to be transmitted by the first screen projection equipment and each second screen projection equipment, and distributing a target 5G bidirectional communication antenna to the first screen projection equipment according to the data volume, or distributing a target 5G bidirectional communication antenna to the first screen projection equipment by using a time division multiple access technology or a frequency division multiple access technology; and transmitting screen projection data with the first screen projection equipment by using the target 5G bidirectional communication antenna. The 5G terminal can project screens to a plurality of devices simultaneously.

Description

Screen projection method and 5G terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a screen projection method and a 5G terminal.
Background
The current screen projection technical scheme mainly includes DLNA (Digital Living Network Alliance, Digital home Network Alliance), AirPlay (air play), and Miracast (wireless display standard which is established by Wi-Fi Alliance in 2012 and is based on Wi-Fi Direct (Wi-Fi Direct)).
The DLNA can share the picture and the video to a large screen for playing, but has no mirror image function, and cannot synchronize the content of the terminal screen to the large screen; the AirPlay has a mirror function which does not exist in DLNA, and can wirelessly transmit pictures on apple equipment (such as iPhone or iPad) to a television, that is, what is displayed by terminal equipment and what is displayed by a television screen, and the AirPlay is not limited to pictures and videos; miracast is a wireless display standard based on Wi-Fi direct, as established by the Wi-Fi alliance in 2012. Devices supporting this standard can share video frames wirelessly, for example, a mobile phone can play movies or photos directly on a television or other devices through Miracast without being affected by the length of a connecting cable. Unlike DLNA, Miracast also has a mirror image function similar to AirPlay, and can directly release the screen content in the mobile phone to the high-definition television screen.
The current three screen projection schemes all implement screen projection from the terminal to the television or the television box in a manner of transmitting a terminal signal to the television or the television box through Wi-Fi, and the screen projection scheme through Wi-Fi can only implement single-point screen projection from the terminal to one device, but cannot implement screen projection from the terminal to a plurality of devices.
Disclosure of Invention
The embodiment of the invention provides a screen projection method and a mobile terminal, and aims to solve the problem that a screen projection scheme in the related art cannot simultaneously project screens to multiple devices by the terminal.
In order to solve the technical problem, the invention is realized as follows:
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:
if the 5G screen projection request of the first screen projection equipment is detected, judging whether the number n of the second screen projection equipment connected through the 5G bidirectional communication antenna is larger than or equal to the total number m of the 5G bidirectional communication antennas;
if yes, rejecting the 5G screen projection request, or distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a time division multiple access technology or a frequency division multiple access technology;
if not, detecting the data volume required to be transmitted by the first screen projection equipment and each second screen projection equipment, and distributing a target 5G bidirectional communication antenna to the first screen projection equipment according to the data volume, or distributing a target 5G bidirectional communication antenna to the first screen projection equipment by using a time division multiple access technology or a frequency division multiple access technology;
and transmitting screen projection data with the first screen projection equipment by using the target 5G bidirectional communication antenna.
In a second aspect, an embodiment of the present invention further provides a 5G terminal, where the 5G terminal includes:
the judging module is used for judging whether the number n of second screen projection devices connected through the 5G bidirectional communication antenna is larger than or equal to the total number m of the 5G bidirectional communication antennas or not if a 5G screen projection request of the first screen projection device is detected;
the rejecting module is used for rejecting the 5G screen projection request if the judging module determines that the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is larger than or equal to the total number m of the 5G bidirectional communication antennas;
the first distribution module is used for distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a time division multiple access technology;
the second distribution module is used for distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a frequency division multiple access technology;
the third distribution module is used for detecting the data volume required to be transmitted by the first screen projection equipment and each second screen projection equipment if the judgment module determines that the number n of the second screen projection equipment connected through the 5G bidirectional communication antenna is smaller than the total number m of the 5G bidirectional communication antennas, and distributing a target 5G bidirectional communication antenna to the first screen projection equipment according to the data volume;
and the transmission module is used for transmitting screen projection data with the first screen projection equipment by utilizing 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 on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the screen projection method.
In a fourth aspect, the 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.
In the embodiment of the present invention, under the condition that a second screen projection device is connected to a first screen projection device through a 5G bidirectional communication antenna, if a 5G screen projection request of the first screen projection device is detected, it may be determined whether the number n of the second screen projection device is greater than or equal to the total number m of the 5G bidirectional communication antennas in the 5G device, and if so, it indicates that there are no remaining bidirectional communication antennas not connected to any screen projection device, and screen projection with the first screen projection device may be rejected, or a target 5G bidirectional communication antenna is allocated to the first screen projection device by using a time division multiple access technique or a frequency division multiple access record; if not, the target 5G bidirectional communication antenna can be flexibly allocated to the first screen projection equipment according to the data volume required to be transmitted by the first screen projection equipment and the second screen projection equipment, or the target 5G bidirectional communication antenna is allocated to the first screen projection equipment by using a time division multiple access technology or a frequency division multiple access record; finally, under the condition that the 5G terminal and the second screen projection device project screens, the target 5G bidirectional communication antenna is used for realizing the screen projection of the 5G terminal and the first screen projection device, and the 5G terminal can project screens to a plurality of devices at the same time.
Drawings
FIG. 1 is a flow chart of a screen projection method according to an embodiment of the invention;
FIG. 2 is a flow chart of a screen projection method according to another embodiment of the present invention;
FIG. 3 is a flow chart of a screen projection method according to yet another embodiment of the present invention;
FIG. 4 is a flow chart of a screen projection method according to yet another embodiment of the present invention;
FIG. 5 is a block diagram of a 5G terminal of one embodiment of the present invention;
fig. 6 is a schematic hardware configuration diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a screen projection method according to an embodiment of the present invention is shown, and is applied to a 5G (fifth generation mobile communication network) terminal, where the method specifically includes the following steps:
step 101, if a 5G screen projection request of a first screen projection device is detected, judging whether the number n of second screen projection devices connected through a 5G bidirectional communication antenna is larger than or equal to the total number m of the 5G bidirectional communication antennas;
if yes, executing step 301, rejecting the 5G screen projection request, or allocating a target 5G bidirectional communication antenna to the first screen projection device by using a time division multiple access technology or a frequency division multiple access technology (i.e., executing step 102 or step 103 or step 104);
if not, step 302 is executed to detect the data amount required to be transmitted by the first screen projection device and each second screen projection device, and allocate a target 5G bidirectional communication antenna to the first screen projection device according to the data amount, or allocate a target 5G bidirectional communication antenna to the first screen projection device by using a time division multiple access technology or a frequency division multiple access technology (that is, the following step 105, the following step 103, or the following step 104 is executed).
Wherein n is a natural number and m is a positive integer.
Wherein, 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. By way of example, the rf hardware link of a 5G antenna may include, but is not limited to, the following: 1T (transmit) 4R (receive), 2T4R, 4T8R, etc. Taking 4T8R as an example, it indicates that the 5G terminal has 8 antennas, where 4 antennas are antennas capable of transmitting data and receiving data, the 4 antennas are 5G bidirectional communication antennas, and the other 4 antennas are antennas capable of receiving data only, that is, the 4 antennas are 5G unidirectional communication antennas.
As shown in fig. 2, a schematic diagram of a 5G terminal and w devices simultaneously performing screen projection is shown by taking an rf hardware link of a 5G antenna of the 5G terminal as 4T8R as an example.
As shown in fig. 2, when the 5G terminal performs a screen projection service, the 5G terminal needs to use at least one 5G bidirectional communication antenna (e.g., TR in fig. 2) to connect with a screen projection device to implement screen projection. Optionally, in order to improve cellular downlink throughput, the above-mentioned 5G unidirectional communication antenna (e.g. DR in fig. 2) of the 5G terminal may be connected to the screen projection device, where the downlink direction refers to a direction of data transmitted from the screen projection device connected to the 5G terminal.
In the technical solution of the embodiment of the present invention, as shown in fig. 2, a 5G terminal may be connected to a distant paired Device (devices 4 to w) through a base station (either a 5G base station or a 4G base station), so as to transmit data of screen content of the 5G terminal to the paired Device in an ultra-low delay manner in real time, and at the same time, may be directly connected to a paired Device at a close distance (using a 5G D2D (Device to Device) technology) to perform screen projection.
Therefore, in the embodiment of the present invention, both the first screen projection device and the second screen projection device refer to devices directly connected to the 5G terminal through an antenna, and therefore, the first screen projection device or the second screen projection device may be a terminal device or a base station, that is, the 5G terminal in the embodiment of the present invention may implement screen projection of a plurality of terminal devices connected to the opposite side and the base station by being connected to the base station, and may also implement screen projection between the 5G terminal and the terminal device by being directly connected to the terminal device.
In step 101, the 5G screen projection request of the first screen projection device may be a 5G screen projection request sent by the 5G terminal to the first screen projection device (i.e., the 5G terminal performs 5G screen projection to the first screen projection device), or may be a 5G screen projection request received from the first screen projection device (i.e., the first screen projection device performs 5G screen projection to the 5G terminal).
In fig. 2, the total number m of the 5G bidirectional communication antennas is 4. The 5G terminal at least needs 1T1R (1 antenna) to communicate with the base station, so as to ensure the network function, the rest 3T3R (3 antennas) can be connected with at most 3 screen projection devices at the same time, and the rest 4DR (4 antennas) are connected with the base station to improve the cellular downlink (the base station sends data to the 5G terminal) throughput.
For example, in step 101, the second screen projection device to which the 5G terminal has been connected includes devices 2 and 3 and a base station which are connected through TRX2, TRX3, TRX4, respectively, and thus n is 3.
Here, the first screen projection device is taken as the device 1 for explanation, and it is obvious that n < m, m is 4, and therefore, the process goes to step 105 or step 103 or step 104.
The specific execution of step 105, step 103 or step 104 can be flexibly configured according to the needs, and step 105, step 103 or step 104 can be selected and executed according to the needs of the user.
As another example, if the connected second screen projection devices include device 2 and device 3 and the base station connected through TRX2, TRX3, TRX4, respectively, and further include device 1 connected through TRX1, then n is 4, and obviously n is m, so that the process goes to step 102 or step 103 or step 104.
The specific execution of step 102, step 103 or step 104 can be flexibly configured according to needs, and step 102, step 103 or step 104 can be selected and executed according to user requirements.
Step 103 and step 104 are respectively to implement expansion of the number of the screen projection devices by using a time division multiple access technology and a frequency division multiple access technology to share with a 5G bidirectional communication antenna connected with the screen projection devices. Since the time division multiple access can accommodate more screen projection devices than the frequency division multiple access with the same number of channels, the 5G terminal can flexibly select whether to execute step 103 or step 104 according to the number of first screen projection devices to be connected.
102, rejecting the 5G screen projection request;
the 5G terminal can 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, distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a time division multiple access technology;
specifically, as shown in fig. 3, taking the antenna of the 5G terminal as 1T4R as an example, the 5G terminal may slice one TR at different times and divide the antenna into a plurality of time slots for use by a plurality of screen projection devices, and since the time occupied by each screen projection device is different, the screen projection devices do not interfere with each other.
In this embodiment, the 5G terminal may select one target 5G bidirectional communication antenna to be allocated to the first screen projecting device for use by a time division multiple access technique from among 5G bidirectional communication antennas in a connected screen projecting device state that have been connected to n second screen projecting devices.
Taking fig. 2 as an example, one TR may be selected from 4 TRs (i.e., TRX1, TRX2, TRX3, TRX4) each in a state of being connected to the screen projecting apparatus to be allocated to the first screen projecting apparatus for use by the time division multiple access technique.
Alternatively, when step 103 is executed, it may be implemented by:
judging whether a 5G bidirectional communication antenna in an idle state exists in the m 5G bidirectional communication antennas;
wherein, since n > m, m TRs (i.e. all TRs) indicating 5G terminals have been allocated to screen projection devices for connection, and each TR has at least one second screen projection device connected thereto.
However, for a second screen projection device connected with a 5G terminal through one TR, data transmission is not performed between the 5G terminal and the second screen projection device in real time, and when the TR is connected with the second screen projection device but is in a data non-transmission state (i.e., an idle state), the method of the embodiment of the invention can slice one TR at different times and divide the TR into a plurality of time slots for use by a plurality of screen projection devices, and since the time occupied by each screen projection device is different, the TR and the second screen projection device do not interfere with each other.
Therefore, it is possible to determine whether there is a TR in an idle state among the m TRs here.
If so (for example, there is a TR in an idle state in m TRs, where the TR in the idle state may be in the idle state when a screen projection device is connected but no data is transmitted with the connected screen projection device, or may be in the idle state when no screen projection device is connected), randomly selecting a target 5G bidirectional communication antenna from the 5G bidirectional communication antennas in the idle state to be allocated to the first screen projection device;
when there is TR in idle state in m TR, one target TR may be randomly selected from TR in idle state to be allocated to the first screen projection device.
As shown in fig. 3, a target TR (TRX 1 here) has been allocated to the base station, device 3, and device 2 by time division multiple access technology to connect for screen projection, a screen projection request from device 1 is currently detected, and when the screen projection request is detected, the target TR is in an idle state, which is a state where no data transmission is performed with the base station, device 2, and device 3, so that the TRX1 can be allocated to device 1 for screen projection, and then the base station, device 2, and device 3 cannot transmit screen projection data with the 5G terminal during the screen projection process of the devices 1 and 5G terminals through TRX 1. When the TRX1 is in the idle state again, the TRX1 may be switched to the device for screen projection, for example, the TRX is switched to the device 3 and 5G terminals in the time slot 2 to transmit screen projection data.
It should be noted that the time slot occupied by each of the screen projection devices in fig. 3 may be fixed or may be changeable (instead of fixing device 1 for data transmission in time slot 4, device 2 for data transmission in time slot 3).
If not (for example, there is no TR in the idle state in the m TRs), step 104 is executed to allocate a target 5G bidirectional communication antenna to the first screen projecting device by using a frequency division multiple access technology.
For example, 4 TRs in fig. 2 are not in an idle state, that is, all of them are transmitting screen projection data, it is difficult to allocate a target TR to a first screen projection device by using a time division multiple access technique, here, step 104 may be executed, that is, a target 5G bidirectional communication antenna is allocated to the first screen projection device by using a frequency division multiple access technique, and a specific implementation process of step 104 refers to the following related embodiments, which are not described herein again.
In the embodiment of the present invention, when 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, it indicates that all the 5G bidirectional communication antennas of the 5G terminal have been connected with the screen projection devices, and in order to increase the number of the simultaneous screen projection devices, the embodiment of the present invention may transmit screen projection data of different connected screen projection devices on different time slots of a radio frequency hardware link of one bidirectional communication antenna, so that the number of the screen projection devices simultaneously projected is increased under the condition that the number of the 5G bidirectional communication antennas is limited. In addition, the problem that space division multiple access cannot expand more screen projection devices due to the limitation of the number of antennas can be solved, so that each screen projection device communicates with the 5G terminal through different time slots, and the number of accessible screen projection devices is greatly expanded.
104, distributing a target 5G bidirectional communication antenna to the first screen projection equipment by using a frequency division multiple access technology;
specifically, as shown in fig. 4, taking the antenna of the 5G terminal as 1T4R as an example, the 5G terminal can divide one TR into channels at different frequencies, and divide the channels into channels of a plurality of frequencies for use by a plurality of projection devices.
Optionally, if n ≧ m, the 5G terminal may select a target 5G bidirectional communication antenna from among 5G bidirectional communication antennas in a connected screen projection device state that have been connected to n second screen projection devices to be allocated to the first screen projection device for use by a frequency division multiple access technique.
Taking fig. 2 as an example, one TR may be selected from 4 TRs (i.e., TRX1, TRX2, TRX3, TRX4) each in a state of being connected to the screen projecting device to be allocated to the first screen projecting device for use by the frequency division multiple access technique.
Alternatively, if n < m, it indicates that there is a 5G bidirectional communication antenna of the 5G terminal to which no screen projection device is connected, and therefore, the 5G terminal may randomly select a target 5G bidirectional communication antenna from m 5G bidirectional communication antennas.
Alternatively, when step 104 is executed, it may be realized by S201 to S206:
s201, randomly selecting a target 5G bidirectional communication antenna from m 5G bidirectional communication antennas;
for example, n > m, m TRs (i.e., all TRs) indicating 5G terminals have been assigned to screen projection devices for connection, and at least one second screen projection device is connected to each TR.
However, for the second screen projection device that performs screen projection connection with the 5G terminal through one TR, the carrier frequency of the channel used by the second screen projection device for transmitting data through the TR is fixed, and the second screen projection device does not occupy all the channels of all the carrier frequencies of the TR, so the method of the embodiment of the invention can connect with the 5G terminal through the same TR by means of different screen projection devices, but connect with different screen projection devices by allocating different channels of different carrier frequencies of the TR when transmitting screen projection content, thereby achieving the purpose of simultaneously performing screen projection content transmission with a plurality of screen projection devices through the different channels.
In this step, a target TR for assignment to the first screen projection device may be randomly selected from the m TRs.
S202, detecting the bandwidth of the target 5G bidirectional communication antenna;
s203, determining the channel number P of the target 5G bidirectional communication antenna according to the bandwidth;
the total number P of all channels of the target TR may be determined according to the bandwidth of the target TR, where carrier frequencies of the P channels are different, that is, frequencies of data transmitted by different channels are different.
Wherein P is greater than or equal to 2. Wherein, the larger the bandwidth, the larger the number of channels.
S204, identifying Q channels in an idle state in the P channels, wherein Q is less than P;
a channel in an idle state is a channel that does not transmit any data.
S205, detecting a first data volume required to be transmitted by the first screen projection equipment;
s206, according to the first data volume, selecting a target channel with the resource block number matched with the first data volume from the Q channels and distributing the target channel to the first screen projection equipment.
Although there are Q channels in the target TR in an idle state, there is a difference in the number of RBs (i.e., resource blocks) of each channel, and the larger the number of RBs of a channel, the larger the amount of data that can be transmitted by the channel, so that a target channel whose number of RBs can support transmission of the first amount of data can be selected from the Q idle channels according to the size of the first amount of data that needs to be transmitted by the first screen projection device, and the target channel in the target TR can be allocated to the first screen projection device.
For example, as shown in fig. 4, a screen projection request of the device 1 is detected, and a target TR (TRX 1 here) is allocated to the device 1, and the target TR has been allocated to the base station, the device 3, and the device 2 by the frequency division multiple access technology to connect for screen projection, and the number of RBs of a target channel of the target TR can support transmission of the data amount of the device 1, and the target channel is in an idle state, so that the target channel of the TRX1 can be allocated to the device 1 for screen projection, and then in the process that the 5G terminal and the device 1 project screens through a target channel of frequency 4 of the TRX1, the 5G terminal can also project screens through 3 channels of frequency 1, frequency 2, and frequency 3 of the TRX1, respectively.
It should be noted that the channel occupied by each of the projection devices in fig. 4 and having the corresponding carrier frequency may be fixed or may be changeable (for example, the device 1 is not fixed to the TRX1 channel having the carrier frequency of 4 to perform projection data transmission with the 5G terminal).
In the embodiment of the present invention, when 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, it indicates that all the 5G bidirectional communication antennas of the 5G terminal have been connected with the screen projection devices, and in order to increase the number of the simultaneous screen projection devices, the embodiment of the present invention may transmit screen projection data of different connected screen projection devices on different channels supporting different carrier frequencies of a radio frequency hardware link of one bidirectional communication antenna, so that the number of the screen projection devices simultaneously projected is increased under the condition that the number of the 5G bidirectional communication antennas is limited. And moreover, the utilization rate of the frequency spectrum of the 5G bidirectional communication antenna is improved, and meanwhile, the frequency spectrum resources can be more flexibly distributed, so that the screen projection equipment with large flow can fully obtain more frequency spectrum resources.
Optionally, in the step S205, a first channel may be randomly selected from the Q channels and allocated to the first screen projection device; detecting a first amount of data transmitted with the first screen projection device from a first channel of a target 5G two-way communication antenna assigned to the first screen projection device;
the principle of detecting the size of the first data volume that needs 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 is not described here again.
Then, in executing S206, a target channel with the number of resource blocks matching 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, switching a channel allocated to the first screen projection device from the first channel to the target channel.
The reason for selecting a first channel from the remaining Q channels in the idle state to be allocated to the first screen projection device is that the size of the first data volume that needs to be transmitted by the first screen projection device can be obtained, but the RB number of the first channel does not necessarily support transmission of the data of the first data volume, so that a target channel whose RB number supports transmission of the data of the first data volume can be selected from the Q channels according to the first data volume, and 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 the above-described handover step need not be performed if the first channel and the target channel are the same.
In the embodiment of the invention, the size of the data volume transmitted by the first screen projection device can be obtained by randomly allocating a first channel to the first screen projection device from the Q channels, so that a target channel adapting to the size of the data volume can be reasonably allocated according to the size of the data volume required to be transmitted by the first screen projection device, and the data transmission speed between the 5G terminal and the first screen projection device is improved. And the spectrum resources can be more flexibly distributed, so that the screen projection equipment with large flow can fully obtain more spectrum resources.
In the above embodiment, when the number of the first screen projection devices is multiple, that is, when a 5G screen projection request of multiple first screen projection devices is detected simultaneously, when the step of selecting a target channel whose resource block number matches the first data amount from Q channels according to the first data amount and allocating the target channel to the first screen projection device is performed, the following steps may be performed:
acquiring a proportional relation of a plurality of first data volumes corresponding to a plurality of first screen projection devices; selecting a plurality of target channels in proportion to the proportional relation of the number of the resource blocks from the Q channels; and allocating the target channels to the corresponding first screen projection devices.
Specifically, for example, the plurality of first screen projection devices are device 1, device 2, and device 3, respectively, and the proportional relationship between the sizes of the data amounts required by the three devices is that the first data amount corresponding to device 1, the first data corresponding to device 2, and the first data amount corresponding to device 3 is 1:2: 3. Since the number of RBs of each of the Q idle channels is known, it is also possible to acquire a target channel 1, a target channel 2, and a target channel 3 whose number of RBs is 1:2:3, and allocate the target channel 1, the target channel 2, and the target channel 3 to the device 1, the device 2, and the device 3 in this order.
The numbers of RBs of the target channel 1, the target channel 2, and the target channel 3 are also respectively matched with the first data size of the device 1, the first data size of the device 2, and the first data size of the device 3, that is, the number of RBs of the corresponding channel supports data transmission of the first data size of the corresponding device.
In the embodiment of the invention, when the screen projection requests of the first screen projection devices are detected, a plurality of target channels with the RB number being in the proportional relation can be distributed to the first screen projection devices according to the proportional relation among the first data quantities required by the first screen projection devices, so that the channels can be rapidly distributed to the first screen projection devices, and the screen projection connection efficiency of the first screen projection devices is improved.
Optionally, when the first screen projection device is a base station, that is, when the terminal performs frequency division multiple access communication with the base station, the base station may allocate a plurality of screen projection devices, which perform screen projection connection with the 5G terminal through the base station, to a target channel to be used; and when the first screen projection devices are terminals, the 5G terminal allocates a target channel to each first screen projection device.
105, detecting the data volume required to be transmitted by the first screen projection equipment and each second screen projection equipment, and distributing a target 5G bidirectional communication antenna to the first screen projection equipment according to the data volume;
when n < m, it indicates that there is a TR in the 5G terminal in a state where no device is connected, so that the process goes to execute step 105 to flexibly perform TR corresponding to the first screen projecting device currently requesting to project the screen according to the screen projecting device currently requesting to be connected and the data size required to be transmitted by all the connected screen projecting devices.
Alternatively, when step 105 is executed, it may be implemented by the following process:
the method comprises the following steps that firstly, one 5G bidirectional communication antenna is randomly selected from m-n 5G bidirectional communication antennas in a state of not being connected with screen projection equipment and is distributed to the first screen projection equipment;
first, the reason why one TR is selected from the TRs of the remaining unconnected screen projection devices to be assigned to the first screen projection device is that the first data amount that the first screen projection device needs to transmit can be acquired.
Secondly, detecting a first data volume transmitted between the first screen projection equipment and the 5G bidirectional communication antenna distributed to the first screen projection equipment;
it should be noted that, when the first screen projection device is a base station, and the 5G screen projection request is sent by the 5G terminal to the base station, and is used for simultaneously projecting screens to the devices 4 to w, the first data volume is a data volume sent by the 5G terminal to the base station;
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, and is used for the devices 4 to w to project screens to the 5G terminal, the first data volume is the sum of the data volumes sent by the devices 4 to w to the 5G terminal through the base station.
Since the 5G terminal is already connected to the first screen projection device via a TR, the first data size transmitted between the two can be detected from this TR.
A third step of detecting each second data amount transmitted between each second screen projection device from each 5G bidirectional communication antenna connected to each second screen projection device;
wherein, since the 5G terminal is already connected to at least one second screen projection device through at least one TR before the 5G screen projection request is detected, the scheme of detecting the size of the data amount required to be transmitted by each second screen projection device is similar to the second step, and the data amount is also detected from the corresponding TR.
Fourthly, identifying target screen projection equipment corresponding to the maximum data volume in the first data volume and the n second data volumes;
the n +1 data volumes obtained in the second step and the third step can be sorted from large to small, so that the target screen projection device needing the maximum data volume is identified, wherein the target screen projection device is the first screen projection device or one of the n second screen projection devices.
Fifthly, distributing m-n-1 5G bidirectional communication antennas in a state of not being connected with screen projection equipment to the target screen projection equipment, wherein the 5G bidirectional communication antenna distributed to the first screen projection equipment is the target 5G bidirectional communication antenna.
Because n +1 screen projection devices occupy n +1 TRs at present, the number of the remaining TRs is m-n-1 at present, and the remaining m-n-1 TRs in the state of being not connected with the screen projection devices can be uniformly distributed to the target screen projection devices.
Then, when the target screen projection device is the first screen projection device, the target 5G bidirectional communication antenna assigned to the first screen projection device may include one TR randomly assigned in the first step and m-n-1 TRs assigned in the fifth step; and when the target screen projection device is not the first screen projection device but one of the n second screen projection devices, the target 5G bidirectional communication antenna is one TR randomly allocated to the first screen projection device in the first step.
Alternatively, when the sum of the data amounts supported for transmission by the target 5G bidirectional communication antenna is still less than the data amount required by the target screen projection device, then the unidirectional communication antenna may also be allocated to the target screen projection device, e.g., 4 DRs in fig. 2.
In the embodiment of the present invention, when a two-way communication antenna is allocated to a newly accessed screen projection device, intelligent allocation may be performed according to a data size relationship required by all connected screen projection devices (including the newly accessed screen projection device), and the remaining two-way communication antennas to which no screen projection device is connected are allocated to the screen projection device requiring the largest flow (of course, the screen projection device may also be a base station), so as to improve a transmission rate of screen projection data.
And 106, transmitting screen projection data with the first screen projection equipment by using the target 5G bidirectional communication antenna.
The first screen projection equipment is distributed with a target 5G bidirectional communication antenna for connection, so that screen projection data between the 5G terminal and the first screen projection equipment are transmitted; and the 5G terminal is connected with the n second screen projection devices through other two-way communication antennas, so that the 5G terminal and the n second screen projection devices transmit screen projection data through other two-way communication antennas, and the 5G terminal and the multiple devices can simultaneously project screens by using the 5G two-way communication antennas.
In the embodiment of the invention, under the condition that a second screen projection device is connected with a first screen projection device through a 5G bidirectional communication antenna, if a 5G screen projection request of the first screen projection device is detected, whether the number n of the second screen projection device is larger than or equal to the total number m of the 5G bidirectional communication antennas in the 5G can be judged, if yes, the situation that no residual bidirectional communication antenna is not connected with any screen projection device is indicated, screen projection with the first screen projection device can be refused, or a target 5G bidirectional communication antenna is distributed to the first screen projection device by using a time division multiple access technology or a frequency division multiple access record; if not, the target 5G bidirectional communication antenna can be flexibly allocated to the first screen projection equipment according to the data volume required to be transmitted by the first screen projection equipment and the second screen projection equipment, or the target 5G bidirectional communication antenna is allocated to the first screen projection equipment by using a time division multiple access technology or a frequency division multiple access record; finally, under the condition that the 5G terminal and the second screen projection device project screens, the target 5G bidirectional communication antenna is used for realizing the screen projection of the 5G terminal and the first screen projection device, and the 5G terminal can project screens to a plurality of devices at the same time.
In addition, fig. 3 and fig. 4 also show a manner of allocating a unidirectional communication antenna, for example, DR, to a screen projection device connected through a 5G bidirectional communication antenna to improve cellular downlink throughput, which is specifically referred to above and is not described herein again.
By means of the technical scheme of the embodiment of the invention, a 5G radio frequency hardware link is utilized to simultaneously project screens of a plurality of devices, and as the network transmission rate of 5G is hundreds of times of that of 4G, the problem of screen projecting and blocking of 4K video with even higher resolution in the traditional screen projecting scheme can be solved; the 5G network has the characteristic of mMTC, so that the interconnection of everything can be realized, and the purpose of simultaneous screen projection interaction between the 5G terminal and a plurality of screen projection devices can be realized, for example, good experience can be realized in scenes such as video sharing by a plurality of friends and multi-player screen projection games; in addition, the screen projection is carried out by using a 5G network, the direct communication of the two devices can be realized by using the 5G D2D technology, the screen projection scene is not limited to indoor, and the screen projection sharing can be carried out with other devices (mobile phones, square screens, public transport televisions and the like) outdoors (Device to Device) by means of a base station; in addition, the 5G network has the characteristic of ultralow delay of URLLC, so that even if the screen projection device is far away from the 5G terminal, for example, two terminals belong to different countries, the scheme of the embodiment of the present invention can still implement ultralow-delay screen projection sharing, and the content of the terminal device is projected in real time to the screen of the paired device.
Referring to fig. 5, a block diagram of a 5G terminal of one embodiment of the present invention is shown. The 5G terminal of the embodiment of the invention can realize the details of the screen projection method in the embodiment and achieve the same effect. The 5G terminal shown in fig. 5 includes:
a judging module 501, configured to, if a 5G screen projection request of a first screen projection device is detected, judge whether the number n of second screen projection devices connected through a 5G bidirectional communication antenna is greater than or equal to the total number m of the 5G bidirectional communication antennas;
a rejecting module 502, configured to reject the 5G screen projection request if the determining 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 antennas;
a first allocating module 503, configured to allocate a target 5G bidirectional communication antenna to the first screen projection device by using a time division multiple access technology;
optionally, the first allocating module 503 is configured to, if the determining 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 antennas, allocate a target 5G bidirectional communication antenna to the first screen projection device by using a time division multiple access technology;
a second allocating module 504, configured to allocate a target 5G bidirectional communication antenna to the first screen projection device by using a frequency division multiple access technology;
optionally, the second allocating module 504 is configured to, if the determining module 501 determines that the number n of second screen projection devices connected through a 5G bidirectional communication antenna is greater than or equal to the total number m of 5G bidirectional communication antennas, allocate a target 5G bidirectional communication antenna to the first screen projection device by using a frequency division multiple access technology;
a third allocating module 505, configured to detect data volumes required to be transmitted by the first screen projection device and each second screen projection device if the determining module 501 determines that the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is smaller than the total number m of the 5G bidirectional communication antennas, and allocate a target 5G bidirectional communication antenna to the first screen projection device according to the data volumes;
optionally, in a case where the determining module 501 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 the 5G bidirectional communication antennas, the 5G terminal triggers execution of the rejecting module 501 or the first allocating module 503 or the second allocating module 504.
Optionally, in a case that the determining module 501 determines that the number n of second screen projection devices connected through the 5G bidirectional communication antenna is less than the total number m of the 5G bidirectional communication antennas, the 5G terminal triggers execution of the third allocating module 505, the first allocating module 503, or the second allocating module 504.
A transmission module 506, configured to transmit screen projection data with the first screen projection device by using the target 5G bidirectional communication antenna.
Optionally, the third distribution module 505 comprises:
the first selection submodule is used for randomly selecting one 5G bidirectional communication antenna from m-n 5G bidirectional communication antennas in a state of not being connected with screen projection equipment to distribute the antenna to the first screen projection equipment;
the first detection submodule is used for detecting a first data volume transmitted between the first screen projection equipment and the first screen projection equipment from a 5G bidirectional communication antenna distributed to the first screen projection equipment;
the second detection submodule is used for detecting each second data volume transmitted between each second screen projection device and each 5G bidirectional communication antenna connected with each second screen projection device;
the first identification module is used for identifying the target screen projection equipment corresponding to the maximum data volume in the first data volume and the n second data volumes;
the first allocating submodule is used for allocating m-n-1 5G bidirectional communication antennas in a state of not being connected with screen projection equipment to the target screen projection equipment, wherein the target screen projection equipment is the first screen projection equipment or one of the n second screen projection equipment, and the 5G bidirectional communication antenna allocated to the first screen projection equipment is the target 5G bidirectional communication antenna.
Optionally, the first distribution module 503 comprises:
the judging submodule is used for judging whether the 5G bidirectional communication antenna in an idle state exists in the m 5G bidirectional communication antennas;
the second distribution submodule is used for randomly selecting a target 5G bidirectional communication antenna from the 5G bidirectional communication antennas in the idle state to distribute to the first screen projection equipment if the judgment submodule determines that the 5G bidirectional communication antennas in the idle state exist in the m 5G bidirectional communication antennas;
the second allocating module 504 is further configured to allocate a target 5G bidirectional communication antenna to the first screen projection device by using a frequency division multiple access technology if the determining sub-module determines that there is no 5G bidirectional communication antenna in an idle state in the m 5G bidirectional communication antennas.
Optionally, the second allocating module 504 includes:
the second selection submodule is used for randomly selecting a target 5G bidirectional communication antenna from the m 5G bidirectional communication antennas;
the third detection submodule is used for detecting the bandwidth of the target 5G bidirectional communication antenna;
the determining submodule is used for determining the channel number P of the target 5G bidirectional communication antenna according to the bandwidth, wherein the carrier frequencies of the P channels are different;
a second identifying module, configured to identify Q channels in an idle state from among P channels, where Q < P;
the fourth detection submodule is used for detecting the first data volume required to be transmitted by the first screen projection equipment;
and the third distribution submodule is used for selecting a target channel with the resource block number matched with the first data volume from the Q channels according to the first data volume and distributing the target channel to the first screen projection equipment.
Optionally, the fourth detection submodule includes:
the distribution unit is used for randomly selecting a first channel from the Q channels to be distributed to the first screen projection equipment;
a detection unit for detecting a first data amount transmitted with the first screen projection device from a first channel of a target 5G bidirectional communication antenna assigned to the first screen projection device;
the third distribution sub-module comprises:
a first selecting unit, configured to select, according to the first data amount, a target channel whose resource block number matches the first data amount from the Q channels;
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 sub-module comprises:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring the proportional relation of a plurality of first data volumes corresponding to a plurality of first screen projection devices when the number of the first screen projection devices is multiple;
a second selecting unit, configured to select multiple target channels, which are proportional to the proportional relationship, of the number of multiple resource blocks from the Q channels;
and the distribution unit is used for distributing the target channels to the corresponding first screen projection equipment.
The 5G terminal provided by the embodiment of the present invention can implement each process implemented by the mobile terminal in the above method embodiments, and is not described here again to avoid repetition.
Figure 6 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 401 is configured to detect a 5G screen projection request;
a processor 410, configured to determine whether the number n of second screen projection devices connected through a 5G bidirectional communication antenna is greater than or equal to the total number m of the 5G bidirectional communication antennas if the radio frequency unit 401 detects a 5G screen projection request of the first screen projection device; if yes, rejecting the 5G screen projection request, or distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a time division multiple access technology or a frequency division multiple access technology; if not, detecting the data volume required to be transmitted by the first screen projection equipment and each second screen projection equipment, and distributing a target 5G bidirectional communication antenna to the first screen projection equipment according to the data volume, or distributing a target 5G bidirectional communication antenna to the first screen projection equipment by using a time division multiple access technology or a frequency division multiple access technology; and transmitting screen projection data with the first screen projection equipment by using the target 5G bidirectional communication antenna.
In the embodiment of the present invention, under the condition that a second screen projection device is connected to a first screen projection device through a 5G bidirectional communication antenna, if a 5G screen projection request of the first screen projection device is detected, it may be determined whether the number n of the second screen projection device is greater than or equal to the total number m of the 5G bidirectional communication antennas in the 5G device, and if so, it indicates that there are no remaining bidirectional communication antennas not connected to any screen projection device, and screen projection with the first screen projection device may be rejected, or a target 5G bidirectional communication antenna is allocated to the first screen projection device by using a time division multiple access technique or a frequency division multiple access record; if not, the target 5G bidirectional communication antenna can be flexibly allocated to the first screen projection equipment according to the data volume required to be transmitted by the first screen projection equipment and the second screen projection equipment, or the target 5G bidirectional communication antenna is allocated to the first screen projection equipment by using a time division multiple access technology or a frequency division multiple access record; and finally, under the condition that the mobile terminal and the second screen projection device project screens, the target 5G bidirectional communication antenna is used for realizing the screen projection of the mobile terminal and the first screen projection device, so that the mobile terminal can project screens to a plurality of devices at the same time.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 6, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned screen projection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The 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 computer program implements each process of the above-mentioned screen projection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A screen projection method is applied to a fifth generation mobile communication network 5G terminal, and comprises the following steps:
if the 5G screen projection request of the first screen projection equipment is detected, judging whether the number n of the second screen projection equipment connected through the 5G bidirectional communication antenna is larger than or equal to the total number m of the 5G bidirectional communication antennas;
if yes, rejecting the 5G screen projection request, or distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a time division multiple access technology or a frequency division multiple access technology;
if not, detecting the data volume required to be transmitted by the first screen projection equipment and each second screen projection equipment, and detecting whether the data volume required to be transmitted by the first screen projection equipment is the maximum data volume or not according to the data volume; if yes, the 5G bidirectional communication antenna in the state of being not connected with the screen projection equipment is taken as a target 5G bidirectional communication antenna to be distributed to the first screen projection equipment, or the target 5G bidirectional communication antenna is distributed to the first screen projection equipment by utilizing a time division multiple access technology or a frequency division multiple access technology;
and transmitting screen projection data with the first screen projection equipment by using the target 5G bidirectional communication antenna.
2. The method according to claim 1, wherein the detecting the data amount required to be transmitted by the first screen projection device and each second screen projection device detects whether the data amount required to be transmitted by the first screen projection device is the maximum data amount according to the data amount; if yes, the 5G bidirectional communication antenna in the state of not being connected with the screen projection equipment is taken as a target 5G bidirectional communication antenna to be distributed to the first screen projection equipment, and the method comprises the following steps:
randomly selecting one 5G bidirectional communication antenna from m-n 5G bidirectional communication antennas in a state of not being connected with screen projection equipment to be distributed to the first screen projection equipment;
detecting a first amount of data transmitted with the first screen projection device from a 5G two-way communication antenna assigned to the first screen projection device;
detecting each second data volume transmitted between each second screen projection device from each 5G bidirectional communication antenna connected with each second screen projection device;
identifying target screen projection equipment corresponding to the maximum data volume in the first data volume and the n second data volumes;
distributing m-n-1 5G bidirectional communication antennas in a state of not being connected with screen projection equipment to the target screen projection equipment, wherein the target screen projection equipment is the first screen projection equipment or one of the n second screen projection equipment, and the 5G bidirectional communication antenna distributed to the first screen projection equipment is the target 5G bidirectional communication antenna.
3. The method of claim 1, wherein the assigning the first screen projection device a target 5G bi-directional communication antenna using a time division multiple access technique or a frequency division multiple access technique comprises:
judging whether a 5G bidirectional communication antenna in an idle state exists in the m 5G bidirectional communication antennas;
if yes, randomly selecting a target 5G bidirectional communication antenna from the 5G bidirectional communication antennas in the idle state to be distributed to the first screen projection equipment;
and if not, allocating a target 5G bidirectional communication antenna to the first screen projection equipment by using a frequency division multiple access technology.
4. The method of claim 1, wherein the assigning a target 5G bi-directional communication antenna to the first screen projection device using frequency division multiple access (fdma) technology comprises:
randomly selecting a target 5G bidirectional communication antenna from m 5G bidirectional communication antennas;
detecting the bandwidth of the target 5G bidirectional communication antenna;
determining the number P of channels of the target 5G bidirectional communication antenna according to the bandwidth, wherein the carrier frequencies of the P channels are different;
identifying Q channels in an idle state from among the P channels, wherein Q < P;
detecting a first data volume required to be transmitted by the first screen projection equipment;
and according to the first data volume, selecting a target channel with the resource block number matched with the first data volume from the Q channels and distributing the target channel to the first screen projection equipment.
5. The method of claim 4,
the detecting a first data volume required to be transmitted by the first screen projection device includes:
randomly selecting a first channel from the Q channels to be distributed to the first screen projection equipment;
detecting a first amount of data transmitted with the first screen projection device from a first channel of a target 5G two-way communication antenna assigned to the first screen projection device;
the selecting a target channel with the resource block number matched with the first data volume from the Q channels according to the first data volume and distributing the target channel to the first screen projection equipment comprises the following steps:
according to the first data volume, selecting a target channel with the resource block number matched with the first data volume from the Q channels;
when the target channel is different from the first channel, switching a channel allocated to the first screen projection device from the first channel to the target channel.
6. The method according to claim 4 or 5, wherein when the number of the first screen projection devices is multiple, the selecting a target channel with the number of resource blocks matching the first data amount from the Q channels according to the first data amount, and allocating the target channel to the first screen projection devices comprises:
acquiring a proportional relation of a plurality of first data volumes corresponding to a plurality of first screen projection devices;
selecting a plurality of target channels in proportion to the proportional relation of the number of the resource blocks from the Q channels;
and allocating the target channels to the corresponding first screen projection devices.
7. A fifth generation mobile communications network 5G terminal, the 5G terminal comprising:
the judging module is used for judging whether the number n of second screen projection devices connected through the 5G bidirectional communication antenna is larger than or equal to the total number m of the 5G bidirectional communication antennas or not if a 5G screen projection request of the first screen projection device is detected;
the rejecting module is used for rejecting the 5G screen projection request if the judging module determines that the number n of the second screen projection devices connected through the 5G bidirectional communication antenna is larger than or equal to the total number m of the 5G bidirectional communication antennas;
the first distribution module is used for distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a time division multiple access technology;
the second distribution module is used for distributing a target 5G bidirectional communication antenna to the first screen projection equipment by utilizing a frequency division multiple access technology;
the third distribution module is used for detecting the data volume required to be transmitted by the first screen projection equipment and each second screen projection equipment if the judgment module determines that the number n of the second screen projection equipment connected through the 5G bidirectional communication antenna is smaller than the total number m of the 5G bidirectional communication antenna, and detecting whether the data volume required to be transmitted by the first screen projection equipment is the maximum data volume or not according to the data volume; if yes, distributing the 5G bidirectional communication antenna in the state of not being connected with the screen projection equipment to the first screen projection equipment as a target 5G bidirectional communication antenna;
and the transmission module is used for transmitting screen projection data with the first screen projection equipment by utilizing the target 5G bidirectional communication antenna.
8. The 5G terminal according to claim 7, wherein the third distribution module comprises:
the first selection submodule is used for randomly selecting one 5G bidirectional communication antenna from m-n 5G bidirectional communication antennas in a state of not being connected with screen projection equipment to distribute the antenna to the first screen projection equipment;
the first detection submodule is used for detecting a first data volume transmitted between the first screen projection equipment and the first screen projection equipment from a 5G bidirectional communication antenna distributed to the first screen projection equipment;
the second detection submodule is used for detecting each second data volume transmitted between each second screen projection device and each 5G bidirectional communication antenna connected with each second screen projection device;
the first identification module is used for identifying the target screen projection equipment corresponding to the maximum data volume in the first data volume and the n second data volumes;
the first allocating submodule is used for allocating m-n-1 5G bidirectional communication antennas in a state of not being connected with screen projection equipment to the target screen projection equipment, wherein the target screen projection equipment is the first screen projection equipment or one of the n second screen projection equipment, and the 5G bidirectional communication antenna allocated to the first screen projection equipment is the target 5G bidirectional communication antenna.
9. The 5G terminal according to claim 7, wherein the first distribution module comprises:
the judging submodule is used for judging whether the 5G bidirectional communication antenna in an idle state exists in the m 5G bidirectional communication antennas;
the second distribution submodule is used for randomly selecting a target 5G bidirectional communication antenna from the 5G bidirectional communication antennas in the idle state to distribute to the first screen projection equipment if the judgment submodule determines that the 5G bidirectional communication antennas in the idle state exist in the m 5G bidirectional communication antennas;
the second allocating module is further configured to allocate a target 5G bidirectional communication antenna to the first screen projection device by using a frequency division multiple access technology if the determining sub-module determines that there is no 5G bidirectional communication antenna in an idle state in the m 5G bidirectional communication antennas.
10. The 5G terminal of claim 7, wherein the second allocating module comprises:
the second selection submodule is used for randomly selecting a target 5G bidirectional communication antenna from the m 5G bidirectional communication antennas;
the third detection submodule is used for detecting the bandwidth of the target 5G bidirectional communication antenna;
the determining submodule is used for determining the channel number P of the target 5G bidirectional communication antenna according to the bandwidth, wherein the carrier frequencies of the P channels are different;
a second identifying module, configured to identify Q channels in an idle state from among P channels, where Q < P;
the fourth detection submodule is used for detecting the first data volume required to be transmitted by the first screen projection equipment;
and the third distribution submodule is used for selecting a target channel with the resource block number matched with the first data volume from the Q channels according to the first data volume and distributing the target channel to the first screen projection equipment.
11. The 5G terminal of claim 10,
the fourth detection submodule includes:
the distribution unit is used for randomly selecting a first channel from the Q channels to be distributed to the first screen projection equipment;
a detection unit for detecting a first data amount transmitted with the first screen projection device from a first channel of a target 5G bidirectional communication antenna assigned to the first screen projection device;
the third distribution sub-module comprises:
a first selecting unit, configured to select, according to the first data amount, a target channel whose resource block number matches the first data amount from the Q channels;
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.
12. The 5G terminal according to claim 10 or 11, wherein the third distribution submodule comprises:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring the proportional relation of a plurality of first data volumes corresponding to a plurality of first screen projection devices when the number of the first screen projection devices is multiple;
a second selecting unit, configured to select multiple target channels, which are proportional to the proportional relationship, of the number of multiple resource blocks from the Q channels;
and the distribution unit is used for distributing the target channels to the corresponding first screen projection equipment.
13. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the screen projection method as claimed in any one of claims 1 to 6.
14. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps in the screen projection method according to any one of claims 1 to 6.
CN201910683892.2A 2019-07-26 2019-07-26 Screen projection method and 5G terminal Active CN110493756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910683892.2A CN110493756B (en) 2019-07-26 2019-07-26 Screen projection method and 5G terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910683892.2A CN110493756B (en) 2019-07-26 2019-07-26 Screen projection method and 5G terminal

Publications (2)

Publication Number Publication Date
CN110493756A CN110493756A (en) 2019-11-22
CN110493756B true CN110493756B (en) 2022-08-02

Family

ID=68548557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910683892.2A Active CN110493756B (en) 2019-07-26 2019-07-26 Screen projection method and 5G terminal

Country Status (1)

Country Link
CN (1) CN110493756B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
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 and 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

Citations (8)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
大屏幕拼接投影电子系统;黄效兵;《西部广播电视》;20031028(第10期);全文 *
手持显控终端的屏幕自动定焦算法;徐鹏;《数字技术与应用》;20161115(第11期);全文 *

Also Published As

Publication number Publication date
CN110493756A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN110493756B (en) Screen projection method and 5G terminal
CN111132329B (en) Resource indication method, equipment and system
CN106412681B (en) Live bullet screen video broadcasting method and device
CN110324859B (en) Method for selecting transmission resource of sidelink, configuration method, terminal and network equipment
CN110958706B (en) Buffer report transmission method, terminal and scheduling equipment
CN109768926B (en) Data processing method, terminal equipment and computer readable storage medium
CN111867129B (en) Physical random access channel transmission method, terminal and network side equipment
US20220163647A1 (en) Ranging method and device
CN111800240B (en) Information transmission method, device, terminal, equipment and medium
US12004096B2 (en) Signal transmission method and communications device
KR102398275B1 (en) Access control method, message broadcasting method and related equipment
JP7342034B2 (en) Random access method and communication device
CN108601048B (en) Flow control method and mobile terminal
CN111132224A (en) sidelink connection control method, terminal and network side equipment
JP2022523509A (en) Information transmission method, information detection method, terminal equipment and network equipment
KR20220133974A (en) Cache status reporting method, relay terminal device, and computer-readable storage medium
CN111106909B (en) Data transmission method, data transmission configuration method, terminal and network side equipment
CN108419283B (en) WIFI hotspot scanning method and mobile terminal
CN111343695A (en) Network connection method, first electronic device, and medium
JP2022501963A (en) Ability of terminal equipment Information processing method, terminal equipment and network side equipment
CN108040116B (en) Message pushing method, router and computer readable storage medium
CN111615198A (en) Resource determining method, resource indicating method, terminal and network side equipment
CN111132316B (en) Resource allocation method, terminal equipment and network side equipment
CN109275161B (en) Network distribution method and terminal equipment
CN111436137B (en) Random access method, device, equipment and medium

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
GR01 Patent grant
GR01 Patent grant