Screen sharing device pairing method, pairing device, electronic device and medium

The screen transmitter's WiFi module searches for nearby APs and obtains relevant information, establishing a communication link between the screen transmitter and the target device. This solves the screen projection problem when the smart tablet lacks a screen transmitter and realizes wireless connection and screen projection functions.

CN117939088BActive Publication Date: 2025-09-30GUANGZHOU SHIZHEN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211310087.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-25
Publication Date
2025-09-30
Estimated Expiration
2042-10-25

AI Technical Summary

Technical Problem

Existing smart tablets need to rely on the insertion of a screen transmitter when pairing with a terminal device, resulting in the inability to project the screen without a screen transmitter.

Method used

The screen transmitter searches for nearby APs through its WiFi module, obtains relevant information and establishes a communication link. It then uses the target device's access information and encryption method to achieve a wireless connection between the screen transmitter and the target device.

Benefits of technology

When the screen transmitter is separated from the smart tablet, a wireless connection between the screen transmitter and the target device is successfully established, which solves the problem of relying on the screen transmitter to be inserted and realizes the wireless screen projection function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117939088B_ABST
    Figure CN117939088B_ABST
Patent Text Reader

Abstract

The present invention discloses a screen transmitter pairing method, pairing device, and electronic device. The pairing method can be applied to a screen transmitter provided with a WiFi module. The method comprises: the screen transmitter receives an indication signal sent by a terminal device, uses the WiFi module to search for other APs within a nearby range, and sends relevant information of at least one AP found to the terminal device; the screen transmitter receives access information of a target device determined by the terminal device based on the relevant information of the at least one AP, and establishes a communication link between the screen transmitter and the target device based on the access information of the target device and the encryption method of the AP associated with the target device. This method does not require the screen transmitter to be inserted into a smart tablet for pairing. The communication link between the screen transmitter and the target device is established through the access information of the target device and the encryption method of the associated AP, completing pairing between the screen transmitter and the target device and realizing wireless screen projection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, and in particular to a screen sharing device pairing method, pairing device, electronic device and medium. Background Art

[0002] Smart tablets integrate the functions of a projector, electronic whiteboard, screen, audio system, television, video conferencing terminal, and other devices. They are suitable for group communication and are widely used in education, corporate meetings, commercial exhibitions, and other fields. Smart tablets can wirelessly share screens with computers, mobile phones, tablets, and other terminal devices through screen sharing devices. This allows users to project content from the terminal display onto the smart tablet for collective viewing.

[0003] Currently, the process of pairing a smart tablet with a terminal device requires a screen mirror on the smart tablet. The user inserts the screen mirror into the smart tablet and pairs the parameters of the smart tablet and the terminal device through access point (AP) mode, thereby establishing a communication link between the terminal device and the smart tablet and achieving screen projection. However, this method requires a screen mirror. If the screen mirror is not installed on the smart tablet, the pairing between the smart tablet and the terminal device cannot be completed, and screen projection cannot be achieved. Summary of the Invention

[0004] The present invention discloses a screen sharing device pairing method and pairing device, which are used to solve the problem of relying on the screen sharing device to be paired with a smart tablet. In order to solve this technical problem, the following technical solutions are disclosed:

[0005] In a first aspect, a screen transmitter pairing method is disclosed, which can be applied to a screen transmitter provided with a WiFi module. The method includes: the screen transmitter receives an indication signal sent by a terminal device, the indication signal is used to instruct the user to trigger the device pairing process and start the search function; uses the WiFi module to search for other APs in a nearby range, and sends relevant information of at least one searched AP to the terminal device; receives access information of a target device determined by the terminal device based on the relevant information of at least one AP, and establishes a communication link between the screen transmitter and the target device based on the access information of the target device and the encryption method of the AP associated with the target device.

[0006] Optionally, in a possible implementation of the first aspect, the access information of the target device includes: an IP address and a port number of the target device;

[0007] A communication link is established between the screen transmitter and the target device based on the access information of the target device and the encryption method of the AP associated with the target device, including: establishing a communication link between the screen transmitter and the target device based on the IP address and port number of the target device and the encryption method of the AP.

[0008] Optionally, in another possible implementation of the first aspect, a communication link is established between the screen transmitter and the target device based on the access information of the target device and the encryption method of the AP associated with the target device, including: establishing a communication connection between the screen transmitter and the AP based on the access information of the target device and the encryption method of the AP associated with the target device, and the AP and the target device are pre-connected by wire or wirelessly; establishing a communication link between the screen transmitter and the target device based on the wired or wireless connection between the AP and the target device.

[0009] Optionally, in another possible implementation of the first aspect, the screen transmitter uses a WiFi module to search for other APs in the vicinity, including: the screen transmitter uses WiFi probe principle technology to search for other APs in the vicinity.

