Wireless screen projection connection method and device, computer device and storage medium
By managing the screen sharing code and the IP address information of the display device through the server, the problem of misconnection of the sending end in a multi-display device environment is solved, realizing fast and accurate wireless screen sharing connection and improving user experience.
Patent Information
- Application Number
- CN202111322202.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-09
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2041-11-09
AI Technical Summary
In environments with multiple display devices, the sending end is prone to accidentally connecting to the wrong display end, resulting in low connection efficiency and a poor user experience.
The server stores the IP address and AP information of the display terminal and generates a screen sharing code. After the sending end enters the screen sharing code, it obtains the corresponding IP address and AP information from the server and establishes a wireless connection and screen sharing connection.
It enables fast and accurate connection between the sending end and the display end, reduces false connection cases, and improves connection efficiency and user experience.
Smart Images

Figure CN116113068B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of wireless screen transmission, and in particular to a wireless screen transmission connection method and device, computer equipment and a storage medium. BACKGROUND
[0002] During screen transmission between a sending terminal device such as a notebook computer and a display terminal device such as an interactive smart panel, the sending terminal and the display terminal are generally directly connected. That is, the sending terminal directly establishes a wireless connection with the display terminal using the AP (Wireless Access Point) of the display terminal.
[0003] When the sending terminal connects to the AP of the sending terminal, the SSID (Service Set Identifier) and password of the AP are automatically memorized. Since the SSID and password of the AP of the same display terminal are generally fixed, the sending terminal will automatically connect to the AP of the sending terminal when it enters the range of the AP next time, regardless of whether it needs to be connected.
[0004] In order to prevent the sending terminal from being connected by mistake, the password of the AP of the display terminal is updated and the like. However, the sending terminal needs to be paired again when it needs to be connected to the AP next time, which is troublesome. Therefore, in the prior art, the password of the AP is edited into the name of the AP in the form of a field, and the sending terminal parses the name of the AP to obtain the password of the AP, thereby solving the problem of pairing again.
[0005] However, the inventors have found that when there are multiple conference rooms and each conference room is provided with a display terminal, the sending terminal will search for multiple APs at the same time, and the operator of the sending terminal may select a wrong AP and connect to the display terminal in another conference room, which affects the connection efficiency and reduces the user experience. SUMMARY
[0006] The present application aims to provide a screen transmission connection method and device, computer equipment and a storage medium, which improve the connection efficiency between the sending terminal and the display terminal.
[0007] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:
[0008] The first aspect provides a wireless screen transmission connection method, comprising:
[0009] The sending terminal obtains a screen transmission code, which uniquely corresponds to a display terminal;
[0010] send the screen transmission code to a server to obtain an IP address corresponding to the screen transmission code and fed back by the server, the IP address being an IP address of the display terminal, and the server storing a mapping relationship between the screen transmission code and the IP address; and
[0011] obtain AP information of the display terminal according to the screen transmission code, the AP information including a SSID and a password of the display terminal;
[0012] establish a wireless connection with the display terminal according to the AP information;
[0013] establish a screen transmission connection with the display terminal according to the IP address.
[0014] A second aspect provides a connection method for wireless screen transmission, comprising:
[0015] a server receives a screen transmission code obtaining request from a display terminal, and the server stores an IP address and AP information of the display terminal;
[0016] the server generates the screen transmission code based on the screen transmission code obtaining request and sends the screen transmission code to the display terminal;
[0017] the server receives the screen transmission code uploaded by a sending terminal, and sends the IP address and the AP information of the display terminal to the sending terminal, so that the sending terminal establishes a wireless connection with the display terminal according to the AP information and establishes a screen transmission connection with the display terminal based on the IP address.
[0018] A third aspect provides a connection method for wireless screen transmission, comprising:
[0019] a display terminal triggers a screen transmission request;
[0020] the display terminal sends a screen transmission code obtaining request to a server according to the screen transmission request;
[0021] the display terminal receives the screen transmission code issued by the server and displays the screen transmission code on a screen, so that a sending terminal obtains the screen transmission code, and establishes a wireless connection with the display terminal and a screen transmission connection with the display terminal based on the IP address and the AP information of the display terminal obtained by the server.
[0022] A fourth aspect provides a connection device for wireless screen transmission, comprising:
[0023] a first obtaining unit configured to obtain a screen transmission code, the screen transmission code uniquely corresponding to one display terminal;
[0024] The sending obtaining unit is configured to send the screen transmission code to a server to obtain an IP address corresponding to the screen transmission code and fed back by the server, the IP address being an IP address of the display terminal, and the server storing a mapping relationship between the screen transmission code and the IP address; and
[0025] The second obtaining unit is configured to obtain AP information of the display terminal according to the screen transmission code, the AP information including a SSID and a password of the display terminal.
[0026] The first establishing unit is configured to establish a wireless connection with the display terminal according to the AP information.
[0027] The second establishing unit is configured to establish a screen transmission connection with the display terminal according to the IP address.
[0028] The fifth aspect provides a wireless screen transmission connection device, comprising:
[0029] The receiving request unit is configured to receive a screen transmission code obtaining request of a display terminal, and the connection device stores an IP address and AP information of the display terminal.
[0030] The generating and sending unit is configured to generate the screen transmission code according to the screen transmission code obtaining request and send the screen transmission code to the display terminal.
[0031] The receiving and sending unit is configured to receive the screen transmission code uploaded by a sending terminal, send the IP address and AP information of the display terminal to the sending terminal, so that the sending terminal establishes a wireless connection with the display terminal according to the AP information and establishes a screen transmission connection with the display terminal based on the IP address.
[0032] The sixth aspect provides a wireless screen transmission connection device, comprising:
[0033] The triggering unit is configured to trigger a screen transmission request.
[0034] The sending unit is configured to send a screen transmission code obtaining request to a server according to the screen transmission request.
[0035] The display unit is configured to receive the screen transmission code issued by the server and display on a screen, so that a sending terminal obtains the screen transmission code, and establishes a wireless connection with the display terminal and a screen transmission connection with the display terminal based on the IP address and AP information of the display terminal obtained by the server.
[0036] The seventh aspect provides a computer device, comprising: a processor; a memory;
[0037] The memory stores a computer program configured to be executed by the processor, and the processor implements the wireless screen mirroring connection method according to any one of the above embodiments when executing the computer program.
[0038] An eighth aspect provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the wireless screen mirroring connection method according to any one of the above embodiments.
[0039] The wireless screen mirroring connection method, device, computer device and storage medium of the present disclosure first store the IP address and AP information of the display end through the server, and distribute the screen mirroring code to the display end, and the display end displays the screen mirroring code; secondly, the sender inputs the screen mirroring code, and obtains the corresponding IP address and AP information from the server based on the screen mirroring code, so as to establish a wireless connection with the display end by using the AP information, and then establishes a screen mirroring connection with the display end based on the IP address. In the present disclosure, only the screen mirroring code provided by the display end needs to be input in the sender, and the sender and the display end can quickly and accurately form a wireless connection and complete a screen mirroring connection, which solves the problem of connection error caused by too many display ends from a technical level and improves the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0040] Figure 1 The flowchart of the wireless screen mirroring connection method of an embodiment of the present disclosure is shown in the figure;
[0041] Figure 2 The flowchart of the wireless screen mirroring connection method of another embodiment of the present disclosure is shown in the figure;
[0042] Figure 3 The flowchart of the wireless screen mirroring connection method of another embodiment of the present disclosure is shown in the figure;
[0043] Figure 4 The structure schematic block diagram of the wireless screen mirroring connection device of an embodiment of the present disclosure is shown in the figure;
[0044] Figure 5 The structure schematic block diagram of the wireless screen mirroring connection device of another embodiment of the present disclosure is shown in the figure;
[0045] Figure 6 The structure schematic block diagram of the wireless screen mirroring connection device of another embodiment of the present disclosure is shown in the figure;
[0046] Figure 7 The structure schematic block diagram of the computer device of an embodiment of the present disclosure is shown in the figure.
[0047] The implementation, functional features and advantages of the present disclosure will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
[0049] With reference to Figure 1 The application discloses a wireless screen transmission connection method, and an execution subject is a sending end.
[0050] S101, the sending end acquires a screen transmission code, the screen transmission code uniquely corresponds to a display end;
[0051] S102, the screen transmission code is sent to a server to acquire an IP address corresponding to the screen transmission code and fed back by the server, the IP address is an IP address of the display end, and a mapping relationship between the screen transmission code and the IP address is stored in the server; and
[0052] S103, AP information of the display end is acquired according to the screen transmission code, the AP information includes a service set identifier (SSID) and a password of the display end;
[0053] S104, a wireless connection with the display end is established according to the AP information;
[0054] S105, a screen transmission connection with the display end is established according to the IP address.
[0055] As described in the above step S101, the execution subject of the embodiment is the sending end, the sending end refers to a computer device with a screen and a wireless connection function, such as a computer, a notebook computer, a smart phone, a tablet computer and the like, and the computer device is installed with a screen transmission software. The display end refers to a smart whiteboard device such as an interactive all-in-one machine, and the smart whiteboard device takes a high-definition liquid crystal screen as a display and operation platform, and has functions of writing, annotation, drawing, synchronous interaction, multimedia entertainment, network conference integration and the like, and integrates technologies of high-definition display, human-computer interaction, multimedia information processing and network transmission. The screen transmission code is identification information, and has uniqueness, and in the disclosure, each screen transmission code uniquely corresponds to a display end. It should be noted that each screen transmission code uniquely corresponds to a display end refers to that in the same network environment, different display ends in the same network environment correspond to different screen transmission codes.
[0056] The screen transmission code acquisition mode of the sending end includes multiple modes, such as automatic acquisition or manual input and the like. The automatic acquisition mode is described in the subsequent related description, and is not described herein again. The manual input is that an operator of the sending end inputs a screen transmission code displayed on a screen of the display end into a screen transmission code input box provided by the sending end.
[0057] As described in the above step S102, the server is a server connected with the sending end and the display end through the network respectively, which can be a cloud server and the like, and pre-stores IP address and the like information of the sending end and a mapping relationship between the screen transmission code and the IP address. When the sending end sends the screen transmission code to the server, the server can quickly find the IP address corresponding to the screen transmission code based on the mapping relationship between the screen transmission code and the IP address.
[0058] As described in the above step S103, the sending end can also acquire the AP information of the display end based on the screen transmission code. Specifically, two implementation methods are included, as follows.
[0059] The first method is to send a broadcast request for acquiring the AP information of the display end according to the IP address, and receive the AP information fed back by the display end based on the broadcast request. In this method, the sending end sends a broadcast request, and then receives the AP information fed back by the display end. This method does not require the display end to upload the AP information to the server end, and the sharing of the AP information can be completed locally.
[0060] The second method is to receive the AP information fed back by the server based on the screen transmission code, and the server stores a mapping relationship between the screen transmission code and the AP information. In this method, the display end uploads its AP information to the server in advance for storage, and the storage is associated with the screen transmission code or the IP address. When the server receives the screen transmission code, the corresponding AP information can be found based on the screen transmission code, so that the AP information is directly fed back to the sending end, and the sending end can quickly acquire the AP information of the display end.
[0061] The above step S102 and step S103 can be executed sequentially or simultaneously.
[0062] As described in the above steps S104 and S105, the wireless connection with the display end is established through the AP information, and the screen transmission connection with the display end is implemented through the IP information and the built-in screen transmission software, which will not be described herein again.
[0063] In one embodiment, before the step S105 of establishing the screen transmission connection with the display end according to the IP address, the following steps are included.
[0064] S1051, acquiring a first signal strength of a signal received by a router and sent by the sending end, and a second signal strength of a signal received by the router and sent by the sending end; and,
[0065] S1052, acquiring a third signal strength of a signal received by the router and sent by the display end, and a fourth signal strength of a signal received by the router and sent by the display end; and,
[0066] S1053, acquire a fifth signal strength of the signal received by the sending end from the display end, and a sixth signal strength of the signal received by the display end from the sending end;
[0067] S1054, determine whether the first signal strength, the second signal strength, the third signal strength and the fourth signal strength are all greater than any one of the fifth signal strength and the sixth signal strength;
[0068] S1055, if yes, stop the wireless connection between the sending end and the display end according to the AP information, and switch to the wireless connection between the sending end and the display end through the router.
[0069] As described above, the signal strength of the received signal can be obtained when the terminals such as the router, the sending end and the display end interact with each other. In the present disclosure, in order to better complete the screen transmission connection between the sending end and the display end and reduce the occurrence of screen transmission lag and frame loss, the signal transmission path with better signal link is selected as much as possible. Therefore, before the step of establishing the screen transmission connection with the display end according to the IP address, it is determined whether the first signal strength, the second signal strength, the third signal strength and the fourth signal strength are all greater than any one of the fifth signal strength and the sixth signal strength. If yes, the wireless connection between the sending end and the display end according to the AP information is stopped, and the wireless connection between the sending end and the display end through the router is switched. That is to say, as long as the signal strength in any direction between the display end and the sending end is less than the signal strength in any direction between the sending end and the router, and less than the signal strength in any direction between the display end and the router, the connection path between the sending end and the display end needs to be switched, that is, the router is selected as a transfer bridge to connect the display end and the sending end. Otherwise, the direct connection mode between the sending end and the display end is continued.
[0070] The first signal strength, the second signal strength, the third signal strength and the fourth signal strength are usually historical signal strengths recorded when the sending end and the display end are connected to the network through the router before initiating screen transmission. In another embodiment, the sending end and the display end acquire the signal strengths based on the need to be temporarily connected to the router before establishing the screen transmission connection.
[0071] In one embodiment, the step S101 of acquiring the screen transmission code by the sending end includes:
[0072] S1011, the sending end scans a two-dimensional code on the display end;
[0073] S1012, the two-dimensional code is parsed to acquire the screen transmission code.
[0074] As described above, the screen transmission code is not a plaintext, but a two-dimensional code. After scanning and recognition, the sending end analyzes the screen transmission code corresponding to the two-dimensional code. The screen transmission code is obtained by scanning and analysis, without manual input by the user, thereby improving the acquisition speed of the screen transmission code and the user experience.
[0075] With reference to Figure 2 The application further discloses a wireless screen transmission connection method, and the execution subject is a server. The connection method comprises the following steps:
[0076] S201, the server receives a screen transmission code acquisition request of a display end, and the server stores IP address and AP information of the display end;
[0077] S202, the screen transmission code is generated based on the screen transmission code acquisition request, and the screen transmission code is sent to the display end;
[0078] S203, the screen transmission code uploaded by the sending end is received, and the IP address and AP information of the display end are sent to the sending end, so that the sending end establishes a wireless connection with the display end according to the AP information, and then establishes a screen transmission connection with the display end based on the IP address.
[0079] As described above, the server generates a screen transmission code based on a preset algorithm after receiving the screen transmission code acquisition request of the display end, and then sends the screen transmission code to the display end and establishes a mapping relationship between the screen transmission code and the IP address and AP information of the display end. When the screen transmission code uploaded by the sending end is received, the corresponding IP address and AP information of the display end can be quickly and accurately found according to the mapping relationship between the screen transmission code and the IP address and AP information of the display end, and the IP address and AP information are fed back to the sending end, so that the sending end establishes a wireless connection with the display end based on the IP address and AP information, and then establishes a screen transmission connection. In the application, the server plays a role of intermediate switching, so that the sending end can quickly and accurately realize wireless connection and screen transmission connection with the display end.
[0080] In one embodiment, before the step S201 of receiving the screen transmission code acquisition request of the display end by the server, the method further comprises the following steps:
[0081] S2011, the AP information uploaded by the display end is received, and the AP information is replaced with historical AP information corresponding to the display end.
[0082] As described above, in order to prevent the sending terminal from establishing an AP connection with the display terminal, the display terminal automatically updates the password in the AP information at intervals after automatically connecting with the AP of the display terminal when entering the AP wireless connection range of the display terminal. Therefore, when the password in the AP information of the display terminal is updated, the password is simultaneously updated in the server, so that the sending terminal can obtain the available password when needing to connect with the display terminal.
[0083] With reference to Figure 3 The application further discloses a wireless screen transmission connection method, and an execution subject is a display terminal, the connection method comprising the following steps.
[0084] S301, the display terminal triggers a screen transmission request.
[0085] S302, an acquisition screen transmission code request is sent to a server according to the screen transmission request.
[0086] S303, the screen transmission code issued by the server is received and displayed on a screen, so that a sending terminal obtains the screen transmission code, and establishes a wireless connection with the display terminal and a screen transmission connection with the display terminal based on the IP address and AP information of the display terminal obtained from the server based on the screen transmission code.
[0087] As described above in steps S301 to S303, after the display terminal is triggered by the screen transmission request, an acquisition screen transmission code request is sent to the server, the server generates a screen transmission code based on the acquisition screen transmission code request, and the generated screen transmission code is fed back to the display terminal, so that the display terminal displays the screen transmission code on the screen after receiving the screen transmission code. The screen transmission code can be displayed on the screen in the form of a two-dimensional code. Finally, the sending terminal obtains the corresponding IP address and AP information from the server based on the screen transmission code, and finally realizes the wireless connection and screen transmission connection with the display terminal.
[0088] In another embodiment, when the display terminal is triggered by the screen transmission request, the display terminal itself generates a screen transmission code, and then uploads the screen transmission code to the server, and establishes a mapping relationship with the IP address, SAP information and the like of the display terminal in the server.
[0089] In an embodiment, before the step S301 that the display terminal triggers the screen transmission request, the step S3011 comprises the following steps.
[0090] S3011, the AP information is updated, and the AP information is uploaded to the server, so that the server replaces the historical AP information corresponding to the display terminal with the AP information.
[0091] As described above, in order to prevent the sending terminal from establishing an over-AP connection with the display terminal, the display terminal automatically updates the password in the AP information at intervals after entering the AP wireless connection range of the display terminal. Therefore, when the password in the AP information of the display terminal is updated, the password is simultaneously updated in the server, so that when the sending terminal needs to connect to the display terminal, the available password can be obtained.
[0092] With reference to Figure 4 The application further discloses a wireless screen transmission connection device, which comprises:
[0093] a first acquisition unit 101, configured to acquire a screen transmission code, wherein the screen transmission code uniquely corresponds to a display terminal;
[0094] a sending acquisition unit 102, configured to send the screen transmission code to a server to acquire an IP address corresponding to the screen transmission code and fed back by the server, wherein the IP address is an IP address of the display terminal, and the server stores a mapping relationship between the screen transmission code and the IP address; and
[0095] a second acquisition unit 103, configured to acquire AP information of the display terminal according to the screen transmission code, wherein the AP information comprises an SSID and a password of the display terminal;
[0096] a first establishment unit 104, configured to establish a wireless connection with the display terminal according to the AP information;
[0097] a second establishment unit 105, configured to establish a screen transmission connection with the display terminal according to the IP address.
[0098] The above-mentioned units and modules in the embodiment are devices corresponding to the wireless screen transmission connection method taking the sending terminal as the subject, and will not be described herein.
[0099] With reference to Figure 5 The application further discloses a wireless screen transmission connection device, which comprises:
[0100] a receiving request unit 201, configured to receive a screen transmission code acquisition request of a display terminal, wherein the connection device stores an IP address and AP information of the display terminal;
[0101] a generation and sending unit 202, configured to generate the screen transmission code according to the screen transmission code acquisition request and send the screen transmission code to the display terminal;
[0102] a receiving and sending unit 203, configured to receive the screen transmission code uploaded by a sending terminal, and send the IP address and the AP information of the display terminal to the sending terminal, so that the sending terminal establishes a wireless connection with the display terminal according to the AP information and establishes a screen transmission connection with the display terminal based on the IP address.
[0103] The above-mentioned unit modules in the embodiment are devices corresponding to the connection method of the wireless screen transmission with the server as the main body, and will not be described here.
[0104] With reference to Figure 6 The application further discloses a wireless screen transmission connection device, which comprises:
[0105] A triggering unit 301 is configured to trigger a screen transmission request.
[0106] A sending unit 302 is configured to send a screen transmission code acquisition request to a server according to the screen transmission request.
[0107] A display unit 303 is configured to receive the screen transmission code issued by the server and display the screen transmission code on a screen, so that the sending end acquires the screen transmission code, and establishes a wireless connection with a display end and a screen transmission connection with the display end based on the IP address and AP information of the display end acquired by the server through the screen transmission code.
[0108] The above-mentioned unit modules in the embodiment are devices corresponding to the connection method of the wireless screen transmission with the display end as the main body, and will not be described here.
[0109] With reference to Figure 7 The application further discloses a computer device, and an internal structure of the computer device can be as shown in Figure 7 The computer device comprises a processor, a memory, a network interface and a database connected through a system bus. The processor of the computer device is configured to provide calculation and control capabilities. The memory of the computer device comprises a storage medium and an internal memory. The storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operating system and the computer program in the storage medium. The database of the computer device is configured to store various required data and execution codes. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement the wireless screen transmission connection method in any of the above-mentioned embodiments.
[0110] The application further discloses a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by the processor to implement the wireless screen transmission connection method in any of the above-mentioned embodiments.
[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiment methods can be included. Any reference to memory, storage, database or other medium provided by the present application and used in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0112] The above only describes the preferred embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation using the content of the present application specification and drawings, or direct or indirect application in other related technical fields, is also included in the patent protection scope of the present application.
Claims
1. A wireless screen mirroring connection method, wherein, The connection method comprises: The sending end acquires a screen transmission code, including scanning a two-dimensional code on a display end, and parsing the two-dimensional code to acquire the screen transmission code, the screen transmission code being generated by the server after the display end triggers a screen transmission request, and uniquely corresponding to one display end; The screen transmission code is sent to the server to acquire an IP address corresponding to the screen transmission code fed back by the server, the IP address being an IP address of the display end, and the server storing a mapping relationship between the screen transmission code and the IP address; and AP information of the display end is acquired according to the screen transmission code, the AP information including SSID and a password of the display end, wherein the AP information is acquired in the following manner: a broadcast request for acquiring the AP information of the display end is sent according to the IP address, and the AP information fed back by the display end based on the broadcast request is received; or the AP information fed back by the server based on the screen transmission code is received, and the server stores a mapping relationship between the screen transmission code and the AP information; Wireless connection with the display end is established according to the AP information; Screen transmission connection with the display end is established according to the IP address; Before the step of establishing screen transmission connection with the display end according to the IP address, the following steps are included: A first signal strength of a signal received by a router from the sending end is acquired, a second signal strength of a signal received by the sending end from the router is acquired; and A third signal strength of a signal received by the router from the display end is acquired, a fourth signal strength of a signal received by the display end from the router is acquired; and A fifth signal strength of a signal received by the sending end from the display end is acquired, a sixth signal strength of a signal received by the display end from the sending end is acquired; It is judged whether the first signal strength, the second signal strength, the third signal strength and the fourth signal strength are all greater than any one of the fifth signal strength and the sixth signal strength; If yes, wireless connection with the display end according to the AP information is stopped, and wireless connection with the display end through the router is switched, wherein the first signal strength, the second signal strength, the third signal strength and the fourth signal strength are historical signal strengths recorded when the sending end and the display end are connected to the network through the router before initiating screen transmission, or are acquired based on the need for the sending end and the display end to be temporarily connected to the router respectively before establishing screen transmission connection.
2. A wireless screen mirroring connection method, wherein, The connection method comprises: The server receives a screen transmission code acquisition request of a display end, the server storing an IP address and AP information of the display end; the screen transmission code uniquely corresponding to one display end; The screen transmission code is generated based on the screen transmission code acquisition request, and is sent to the display end, the screen transmission code being a two-dimensional code; The screen transmission code uploaded by the sending end is received, and the IP address and the AP information of the display end are sent to the sending end, so that the sending end establishes wireless connection with the display end according to the AP information, and then establishes screen transmission connection with the display end based on the IP address; The connection method comprises: Before establishing the wireless connection with the display terminal based on the IP address, the method comprises: obtaining a first signal strength of a signal received by the router from the sending terminal, a second signal strength of a signal received by the sending terminal from the router, and a third signal strength of a signal received by the router from the display terminal, a fourth signal strength of a signal received by the display terminal from the router, and a fifth signal strength of a signal received by the sending terminal from the display terminal, a sixth signal strength of a signal received by the display terminal from the sending terminal; determining whether the first, second, third and fourth signal strengths are all greater than any one of the fifth and sixth signal strengths; if so, stopping the wireless connection with the display terminal based on the AP information and switching to the wireless connection with the display terminal through the router. Before the server obtains the request for the display terminal to obtain the screen transmission code, the method comprises: receiving the AP information uploaded by the display terminal and replacing the AP information with historical AP information corresponding to the display terminal.
3. The wireless screen mirroring connection method of claim 2, wherein, The method comprises: the display terminal triggers a screen transmission request; 4. A wireless screen mirroring connection method, wherein, the display terminal sends a request for the server to obtain a screen transmission code according to the screen transmission request; the screen transmission code is generated by the server and uniquely corresponds to one display terminal; the display terminal receives the screen transmission code issued by the server and displays it on the screen; the screen transmission code is a two-dimensional code, so that the sending terminal can obtain the screen transmission code and establish a wireless connection with the display terminal and a screen transmission connection with the display terminal based on the IP address and the AP information of the display terminal obtained by the server; when the sending terminal sends a broadcast request to obtain the AP information of the display terminal based on the IP address, the server feeds back the AP information based on the broadcast request to the sending terminal. Before establishing the wireless connection with the display terminal, the method comprises: obtaining a first signal strength of a signal received by the router from the sending terminal, a second signal strength of a signal received by the sending terminal from the router, and a third signal strength of a signal received by the router from the display terminal, a fourth signal strength of a signal received by the display terminal from the router, and a fifth signal strength of a signal received by the sending terminal from the display terminal, a sixth signal strength of a signal received by the display terminal from the sending terminal; determining whether the first, second, third and fourth signal strengths are all greater than any one of the fifth and sixth signal strengths. If yes, stop the wireless connection between the AP information and the display terminal, and switch to the wireless connection between the router and the display terminal, wherein the first signal strength, the second signal strength, the third signal strength and the fourth signal strength are historical signal strengths recorded when the sender and the display terminal are connected to the network through the router before initiating the screen transmission, or are obtained based on the need for the sender and the display terminal to be temporarily connected to the router respectively before establishing the screen transmission connection.
5. The wireless screen mirroring connection method of claim 4, wherein, Before the step of triggering the screen transmission request by the display terminal, the method comprises: updating the AP information and uploading the AP information to the server, so that the server replaces the historical AP information corresponding to the display terminal with the AP information.
6. A wireless screen mirroring connection apparatus, wherein, The connection device is used to implement the wireless screen transmission connection method of claim 1, comprising: a first acquisition unit configured to acquire a screen transmission code, including scanning a two-dimensional code on the display terminal and parsing the two-dimensional code to acquire the screen transmission code, the screen transmission code being generated by the server after the display terminal triggers a screen transmission request and uniquely corresponding to one display terminal; a sending acquisition unit configured to send the screen transmission code to the server to acquire an IP address corresponding to the screen transmission code fed back by the server, the IP address being an IP address of the display terminal, and the server storing a mapping relationship between the screen transmission code and the IP address; and a second acquisition unit configured to acquire AP information of the display terminal according to the screen transmission code, the AP information including a SSID and a password of the display terminal, wherein the AP information is acquired in the following manner: a broadcast request for acquiring the AP information of the display terminal is sent according to the IP address, and the AP information fed back by the display terminal based on the broadcast request is received; or, the AP information fed back by the server based on the screen transmission code is received, and the server stores a mapping relationship between the screen transmission code and the AP information; a first establishment unit configured to establish a wireless connection with the display terminal according to the AP information; a second establishment unit configured to establish a screen transmission connection with the display terminal according to the IP address.
7. A wireless screen mirroring connection apparatus, wherein, The connection device is used to implement the wireless screen transmission connection method of claim 2 or 3, comprising: a receiving request unit configured to receive a screen transmission code acquisition request of the display terminal, the connection device storing an IP address and AP information of the display terminal; and the screen transmission code uniquely corresponding to one display terminal; a generation and sending unit configured to generate the screen transmission code according to the screen transmission code acquisition request and send the screen transmission code to the display terminal; a receiving and sending unit configured to receive the screen transmission code uploaded by the sender, the screen transmission code being a two-dimensional code, and send the IP address and the AP information of the display terminal to the sender, so that the sender establishes a wireless connection with the display terminal according to the AP information, and then establishes a screen transmission connection with the display terminal based on the IP address.
8. A wireless screen-connecting apparatus, wherein, The connection device is used to implement the wireless screen transmission connection method of claim 4 or 5, comprising: a triggering unit configured to trigger a screen transmission request. A sending unit is configured to send a request for obtaining a screen mirroring code to a server according to the screen mirroring request; the screen mirroring code is generated by the server and uniquely corresponds to one display terminal; A display unit is configured to receive the screen mirroring code sent by the server and display the screen mirroring code on a screen, so that the sending terminal obtains the screen mirroring code, and establishes a wireless connection with the display terminal and a screen mirroring connection with the display terminal based on the IP address and the AP information of the display terminal obtained from the server through the screen mirroring code. When receiving a broadcast request for obtaining the AP information of the display terminal sent by the sending terminal according to the IP address, the server feeds back the AP information based on the broadcast request to the sending terminal.
9. A computer device, wherein, Comprise: A processor; A memory; The memory stores a computer program, and the computer program is configured to be executed by the processor; when the processor executes the computer program, the wireless screen mirroring connection method in any one of claims 1-5 is realized.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor; when the processor executes the computer program, the wireless screen mirroring connection method in any one of claims 1-5 is realized.
Citation Information
Patent Citations
Device interconnection method, equipment, system and device, and storage medium
CN108540552A
Wireless screen projection method, device and system
CN112748893A