[go: up one dir, main page]

CN111831246B - Screen projection method, device, equipment and storage medium based on 5G network - Google Patents

Screen projection method, device, equipment and storage medium based on 5G network Download PDF

Info

Publication number
CN111831246B
CN111831246B CN202010732583.2A CN202010732583A CN111831246B CN 111831246 B CN111831246 B CN 111831246B CN 202010732583 A CN202010732583 A CN 202010732583A CN 111831246 B CN111831246 B CN 111831246B
Authority
CN
China
Prior art keywords
communication connection
network
screen projection
preset
connection
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
CN202010732583.2A
Other languages
Chinese (zh)
Other versions
CN111831246A (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.)
Shenzhen Happycast Technology Co Ltd
Original Assignee
Shenzhen Happycast Technology 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 Shenzhen Happycast Technology Co Ltd filed Critical Shenzhen Happycast Technology Co Ltd
Priority to CN202010732583.2A priority Critical patent/CN111831246B/en
Publication of CN111831246A publication Critical patent/CN111831246A/en
Application granted granted Critical
Publication of CN111831246B publication Critical patent/CN111831246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of data screen projection, and discloses a screen projection method, a device, equipment and a storage medium based on a 5G network. The method comprises the following steps: establishing a first communication connection with a preset terminal device, and receiving a screen projection request sent by the terminal device based on a 5G network; establishing a second communication connection with a preset routing device according to the screen projection request; judging whether the first communication connection and the second communication connection belong to the same network type; and if the network channels belong to the same network system, setting the network channels corresponding to the first communication connection and the second communication connection to different frequency domains, and outputting screen projection data to a preset display based on the first communication connection and the second communication connection. Compared with the prior art, the embodiment of the invention reduces the network packet loss rate, reduces the network signal interference condition and also reduces the network delay, and obtains higher screen projection smoothness in different use scenes.

Description