[0010] Optionally, in another possible implementation of the first aspect, the method further includes: the screen transmitter saves the access information of the target device and the encryption method of the AP associated with the target device.

[0011] In the second aspect, an embodiment of the present invention also discloses another screen transmitter pairing method, which is applied to a terminal device. The method includes: the terminal device sends an indication signal to the screen transmitter, the indication signal is used to instruct the user to trigger the device pairing process and instruct the screen transmitter to start the search function; receiving relevant information of at least one AP searched by the screen transmitter; determining the access information of the target device in the relevant information of at least one AP; and sending the access information of the target device to the screen transmitter.

[0012] Optionally, in a possible implementation of the second aspect, the terminal device determines access information of a target device from relevant information of at least one AP, including: the terminal device determines the target AP from relevant information of at least one AP in response to a user selection operation; obtains a screen transmission code corresponding to the target AP, and parses the screen transmission code to obtain access information of the target device, where the access information of the target device includes an IP address and a port number of the target device;

[0013] The terminal device sends the access information of the target device to the screen transmitter, including: the terminal device sends the IP address and port number of the target device to the screen transmitter.

[0014] Optionally, in another possible implementation of the second aspect, the terminal device obtains the screen transmission code corresponding to the target AP, including: the terminal device pops up a prompt window on the display screen, the prompt window is used to prompt the user to enter the screen transmission code of the target device; and receives the screen transmission code of the target device entered by the user in the prompt window.

[0015] Optionally, in another possible implementation of the second aspect, the method further includes: the terminal device obtains the encryption method of the AP associated with the target device; and the terminal device sends the encryption method of the AP to the screen transmitter.

[0016] Optionally, in another possible implementation of the second aspect, the method further includes: when the terminal device receives a message forwarded by the screen transmitter indicating that a wireless communication link with the target device has been successfully established, projecting the screen to the target device.

[0017] In a third aspect, an embodiment of the present invention further discloses a pairing device, which is provided with a WiFi module and includes:

[0018] A receiving unit, configured to receive an indication signal sent by a terminal device, the indication signal being used to instruct a user to trigger a device pairing process and start a search function;

[0019] A search unit is used to use the WiFi module to search for other APs in the vicinity;

[0020] A sending unit, configured to send relevant information of at least one AP found to a terminal device;

[0021] The receiving unit is further configured to receive access information of a target device determined by the terminal device according to relevant information of at least one AP;

[0022] The processing unit is configured to establish a communication link with the target device according to the access information of the target device and the encryption mode of the AP associated with the target device.

[0023] In a fourth aspect, an embodiment of the present invention further discloses another pairing device, comprising:

[0024] A sending unit, configured to send an indication signal to the screen sharing device, wherein the indication signal is used to instruct the user to trigger the device pairing process and instruct the screen sharing device to start a search function;

[0025] A receiving unit, configured to receive relevant information of at least one AP searched by the screen sharing device;

[0026] a determining unit, configured to determine access information of a target device from relevant information of at least one AP;

[0027] The sending unit is also used to send the access information of the target device to the screen transmitter.

[0028] In the fifth aspect, an embodiment of the present invention further discloses an electronic device, comprising a processor and a memory communicatively connected to the processor; wherein the memory stores computer-readable program instructions that can be executed by the processor, and the instructions are executed by the processor to enable the processor to execute the screen transmitter pairing method as described in the first aspect or any implementation of the first aspect, or the second aspect or any implementation of the second aspect.

[0029] Optionally, the electronic device is a screen transmitter and / or a terminal device.

[0030] In addition, an embodiment of the present invention also discloses a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the screen transmitter pairing method described in the first aspect or any implementation of the first aspect, or the second aspect or any implementation of the second aspect is implemented.

[0031] The screen transmitter pairing method and device provided in this embodiment searches for other APs in the nearby range through the WiFi module of the screen transmitter, and sends the collected relevant information of other APs to the terminal device, so that the terminal device uses this information to determine the access information and encryption method of the target device, and thus uses the access information, encryption method and other information of the target device to establish a communication link between the screen transmitter and the target device. This method solves the problem of relying on the screen transmitter to be inserted into the smart tablet for pairing, and realizes the establishment of a wireless connection between the screen transmitter and the target device to be projected when the screen transmitter is separated from the smart tablet, thereby completing the pairing of the screen transmitter and the AP associated with the target device. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0033] Figure 1A A schematic diagram of a screen sharing device pairing scenario provided by an embodiment of the present invention;

[0034] Figure 1B A schematic diagram of another screen sharing device pairing scenario provided by an embodiment of the present invention;

