A method and system for realizing screen projection across local area networks based on wireless screen projection
By implementing dual network modules and physical marking processing on the screen projection device, the problem of cross-local area network projection in the prior art is solved, and the cross-local area network connection between the device terminal and the second screen projection device is realized, improving the user experience.
Patent Information
- Application Number
- CN202210506352.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-10
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2042-05-10
AI Technical Summary
The existing wireless screen projection technology cannot realize the cross-local area network screen projection function, resulting in users needing to frequently change the LAN when switching screen projection devices, which makes the user experience inconvenient.
By implementing a dual network module on the screen projection device, after the device terminal establishes a connection with the first screen projection device, the first screen projection device detects and organizes the screen projection device within the LAN, generates a device list of different LANs, and realizes the cross-LAN connection between the device terminal and the second screen projection device through physical marking processing.
The cross-LAN connection of wireless screen projection devices is realized, avoiding the trouble of users having to switch LANs frequently, and improving the user experience and flexibility of screen projection.
Smart Images

Figure CN114916094B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless screen projection technology, and in particular to a method and system for implementing screen projection across local area networks based on wireless screen projection. Background Art
[0002] Real-time screen projection function strategy across LANs in the field of wireless screen projection: This strategy is to realize the connection between electronic devices (mobile phones, computers, tablets, etc. that can perform screen projection operations) and screen projection devices through indirect screen projection functions (screen projection functions include: real-time sharing of screens, sending screen projection instructions, receiving feedback information from screen projection devices, receiving screens from screen projection devices, sound feedback information, and other basic screen projection functions). The premise for realizing this strategy is that the screen projection device to which the electronic device is connected must have dual network modules or above (dual network modules refer to a device that can be connected to two networks at the same time, such as being able to access two network cables at the same time, or one network cable and one wifi, or two wifis). At this time, the current screen projection device can be in two LANs, and screen projection device A and screen projection device B are in the same LAN, while the electronic device and screen projection device A are in the same LAN, but not in the same LAN as screen projection device B. Screen projection device A will retrieve all screen projection devices in all LANs where it is located. At this time, the implementation conditions of the present invention can be met, and the cross-LAN switching of the screen projection function of the electronic device can be realized.
[0003] In the current screen projection scheme, only electronic devices and screen projection devices are allowed to be in the same local area network, and even if the above-mentioned conditions are met, the screen projection function cannot be realized; another similar screen projection scheme is to project the screen across network segments, and the concept of cross-network segments refers to the same local area network, not different local area networks; the existing screen projection scheme cannot realize cross-local area network screen projection, which makes it inconvenient for users to use; fixed restrictions are imposed on the screen projection method. Cause: Taking the above-mentioned screen projection device A and screen projection device B as an example, after the electronic device performs the screen projection operation in screen projection device A, if the user wants to perform the screen projection operation in screen projection device B, the user needs to change the local area network once. If the user wants to perform the screen projection operation on voting device A at this time, the local area network needs to be changed again. For the user, this is obviously a cumbersome and repetitive operation, which brings inconvenience to the user. For the user, realizing the screen projection function should not consider too many other factors, because the user just wants to enjoy the screen projection service, and being troubled by local area network issues before performing the screen projection function is not a flexible way, so the current screen projection method is too fixed. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a method and system for realizing screen projection across local area networks based on wireless screen projection, which realizes the connection of screen projection devices across local area networks without the need for users to switch local area networks, thereby improving user experience.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for implementing screen projection across local area networks based on wireless screen projection, the method comprising:
[0006] When the device terminal is connected to the first screen projection device for wireless screen projection, the first screen projection device detects the screen projection device on the connected local area network to obtain the screen projection device in the local area network;
[0007] The first screen projection device organizes the screen projection devices in the local area network in the form of different local area networks and stores them in the corresponding storage area;
[0008] The device terminal obtains list information of other screen projection devices in different local area networks in the first screen projection device;
[0009] When the device terminal performs a screen projection operation process to the second screen projection device across the local area network based on the list information, the first screen projection device performs a physical marking process on the device terminal;
[0010] The device terminal establishes a screen projection connection with the second screen projection device through the physical marking result of the first screen projection device.
[0011] Optionally, the first screen projection device has at least a dual network module; wherein the device terminal and the first screen projection device are in the same local area network; the first screen projection device and the second screen projection device are in the same local area network, and the device terminal and the second screen projection device are not in the same local area network.
[0012] Optionally, the first screen projection device performs screen projection device detection on the connected local area network to obtain the screen projection device in the local area network, including:
[0013] After accessing another local area network, the first screen projection device starts the search function to detect whether there is a corresponding screen projection device in the other local area network. The first screen projection device also detects whether there is a newly connected screen projection device in the connected local area network to obtain the screen projection device in the local area network.
[0014] Optionally, the first screen projection device organizes the screen projection devices in the local area network in the form of different local area networks and stores them in corresponding storage areas, including:
[0015] The first screen projection device organizes the screen projection devices in the local area network according to the screen projection devices existing in different local area networks, and stores the organization results in corresponding storage areas according to different local area networks.
[0016] Optionally, the device terminal obtains list information of other screen projection devices in different local area networks in the first screen projection device, including:
[0017] The first screen projection device determines whether it is connected to another local area network different from the device terminal;
[0018] When other local area networks different from the device terminal are connected, list information of other screen projection devices in local area networks other than the same local area network as the device terminal is sent to the device terminal, and the device terminal obtains list information of other screen projection devices in different local area networks in the first screen projection device;
[0019] When no other local area network different from the device terminal is connected, brief information of the first screen projection device is sent to the device terminal.
[0020] Optionally, the device terminal performs screen projection operation processing on a second screen projection device across a local area network based on the list information, including:
[0021] The device terminal selects a screen projection device across the local area network based on the list information, obtains a second screen projection device, and performs screen projection operation processing based on the selected second screen projection device.
[0022] Optionally, the first screen projection device performs physical marking processing on the device terminal, including:
[0023] The first screen projection device performs physical marking processing on the IP or MAC address of the device terminal.
[0024] Optionally, the device terminal performs screen projection connection with the second screen projection device through the physical marking result of the first screen projection device, including:
[0025] When the device terminal performs a connection operation with a second screen projection device, the first screen projection device determines whether the second screen projection device is stored in a corresponding storage area;
[0026] If it is stored in the corresponding area, the first screen projection device performs a screen projection connection to the second screen projection device based on the physical marking result of the device terminal.
[0027] Optionally, after the device terminal establishes a screen projection connection with the second screen projection device through the physical marking result of the first screen projection device, the method further includes:
[0028] When the device terminal sends screen projection data, determining whether the first screen projection device is connected to a second screen projection device for screen projection;
[0029] If not, directly send the screen projection data to the first screen projection device;
[0030] If yes, determining whether the screen projection data is data to be sent to the first screen projection device or the second screen projection device;
[0031] If the data is sent to the first screen projection device, the device terminal performs a marking process on the screen projection data before sending the screen projection data to the first screen projection device;
[0032] If the data is sent to the second screen projection device, the device terminal will mark the screen projection data before sending it to the second screen projection device.
[0033] In addition, an embodiment of the present invention also provides a screen projection system based on wireless screen projection across local area networks, the system comprising a device terminal, a first screen projection device and a second screen projection device; the first screen projection device has at least a dual network module; wherein the device terminal and the first screen projection device are in the same local area network; the first screen projection device and the second screen projection device are in the same local area network, and the device terminal and the second screen projection device are not in the same local area network; wherein the system is configured to execute the screen projection method across local area networks described in any one of the above items.
[0034] In the embodiments of the present invention, the main purpose is to allow users to feel convenient when using the screen projection function; a screen projection solution that is different from the previous screen projection method is proposed to avoid inherent screen projection restrictions, and the user operation is simplified from complex to simple, so that electronic devices can quickly project screens across local area networks; the screen projection device can be connected across local area networks without the user having to switch local area networks. At the same time, an implementation solution for screen projection operations on different local area networks is provided to the wireless screen projection industry, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 It is a flowchart of a method for implementing screen projection across local area networks based on wireless screen projection in an embodiment of the present invention;
[0037] Figure 2 It is a schematic diagram of the structural composition of a screen projection system based on wireless screen projection across local area networks in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] Embodiment 1
[0040] See also Figure 1 , Figure 1 It is a flow chart of a method for implementing screen projection across local area networks based on wireless screen projection in an embodiment of the present invention.
[0041] like Figure 1 As shown, a method for implementing screen projection across local area networks based on wireless screen projection includes:
[0042] S11: When the device terminal is connected to the first screen projection device through wireless screen projection, the first screen projection device detects the screen projection device on the connected local area network to obtain the screen projection device in the local area network;
[0043] In the specific implementation process of the present invention, the first screen projection device has at least a dual network module; wherein, the device terminal and the first screen projection device are in the same local area network; the first screen projection device and the second screen projection device are in the same local area network, and the device terminal and the second screen projection device are not in the same local area network.
[0044] Furthermore, the first screen projection device performs screen projection device detection on the connected local area network to obtain the screen projection device in the local area network, including:
[0045] After accessing another local area network, the first screen projection device starts the search function to detect whether there is a corresponding screen projection device in the other local area network. The first screen projection device also detects whether there is a newly connected screen projection device in the connected local area network to obtain the screen projection device in the local area network.
[0046] Specifically, it first includes a device terminal, a first screen projection device, a second screen projection device, etc. The first screen projection device has a built-in dual network module or more network modules, that is, the first screen projection device can connect to multiple networks at the same time, that is, it can be connected to two network cables at the same time, or one network cable and one wifi, or two wifis, etc., that is, the first screen projection device can be connected to multiple LANs at the same time; in this way, the first screen projection device and the second screen projection device are in the same LAN, and the device terminal and the second screen projection device are not in the same LAN; the device terminal and the first screen projection device are in the same LAN.
[0047] After the device terminal and the first projection device establish a projection connection, the first projection device will start the search function to search and detect the local area network to which it is connected (including the newly connected local area network and the original local area network). For the newly connected local area network, it is detected whether there is a corresponding projection device. For the original local area network, the newly connected projection device is detected to obtain the projection device in the local area network. In this way, the device terminal is connected to the different local area networks where the first projection device is located through the first projection device, and the devices that can be projected are stored in the local area networks.
[0048] S12: The first screen projection device organizes the screen projection devices in the local area network into different local area networks and stores them in corresponding storage areas;
[0049] In the specific implementation process of the present invention, the first screen projection device organizes the screen projection devices in the local area network in the form of different local area networks, and stores them in the corresponding storage area, including: the first screen projection device organizes the screen projection devices in the local area network according to the screen projection devices existing in different local area networks, and stores the organization results in the corresponding storage area according to different local area networks.
[0050] Specifically, after the first screen projection device obtains the screen projection devices in the local area network, the screen projection devices in the local area network are sorted according to the different local area networks in which they are located, and then the sorting results are stored in the corresponding storage areas according to the different local area networks. In this way, when the first screen projection device is connected to different local area networks, it can know in real time which local area network these devices belong to.
[0051] S13: The device terminal obtains list information of other screen projection devices in different local area networks in the first screen projection device;
[0052] During the specific implementation of the present invention, the device terminal obtains the list information of other screen projection devices in different local area networks in the first screen projection device, including: the first screen projection device determines whether it is connected to other local area networks different from the device terminal; when other local area networks different from the device terminal are connected, the list information of other screen projection devices in local area networks other than the same local area network as the device terminal is sent to the device terminal, and the device terminal obtains the list information of other screen projection devices in different local area networks in the first screen projection device; when other local area networks different from the device terminal are not connected, brief information of the first screen projection device is sent to the device terminal.
[0053] Specifically, after the first screen projection device detects devices connected in different local area networks, the most important thing is to display them to the device terminal, that is, the first screen projection device determines whether it is connected to other local area networks different from the device terminal; and when it is connected to other local area networks different from the device terminal, it sends to the device terminal the list information of other screen projection devices in local area networks other than the same local area network as the device terminal, and the device terminal can obtain the list information of other screen projection devices in different local area networks in the first screen projection device; when it is not connected to other local area networks different from the device terminal, brief information of the first screen projection device is sent to the device terminal.
[0054] Regarding the issue of new projection devices in different local area networks retrieved by the first projection device, the presentation form is based on the storage container of the first projection device, and the storage container will change in real time according to the number of devices in different local area networks, so as to achieve the purpose of real-time feedback of list information to the device terminal.
[0055] S14: When the device terminal performs a screen projection operation process to the second screen projection device across the local area network based on the list information, the first screen projection device performs a physical marking process on the device terminal;
[0056] During the specific implementation of the present invention, the device terminal performs screen projection operation processing to a second screen projection device across the local area network based on the list information, including: the device terminal selects a screen projection device across the local area network based on the list information, obtains the second screen projection device, and performs screen projection operation processing based on the selected second screen projection device.
[0057] Furthermore, the first screen projection device performs physical marking processing on the device terminal, including: the first screen projection device performs physical marking processing on the IP or MAC address of the device terminal.
[0058] Specifically, the device terminal selects a cross-local area screen projection device according to the list information. After selection, a second screen projection device can be obtained. The second screen projection device and the device terminal are in different local area networks, but the first screen projection device and the second screen projection device are in the same local area network; then the screen projection operation is performed according to the selected second screen projection device.
[0059] When performing the screen projection operation according to the selected second projection device, the first projection device will physically mark the IP address or MAC address of the device terminal; in this way, after the screen projection is successful, the first projection device can act as a transit device to forward data to the second projection device and transfer the projection data to the second projection device in real time.
[0060] S15: The device terminal establishes a screen projection connection with the second screen projection device through the physical marking result of the first screen projection device.
[0061] During the specific implementation of the present invention, the device terminal performs screen projection connection with the second screen projection device through the physical marking result of the first screen projection device, including: when the device terminal performs the second screen projection device connection operation, the first screen projection device determines whether the second screen projection device is stored in the corresponding storage area; if it is stored in the corresponding area, the first screen projection device performs screen projection connection to the second screen projection device based on the physical marking result of the device terminal.
[0062] Furthermore, after the device terminal establishes a screen projection connection with the second screen projection device through the physical marking result of the first screen projection device, it also includes: when the device terminal sends the projection data, determining whether the first screen projection device is connected to the second screen projection device; if not, directly sending the projection data to the first screen projection device; if so, determining whether the projection data is data sent to the first screen projection device or the second screen projection device; if it is data sent to the first screen projection device, the device terminal performs a marking process on the projection data before sending it; if it is data sent to the second screen projection device, the device terminal performs a marking process on the projection data before sending it.
[0063] Specifically, when the device terminal performs a connection operation with the second screen projection device, the first screen projection device determines whether the second screen projection device is stored in the corresponding storage area; if not, the screen projection connection is terminated; if it is stored in the corresponding area, the first screen projection device performs a screen projection connection with the second screen projection device according to the physical marking result of the device terminal.
[0064] When the device terminal sends screen projection data, it is first necessary to determine whether the first screen projection device is connected to the second screen projection device; if not, the screen projection data is sent directly to the first screen projection device; if so, it is determined whether the screen projection data is data sent to the first screen projection device or the second screen projection device; if it is data sent to the first screen projection device, the device terminal will mark the screen projection data as being sent to the first screen projection device before sending the screen projection data, such as adding a byte of "0" before the screen projection data; if it is data sent to the second screen projection device, the device terminal will mark the screen projection data as being sent to the second screen projection device before sending the screen projection data, such as adding a byte of "1" before the screen projection data.
[0065] In the embodiments of the present invention, the main purpose is to allow users to feel convenient when using the screen projection function; a screen projection solution that is different from the previous screen projection method is proposed to avoid inherent screen projection restrictions, and the user operation is simplified from complex to simple, so that electronic devices can quickly project screens across local area networks; the screen projection device can be connected across local area networks without the user having to switch local area networks. At the same time, an implementation solution for screen projection operations on different local area networks is provided to the wireless screen projection industry, thereby improving the user experience.
[0066] Embodiment 2
[0067] See also Figure 2 , Figure 2 It is a schematic diagram of the structural composition of a screen projection system based on wireless screen projection across local area networks in an embodiment of the present invention.
[0068] like Figure 2 As shown, a screen projection system based on wireless screen projection is implemented across local area networks, and the system includes a device terminal 21, a first screen projection device 22 and a second screen projection device 23; the first screen projection device 22 has at least a dual network module; wherein the device terminal 21 and the first screen projection device 22 are in the same local area network; the first screen projection device 22 and the second screen projection device 23 are in the same local area network, and the device terminal 21 and the second screen projection device 23 are not in the same local area network; wherein the system is configured to execute the screen projection method across local area networks according to any one of the above items.
[0069] The specific implementation of the system part can be found in the embodiments of the above method part, which will not be repeated here.
[0070] In the embodiments of the present invention, the main purpose is to allow users to feel convenient when using the screen projection function; a screen projection solution that is different from the previous screen projection method is proposed to avoid inherent screen projection restrictions, and the user operation is simplified from complex to simple, so that electronic devices can quickly project screens across local area networks; the screen projection device can be connected across local area networks without the user having to switch local area networks. At the same time, an implementation solution for screen projection operations on different local area networks is provided to the wireless screen projection industry, thereby improving the user experience.
[0071] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0072] In addition, the above is a detailed introduction to a method and system for realizing screen projection across local area networks based on wireless screen projection provided by an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for realizing screen projection across local area networks based on wireless screen projection, characterized in that: The method comprises: When the device terminal is connected to the first screen projection device through wireless screen projection, the first screen projection device detects the screen projection device of the connected local area network to obtain the screen projection device in the local area network; The first screen projection device organizes the screen projection devices in the local area network in the form of different local area networks and stores them in the corresponding storage area; The device terminal obtains list information of other screen projection devices in different local area networks in the first screen projection device; When the device terminal performs a screen projection operation process to the second screen projection device across the local area network based on the list information, the first screen projection device performs a physical marking process on the device terminal; The device terminal performs screen projection connection with the second screen projection device through the physical marking result of the first screen projection device; After the device terminal establishes a screen projection connection with the second screen projection device through the physical marking result of the first screen projection device, the method further includes: When the device terminal sends screen projection data, determining whether the first screen projection device is connected to a second screen projection device for screen projection; If not, directly send the screen projection data to the first screen projection device; If yes, determining whether the screen projection data is data to be sent to the first screen projection device or the second screen projection device; If the data is sent to the first screen projection device, the device terminal performs a marking process on the screen projection data before sending the screen projection data to the first screen projection device; If the data is sent to the second screen projection device, the device terminal will mark the screen projection data before sending it to the second screen projection device.
2. The method for implementing screen projection across local area networks according to claim 1, characterized in that: The first screen projection device has at least a dual network module; wherein the device terminal and the first screen projection device are in the same local area network; the first screen projection device and the second screen projection device are in the same local area network, and the device terminal and the second screen projection device are not in the same local area network.
3. The method for implementing screen projection across local area networks according to claim 1, characterized in that: The first screen projection device performs screen projection device detection on the connected local area network to obtain the screen projection device in the local area network, including: After accessing another local area network, the first screen projection device starts the search function to detect whether there is a corresponding screen projection device in the other local area network. The first screen projection device also detects whether there is a newly connected screen projection device in the connected local area network to obtain the screen projection device in the local area network.
4. The method for implementing screen projection across local area networks according to claim 1, characterized in that: The first screen projection device organizes the screen projection devices in the local area network in the form of different local area networks and stores them in corresponding storage areas, including: The first screen projection device organizes the screen projection devices in the local area network according to the screen projection devices existing in different local area networks, and stores the organization results in corresponding storage areas according to different local area networks.
5. The method for implementing screen projection across local area networks according to claim 1, characterized in that: The device terminal obtains list information of other screen projection devices in different local area networks in the first screen projection device, including: The first screen projection device determines whether it is connected to another local area network different from the device terminal; When other local area networks different from the device terminal are connected, list information of other screen projection devices in local area networks other than the same local area network as the device terminal is sent to the device terminal, and the device terminal obtains list information of other screen projection devices in different local area networks in the first screen projection device; When no other local area network different from the device terminal is connected, brief information of the first screen projection device is sent to the device terminal.
6. The method for implementing screen projection across local area networks according to claim 1, characterized in that: The device terminal performs screen projection operation processing on the second screen projection device across the local area network based on the list information, including: The device terminal selects a screen projection device across the local area network based on the list information, obtains a second screen projection device, and performs screen projection operation processing based on the selected second screen projection device.
7. The method for implementing screen projection across local area networks according to claim 1, characterized in that: The first screen projection device performs physical marking processing on the device terminal, including: The first screen projection device performs physical marking processing on the IP or MAC address of the device terminal.
8. The method for implementing screen projection across local area networks according to claim 1, characterized in that: The device terminal performs screen projection connection with the second screen projection device through the physical marking result of the first screen projection device, including: When the device terminal performs a connection operation with a second screen projection device, the first screen projection device determines whether the second screen projection device is stored in a corresponding storage area; If it is stored in the corresponding area, the first screen projection device performs a screen projection connection to the second screen projection device based on the physical marking result of the device terminal.
9. A screen projection system based on wireless screen projection across local area networks, characterized in that: The system includes a device terminal, a first screen projection device and a second screen projection device; the first screen projection device has at least a dual network module; wherein the device terminal and the first screen projection device are in the same local area network; the first screen projection device and the second screen projection device are in the same local area network, and the device terminal and the second screen projection device are not in the same local area network; wherein the system is configured to execute the cross-local area network screen projection method according to any one of claims 1-8.
Citation Information
Patent Citations
Intelligent screen projection method and device, intelligent terminal and server
CN110602087A