Screen projection method, device, equipment and storage medium based on 5G network
Technical Field
The invention relates to the field of data screen projection, in particular to a screen projection method, a screen projection device, screen projection equipment and a storage medium based on a 5G network.
Background
With the continuous development of internet technology and the continuous development of technology, WiFi technology is continuously popularized. Along with the popularization of WiFi technology, various devices of people are gradually connected to the Internet, and Internet refrigerators, Internet sounds, Internet televisions, Internet air conditioners and Internet water heaters are continuously entering thousands of households. The interconnection of everything is gradually becoming a reality and is no longer a good imagination for people. When the television is connected with the internet, the internet information is no longer exclusive information of the mobile phone and the computer.
In internet television applications, a sharing technique for image data has emerged. The images displayed by the display screen in the mobile phone and the computer can be shared on the Internet television through the interaction of the Internet. At present, screen projection technologies of mobile phones and computers have various implementation means, a local area network can be used for calling an internet television to access a data source, the mobile phones can be used as repeaters to send data to the internet television, and means such as cloud sharing can be used. However, the current technical route for calling the internet to access the data source by using the local area network has the problems of high network delay and large signal interference, and an improved scheme is needed.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the screen projection display is not smooth due to large signal interference during data screen projection.
The invention provides a screen projection method based on a 5G network in a first aspect, which comprises the following steps:
establishing a first communication connection with a preset terminal device, and receiving a screen projection request sent by the terminal device based on a 5G network;
establishing a second communication connection with a preset routing device according to the screen projection request;
judging whether the first communication connection and the second communication connection belong to the same network type;
and if the first communication connection and the second communication connection belong to the same network system, setting network channels corresponding to the first communication connection and the second communication connection into different frequency domains, and outputting the screen projection data to a preset display based on the first communication connection and the second communication connection.
Optionally, in a first implementation manner of the first aspect of the present invention, the establishing a first communication connection with a preset terminal device, and receiving a screen-projecting request sent by the terminal device based on a 5G network includes:
determining a preset first communication mode as an access point mode, and receiving a connection request of preset terminal equipment, wherein the access point mode comprises modes for a terminal to access and access a server;
establishing a first communication connection with the terminal equipment based on data transmitted by a 5G network according to the connection request;
and receiving a screen projection request transmitted by the terminal equipment through the first communication connection.
Optionally, in a second implementation manner of the first aspect of the present invention, the establishing, according to the screen-throwing request, a second communication connection with a preset routing device includes:
determining a preset second communication mode as a terminal mode, wherein the terminal mode comprises a mode only used for accessing a server;
capturing signal data of preset routing equipment, and sending a connection request to the routing equipment according to the screen projection request;
establishing a second communication connection with the routing device based on a communication connection protocol.
Optionally, in a third implementation manner of the first aspect of the present invention, the determining whether the first communication connection and the second communication connection belong to the same network standard includes:
reading a network type corresponding to the second communication connection;
analyzing the frequency of the network system, and analyzing the frequency according to a preset frequency system comparison table to obtain the type of the network system;
and judging whether the category belongs to the category of the 5G network.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the setting network channels corresponding to the first communication connection and the second communication connection to different frequency domains includes:
analyzing a first data transmission code of a network channel corresponding to the first communication connection, and analyzing a second data transmission code of a network channel corresponding to the second communication connection;
judging whether the first data transmission code is the same as the second data transmission code;
and if the first data transmission code and the second data transmission code are the same, adjusting the frequency domain of the network channel corresponding to the second communication connection until the first data transmission code is different from the second data transmission code.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the outputting the screen projection data to a preset display based on the first communication connection and the second communication connection includes:
acquiring a network address of data to be screen-projected in the screen projection request through the first communication connection;
connecting access to the network address over the second communication connection;
and reading the network screen projection data in the network address, and outputting the network screen projection data to a preset display.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after the outputting the screen projection data to a preset display based on the first communication connection and the second communication connection, the method further includes:
reading first connection information corresponding to the first communication connection, and reading second connection information corresponding to the second communication connection, wherein the first connection information includes: the IP and the port number corresponding to the first communication connection, and the second connection information includes: the IP and the port number corresponding to the second communication connection;
and connecting a preset cloud database, and storing the first connection information and the second connection information in the cloud database.
The second aspect of the present invention provides a screen projection device based on a 5G network, including:
the first communication module is used for establishing a first communication connection with preset terminal equipment and receiving a screen projection request sent by the terminal equipment based on a 5G network;
the second communication module is used for establishing second communication connection with preset routing equipment according to the screen projection request;
the judging module is used for judging whether the first communication connection and the second communication connection belong to the same network type;
and the screen projection module is used for setting network channels corresponding to the first communication connection and the second communication connection into different frequency domains if the network channels belong to the same network system, and outputting the screen projection data to a preset display based on the first communication connection and the second communication connection.
The third aspect of the present invention provides a screen projection device based on a 5G network, including: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor calls the instructions in the memory to cause the 5G network-based screen projection device to execute the 5G network-based screen projection method.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to execute the above-mentioned 5G network-based screen projection method.
Drawings
Fig. 1 is a schematic diagram of a first embodiment of a screen projection method based on a 5G network in the embodiment of the present invention;
fig. 2 is a schematic diagram of a second embodiment of a screen projection method based on a 5G network in the embodiment of the present invention;
FIG. 3 is a schematic diagram of a third embodiment of a screen projection method based on a 5G network according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a fourth embodiment of a screen projection method based on a 5G network in the embodiment of the present invention;
FIG. 5 is a schematic diagram of an embodiment of a screen projection device based on a 5G network according to an embodiment of the present invention;
fig. 6 is a schematic diagram of another embodiment of a screen projection device based on a 5G network in the embodiment of the present invention;
fig. 7 is a schematic view of an application scenario of a 5G network-based screen projection device in an embodiment of the present invention;
fig. 8 is a schematic diagram of an embodiment of a 5G network-based screen projection device in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a screen projection method, a screen projection device, screen projection equipment and a storage medium based on a 5G network.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a specific flow of the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of the screen projection method based on the 5G network in the embodiment of the present invention includes:
101. establishing a first communication connection with a pre-arranged terminal device, and receiving a signal sent by the terminal device based on
A screen projection request of the 5G network;
in this embodiment, the terminal device may be a mobile phone, a computer with an information sending function, or an engineering machine with a communication function. The network connection can be established by using a USB interface through a data line, or by using a TCP/IP protocol through a wireless network. The invention can also be provided with a switch for connecting the terminal equipment with the switch, and the invention is connected with the switch, and data exchange is arranged in the switch for establishing communication connection with the terminal equipment. After the communication connection is established, a screen projection request sent by the terminal device in the 5G network is received, 5.8G can use 5 channels 149, 153, 157, 161 and 165, and 5.2G can use 8 channels 36, 40, 44, 48, 52, 56, 60 and 64. The frequencies of the 5G networks are all larger than 5180MHz, different 5G network screen projection requests can be set according to different use requirements, and the purpose of the 5G screen projection requests is to match the high-speed transmission speed of 5G mobile phone signals. When the 5G network data request is received, the communication mode of the invention and the terminal equipment is the AP mode, the access of the terminal can be received, and the access can also be carried out to other servers.
102. Establishing a second communication connection with a preset routing device according to the screen projection request;
in this embodiment, the screen-projection request may be { From: a, To: B, Format: video, URL: the system comprises a HTTP (hyper text transport protocol)// WWW (hyper text transport protocol). xxxYYYyx.com }, wherein From represents a sending source of a screen projection request, To represents an access target of the screen projection request, Format represents that the data type of the screen projection request is an image, and URL (uniform resource locator) represents a network link of the projection data. Specifically, the image types can be further defined as a series of types such as AVI, mov, rmvb, rm, FLV, mp4, and 3 GP. The picture type can be limited to 20 formats such as bmp, jpg, png, tif, gif, pcx, tga, exif, fpx, svg, psd, cdr, pcd, dxf, ufo, eps, ai, raw, WMF, and webp. A in the screen projection request is terminal equipment, an access target B can be set as specific equipment, and the screen projection request can be accompanied with an IP address of the access target B. The access target B can also be set as a target of a connecting device in a local area network WiFi connected with the current mobile phone terminal, and can also be set as an access target of a device connected with the USB data line. And establishing second communication connection with the set routing equipment according to the screen projection request. The connection mode of the second communication connection is set as the Station mode, and only other servers can be accessed, but other terminals are not allowed to access the invention.
103. Judging whether the first communication connection and the second communication connection belong to the same network type;
in this embodiment, the second communication connection may use a 2.4G communication frequency, and there are 13 channels such as 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, etc., and the second communication connection may also use a 5G communication frequency for connection and data transmission. If the network system adopted by the second communication connection is the 2.4G network system, interference with the first communication connection adopting the 5G is avoided in principle, data can be mutually transmitted, but the 2.4G frequency is low, so that the data transmission speed is low, and the low-speed mode or the energy-saving mode can be set in the invention. If the network standard adopted by the second communication connection is the 5G network standard, the first communication connection and the second communication connection are interfered with each other, so that adjustment is needed to avoid signal interference.
104. And if the network channels belong to the same network system, setting the network channels corresponding to the first communication connection and the second communication connection to different frequency domains, and outputting screen projection data to a preset display based on the first communication connection and the second communication connection.
In the present invention, when the first communication connection and the second communication connection are both in 5G network systems, the channels 149, 153, 157, 161, and 165 of 5G need to be selected, so that the frequency domains of the channels corresponding to the first communication connection and the second communication connection are different. The frequency of the 5G channel is generally 5.725-5.825 GHz, and when the first communication connection is set to 149 channels, the second communication connection is preferentially set to 165 channels, so that the frequency interval between the channels is enlarged to reduce interference. After the first communication connection and the second communication connection are completed, according to a screen projection request { From: a, To: B, Format: video, URL: HTTP:// WWW.xxxYYYx.com } accesses the website, captures information from the website, and outputs screen projection data in the website to a display through a data interface of HDMI to finish data output.
In the embodiment of the invention, through changing the communication transmission mode and setting the quick transmission channel based on the 5G network, the network signal interference condition is reduced, the network delay is also reduced, and higher screen projection smoothness is obtained in different use scenes.
Referring to fig. 2, a second embodiment of the screen projection method based on the 5G network in the embodiment of the present invention includes:
201. determining a preset first communication mode as an access point mode, and receiving a connection request of preset terminal equipment, wherein the access point mode comprises modes for accessing the terminal and accessing a server;
in this embodiment, the access point mode may be an AP mode, and in the AP mode, the routing device may be connected, and may also be connected to another terminal.
202. Establishing a first communication connection with the terminal equipment based on data transmitted by the 5G network according to the connection request;
in this embodiment, in the network connection process, the connection request broadcast by the terminal device is received first, after the connection request is obtained, data processing is performed to transmit feedback data and the terminal device through the 5G network, and finally the terminal device determines network connection to establish a channel between the terminal device and the terminal device. The terminal equipment can be a mobile phone, a watch, a tablet personal computer and equipment with a communication function.
203. Receiving a screen projection request transmitted by terminal equipment through a first communication connection;
in the present embodiment, the screen projection request { From: a, To: B, Format: video, URL: HTTP:// WWW.xxxYYYYx.com }.
204. Determining a preset second communication mode as a terminal mode, wherein the terminal mode comprises a mode only used for terminal access;
in this embodiment, the second communication module of the present invention is set to the Station mode, and the Station mode is accessible to the router but does not allow other devices to access the second communication module.
205. Capturing signal data of preset routing equipment, and sending a connection request to the routing equipment according to a screen projection request;
in this embodiment, the present invention does not connect WiFi in advance, but searches for signal data of the routing device, lists the signal data in a signal list, and sends a connection request to the router through the 5G network after receiving the screen projection request.
206. Establishing a second communication connection with the routing device based on the communication connection protocol;
in this embodiment, the communication protocol may be a TCP/IP protocol, a NetBEUI protocol, an IPX/SPX protocol, an IIC protocol, etc., and the present invention establishes a channel with a routing device based on a three-way handshake protocol.
207. Reading a network type corresponding to the second communication connection;
in this embodiment, the second communication connection uses a 5G network, and the modem reads the signal frequency when reading the external signal, and determines the network system according to the signal frequency.
208. Analyzing the frequency of the network system, and analyzing the frequency according to a preset frequency system comparison table to obtain the type of the network system;
in this embodiment, 5.725GHz to 5.825GHz are 5G networks, 2.412GHz to 2.472GHz are 2.4G networks, and the network system type can be determined according to the frequency system comparison table.
209. Judging whether the category belongs to the category of the 5G network;
in this embodiment, a frequency threshold of 5000MHz may be set by the frequency of the modulator-read network at the category judgment, and signal data greater than 5000MHz will be regarded as a 5G network.
210. And if the network channels belong to the same network system, setting the network channels corresponding to the first communication connection and the second communication connection to different frequency domains, and outputting screen projection data to a preset display based on the first communication connection and the second communication connection.
The method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the embodiment of the invention, through changing the communication transmission mode and setting the quick transmission channel based on the 5G network, the network signal interference condition is reduced, the network delay is also reduced, and higher screen projection smoothness is obtained in different use scenes.
Referring to fig. 3, a third embodiment of the screen projection method based on the 5G network in the embodiment of the present invention includes:
301. establishing a first communication connection with a preset terminal device, and receiving a screen projection request sent by the terminal device based on a 5G network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
302. Establishing a second communication connection with a preset routing device according to the screen projection request;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
303. Judging whether the first communication connection and the second communication connection belong to the same network type;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
304. If the network types belong to the same network type, analyzing a first data transmission code of a network channel corresponding to the first communication connection, and analyzing a second data transmission code of a network channel corresponding to the second communication connection;
in this embodiment, the channel code of the first communication connection transmitted by the 5G network is read and determined to be 149 channels according to the frequency, while the channel code of the second communication connection transmitted by the 5G network is 157.
305. Judging whether the first data transmission code is the same as the second data transmission code;
in this embodiment, the first data transmission code is 149 and the channel code of the second communication link is 157, and the data transmission codes are different if the code ratio of 149 is not equal to 157 after the data comparison.
306. If the first data transmission code and the second data transmission code are the same, adjusting the frequency domain of the network channel corresponding to the second communication connection until the first data transmission code is different from the second data transmission code;
in this embodiment, the first data transmission code is 149 and the second data transmission code is 149, the frequency domain of the second communication connection needs to be adjusted to make the transmission codes different.
307. Acquiring a network address of data to be screen-projected in a screen projection request through first communication connection;
in this embodiment, after the screen projection function is set to be completed, the network address content in the screen projection request is acquired: "HTTP:// WWW.xxxYYYYx.com".
308. Connecting the access network address over a second communication connection;
in the present embodiment, 5G network routing is used to access "HTTP:// www.xxxyyyx.com" and 5G network is used to transmit data in the second communication connection.
309. And reading the network screen projection data in the network address, and outputting the network screen projection data to a preset display.
In the present embodiment, video data of "HTTP:// www.xxxyyyx.com" is read, and then the video data is output in the display according to the router, completing screen projection.
In the embodiment of the invention, through changing the communication transmission mode and setting the quick transmission channel based on the 5G network, the network signal interference condition is reduced, the network delay is also reduced, and higher screen projection smoothness is obtained in different use scenes.
Referring to fig. 4, a fourth embodiment of the screen projection method based on the 5G network in the embodiment of the present invention includes:
401. establishing a first communication connection with a preset terminal device, and receiving a screen projection request sent by the terminal device based on a 5G network;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
402. Establishing a second communication connection with a preset routing device according to the screen projection request;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
403. Judging whether the first communication connection and the second communication connection belong to the same network type;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
404. And if the network channels belong to the same network system, setting the network channels corresponding to the first network connection and the second network connection to different frequency domains, and outputting the screen projection data to a preset display based on the first network connection and the second network connection.
The method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
405. Reading first connection information corresponding to the first communication connection, and reading second connection information corresponding to the second communication connection, wherein the first connection information includes: the IP and the port number corresponding to the first communication connection, and the second connection information comprises: the IP and the port number corresponding to the second communication connection;
in this embodiment, information such as channel configuration, IP address, connection port number, and local area network IP of the first communication connection and the second communication connection is extracted.
406. And connecting a preset cloud database, and storing the first connection information and the second connection information in the cloud database.
In this embodiment, the extracted channel configuration, IP address, port number, and local area network IP are transmitted to the cloud database through the network, so that the historical data can be directly called for the next connection.
In the embodiment of the invention, through changing the communication transmission mode and setting the quick transmission channel based on the 5G network, the network signal interference condition is reduced, the network delay is also reduced, and higher screen projection smoothness is obtained in different use scenes.
In the above description of the screen projecting method based on the 5G network in the embodiment of the present invention, the screen projecting device based on the 5G network in the embodiment of the present invention is described below, please refer to fig. 5, and an embodiment of the screen projecting device based on the 5G network in the embodiment of the present invention includes:
the first communication module 501 is configured to establish a first communication connection with a preset terminal device, and receive a screen-casting request sent by the terminal device based on a 5G network;
a second communication module 502, configured to establish a second communication connection with a preset routing device according to the screen projection request;
a judging module 503, configured to judge whether the first communication connection and the second communication connection belong to the same network standard;
and a screen projection module 504, configured to set network channels corresponding to the first communication connection and the second communication connection to different frequency domains if the network channels belong to the same network system, and output the screen projection data to a preset display based on the first communication connection and the second communication connection.
In the embodiment of the invention, through changing the communication transmission mode and setting the quick transmission channel based on the 5G network, the network signal interference condition is reduced, the network delay is also reduced, and higher screen projection smoothness is obtained in different use scenes.
Referring to fig. 6, another embodiment of the screen projection device based on the 5G network in the embodiment of the present invention includes:
the first communication module 501 is configured to establish a first communication connection with a preset terminal device, and receive a screen-casting request sent by the terminal device based on a 5G network;
a second communication module 502, configured to establish a second communication connection with a preset routing device according to the screen projection request;
a judging module 503, configured to judge whether the first communication connection and the second communication connection belong to the same network standard;
and a screen projection module 504, configured to set network channels corresponding to the first communication connection and the second communication connection to different frequency domains if the network channels belong to the same network system, and output the screen projection data to a preset display based on the first communication connection and the second communication connection.
The first communication module 501 is specifically configured to:
determining a preset first communication mode as an access point mode, and receiving a connection request of preset terminal equipment, wherein the access point mode comprises modes for a terminal to access and access a server;
establishing a first communication connection with the terminal equipment based on data transmitted by a 5G network according to the connection request;
and receiving a screen projection request transmitted by the terminal equipment through the first communication connection.
The second communication module 502 is specifically configured to:
determining a preset second communication mode as a terminal mode, wherein the terminal mode comprises a mode only used for accessing a server;
capturing signal data of preset routing equipment, and sending a connection request to the routing equipment according to the screen projection request;
establishing a second communication connection with the routing device based on a communication connection protocol.
Wherein, the determining module 503 includes:
a reading unit 5031, configured to read a network type corresponding to the second communication connection;
an analyzing unit 5032, configured to analyze the frequency of the network standard and analyze the frequency according to a preset frequency standard comparison table to obtain a type of the network standard;
a judging unit 5033, configured to judge whether the category belongs to a category of a 5G network.
The screen projection module 504 is specifically configured to:
analyzing a first data transmission code of a network channel corresponding to the first communication connection, and analyzing a second data transmission code of a network channel corresponding to the second communication connection;
judging whether the first data transmission code is the same as the second data transmission code;
and if the first data transmission code and the second data transmission code are the same, adjusting the frequency domain of the network channel corresponding to the second communication connection until the first data transmission code is different from the second data transmission code.
The screen projecting module 504 may be further specifically configured to:
acquiring a network address of data to be screen-projected in the screen projection request through the first communication connection;
connecting access to the network address over the second communication connection;
and reading the network screen projection data in the network address, and outputting the network screen projection data to a preset display.
The screen projection device based on the 5G network further includes a storage module 505, where the storage module 505 is specifically configured to:
reading first connection information corresponding to the first communication connection, and reading second connection information corresponding to the second communication connection, wherein the first connection information includes: the IP and the port number corresponding to the first communication connection, and the second connection information includes: the IP and the port number corresponding to the second communication connection;
and connecting a preset cloud database, and storing the first connection information and the second connection information in the cloud database.
In the embodiment of the invention, through changing the communication transmission mode and setting the quick transmission channel based on the 5G network, the network signal interference condition is reduced, the network delay is also reduced, and higher screen projection smoothness is obtained in different use scenes.
Fig. 5 and fig. 6 describe the screen projection device based on the 5G network in detail in the embodiment of the present invention from the perspective of the modular functional entity, and fig. 7 describes a specific application scenario of the modular functional entity.
In fig. 7, a first communication module 501 and a terminal device 704 obtain a screen projection request through a 5G network, and a second communication module 502 accesses a router 701 according to the screen projection request. The judgment module 503 judges the network type of the first communication module 501 and the second communication module 502 to obtain a judgment result. According to the judgment result, the second communication module 502 is called to obtain the screen projection data from the internet through the router 701, the screen projection data is output to the display screen 703 through the screen projection module 504 by using the HDMI output interface 702, and the screen projection request is completed.
The screen projection device based on the 5G network in the embodiment of the present invention is described in detail in terms of hardware processing.
Fig. 8 is a schematic structural diagram of a 5G network-based screen projection apparatus 800 according to an embodiment of the present invention, where the 5G network-based screen projection apparatus 800 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 810 (e.g., one or more processors) and a memory 820, and one or more storage media 830 (e.g., one or more mass storage devices) storing an application 833 or data 832. Memory 820 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in the storage medium 830 may include one or more modules (not shown), each of which may include a series of instruction operations for the 5G network-based screen projection apparatus 800. Further, the processor 810 may be configured to communicate with the storage medium 830, and execute a series of instruction operations in the storage medium 830 on the 5G network-based screen projection device 800.
The 5G network-based screen projection device 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input-output interfaces 860, and/or one or more operating systems 831, such as Windows server, Mac OS X, Unix, Linux, FreeBSD, and so forth. Those skilled in the art will appreciate that the 5G network-based screen projection device configuration shown in fig. 8 does not constitute a limitation of the 5G network-based screen projection device, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and may also be a volatile computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the instructions cause the computer to execute the steps of the 5G network-based screen projection method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A screen projection method based on a 5G network is characterized by comprising the following steps:
establishing a first communication connection with a preset terminal device, and receiving a screen projection request sent by the terminal device based on a 5G network;
establishing a second communication connection with a preset routing device according to the screen projection request;
judging whether the first communication connection and the second communication connection belong to the same network type;
if the network channels belong to the same network system, setting the network channels corresponding to the first communication connection and the second communication connection to different frequency domains, and outputting screen projection data to a preset display based on the first communication connection and the second communication connection;
the establishing of the first communication connection with the preset terminal device and the receiving of the screen projection request sent by the terminal device based on the 5G network comprise:
determining a preset first communication mode as an access point mode, and receiving a connection request of preset terminal equipment, wherein the access point mode comprises modes for a terminal to access and access a server;
establishing a first communication connection with the terminal equipment based on data transmitted by a 5G network according to the connection request;
receiving a screen projection request transmitted by the terminal equipment through the first communication connection;
wherein, the establishing a second communication connection with a preset routing device according to the screen projection request comprises:
determining a preset second communication mode as a terminal mode, wherein the terminal mode comprises a mode for accessing a router but not allowing other equipment to access;
capturing signal data of preset routing equipment, and sending a connection request to the routing equipment according to the screen projection request;
establishing a second communication connection with the routing device based on a communication connection protocol;
wherein, the establishing a second communication connection with a preset routing device according to the screen projection request comprises:
determining a preset second communication mode as a terminal mode, wherein the terminal mode comprises a mode for accessing a router but not allowing other equipment to access;
capturing signal data of preset routing equipment, and sending a connection request to the routing equipment according to the screen projection request;
establishing a second communication connection with the routing device based on a communication connection protocol;
wherein the determining whether the first communication connection and the second communication connection belong to the same network standard comprises:
reading a network type corresponding to the second communication connection;
analyzing the frequency of the network system, and analyzing the frequency according to a preset frequency system comparison table to obtain the type of the network system;
judging whether the category belongs to the category of the 5G network;
wherein the setting of the network channels corresponding to the first communication connection and the second communication connection to different frequency domains comprises:
analyzing a first data transmission code of a network channel corresponding to the first communication connection, and analyzing a second data transmission code of a network channel corresponding to the second communication connection;
judging whether the first data transmission code is the same as the second data transmission code;
and if the first data transmission code and the second data transmission code are the same, adjusting the frequency domain of the network channel corresponding to the second communication connection until the first data transmission code is different from the second data transmission code.
2. The screen projection method based on the 5G network according to claim 1, wherein the outputting screen projection data to a preset display based on the first communication connection and the second communication connection comprises:
acquiring a network address of data to be screen-projected in the screen projection request through the first communication connection;
connecting access to the network address over the second communication connection;
and reading the network screen projection data in the network address, and outputting the network screen projection data to a preset display.
3. The screen projection method based on the 5G network according to claim 1, further comprising, after outputting screen projection data to a preset display based on the first communication connection and the second communication connection:
reading first connection information corresponding to the first communication connection, and reading second connection information corresponding to the second communication connection, wherein the first connection information includes: the IP and the port number corresponding to the first communication connection, and the second connection information includes: the IP and the port number corresponding to the second communication connection;
and connecting a preset cloud database, and storing the first connection information and the second connection information in the cloud database.
4. A screen projection device based on a 5G network is characterized in that the screen projection device based on the 5G network comprises:
the first communication module is used for establishing a first communication connection with preset terminal equipment and receiving a screen projection request sent by the terminal equipment based on a 5G network;
the second communication module is used for establishing second communication connection with preset routing equipment according to the screen projection request;
the judging module is used for judging whether the first communication connection and the second communication connection belong to the same network type;
the screen projection module is used for setting network channels corresponding to the first communication connection and the second communication connection into different frequency domains if the network channels belong to the same network system, and outputting screen projection data to a preset display based on the first communication connection and the second communication connection;
wherein the first communication module is specifically configured to:
determining a preset first communication mode as an access point mode, and receiving a connection request of preset terminal equipment, wherein the access point mode comprises modes for a terminal to access and access a server;
establishing a first communication connection with the terminal equipment based on data transmitted by a 5G network according to the connection request;
receiving a screen projection request transmitted by the terminal equipment through the first communication connection;
wherein the second communication module is specifically configured to:
determining a preset second communication mode as a terminal mode, wherein the terminal mode comprises a mode for accessing a router but not allowing other equipment to access;
capturing signal data of preset routing equipment, and sending a connection request to the routing equipment according to the screen projection request;
establishing a second communication connection with the routing device based on a communication connection protocol;
wherein, the judging module comprises:
the reading unit is used for reading the network system corresponding to the second communication connection;
the analysis unit is used for analyzing the frequency of the network system and analyzing the frequency according to a preset frequency system comparison table to obtain the type of the network system;
a judging unit, configured to judge whether the category belongs to a category of a 5G network;
wherein, the screen projection module is specifically used for:
analyzing a first data transmission code of a network channel corresponding to the first communication connection, and analyzing a second data transmission code of a network channel corresponding to the second communication connection;
judging whether the first data transmission code is the same as the second data transmission code;
and if the first data transmission code and the second data transmission code are the same, adjusting the frequency domain of the network channel corresponding to the second communication connection until the first data transmission code is different from the second data transmission code.
5. A screen projection device based on a 5G network is characterized in that the screen projection device based on the 5G network comprises: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the 5G network-based screen projection device to perform the 5G network-based screen projection method of any one of claims 1-3.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the 5G network-based screen projection method according to any one of claims 1 to 3.
CN202010732583.2A 2020-07-27 2020-07-27 Screen projection method, device, equipment and storage medium based on 5G network Active CN111831246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010732583.2A CN111831246B (en) 2020-07-27 2020-07-27 Screen projection method, device, equipment and storage medium based on 5G network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010732583.2A CN111831246B (en) 2020-07-27 2020-07-27 Screen projection method, device, equipment and storage medium based on 5G network

Publications (2)

Publication Number Publication Date
CN111831246A CN111831246A (en) 2020-10-27
CN111831246B true CN111831246B (en) 2021-06-08

Family

ID=72924989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010732583.2A Active CN111831246B (en) 2020-07-27 2020-07-27 Screen projection method, device, equipment and storage medium based on 5G network

Country Status (1)

Country Link
CN (1) CN111831246B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637957A (en) * 2020-12-10 2021-04-09 海信视像科技股份有限公司 Display device and communication method of display device and wireless sound box
CN112230824B (en) * 2020-12-14 2021-03-16 长沙树根互联技术有限公司 Data processing method and device of human-computer interaction system and electronic equipment
CN113382457B (en) * 2021-05-17 2022-09-02 Tcl通讯(宁波)有限公司 WiFi P2P connection method and device, mobile terminal and storage medium
CN115022709B (en) * 2022-06-10 2023-08-29 江苏银河数字技术有限公司 Intelligent set top box wireless screen-throwing management and control system and method
CN120343653B (en) * 2025-04-17 2025-10-03 广东华集科技有限公司 Wireless networking screen-throwing service management method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307290A (en) * 2015-09-30 2016-02-03 青岛海信移动通信技术股份有限公司 Method and device for configuring relay channel of mobile equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334577C (en) * 2000-11-01 2007-08-29 福来西奥德技术公司 System and method for device-to-device pervasive digital output
JP2016142761A (en) * 2015-01-29 2016-08-08 株式会社リコー Multi-projection system, information processing device and program
CN107908386A (en) * 2017-12-21 2018-04-13 联想(北京)有限公司 Information processing method and electronic equipment
CN109120969A (en) * 2018-09-05 2019-01-01 北京奇艺世纪科技有限公司 A kind of the throwing screen method, apparatus and throwing screen equipment of multimedia content
CN109379498B (en) * 2018-11-13 2020-12-22 Oppo广东移动通信有限公司 Electromagnetic interference control method and related device
CN111294857B (en) * 2019-03-25 2023-09-12 深圳市鸿合创新信息技术有限责任公司 Intelligent display screen, control method, storage medium and electronic equipment
CN110493756B (en) * 2019-07-26 2022-08-02 维沃移动通信有限公司 Screen projection method and 5G terminal
CN110519634B (en) * 2019-09-09 2022-02-25 京东方科技集团股份有限公司 Screen projection system and projection method
CN210129853U (en) * 2019-09-12 2020-03-06 广州视源电子科技股份有限公司 Multi-frequency-band wireless device, electronic equipment and screen projection system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307290A (en) * 2015-09-30 2016-02-03 青岛海信移动通信技术股份有限公司 Method and device for configuring relay channel of mobile equipment

Also Published As

Publication number Publication date
CN111831246A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN111831246B (en) Screen projection method, device, equipment and storage medium based on 5G network
US11936921B2 (en) Method for managing network live streaming data and related apparatus, and device and storage medium
CN108289187B (en) Method and system for accessing live webcast to video conference
CN104320417B (en) The method of interconnection and streaming and streaming media playing between mobile terminal and web terminals
HK1215769A1 (en) Media projection method, media projection device, control terminal and cloud server
EP3070935B1 (en) Apparatus, system, and method of controlling output of content data, and carrier means
CN114095869B (en) A method, device and system for scheduling multi-access edge computing nodes for terminals
CN104079597A (en) Transfer method of media stream and user equipment
CN101179480B (en) Method for forwarding stream media
US11647364B2 (en) Special effect synchronization method, device, and storage medium
CN113114778A (en) Data transmission method and device, electronic equipment and storage medium
CN114064275A (en) Data processing method and device
CN115567518B (en) Device, system and method for reorienting camera of cloud desktop
CN104113935A (en) Data transmission method, system and router
CN112422300A (en) Cloud network private line management method based on block chain, UPF (unified power flow) and area chain platform
WO2015156476A1 (en) Device for transmitting and receiving seamless stream on basis of chunk, and method therefor
CN106686635B (en) Data transmission method and device based on control and configuration protocol of wireless access point
CN105657451B (en) Uploaded videos file is carried out at the same time the method and system of transcoding
CN105721440A (en) Use method of media content business flow integrated management and control application cloud platform
CN106604085A (en) Video sharing method and video sharing device
CN106375933A (en) Projection control method of multiple intelligent hardware devices
CN105162874A (en) System for expanding operational capability of mobile terminal
CN116233085A (en) Multi-terminal streaming media transmission method, system and streaming media server cluster
CN105743881A (en) Media content business process integrated control application cloud platform
CN116248644A (en) Optimization method based on WebRTC plug flow technology

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