[0035] Figure 2A A signaling flow chart of a screen sharing device pairing method provided in an embodiment of the present invention;

[0036] Figure 2B A signaling flow chart of a screen sharing device pairing method provided in an embodiment of the present invention;

[0037] Figure 3 A flow chart of a terminal device sending access information to a screen sharer provided in an embodiment of the present invention;

[0038] Figure 4 A schematic structural diagram of a pairing device provided in an embodiment of the present invention;

[0039] Figure 5 A schematic structural diagram of another pairing device provided by an embodiment of the present invention;

[0040] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0042] The device pairing method in the embodiment of the present invention is applicable to a wireless pairing system. Figure 1A As shown, the system includes a terminal device, a screen transmitter, a router, and a screen projection device. The number of the terminal device, the router (or wireless router), and the screen projection device can be one or more, and this embodiment does not limit this.

[0043] Among them, a screen transmitter is connected or provided on the terminal device, and the specific connection method includes but is not limited to a USB interface connection. In addition, a WiFi module is provided on the screen transmitter, and the WiFi module has two working modes, namely: AP (Access Point) mode and STA (Station) mode. Specifically, the AP mode provides wireless access services, allows other wireless devices to access, and provides data access. General wireless routers / bridges work in this mode. The STA mode is similar to a wireless terminal. In the STA mode, it can be used to connect to an AP. Generally, a wireless network card works in this mode. In this embodiment, the WiFi module of the screen transmitter works in STA mode and is used to search for nearby routes.

[0044] like Figure 1A As shown, the router can be used as an access point (AP), such as AP1, which operates in AP mode and can be connected to at least one projection device, each of which operates in STA mode. The router and the projection device are connected by wired or wireless communication.

[0045] In addition, in another application scenario, such as Figure 1B As shown, the system includes: a terminal device, a screen transmitter, AP2 and a screen projection device, wherein AP2 can be set as a hotspot on the screen projection device. By working in AP mode, communication with the WiFi module of the screen transmitter can be achieved.

[0046] Among them, the screen projection device can be a terminal device, and the terminal device includes but is not limited to a personal computer, a laptop computer, a smart phone, a smart tablet, a tablet computer, a large board, a portable wearable device or other terminal devices.

[0047] It should be understood that the pairing system may further include more or fewer other devices, and this embodiment does not limit this.

[0048] The technical solution provided in this embodiment is described in detail below.

[0049] See also Figure 2A , a screen sharing device pairing method provided by an embodiment of the present invention, the method comprising:

[0050] First, in the preparation stage, the terminal device pre-installs an application APP, which can be used to start the wireless pairing process of the screen transmitter. The application APP can be a wireless screen transmission software, and the screen transmitter is provided with a WiFi module.

[0051] In step 101, the terminal device sends an instruction signal to the screen sharing device, and the screen sharing device receives the instruction signal sent from the terminal device, wherein the instruction signal is used to instruct the user to trigger the device pairing process and start the search function.

[0052] Optionally, a specific implementation method is that after the terminal device starts the application APP, it receives a user's click operation on the display screen of the terminal device; in response to the user's click operation, the application APP starts the WiFi module on the screen transmitter and turns on the search function.

[0053] Optionally, another specific implementation method is that the user directly starts the search function on the screen sharing device, for example, the user directly presses a button / switch on the screen sharing device to start the WiFi module on the screen sharing device and turn on the search function.

[0054] In step 102, the screen transmitter uses the WiFi module to search for other APs in the vicinity.

[0055] When the screen sharer receives the indication signal from the terminal device, or when the user presses a button on the screen sharer, the WiFi module activates "STA mode" and begins searching for other nearby access points (APs) on the wireless local area network (WLAN). In one search method, the WiFi module in STA mode searches for other nearby APs on the WLAN network, such as a nearby router AP1 or a nearby AP2 with hotspot functionality enabled.

[0056] Furthermore, in step 102, one implementation method is that the screen transmitter can search for other APs within the vicinity using the WiFi probe principle. The WiFi probe principle is as follows: WiFi is based on the IEEE802.11a / b / g / n protocol. The standard protocol defines two operating modes: AP (access point or wireless access point) and STA (station or client). The protocol specifies multiple wireless data frame types, such as BEACON, ACK (Acknowledge character, acknowledgment character), DATA, and probe. When searching for an AP mode end device in STA mode, data frames and response frames are exchanged. At the same time, the WiFi module periodically sends BEACON frames (broadcast frames) to search for other APs within the coverage area.

