CN111831247A - Screen projection method, device and equipment based on two-dimensional code and storage medium - Google Patents
Screen projection method, device and equipment based on two-dimensional code and storage medium Download PDFInfo
- Publication number
- CN111831247A CN111831247A CN202010968351.7A CN202010968351A CN111831247A CN 111831247 A CN111831247 A CN 111831247A CN 202010968351 A CN202010968351 A CN 202010968351A CN 111831247 A CN111831247 A CN 111831247A
- Authority
- CN
- China
- Prior art keywords
- screen
- projected
- screen projection
- request
- dimensional code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9554—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the field of data screen projection, and discloses a screen projection method, device, equipment and storage medium based on a two-dimensional code. The method comprises the following steps: acquiring a two-dimensional code verification request of a device to be projected; analyzing the two-dimension code verification request, and establishing a network topology with the to-be-projected-screen equipment; receiving a screen projection request of target data, and displaying the target data in the to-be-projected screen equipment according to the network topology. According to different network states, different data processing steps are executed, accurate screen projection of data can be automatically carried out in a public network and a local area network according to the network environment, screen projection steps are simplified, and one-click instant screen projection is achieved.
Description
Technical Field
The invention relates to the field of data screen projection, in particular to a screen projection method, device, equipment and storage medium based on two-dimensional codes.
Background
Since the internet was built, more and more devices have been added to the internet through which people communicate with each other. However, since the conventional electric devices do not have the internet connection function, the new electric devices have the internet connection function. Therefore, the new technology can be not suitable in the using process, and great inconvenience is brought to people.
In the screen projection field, various data screen projection conditions exist, and due to different types of equipment, some equipment can be connected with the Internet, and some equipment does not have the function of Internet connection, so that partial devices cannot project screens. In order to implement screen projection for different types of devices, a technology capable of flexibly projecting a screen according to a network environment where the devices are located is required.
Disclosure of Invention
The invention mainly aims to solve the technical problem that equipment in a public network environment cannot effectively project a screen.
The invention provides a screen projection method based on a two-dimensional code, which comprises the following steps:
acquiring a two-dimensional code verification request of a device to be projected;
analyzing the two-dimension code verification request, and establishing a network topology with the to-be-projected-screen equipment;
receiving a screen projection request of target data, and displaying the target data in the to-be-projected screen equipment according to the network topology.
Optionally, in a first implementation manner of the first aspect of the present invention, the analyzing the two-dimensional code verification request and establishing a network topology with the device to be screen-projected includes:
analyzing the two-dimension code verification request to obtain network information corresponding to the screen to be projected equipment
Judging whether the device to be projected is in a public network environment or not according to the network information;
if the equipment to be screen-projected is in a public network environment, establishing communication connection with a preset public server, and generating a network topology for connecting the public server to the equipment to be screen-projected;
if the device to be screen-projected is not in the public network environment, establishing communication connection with the device to be screen-projected, and generating a network topology to the device to be screen-projected.
Optionally, in a second implementation manner of the first aspect of the present invention, when the device to be screen-projected is in a public network environment, the displaying the target data in the device to be screen-projected according to the network topology includes:
generating a pushing request based on the screen projection request;
sending the push request to the public server so as to enable the target data to be displayed in the device to be projected based on the topological connection between the public server and the device to be projected;
and receiving screen projection success information fed back by the public server, and outputting the screen projection success information to a preset display screen.
Optionally, in a third implementation manner of the first aspect of the present invention, after the sending the push request to the public server, before the receiving the screen-casting success information fed back by the public server, the method further includes:
judging whether screen projection success information fed back by the equipment to be screen projected is received or not after a preset feedback time threshold value;
and if the screen projection success information is not received, the pushing request is sent to the public server again.
Optionally, in a fourth implementation manner of the first aspect of the present invention, when the device to be screen-projected is in a public network environment, after receiving a screen-projection request of target data and displaying the target data in the device to be screen-projected according to the network topology, the method further includes:
receiving a screen projection ending request, and generating an ending push instruction;
sending the push ending instruction to the public server;
and receiving screen projection end information fed back by the public server, and outputting the screen projection end information to the display screen.
Optionally, in a fifth implementation manner of the first aspect of the present invention, when the device to be screen-projected is not in a public network environment, the displaying the target data in the device to be screen-projected according to the network topology includes:
generating a pushing request based on the screen projection request;
sending a screen projection pushing request to the to-be-projected screen equipment, so that the target data is displayed in the to-be-projected screen equipment;
and receiving screen projection success information fed back by the equipment to be screen projected, and outputting the screen projection success information to a preset display screen.
Optionally, in a sixth implementation manner of the first aspect of the present invention, when the device to be screen-projected is not in a public network environment, and when the device to be screen-projected is in a public network environment, after receiving a screen-projection request of target data and displaying the target data in the device to be screen-projected according to the network topology, the method further includes:
receiving a screen projection ending request, and generating an ending push instruction;
sending the push ending instruction to the public server;
and receiving screen projection end information fed back by the public server, and outputting the screen projection end information to the display screen.
The second aspect of the present invention provides a two-dimensional code-based screen projection device, including:
the acquisition module is used for acquiring a two-dimensional code verification request of the device to be projected;
the analysis module is used for analyzing the two-dimension code verification request and establishing a network topology with the equipment to be projected;
and the display module is used for receiving a screen projection request of target data and displaying the target data in the equipment to be screen projected according to the network topology.
The third aspect of the present invention provides a two-dimensional code-based screen projection device, 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 two-dimensional code-based screen projection equipment to execute the two-dimensional code-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 two-dimensional code-based screen projection method.
Drawings
Fig. 1 is a schematic diagram of an embodiment of a two-dimensional code-based screen projection method in the embodiment of the invention;
fig. 2 is a schematic diagram of another embodiment of a two-dimensional code-based screen projection method in the embodiment of the invention;
FIG. 3 is a schematic diagram of an embodiment of a two-dimensional code-based screen projection device according to an embodiment of the present invention;
fig. 4 is a schematic view of another embodiment of a two-dimensional code-based screen projection device in the embodiment of the invention;
FIG. 5 is a schematic diagram of an embodiment of a two-dimensional code-based screen projection device in the embodiment of the present invention;
fig. 6 is a schematic diagram of an embodiment of a device registration phase and a device connection phase in the overall embodiment of the present invention;
FIG. 7 is a schematic diagram of one embodiment of a screen projection phase in an overall embodiment of the present invention;
fig. 8 is a schematic diagram of an embodiment of ending the screen-projection phase in the overall embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a screen projection method, device and equipment based on a two-dimensional code and a storage medium.
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, a first embodiment of a two-dimensional code-based screen projection method in the embodiment of the present invention includes:
101. acquiring a two-dimensional code verification request of a device to be projected;
in this embodiment, a screen-projecting verification request based on a two-dimensional code carrier is obtained, and the verification request is sent in a manner that the smart phone scans a picture with the two-dimensional code inside the smart phone, or the smart phone directly calls a camera module to scan the two-dimensional code displayed by a screen-projecting device, or in a manner of a simple data signal packet, where the data packet is request data generated after verification based on the two-dimensional code data and is stored in a terminal of the smart phone. The two-dimension code verification request is obtained through a wireless communication network or a wired connection.
102. Analyzing the two-dimension code verification request, and establishing a network topology with the equipment to be projected;
in this embodiment, the data of the two-dimensional code is analyzed, and the device information in the two-dimensional code is read to obtain information such as an IP address, port information, and device ID of the device. And judging whether the equipment is in a public network environment or not according to the equipment information, and if the equipment is in the public network environment, establishing a network topological structure from the public server to the equipment to be screen-projected. If the equipment is in the local area network environment, the network topology structure of the screen projection equipment is established. When the network topology is established, the wireless network technology is not only used, but the wireless communication technology and the wired communication technology are both used as basic units of a topology connection structure to complete the establishment of the network topology.
103. Receiving a screen projection request of target data, and displaying the target data in the equipment to be projected according to the network topology.
In this embodiment, a screen of a local picture sent by a smart phone is received, if the device to be screen-projected is a local area network device, data of the local picture is directly sent to the device to be screen-projected, if the device to be screen-projected is a public network device, the local picture is uploaded to a public server, the public server sends the picture to the device to be screen-projected, and the screen-projected device realizes screen-projection of the picture. In another embodiment, the smart phone sends the address of the URL of the screen to be projected, and if the device to be projected is a local area network device, the data downloaded from the URL address in the smart phone is read and sent to the device to be projected, and the device to be projected realizes the screen projection of the data. And if the equipment to be screen-thrown is public network equipment, sending the screen-throwing request to a public server, and sending data in the screen-throwing request to the equipment to be screen-thrown by the public server according to the address of the URL.
In the embodiment of the invention, the target data is transmitted according to different network environments by analyzing the network environment of the equipment to be screen-projected and taking the two-dimensional code as the screen-projecting request of the carrier, so that the equipment to be screen-projected can be screen-projected under different network environments, and the application range of the screen projection is improved.
Referring to fig. 2, a second embodiment of the two-dimensional code-based screen projection method according to the embodiment of the present invention includes:
201. acquiring a two-dimensional code verification request of a device to be projected;
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.
202. Analyzing the two-dimension code verification request to obtain network information corresponding to the screen to be projected;
in this embodiment, the device IP address, the device ID, and the device port information in the two-dimensional code authentication request are read.
203. Judging whether the equipment to be projected is in a public network environment or not according to the network information;
in this embodiment, whether the device IP address and the device port information belong to a public network is determined according to the public network IP address rule.
204. If the equipment to be screen-projected is in a public network environment, establishing communication connection with a preset public server, and generating a network topology for connecting the public server to the equipment to be screen-projected;
in the present embodiment, the communication channel may be established by an existing wireless communication information technology or by a wired communication connection technology.
205. Receiving a screen projection request of target data, and generating a pushing request based on the screen projection request;
in this embodiment, the smartphone terminal sends a screen-casting request, and generates a data push request based on a preset conversion rule according to the content of the screen-casting request. The data push request is used for pushing to the public server, and the push request can be pushed to the public server with a high transmission speed according to the URL address.
206. Sending a pushing request to a public server so as to display target data in the equipment to be screened based on topological connection between the public server and the equipment to be screened;
in this embodiment, a push request of the URL address of the screen shot and the IP address of the device is sent to the public server.
207. Judging whether screen projection success information fed back by the equipment to be screen projected is received or not after a preset feedback time threshold value;
in this embodiment, after the feedback time is 3 seconds, whether screen projection success information is received is determined.
208. If the screen projection success information is not received, sending the pushing request to the public server again;
in this embodiment, the same push request is sent to the public server if it is not received.
209. Receiving screen projection success information fed back by the public server, and outputting the screen projection success information to a preset display screen;
in this embodiment, the screen projection success data is obtained, and the { screen projection success } information is output to the display screen of the smart phone.
210. If the device to be screen-projected is not in the public network environment, establishing communication connection with the device to be screen-projected and generating a network topology to the device to be screen-projected;
in this embodiment, the present invention directly establishes a communication channel with the device to be screen-projected, and generates a network topology of the smart phone-the present invention-the device to be screen-projected.
211. Receiving a screen projection request of target data, and generating a pushing request based on the screen projection request;
in this embodiment, a screen projection request is received and converted into a push request for a device to be screen projected.
212. Sending a screen-casting push request to the equipment to be subjected to screen casting, so that target data are displayed in the equipment to be subjected to screen casting;
in the present embodiment, the push request { target: 12jpg } into the device to be projected,
213. receiving screen projection success information fed back by the equipment to be screen projected, and outputting the screen projection success information to a preset display screen;
in the embodiment, the {125} of the reply of the device to be screen-projected is obtained, wherein 125 corresponds to the screen-projection success information, and then { screen-projection success } is displayed in the display screen of the smart phone.
214. Receiving a screen projection ending request, and generating an ending push instruction;
in this embodiment, a request of 856 is received, 856 is the end of the screen projection in the preset setting, and then a push instruction of fin is generated.
215. Sending a push ending instruction to a public server;
in the embodiment, the { fin } is sent to the public server, and the public server controls the device to be projected to finish the screen projection according to the { fin }.
216. And receiving screen projection end information fed back by the public server, and outputting the screen projection end information to a display screen.
In this embodiment, after the screen projection device finishes projecting the screen, screen end information { fin ready } is sent to the public server, the public server sends an instruction of {88865} to the invention, 88865 is screen projection end information in the instruction list, and then { screen projection end } is sent and displayed in the screen of the mobile phone.
In the embodiment of the invention, the target data is transmitted according to different network environments by analyzing the network environment of the equipment to be screen-projected and taking the two-dimensional code as the screen-projecting request of the carrier, so that the equipment to be screen-projected can be screen-projected under different network environments, and the application range of the screen projection is improved.
In the above description of the two-dimension code-based screen projection method in the embodiment of the present invention, referring to fig. 3, a two-dimension code-based screen projection device in the embodiment of the present invention is described below, where an embodiment of a two-dimension code-based screen projection device in the embodiment of the present invention includes:
the obtaining module 301 is configured to obtain a two-dimensional code verification request of a device to be screened;
the analysis module 302 is configured to analyze the two-dimensional code verification request and establish a network topology with the device to be screened;
the display module 303 is configured to receive a screen-casting request of target data, and display the target data in the device to be screen-cast according to the network topology.
In the embodiment of the invention, the target data is transmitted according to different network environments by analyzing the network environment of the equipment to be screen-projected and taking the two-dimensional code as the screen-projecting request of the carrier, so that the equipment to be screen-projected can be screen-projected under different network environments, and the application range of the screen projection is improved.
Referring to fig. 4, another embodiment of a two-dimensional code-based screen projection device according to an embodiment of the present invention includes:
the obtaining module 301 is configured to obtain a two-dimensional code verification request of a device to be screened;
the analysis module 302 is configured to analyze the two-dimensional code verification request and establish a network topology with the device to be screened;
the display module 303 is configured to receive a screen-casting request of target data, and display the target data in the device to be screen-cast according to the network topology.
Wherein the parsing module 302 comprises:
an analyzing unit 3021, configured to analyze the two-dimensional code verification request to obtain network information corresponding to the to-be-projected-screen device
A judging unit 3022, configured to judge whether the device to be screened is in a public network environment according to the network information;
a first topology unit 3023, configured to establish a communication connection with a preset public server and generate a network topology connecting the public server to the device to be screen-projected if the device to be screen-projected is in a public network environment;
a second topology unit 3024, configured to establish a communication connection with the device to be projected and generate a network topology to the device to be projected if the device to be projected is not in a public network environment
Wherein the display module 303 is specifically configured to:
generating a pushing request based on the screen projection request;
sending the push request to the public server so as to enable the target data to be displayed in the device to be projected based on the topological connection between the public server and the device to be projected;
and receiving screen projection success information fed back by the public server, and outputting the screen projection success information to a preset display screen.
The display module 303 may be further specifically configured to:
generating a pushing request based on the screen projection request;
sending a screen projection pushing request to the to-be-projected screen equipment, so that the target data is displayed in the to-be-projected screen equipment;
and receiving screen projection success information fed back by the equipment to be screen projected, and outputting the screen projection success information to a preset display screen.
The screen projection device based on the two-dimensional code further comprises an analysis module 304, wherein the analysis module 304 is specifically configured to:
judging whether screen projection success information fed back by the equipment to be screen projected is received or not after a preset feedback time threshold value;
and if the screen projection success information is not received, the pushing request is sent to the public server again.
The two-dimensional code-based screen projection device further includes a first ending module 305, where the first ending module 305 is specifically configured to:
receiving a screen projection ending request, and generating an ending push instruction;
sending the push ending instruction to the public server;
and receiving screen projection end information fed back by the public server, and outputting the screen projection end information to the display screen.
The two-dimensional code-based screen projection device further includes a second ending module 306, where the second ending module 306 is specifically configured to:
receiving a screen projection ending request, and generating an ending push instruction;
sending the push ending instruction to the public server;
and receiving screen projection end information fed back by the public server, and outputting the screen projection end information to the display screen.
In the embodiment of the invention, the target data is transmitted according to different network environments by analyzing the network environment of the equipment to be screen-projected and taking the two-dimensional code as the screen-projecting request of the carrier, so that the equipment to be screen-projected can be screen-projected under different network environments, and the application range of the screen projection is improved.
Fig. 3 and 4 describe the two-dimensional code-based screen projection device in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the two-dimensional code-based screen projection device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 5 is a schematic structural diagram of a two-dimensional code-based screen projection apparatus 500 according to an embodiment of the present invention, where the two-dimensional code-based screen projection apparatus 500 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) storing applications 533 or data 532. Memory 520 and storage media 530 may be, among other things, transient or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown), each of which may include a series of instruction operations for the two-dimensional code-based screen projection apparatus 500. Further, the processor 510 may be configured to communicate with the storage medium 530, and execute a series of instruction operations in the storage medium 530 on the two-dimensional code based screen projection device 500.
The two-dimensional code based screen projection device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input-output interfaces 560, and/or one or more operating systems 531, such as Windows server, Mac OSX, Unix, Linux, FreeBSD, and so forth. Those skilled in the art will appreciate that the two-dimensional code based screen projection device configuration shown in fig. 5 does not constitute a limitation of the two-dimensional code based screen projection device, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
The invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, and the computer-readable storage medium has stored therein instructions, which, when run on a computer, cause the computer to execute the steps of the two-dimensional code-based screen projection method.
Fig. 6 is a diagram illustrating an embodiment of a device registration stage 615 and a device connection stage 616 in an overall embodiment of the invention.
In the device registration stage 615, if the device is a public network device, the device to be screen-shot 614 performs an operation of transmitting the device information 601, the public server 613 performs an operation of sending the two-dimensional code 602, and the device to be screen-shot 614 performs an operation of displaying the two-dimensional code 604. If the device is a lan device, the device to be screen-projected 614 performs the operation of generating the two-dimensional code 603, and then the device to be screen-projected 614 performs the operation of displaying the two-dimensional code 604.
In the device connection phase 616, the operation of transmitting the two-dimensional code 605 is performed by the smart terminal 611. If the device is a public network device, the screen projection device 612 executes an operation of sending the two-dimensional code, and the public server executes an operation of returning the device information 607. If the device is a lan device, the screen projection device 612 performs an operation of analyzing the two-dimensional code 608.
Fig. 7 is a diagram illustrating an embodiment of the screen-casting phase 617 in accordance with an embodiment of the present invention, where the terminal 611 performs an operation of sending a screen-casting request 701.
If the device is a public network device, the screen projection device 612 performs an operation of sending a screen projection request 702, the public server 613 performs an operation of sending a screen projection request 703, the device to be projected 614 performs an operation of executing a data screen projection 704, the device to be projected 614 performs an operation of returning status information 705, the public server 613 performs an operation of returning the status information 706, and the screen projection device 612 performs an operation of returning the status information 707.
If the device is a lan device, the screen-projecting device 612 performs an operation of sending the screen-projecting request 708, the device to be projected 614 performs an operation of projecting the data 709, the device to be projected 614 performs an operation of returning the status information 710, and the screen-projecting device 612 performs an operation of returning the status information 711.
Fig. 8 is a schematic diagram of an embodiment of ending the screen-projection stage 618 in an overall embodiment of the invention. The intelligent terminal 611 performs an operation of transmitting the end screen-projection request 801.
If the device is a public network device, the screen projecting device 612 executes an operation of sending a screen projecting ending request 802, the public server 613 executes an operation of sending a screen projecting ending request 803, the screen to be projected device 614 executes an operation of ending the screen projecting 804, the screen to be projected device 614 executes an operation of returning status information 805, the public server 613 executes an operation of returning status information 806, and the screen projecting device 612 executes an operation of returning status information 807.
If the device is a lan device, the screen-projecting device 612 performs an operation of sending a screen-projecting end request 808, the screen-to-be-projected device 614 performs an operation of ending screen projection 809, the screen-to-be-projected device 614 performs an operation of returning status information 810, and the screen-projecting device 612 performs an operation of returning status information 811.
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 (10)
1. A screen projection method based on two-dimensional codes is characterized by comprising the following steps:
acquiring a two-dimensional code verification request of a device to be projected;
analyzing the two-dimension code verification request, and establishing a network topology with the to-be-projected-screen equipment;
receiving a screen projection request of target data, and displaying the target data in the to-be-projected screen equipment according to the network topology.
2. The screen projection method based on the two-dimension code as claimed in claim 1, wherein the analyzing the two-dimension code verification request and establishing a network topology with the device to be screen projected comprises:
analyzing the two-dimension code verification request to obtain network information corresponding to the screen to be projected equipment;
judging whether the device to be projected is in a public network environment or not according to the network information;
if the equipment to be screen-projected is in a public network environment, establishing communication connection with a preset public server, and generating a network topology for connecting the public server to the equipment to be screen-projected;
if the device to be screen-projected is not in the public network environment, establishing communication connection with the device to be screen-projected, and generating a network topology to the device to be screen-projected.
3. The two-dimensional code-based screen projection method according to claim 2, wherein when the device to be projected is in a public network environment, the displaying the target data in the device to be projected according to the network topology comprises:
generating a pushing request based on the screen projection request;
sending the push request to the public server so as to enable the target data to be displayed in the device to be projected based on the topological connection between the public server and the device to be projected;
and receiving screen projection success information fed back by the public server, and outputting the screen projection success information to a preset display screen.
4. The two-dimensional code-based screen projection method according to claim 3, wherein after the sending the push request to the public server, before the receiving screen projection success information fed back by the public server, further comprising:
judging whether screen projection success information fed back by the equipment to be screen projected is received or not after a preset feedback time threshold value;
and if the screen projection success information is not received, the pushing request is sent to the public server again.
5. The two-dimensional code-based screen projection method according to claim 3, wherein when the device to be projected is in a public network environment, after the receiving a screen projection request of the target data and displaying the target data in the device to be projected according to the network topology, the method further comprises:
receiving a screen projection ending request, and generating an ending push instruction;
sending the push ending instruction to the public server;
and receiving screen projection end information fed back by the public server, and outputting the screen projection end information to the display screen.
6. The two-dimensional code-based screen projection method according to claim 2, wherein when the device to be projected is not in a public network environment, the displaying the target data in the device to be projected according to the network topology comprises:
generating a pushing request based on the screen projection request;
sending a screen projection pushing request to the to-be-projected screen equipment, so that the target data is displayed in the to-be-projected screen equipment;
and receiving screen projection success information fed back by the equipment to be screen projected, and outputting the screen projection success information to a preset display screen.
7. The two-dimensional code-based screen projection method according to claim 6, wherein when the device to be projected is not in a public network environment, when the device to be projected is in a public network environment, after the receiving a screen projection request of the target data and displaying the target data in the device to be projected according to the network topology, further comprising:
receiving a screen projection ending request, and generating an ending push instruction;
sending the push ending instruction to the public server;
and receiving screen projection end information fed back by the public server, and outputting the screen projection end information to the display screen.
8. The utility model provides a throw screen device based on two-dimensional code which characterized in that, throw screen device based on two-dimensional code includes:
the acquisition module is used for acquiring a two-dimensional code verification request of the device to be projected;
the analysis module is used for analyzing the two-dimension code verification request and establishing a network topology with the equipment to be projected;
and the display module is used for receiving a screen projection request of target data and displaying the target data in the equipment to be screen projected according to the network topology.
9. The utility model provides a throw screen equipment based on two-dimensional code which characterized in that, throw screen equipment based on two-dimensional code includes: 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 two-dimensional code based screen projection device to perform the two-dimensional code based screen projection method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the two-dimensional code-based screen projection method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010968351.7A CN111831247A (en) | 2020-09-15 | 2020-09-15 | Screen projection method, device and equipment based on two-dimensional code and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010968351.7A CN111831247A (en) | 2020-09-15 | 2020-09-15 | Screen projection method, device and equipment based on two-dimensional code and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111831247A true CN111831247A (en) | 2020-10-27 |
Family
ID=72919047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010968351.7A Pending CN111831247A (en) | 2020-09-15 | 2020-09-15 | Screen projection method, device and equipment based on two-dimensional code and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111831247A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112637671A (en) * | 2020-12-11 | 2021-04-09 | 深圳乐播科技有限公司 | Screen sharing method and system |
CN113163251A (en) * | 2021-03-31 | 2021-07-23 | 深圳乐播科技有限公司 | Screen projection-based KTV interaction method, device, equipment and storage medium |
CN113542706A (en) * | 2021-06-25 | 2021-10-22 | 深圳乐播科技有限公司 | Screen projection method, device and equipment of treadmill and storage medium |
CN113792229A (en) * | 2021-08-19 | 2021-12-14 | 江苏欧帝电子科技有限公司 | Intelligent blackboard sidebar file uploading method, device and system |
CN114040233A (en) * | 2021-11-04 | 2022-02-11 | 深圳小湃科技有限公司 | Screen projection service adjusting method, equipment and storage medium |
CN114126083A (en) * | 2021-11-25 | 2022-03-01 | 深圳Tcl数字技术有限公司 | Cross-network-segment wireless screen projection method and device, electronic equipment and storage medium |
CN114513544A (en) * | 2021-12-31 | 2022-05-17 | 深圳壹秘科技有限公司 | Local area network wireless screen projection method and device and computer readable storage medium |
CN115514396A (en) * | 2021-06-23 | 2022-12-23 | 广州视源电子科技股份有限公司 | Screen transmission equipment connection method and device based on NFC and computer equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371788A (en) * | 2016-09-22 | 2017-02-01 | 努比亚技术有限公司 | Screen projection connection device and method |
US20170374230A1 (en) * | 2016-06-22 | 2017-12-28 | S-Printing Solution Co., Ltd. | Content transmitting method and apparatus therefor |
CN109862113A (en) * | 2019-03-11 | 2019-06-07 | 安徽志辉教育科技有限公司 | The wireless throwing screen system and its method of wide area network-oriented |
CN110177399A (en) * | 2019-04-30 | 2019-08-27 | 深圳市鹰硕技术有限公司 | One kind is the same as screen method for connecting network, device, smart machine and storage medium |
CN110515573A (en) * | 2018-05-21 | 2019-11-29 | 腾讯科技(深圳)有限公司 | Throw screen method, apparatus, system and computer equipment |
CN111240620A (en) * | 2019-12-31 | 2020-06-05 | 创维集团有限公司 | Intelligent terminal screen projection processing method and device, computer equipment and medium |
-
2020
- 2020-09-15 CN CN202010968351.7A patent/CN111831247A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170374230A1 (en) * | 2016-06-22 | 2017-12-28 | S-Printing Solution Co., Ltd. | Content transmitting method and apparatus therefor |
CN106371788A (en) * | 2016-09-22 | 2017-02-01 | 努比亚技术有限公司 | Screen projection connection device and method |
CN110515573A (en) * | 2018-05-21 | 2019-11-29 | 腾讯科技(深圳)有限公司 | Throw screen method, apparatus, system and computer equipment |
CN109862113A (en) * | 2019-03-11 | 2019-06-07 | 安徽志辉教育科技有限公司 | The wireless throwing screen system and its method of wide area network-oriented |
CN110177399A (en) * | 2019-04-30 | 2019-08-27 | 深圳市鹰硕技术有限公司 | One kind is the same as screen method for connecting network, device, smart machine and storage medium |
CN111240620A (en) * | 2019-12-31 | 2020-06-05 | 创维集团有限公司 | Intelligent terminal screen projection processing method and device, computer equipment and medium |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112637671A (en) * | 2020-12-11 | 2021-04-09 | 深圳乐播科技有限公司 | Screen sharing method and system |
CN113163251A (en) * | 2021-03-31 | 2021-07-23 | 深圳乐播科技有限公司 | Screen projection-based KTV interaction method, device, equipment and storage medium |
CN115514396A (en) * | 2021-06-23 | 2022-12-23 | 广州视源电子科技股份有限公司 | Screen transmission equipment connection method and device based on NFC and computer equipment |
CN113542706A (en) * | 2021-06-25 | 2021-10-22 | 深圳乐播科技有限公司 | Screen projection method, device and equipment of treadmill and storage medium |
CN113792229A (en) * | 2021-08-19 | 2021-12-14 | 江苏欧帝电子科技有限公司 | Intelligent blackboard sidebar file uploading method, device and system |
CN114040233A (en) * | 2021-11-04 | 2022-02-11 | 深圳小湃科技有限公司 | Screen projection service adjusting method, equipment and storage medium |
CN114126083A (en) * | 2021-11-25 | 2022-03-01 | 深圳Tcl数字技术有限公司 | Cross-network-segment wireless screen projection method and device, electronic equipment and storage medium |
CN114513544A (en) * | 2021-12-31 | 2022-05-17 | 深圳壹秘科技有限公司 | Local area network wireless screen projection method and device and computer readable storage medium |
CN114513544B (en) * | 2021-12-31 | 2023-06-13 | 深圳壹秘科技有限公司 | Local area network wireless screen-throwing method, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111831247A (en) | Screen projection method, device and equipment based on two-dimensional code and storage medium | |
CN112135185B (en) | Screen projection method, device, equipment and storage medium based on NFC technology | |
CN112019900A (en) | DLNA (digital Living network alliance) -based screen projection method, system, equipment and storage medium | |
KR20070000467A (en) | Remote management and access of databases, services and devices associated with a mobile terminal | |
KR20060136437A (en) | Remote management and access of databases, services and devices associated with a mobile terminal | |
US20150289301A1 (en) | Terminal matching method, terminal and system | |
CN103873692A (en) | Method, device and system for resource sharing | |
CN108229159B (en) | Malicious code detection method and system | |
CN109729061B (en) | Message processing method, device, equipment and readable storage medium | |
CN103944961A (en) | Application sharing method, device and system | |
CN107846609B (en) | Real-time transmission method, device and system for control room data | |
CN112162718B (en) | Reverse interaction method, device, equipment and storage medium | |
CN112328356B (en) | Intercommunication method and device for Android and Windows, storage medium and computer equipment | |
CN111930329A (en) | Screen projection method, device and equipment based on PIN code and storage medium | |
CN108924773B (en) | Message processing method and device | |
CN113973111B (en) | Data forwarding method, device, gateway equipment and computer readable storage medium | |
CN111767271B (en) | Data processing method and device | |
CN104468645A (en) | Control method, electronic equipment, and information transmission method and device | |
CN113065049B (en) | Data grabbing method and device, storage medium and electronic equipment | |
CN110943895A (en) | Network shutdown and Linux system-based network data processing method and device | |
JP2005092265A (en) | Data distribution system, server system, receiving terminal, data distribution method used for same and its program | |
CN105263134A (en) | Image transmission method and mobile equipment | |
CN107329713B (en) | Cross-network-segment printing method and system | |
Khudair et al. | Iot based image processing filters | |
CN115996364B (en) | Method and device for real-time tracing and positioning of terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201027 |