Method, device and system for realizing screen projection
By generating and scanning the QR code to bind and connect to the screen projection device, the problem of cumbersome operation of existing screen projection technology is solved, and the fast one-click screen projection is achieved, which improves user experience and product competitiveness.
Patent Information
- Application Number
- CN202411307568.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-27
AI Technical Summary
The existing screen projection technology is complicated to operate, requiring mobile phones and TVs to scan and select devices together with the local area network, resulting in inconvenience in user operation.
Generate QR codes by obtaining the screen projection information of the screen projection receiving device, and displaying it on the receiving device. The sending device scans the QR code to analyze the information and binds it, automatically connects to the network, and realizes quick screen projection; automatically generates it during subsequent screen projection. The screen projection button is clicked by the user to project the screen.
It reduces user operation steps, improves the convenience and user experience of screen projection, and enhances product competitiveness.
Smart Images

Figure CN119211619A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of screen projection technology, and specifically to a method, device and system for implementing screen projection. Background Art
[0002] Screen projection is a screen sharing technology, which usually refers to the phenomenon or behavior of two identical or different devices displaying the same picture. For example, the screen of a mobile phone is displayed on a TV, or the screen of a TV is displayed on a mobile phone, which can be understood as a screen projection phenomenon. The working principle of screen projection is based on screen sharing technology. When we use a mobile phone or TV to operate, we will see some pictures on the device. These pictures are actually formed by decoding digital signals. When a user uses a screen projection device or software to perform a screen projection operation, it is actually equivalent to copying the digital signal that forms the image, and then transmitting it to the software or decoding tool on another device. When the digital signal is continuously transmitted to another device, it will display the picture synchronously with the original device. This is the so-called screen projection.
[0003] Screen projection is used in many scenarios, especially from mobile phones to TVs. Mobile phones are portable, while TVs have larger screens and better viewing experience, and screen projection is a common way of interaction between the two. Currently, the mainstream mobile screen projection technology solutions include DLNA, Miracast, Airplay, etc. However, most of these mainstream screen projection solutions require the mobile phone and TV to be connected to the same local area network first, and then the mobile phone system menu is called up. After scanning and selecting devices, the screen projection can be started, which is inconvenient to operate. Summary of the invention
[0004] The present application aims to solve the problem of inconvenient operation in existing screen projection methods and proposes a method, device and system for implementing screen projection.
[0005] The technical solution adopted by this application to solve the above technical problems is:
[0006] In a first aspect, the present application provides a method for implementing screen projection, the method comprising:
[0007] Obtaining projection information of a projection receiving device, generating a QR code according to the projection information, and displaying the QR code on the projection receiving device, wherein the projection information includes identity information and network information of the projection receiving device;
[0008] When the screen projection sending device needs to project the screen, if the screen projection sending device is not bound to the screen projection receiving device, the screen projection sending device scans the QR code displayed by the screen projection receiving device, parses and obtains the screen projection information of the screen projection receiving device and saves it;
[0009] Binding the screen projection sending device to the screen projection receiving device according to the identity information in the screen projection information, and automatically connecting the screen projection sending device to the network corresponding to the network information in the screen projection information;
[0010] Pull up the screen projection according to the screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
[0011] Furthermore, the method further comprises:
[0012] When the screen projection sending device needs to project the screen, if the screen projection sending device has been bound to the screen projection receiving device, the screen projection information saved by the screen projection sending device is obtained, and according to the saved screen projection information, it is determined whether the screen projection sending device and its bound screen projection receiving device are in the same network. If so, the saved screen projection information is displayed on the screen projection sending device, and a one-click screen projection button is generated;
[0013] When the one-touch screen projection button is pressed, the screen projection is started according to the saved screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
[0014] Furthermore, judging whether the screen projection sending device and its bound screen projection receiving device are in the same network according to the saved screen projection information includes:
[0015] Compare the network information in the saved screen projection information with the network information to which the screen projection sending device is currently connected, and determine whether the screen projection sending device and its bound screen projection receiving device are in the same network based on the comparison results.
[0016] In a second aspect, the present application provides a device for implementing screen projection, the device comprising:
[0017] An encoding module, used to obtain the projection information of the projection receiving device, generate a QR code according to the projection information, and display the QR code on the projection receiving device, wherein the projection information includes the identity information and network information of the projection receiving device;
[0018] The code scanning module is used to scan the QR code displayed by the screen projection receiving device through the screen projection sending device when the screen projection sending device needs to project the screen, if the screen projection sending device is not bound to the screen projection receiving device, parse and obtain the screen projection information of the screen projection receiving device and save it;
[0019] A binding module, used to bind the screen projection sending device and the screen projection receiving device according to the identity information in the screen projection information, and automatically connect the screen projection sending device to the network corresponding to the network information in the screen projection information;
[0020] The screen projection module is used to start the screen projection according to the screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
[0021] Furthermore, the screen projection module is also used for:
[0022] When the screen projection sending device needs to project the screen, if the screen projection sending device has been bound to the screen projection receiving device, the screen projection information saved by the screen projection sending device is obtained, and based on the saved screen projection information, it is determined whether the screen projection sending device and its bound screen projection receiving device are in the same network. If so, the saved screen projection information is displayed on the screen projection sending device, and a one-key screen projection button is generated; when the one-key screen projection button is pressed, the screen projection is pulled up according to the saved screen projection information, so that the screen projection sending device and the screen projection receiving device respectively enter the screen projection state.
[0023] Furthermore, the screen projection module is specifically used for:
[0024] Compare the network information in the saved screen projection information with the network information to which the screen projection sending device is currently connected, and determine whether the screen projection sending device and its bound screen projection receiving device are in the same network based on the comparison results.
[0025] In a third aspect, the present application provides a system for implementing screen projection, the system comprising a screen projection sending device, a screen projection receiving device and a screen projection controller, the screen projection controller being used to implement screen projection between the screen projection sending device and the screen projection receiving device according to the method for implementing screen projection as described in the first aspect.
[0026] The beneficial effects of the present application are as follows: the method, device and system for implementing screen projection provided by the present application transmit the projection information of the projection receiving device through a QR code during the first projection. The user only needs to scan the QR code through the projection sending device to realize quick screen projection, that is, one-step screen projection is realized by scanning the QR code. During subsequent screen projections, a one-click screen projection button bound to the projection receiving device is automatically generated, and the user can realize screen projection by clicking the one-click screen projection button, that is, one-click screen projection. This reduces user operations during screen projection, improves the convenience of screen projection, and also increases the user's willingness to use the screen projection function, thereby improving product competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flowchart of a method for implementing screen projection provided in an embodiment of the present application;
[0028] Figure 2 A flowchart of another method for implementing screen projection provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of the structure of a device for implementing screen projection provided in an embodiment of the present application;
[0030] Figure 4 A schematic diagram of the structure of a system for implementing screen projection provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0032] The technical solution of the embodiment of the present application is applicable to application scenarios where the display screen of the screen projection sending device needs to be projected to the screen projection receiving device, such as projecting the display screen of a mobile phone to a TV. Since the current screen projection method requires the screen projection sending device and the screen projection receiving device to be connected to the same local area network, and then the screen projection can be started after scanning, selecting devices, etc., the operation is relatively inconvenient.
[0033] Based on this, the technical solution of the present application is proposed. In an embodiment of the present application, by acquiring the projection information of the screen projection receiving device, a QR code is generated according to the projection information, and the QR code is displayed on the screen projection receiving device, and the projection information includes the identity information and network information of the screen projection receiving device; when the screen projection sending device needs to project the screen, if the screen projection sending device is not bound to the screen projection receiving device, the screen projection sending device scans the QR code displayed by the screen projection receiving device, parses and obtains the screen projection information of the screen projection receiving device and saves it; the screen projection sending device is bound to the screen projection receiving device according to the identity information in the screen projection information, and the screen projection sending device is automatically connected to the network corresponding to the network information in the screen projection information; the screen projection is pulled up according to the screen projection information, so that the screen projection sending device and the screen projection receiving device enter the projection state respectively.
[0034] Specifically, the embodiment of the present application generates a corresponding QR code in advance according to the projection information encoding of the projection receiving device, and displays the QR code on the projection receiving device. The projection information includes the identity information and network information of the projection receiving device. In the case that the projection sending device and the projection receiving device are not connected to the same local area network, the projection can be realized in one step by scanning the QR code displayed by the projection receiving device using the projection sending device. Specifically, after the projection sending device scans the QR code, it parses and obtains the projection information, and then automatically binds with the corresponding projection receiving device according to the identity information in the projection information, and automatically connects to the network corresponding to the network information in the projection information, so that the projection sending device and the projection receiving device are connected to the same network, and then the projection can be pulled up according to the projection information. The above process only requires the user to scan the QR code through the projection sending device to realize the projection between the projection sending device and the projection receiving device, thereby reducing user operations.
[0035] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0036] See also Figure 1 The method for implementing screen projection provided in the embodiment of the present application includes the following steps:
[0037] S1. Obtain the projection information of the projection receiving device, generate a QR code according to the projection information, and display the QR code on the projection receiving device. The projection information includes the identity information and network information of the projection receiving device.
[0038] Specifically, in order to realize the quick screen projection function, the corresponding screen projection applications can be installed in the screen projection receiving device and the screen projection sending device respectively. Among them, the screen projection receiving device is mainly responsible for generating and displaying the QR code and displaying the projection screen, and the screen projection sending device is mainly responsible for scanning and parsing the QR code and pulling up the projection.
[0039] See also Figure 2 In actual applications, it is necessary to collect the projection information of the projection receiving device in advance. The projection information includes the identity information and network information of the projection receiving device. For example, the identity information can be the SN number, IMEI number, IP address, MAC address, etc. of the projection receiving device, and the network information includes the SSID and password of the network. Then, the corresponding QR code is generated according to the projection information code, and the QR code is displayed in the projection application.
[0040] S2. When the screen projection sending device needs to project the screen, if the screen projection sending device is not bound to the screen projection receiving device, the screen projection sending device scans the QR code displayed by the screen projection receiving device, parses and obtains the screen projection information of the screen projection receiving device and saves it.
[0041] Specifically, when the screen projection sending device and the screen projection receiving device are not connected to the same local area network, the screen projection information of the corresponding screen projection receiving device can be obtained by scanning the QR code displayed by the screen projection receiving device using the screen projection sending device.
[0042] In an embodiment of the present application, the screen projection receiving device and the screen projection sending device can be a mobile phone, television, watch, tablet, car display, computer and other devices with screen display function.
[0043] S3. Bind the screen projection sending device and the screen projection receiving device according to the identity information in the screen projection information, and automatically connect the screen projection sending device to the network corresponding to the network information in the screen projection information.
[0044] Specifically, after the screen projection sending device obtains the screen projection information of the corresponding screen projection receiving device, it automatically binds with the corresponding screen projection receiving device according to the identity information in the screen projection information, and automatically connects to the network corresponding to the network information in the screen projection information, so that the screen projection sending device and the screen projection receiving device are connected to the same network.
[0045] S4. Start screen projection according to the screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
[0046] Specifically, after completing the above steps, the screen projection sending device can start the screen projection according to the screen projection information, the screen projection sending device and the screen projection receiving device enter the screen projection state respectively, and the screen projection receiving device displays the screen projection screen initiated by the screen projection sending device to achieve quick screen projection.
[0047] In the above process, users only need to scan the QR code through the screen projection sending device to achieve quick screen projection, that is, to achieve one-step screen projection by scanning the QR code.
[0048] See also Figure 2 In an embodiment of the present application, the method further includes:
[0049] When the screen projection sending device needs to project the screen, if the screen projection sending device has been bound to the screen projection receiving device, the screen projection information saved by the screen projection sending device is obtained, and based on the saved screen projection information, it is determined whether the screen projection sending device and its bound screen projection receiving device are in the same network. If so, the saved screen projection information is displayed on the screen projection sending device, and a one-key screen projection button is generated; when the one-key screen projection button is pressed, the screen projection is pulled up according to the saved screen projection information, so that the screen projection sending device and the screen projection receiving device respectively enter the screen projection state.
[0050] Specifically, when the screen projection sending device has been bound to the screen projection receiving device by scanning the code, the screen projection can be started through the one-click screen projection function. The workflow is as follows:
[0051] When the screen projection sending device needs to project the screen, it first checks whether the screen projection information is saved. If so, it determines that the screen projection sending device has been bound to the screen projection receiving device and reads the saved screen projection information. Then, based on the read screen projection information, it determines whether the corresponding screen projection receiving device and the screen projection sending device are in the same network. If so, the saved screen projection information is displayed on the screen projection software of the screen projection sending device, and a one-click screen projection button is generated. The user clicks the one-click screen projection button to start the screen projection according to the saved screen projection information. If not, the screen projection sending device needs to scan the QR code for screen projection.
[0052] In actual applications, the method for determining whether the corresponding screen projection receiving device and its bound screen projection sending device are in the same network can be by comparing the network information in the read screen projection information with the network information to which the screen projection sending device is currently connected. If the SSIDs of the two are the same, it is determined that the screen projection receiving device and the screen projection sending device are in the same network; otherwise, it is determined that the screen projection receiving device and the screen projection sending device are not in the same network.
[0053] The following takes the example of projecting the screen from a mobile phone to a TV to explain in detail the specific implementation methods of the present application.
[0054] In order to realize the quick screen projection function of the QR code, the application needs to be deployed on the TV and mobile phone respectively.
[0055] Taking the quick screen casting in the unbound state as an example, its workflow is as follows:
[0056] A11. The TV application launches the local screen projection server.
[0057] A12. The TV application collects the local screen projection information, such as device name and network information;
[0058] A13. The TV end applies the encoded projection information to generate a QR code;
[0059] A14. The TV application displays a QR code on the screen;
[0060] B11. Open the camera on your mobile phone and scan the QR code.
[0061] B12. The mobile application parses the QR code and obtains the projection information;
[0062] B13. The mobile application saves the projection information and binds the device;
[0063] B14. The mobile application uses the screen projection information to automatically connect to the TV network;
[0064] B15. The mobile application uses the screen projection information to start the screen projection, and the mobile phone and TV enter the screen projection state respectively.
[0065] In subsequent screen casting, if the mobile phone has been bound to the TV by scanning the code, the one-click screen casting function can be used to start the screen casting. The working process is as follows:
[0066] B21. Open the mobile app;
[0067] B22. The mobile app reads the saved projection information and scans whether there is a bound device nearby;
[0068] B23. After the mobile application scans the bound device, the screen projection information of the bound device is displayed on the interface, and a one-click screen projection button is provided;
[0069] B24. Press the one-touch screen casting button in the mobile app;
[0070] B25. The mobile application starts the screen projection based on the saved projection information of the bound device, and the mobile phone and TV enter the screen projection state respectively.
[0071] In summary, the method for implementing screen projection provided by the embodiment of the present application transmits the projection information of the screen projection receiving device through a QR code during the first screen projection. The user only needs to scan the QR code through the screen projection sending device to realize quick screen projection, that is, one-step screen projection is realized by scanning the QR code. During subsequent screen projections, a one-key screen projection button bound to the screen projection receiving device is automatically generated, and the user can realize screen projection by clicking the one-key screen projection button, that is, one-key screen projection. This reduces user operations during screen projection, improves the convenience of screen projection, and also increases the user's willingness to use the screen projection function, thereby improving product competitiveness.
[0072] Based on the above technical solution, this embodiment also proposes a device for implementing screen projection, please refer to Figure 3 , the device comprises:
[0073] An encoding module, used to obtain the projection information of the projection receiving device, generate a QR code according to the projection information, and display the QR code on the projection receiving device, wherein the projection information includes the identity information and network information of the projection receiving device;
[0074] The code scanning module is used to scan the QR code displayed by the screen projection receiving device through the screen projection sending device when the screen projection sending device needs to project the screen, if the screen projection sending device is not bound to the screen projection receiving device, parse and obtain the screen projection information of the screen projection receiving device and save it;
[0075] A binding module, used to bind the screen projection sending device and the screen projection receiving device according to the identity information in the screen projection information, and automatically connect the screen projection sending device to the network corresponding to the network information in the screen projection information;
[0076] The screen projection module is used to start the screen projection according to the screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
[0077] Based on the above technical solution, this embodiment also proposes a system for implementing screen projection. Figure 4 The system includes a screen projection sending device, a screen projection receiving device and a screen projection controller, and the screen projection controller is used to realize screen projection between the screen projection sending device and the screen projection receiving device according to the method for realizing screen projection as described in the embodiment of the present application.
[0078] It can be understood that since the method described in the embodiments of the present application is a method implemented based on the device described in the embodiments, for the method disclosed in the embodiments, since it corresponds to the device disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the device.
[0079] It can be understood that since the device and system for implementing screen projection described in the embodiments of the present application are devices and systems for implementing the method for implementing screen projection described in the embodiments, for the device and system disclosed in the embodiments, since they correspond to the method disclosed in the embodiments, the description is relatively simple. For relevant matters, please refer to the partial description of the method, which will not be repeated here.
Claims
1. A method for implementing screen projection, characterized in that: The method comprises: Obtaining projection information of a projection receiving device, generating a QR code according to the projection information, and displaying the QR code on the projection receiving device, wherein the projection information includes identity information and network information of the projection receiving device; When the screen projection sending device needs to project the screen, if the screen projection sending device is not bound to the screen projection receiving device, the screen projection sending device scans the QR code displayed by the screen projection receiving device, parses and obtains the screen projection information of the screen projection receiving device and saves it; Binding the screen projection sending device to the screen projection receiving device according to the identity information in the screen projection information, and automatically connecting the screen projection sending device to the network corresponding to the network information in the screen projection information; Pull up the screen projection according to the screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
2. The method for implementing screen projection according to claim 1, characterized in that: The method further comprises: When the screen projection sending device needs to project the screen, if the screen projection sending device has been bound to the screen projection receiving device, the screen projection information saved by the screen projection sending device is obtained, and according to the saved screen projection information, it is determined whether the screen projection sending device and its bound screen projection receiving device are in the same network. If so, the saved screen projection information is displayed on the screen projection sending device, and a one-click screen projection button is generated; When the one-touch screen projection button is pressed, the screen projection is started according to the saved screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
3. The method for implementing screen projection according to claim 2, characterized in that: Determine whether the screen projection sending device and its bound screen projection receiving device are in the same network based on the saved screen projection information, including: Compare the network information in the saved screen projection information with the network information to which the screen projection sending device is currently connected, and determine whether the screen projection sending device and its bound screen projection receiving device are in the same network based on the comparison results.
4. A device for implementing screen projection, characterized in that: The device comprises: An encoding module, used to obtain the projection information of the projection receiving device, generate a QR code according to the projection information, and display the QR code on the projection receiving device, wherein the projection information includes the identity information and network information of the projection receiving device; The code scanning module is used to scan the QR code displayed by the screen projection receiving device through the screen projection sending device when the screen projection sending device needs to project the screen, if the screen projection sending device is not bound to the screen projection receiving device, parse and obtain the screen projection information of the screen projection receiving device and save it; A binding module, used to bind the screen projection sending device and the screen projection receiving device according to the identity information in the screen projection information, and automatically connect the screen projection sending device to the network corresponding to the network information in the screen projection information; The screen projection module is used to start the screen projection according to the screen projection information, so that the screen projection sending device and the screen projection receiving device enter the screen projection state respectively.
5. The device for implementing screen projection according to claim 4, characterized in that: The screen projection module is also used for: When the screen projection sending device needs to project the screen, if the screen projection sending device has been bound to the screen projection receiving device, the screen projection information saved by the screen projection sending device is obtained, and based on the saved screen projection information, it is determined whether the screen projection sending device and its bound screen projection receiving device are in the same network. If so, the saved screen projection information is displayed on the screen projection sending device, and a one-key screen projection button is generated; when the one-key screen projection button is pressed, the screen projection is pulled up according to the saved screen projection information, so that the screen projection sending device and the screen projection receiving device respectively enter the screen projection state.
6. The device for implementing screen projection according to claim 5, characterized in that: The screen projection module is specifically used for: Compare the network information in the saved screen projection information with the network information to which the screen projection sending device is currently connected, and determine whether the screen projection sending device and its bound screen projection receiving device are in the same network based on the comparison results.
7. A system for implementing screen projection, characterized in that: The system includes a screen projection sending device, a screen projection receiving device and a screen projection controller, and the screen projection controller is used to realize screen projection between the screen projection sending device and the screen projection receiving device according to the method for realizing screen projection as described in any one of claims 1 to 3.