[0057] Furthermore, a WiFi probe can actually be a probe frame. Generally, when accessing a wireless network (WLAN), you first need to select the corresponding wireless network, specifically the Service Set Identifier (SSID) based on the wireless network name. One method is active scanning, in which probe frames are used. The specific principle is that the WiFi module actively sends a probe request frame to nearby APs (including routers). After receiving the probe request frame, AP1 and AP2 return a probe response frame. The content of the probe response frame is almost identical to the Beacon frame, so some information in the frame is used to initiate the access process.

[0058] In step 103, the screen sharer sends the relevant information of the at least one AP found to the terminal device. Correspondingly, the terminal device receives the relevant information of the at least one AP found from the screen sharer.

[0059] Among them, the relevant information of each AP includes: SSID and the encryption method of the corresponding AP. Each AP corresponds to an SSID. For example, the WiFi module of the screen transmitter searches for the wireless network of AP1 corresponding to the first SSID, and the wireless network of AP2 corresponds to the second SSID.

[0060] In addition, the relevant information of each AP also includes information required to connect to the AP, such as the encryption method of AP1 and AP2, such as the network name ID1 and key Key1 corresponding to AP1, the network name ID2 and key Key2 corresponding to AP2, etc. Specifically, the encryption method (network name ID and key Key) used by AP1 and AP2 can be set by the user, and this embodiment does not impose any restrictions on this.

[0061] Step 104: The terminal device determines the access information of the target device from the relevant information of the at least one AP.

[0062] In one embodiment, the terminal device determines a target AP from the relevant information of the at least one AP in response to a user selection operation. Specifically, the terminal device displays the relevant information of the at least one AP on a display screen, receives an operation by the user to select an SSID from the relevant information of the at least one AP, and uses the SSID selected by the user as the target SSID, which is the wireless network where the device to which the user desires to pair is located, thereby determining the target AP.

[0063] For example, a terminal device displays the SSIDs of AP1 and AP2 on a display screen, such as a first SSID and a second SSID, and then a user selects one of the SSIDs. A user selection operation is received on the terminal device's display screen. The selection operation is the user clicking on an SSID on the terminal device to connect to. The AP corresponding to the SSID clicked by the user is the target AP. For example, when the user selects the first SSID, the corresponding AP1 is determined as the target AP.

[0064] Step 105: The terminal device sends the access information of the target device, and correspondingly, the screen transmitter receives the access information of the target device sent by the terminal device.

[0065] Among them, the access information of the target device includes information such as the IP address and port number of the target device, and the IP address and port number information can be obtained through screen transmission code analysis.

[0066] In addition, in addition to the access information of the target device, the terminal device can also send the encryption method of the target AP to the screen transmitter. The specific timing of sending can be sending together with the above step 104, or sending after step 104, which is not limited in this embodiment.

[0067] Step 106: The screen transmitter establishes a communication link between the screen transmitter and the target device according to the access information of the target device and the encryption method of the AP associated with the target device.

[0068] The AP associated with the target device is the target AP, and the target device is determined in step 104 .

[0069] In the aforementioned Figure 1A In the scenario shown, Figure 2B As shown, an implementation of establishing a communication link includes:

[0070] Step 1061: The screen sharer establishes a communication connection with the AP (eg, AP1) based on the access information of the target device and the encryption method of the AP associated with the target device. The target device is a smart tablet.

[0071] Step 1062: Establish a communication link between the screen transmitter and the smart tablet based on the wired or wireless connection between AP1 and the smart tablet.

[0072] The wired or wireless connection between AP1 and the smart tablet can be pre-established. After the screen sharer establishes a communication connection with AP1, it can directly establish a communication link with the smart tablet. In addition, before step 1061, the screen sharer also obtains the encryption method of AP1, the key Key1.

[0073] In addition, in the aforementioned Figure 1B In the scenario shown, since AP2 is directly installed on the target device, the screen sharer can establish a communication link with the target device.

[0074] Among them, the process of the screen transmitter establishing a communication link can use the TCP protocol to establish a communication link. For example, the screen transmitter sends a handshake signal, the screen projection device at the receiving end feeds back a response signal, and the screen transmitter sends a confirmation signal based on the response signal. Generally, a wireless communication connection between the screen transmitter and the target device is established through three signal interactions.

[0075] Specifically, the screen transmitter establishes a communication link between the screen transmitter and the target device based on the target device's IP address and the port number, as well as the AP's encryption method. For example, the screen transmitter uses the screen projection device's IP address to find the projection device, uses the port number to establish a communication link with the projection device, and determines that the link connection is successful.

[0076] Step 107: The screen transmitter sends the link success result to the terminal device. The link success result may be sent to the terminal device via a message.

[0077] Step 108: When the terminal device receives the message forwarded by the screen transmitter indicating that the communication link between the screen transmitter and the target device is successfully established, the terminal device projects the screen to the target device.

[0078] When the communication link is successfully established, data can be transmitted synchronously between the terminal device and the target device, and the data of the terminal device can be transmitted and displayed on the target device on the screen.

[0079] In addition, optionally, after the above step 106, the screen transmitter also writes the target AP encryption method (key), target IP address and port number input by the user into the storage unit, thereby providing a basis for subsequent establishment of a wireless link.

[0080] The screen transmitter pairing method provided in this embodiment searches for other APs in the nearby range through the WiFi module of the screen transmitter, and sends the collected relevant information of other APs to the terminal device, so that the terminal device uses this information to determine the access information and encryption method of the target device, and thus uses the access information, encryption method and other information of the target device to establish a communication link between the screen transmitter and the target device. This method solves the problem of relying on the screen transmitter to be inserted into the smart tablet for pairing, and realizes the establishment of a wireless connection between the screen transmitter and the target device to be projected when the screen transmitter is separated from the smart tablet, thereby completing the pairing of the screen transmitter and the AP associated with the target device.

[0081] In addition, this method can also connect the screen transmitter to external routers, smart tablets and other devices. Through other connection methods (such as WiFi), the screen transmitter and the smart tablet are in the same network segment, thereby realizing the pairing and screen projection functions of the screen transmitter; it is also applicable to smart tablets that lack AP hardware.

[0082] Optionally, in another implementation of this embodiment, as Figure 3 As shown, in the above step 104, the terminal device determines the access information of the target device from the relevant information of at least one AP, specifically including:

[0083] Step 1041: The terminal device determines the target AP from the relevant information of the at least one AP in response to the user's selection operation. The specific process is as described in the aforementioned step 104 and will not be repeated here.

[0084] In step 1042, the terminal device obtains the screen transmission code corresponding to the target AP, and parses the screen transmission code to obtain the access information of the target device. The access information of the target device includes the IP address and port number of the target device.

[0085] One possible implementation is that the terminal device pops up a prompt window on the display screen, which is used to instruct the user to enter the screen transmission code corresponding to the device to be paired, which the user knows in advance; or obtains by checking the information on the device to be paired. For example, the device to be paired is a smart tablet, and there is a screen transmission code on the display screen of the smart tablet, and the smart tablet uniquely corresponds to the screen transmission code, so the user can enter the unique screen transmission code on the smart tablet into the display screen of the terminal device.

[0086] After the terminal device obtains the screen transmission code from the smart tablet, it parses the code to obtain information such as the smart tablet's IP address and port number, which can be used as the access information of the target device. Specifically, the parsing process can refer to the existing parsing process for screen transmission codes. This embodiment does not limit the detailed process of parsing to obtain the target device's IP address and port number.

[0087] In addition, the above step 105 specifically further includes:

[0088] Step 1051: The terminal device sends the IP address and the port number of the target device, as well as the encryption method of the target AP, to the screen transmitter.

[0089] Among them, the encryption method of the target AP can be obtained at the same time as the screen transmission code, or can be obtained one after another. This embodiment does not limit the order in which the two are obtained.

[0090] Optionally, the target device's IP address and port number, along with the target AP's encryption method, can be sent simultaneously, or sequentially. Correspondingly, the screen sharer receives the target device's IP address and port number, as well as the target AP's encryption method, from the terminal device. For example, the terminal device may send the screen sharer information including the smart tablet's IP address and port number, as well as the AP's encryption method.

[0091] On the receiving end, the screen sharer can simultaneously receive the target device's IP address and port number, as well as the target AP's encryption method. Alternatively, it can receive only the target device's IP address and port number, without the target AP's encryption method. In this case, the target AP's encryption method can be obtained through other means, such as determining the target AP's encryption method based on the binding relationship between the target device's IP address and port number and the target AP's encryption method.

[0092] This embodiment can determine the target AP based on the user's selection operation, and parse the screen transmission code corresponding to the target AP to obtain the access information of the target device, providing a basis for pairing the screen transmitter and establishing a communication link with the target device.

[0093] The embodiment of the present invention also discloses a pairing device, such as Figure 3 As shown, the pairing device is provided with a WiFi module and includes: a receiving unit 401, a search unit 402, a sending unit 403, and a processing unit 404. In addition, the device may also include other unit modules such as a storage unit. This embodiment does not limit the structure of the screen sharing device pairing device. The device can be a screen sharing device in the aforementioned embodiment, used to implement the method steps of the screen sharing device in the above method embodiment.

[0094] Specifically, the receiving unit 401 is used to receive an indication signal sent by a terminal device, where the indication signal is used to instruct a user to trigger a device pairing process and start a search function.

[0095] The search unit 402 is configured to use the WiFi module to search for other APs in a nearby range to obtain relevant information of at least one AP, wherein the relevant information of each AP includes an SSID and an AP encryption mode.

[0096] The sending unit 403 is configured to send relevant information of the at least one AP found during the search to the terminal device.

[0097] The receiving unit 401 is further configured to receive access information of a target device determined by the terminal device based on relevant information of the at least one AP.

[0098] The processing unit 404 is configured to establish a communication link with the target device according to the access information of the target device and the encryption mode of the AP associated with the target device.

[0099] Optionally, in a specific implementation of this embodiment, the access information of the target device includes: the IP address and port number of the target device; the processing unit 404 is also used to establish a communication link with the target device based on the IP address and port number of the target device, and the encryption method of the AP.

[0100] Optionally, in another specific implementation of this embodiment, the processing unit 404 is also used to establish a communication connection between the screen transmitter and the AP based on the access information of the target device and the encryption method of the AP associated with the target device, and the AP and the target device are pre-connected by wire or wirelessly; and to establish a communication link between the screen transmitter and the target device based on the wired or wireless connection between the AP and the target device.

[0101] Optionally, in another specific implementation of this embodiment, the search unit 402 is further configured to search for other APs in the vicinity by utilizing WiFi probe principle technology.

[0102] Optionally, in another specific implementation of this embodiment, the device further includes a storage unit. Figure 4 Not shown in the figure, the storage unit is used to store the access information corresponding to the target device, such as the IP address and port number of the target device, and the encryption method of the AP associated with the target device.

[0103] In addition, another embodiment provides another screen sharing device pairing device, such as Figure 5 As shown, the device Figure 4 The device shown is connected, and the device can be a terminal device, used to implement the method steps of the terminal device in the above embodiment.

[0104] Specifically, the device includes: a sending unit 501, a receiving unit 502, and a determining unit 503. It should be understood that the device may also include other unit modules such as a storage unit, and this embodiment does not limit this.

[0105] Among them, the sending unit 501 is used to send an indication signal to the screen transmitter, and the indication signal is used to instruct the user to trigger the device pairing process and instruct the screen transmitter to start the search function.

[0106] The receiving unit 502 is used to receive relevant information of at least one AP searched by the screen transmitter.

[0107] The determining unit 503 is configured to determine the access information of the target device from the relevant information of the at least one AP.

[0108] The sending unit 501 is further configured to send the access information of the target device to the screen transmitter.

[0109] Furthermore, the determining unit 503 is specifically configured to determine a target AP from the relevant information of the at least one AP in response to a selection operation by the user.

[0110] like Figure 5 As shown, the determining unit 503 specifically includes an acquiring unit 5031 and a parsing unit 5032, wherein:

[0111] The acquisition unit 5031 is used to obtain the screen transmission code corresponding to the target AP.

[0112] The parsing unit 5032 is used to parse the screen transmission code to obtain the access information of the target device, and the access information of the target device includes the IP address and port number of the target device.

[0113] The sending unit 501 is further configured to send the IP address and port number of the target device to the screen sharer to establish a communication link between the screen sharer and the target device.

[0114] Optionally, in a specific implementation of this embodiment, the above device further includes a display unit, which displays Figure 5 Not shown in the figure, the display unit is used to display the relevant information of at least one AP after the receiving unit 502 receives the relevant information of at least one AP searched by the screen transmitter.

[0115] The receiving unit 502 is further configured to receive an operation of a user selecting an SSID from the relevant information of the at least one AP.

[0116] Optionally, in another specific implementation of this embodiment, the display unit is also used to pop up a prompt window on the display screen according to the target SSID determined by the determination unit 503, and the prompt window is used to prompt the user to enter the screen transmission code of the target device and the target AP password.

[0117] The receiving unit 502 is further configured to receive the screen transmission code and the target AP password input by the user in the prompt window.

[0118] Optionally, in another specific implementation of this embodiment, the acquisition unit 5031 is further used to obtain the encryption method of the AP associated with the target device, and the sending unit 501 is further used to send the encryption method of the AP to the screen transmitter.

[0119] Optionally, in another specific implementation of this embodiment, the sending unit 501 is further used to project the screen to the target device when the receiving unit 502 receives a message forwarded by the screen transmitter indicating that the communication link between the screen transmitter and the target device is successfully established.

[0120] The device provided in this embodiment searches for other APs in the vicinity through its internal WiFi module, and sends the collected relevant information of other APs to the terminal device, so that the terminal device uses this information to determine the access information and encryption method of the target device, and then uses the access information, encryption method, etc. of the target device to establish a communication link between the screen transmitter and the target device, thereby solving the problem of relying on the screen transmitter to be inserted into the smart tablet for pairing, and realizing the establishment of a wireless connection between the screen transmitter and the target device to be projected when the screen transmitter is separated from the smart tablet, thereby completing the pairing of the screen transmitter and the AP associated with the target device.

[0121] At the hardware level, an embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, the electronic device may include a processor 110 and a memory 120, wherein the processor 110 and the memory 120 may be connected via a bus or other means. Figure 6 In addition, the electronic device further includes at least one interface 130, which may be a communication interface or other interface, such as a USB interface, which is not limited in this embodiment.

[0122] The electronic device may be the terminal device, screen transmitter, router or target device in the aforementioned embodiments.

[0123] Specifically, the processor 110 may be a central processing unit (CPU). The processor 110 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0124] Memory 120, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as the program instructions / modules corresponding to the screen sharing device pairing method in the embodiments of the present invention. Processor 110 executes the non-transitory software programs, instructions, and modules stored in memory 120 to perform various processor functions and data processing, thereby implementing the screen sharing device pairing method in the above-mentioned method embodiment.

[0125] The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created by the processor 110, etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 120 may optionally include a memory remotely located relative to the processor 110, and these remote memories may be connected to the processor 110 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, and combinations thereof.

[0126] In addition, at least one interface 130 is used for communication between the electronic device and external devices, such as terminal devices and network devices, such as routers and screen projection devices. Optionally, at least one interface 130 can also be used to connect to external input and output devices, such as keyboards and displays. In addition, at least one interface 130 can also include a USB interface, etc.

[0127] Furthermore, the above-mentioned electronic device can be a terminal device, which can be the source device that the front end requests for screen projection, or it can be the projection device of the opposite end. The terminal device can be a smart phone, tablet computer, smart screen, projection device, desktop computer, smart wearable device, etc., but is not limited to this.

[0128] In addition, this embodiment also provides a pairing system, which includes a terminal device, a screen transmitter, or a router, and a screen projection device to be paired. Among them, the screen transmitter is connected to the front-end terminal device, and the screen transmitter is provided with a WiFi module. Specifically, the connection relationship between each device in the pairing system can be seen in Figure 1A and Figure 1B As shown, the structure of the screen transmitter or terminal device can be referred to as Figure 5 As shown, the system is used to implement the method steps for pairing the aforementioned screen sharing device. More specifically, the interaction process of the screen sharing device pairing method can be found in Figure 2A or Figure 2B The method flow shown in this embodiment will not be repeated here.

[0129] The screen transmitter pairing system provided in this embodiment can establish a wireless communication link through the IP address, port number and AP key of the target device without directly relying on the smart tablet pairing hardware; the said dependence includes the smart tablet being hung high and unable to directly touch or insert the screen transmitter; and the smart tablet lacking a pairing interface, etc.

[0130] In addition, this solution can connect the wireless screen transmitter to an external AP, and the smart tablet can be connected through other methods (such as network cable or WiFi) so that the screen transmitter and the smart tablet are in the same network segment, thereby realizing the pairing and screen projection functions of the screen transmitter.

[0131] In addition, the pairing method in the embodiment of the present disclosure has better program compatibility; because this solution does not directly pair the terminal device with the smart tablet, it has better compatibility than the traditional pairing solution of directly inserting the screen transmitter into the smart tablet.

[0132] Those skilled in the art will appreciate that all or part of the processes in the above-described embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-described methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The storage medium can also include a combination of the above-mentioned types of memory.

[0133] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A screen sharing device pairing method, characterized in that: Applied to a screen transmitter, the screen transmitter is provided with a WiFi module, and the method includes: The screen transmitter receives an indication signal sent by the terminal device, wherein the indication signal is used to instruct the user to trigger the device pairing process and start the search function; The screen transmitter uses the WiFi module to search for other APs based on the IEEE802.11a / b / g / n protocol in the vicinity, and sends relevant information of at least one AP found to the terminal device; Receiving the IP address and port number of the target device sent by the terminal device, as well as the binding relationship between the IP address and port number of the target device and the AP encryption mode associated with the target device, the IP address and port number of the target device being obtained by the terminal device through parsing the screen transmission code of the target device input by the user; Determining the encryption mode of the AP associated with the target device according to a binding relationship between the IP address and port number of the target device and the encryption mode of the AP associated with the target device; Establishing a communication link between the screen transmitter and the AP associated with the target device according to the IP address and port number of the target device and the encryption mode of the AP associated with the target device; The result of successful establishment of the communication link is sent to the terminal device through a message-carrying method, so that the terminal device receives the message of successful establishment of the communication link forwarded by the screen transmitter and projects the screen to the target device.

2. The method according to claim 1, characterized in that The method further comprises: Establishing a communication connection between the screen transmitter and the AP associated with the target device according to an encryption method of the target device and the AP, wherein the AP and the target device are pre-connected by wire or wirelessly; A communication link between the screen transmitter and the target device is established based on the wired or wireless connection between the AP and the target device.

3. The method according to claim 1, characterized in that The screen transmitter uses the WiFi module to search for other APs based on the IEEE802.11a / b / g / n protocol in the vicinity, including: The screen transmitter utilizes the WiFi module to search for other APs based on the IEEE802.11a / b / g / n protocol within a nearby range based on the WiFi probe principle technology.

4. A screen sharing device pairing method, characterized in that: Applied to a terminal device, the method includes: The terminal device sends an indication signal to the screen sharing device, wherein the indication signal is used to instruct the user to trigger the device pairing process and instruct the screen sharing device to start a search function; The terminal device receives relevant information of at least one AP searched by the screen transmitter; The terminal device determines the IP address and port number of the target device from the relevant information of the at least one AP; The terminal device sends the IP address and port number of the target device, as well as the binding relationship between the IP address and port number of the target device and the AP encryption method associated with the target device to the screen transmitter; the relevant information of each AP includes: SSID and the encryption method of the corresponding AP.

5. The method according to claim 4, characterized in that The terminal device determines the IP address and port number of the target device from the relevant information of the at least one AP, including: The terminal device determines a target AP from the relevant information of the at least one AP in response to a selection operation by a user; The terminal device obtains the screen transmission code corresponding to the target AP, and parses the screen transmission code to obtain the IP address and port number of the target device; The terminal device sends the IP address and the port number of the target device to the screen transmitter.

6. The method according to claim 5, characterized in that The terminal device obtains the screen transmission code corresponding to the target AP, including: The terminal device pops up a prompt window on the display screen, and the prompt window is used to prompt the user to enter the screen transmission code of the target device; The terminal device receives the screen transmission code of the target device input by the user in the prompt window.

7. The method according to any one of claims 4 to 6, characterized in that: The method further comprises: The terminal device obtains an encryption mode of the AP associated with the target device; The terminal device sends the encryption method of the AP to the screen transmitter.

8. The method according to any one of claims 4 to 6, characterized in that: The method further comprises: When the terminal device receives the message forwarded by the screen transmitter indicating that the communication link between the screen transmitter and the target device is successfully established, the terminal device projects the screen to the target device.

9. A pairing device, characterized in that: The device is provided with a WiFi module, and the device comprises: A receiving unit, configured to receive an indication signal sent by a terminal device, wherein the indication signal is used to instruct a user to trigger a device pairing process and start a search function; A search unit, configured to use the WiFi module to search for other APs based on the IEEE802.11a / b / g / n protocol within a nearby range; A sending unit, configured to send relevant information of at least one AP found to the terminal device; a receiving unit, configured to receive an IP address and a port number of a target device sent by the terminal device, and a binding relationship between the IP address and the port number of the target device and an AP encryption mode associated with the target device, the IP address and the port number of the target device being obtained by the terminal device through parsing a screen transmission code of the target device input by a user; and determining the AP encryption mode associated with the target device based on the binding relationship between the IP address and the port number of the target device and the AP encryption mode associated with the target device; a processing unit, configured to establish a communication link between the screen transmitter and the AP associated with the target device according to the IP address and port number of the target device and the encryption mode of the AP associated with the target device; The result of successful establishment of the communication link is sent to the terminal device through a message-carrying method, so that the terminal device receives the message of successful establishment of the communication link forwarded by the screen transmitter and projects the screen to the target device.

10. A pairing device, characterized in that: The device comprises: a sending unit, configured to send an indication signal to the screen sharing device, wherein the indication signal is used to instruct the user to trigger a device pairing process and to instruct the screen sharing device to start a search function; a receiving unit, configured to receive relevant information of at least one AP searched by the screen transmitter; a determining unit, configured to determine an IP address and a port number of a target device from the relevant information of the at least one AP; The sending unit is also used to send the IP address and port number of the target device, as well as the binding relationship between the IP address and port number of the target device and the AP encryption method associated with the target device to the screen transmitter; the relevant information of each AP includes: SSID and the encryption method of the corresponding AP.

11. An electronic device, characterized in that: comprising a processor and a memory, wherein the memory is coupled to the processor; The memory stores computer-readable program instructions. When the processor reads and executes the instructions, the screen sharing device pairing method as described in any one of claims 1 to 3, or 4 to 8 is implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the screen sharing device pairing method as described in any one of claims 1 to 3, or 4 to 8 is implemented.

Citation Information

Patent Citations

  • Method and system for realizing remote pairing based on USB device

    CN107820233A

  • Screen transmission method and device and storage medium

    CN111459433A