Screen projector pairing method and device

Through audio and optical signal transmission combined with preset key decryption, the flexibility and reliability of screen projector equipment in multi-device deployment is solved, and an efficient and secure screen projection pairing process is achieved.

CN120475385APending Publication Date: 2025-08-12GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510746906.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

Existing screen projector devices have poor flexibility and easy to connect in multiple devices in multi-device deployment scenarios. Manual pairing operations are cumbersome and can easily lead to the leakage of pairing codes, affecting the reliability of the screen projection process.

Method used

The network connection credential data and pairing code are transmitted through a combination of audio signals and optical signals. The preset key decryption and verification mechanism are adopted to ensure that only legal devices can parse the data and establish a communication connection after double-end verification.

Benefits of technology

It improves the reliability and security of the screen projection pairing process, reduces the cumbersome operation, prevents the leakage of pairing codes, adapts to the sampling rate of different audio devices, and enhances the universality of the method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120475385A_ABST
    Figure CN120475385A_ABST
Patent Text Reader

Abstract

The invention discloses a screen projector pairing method and device, and belongs to the field of electronic screen projection, and the method comprises the steps: a transmitting end encrypts network connection voucher data and a pairing code, plays the data in the form of an audio signal, and transmits the pairing code in the form of an optical signal, and a receiving end collects and analyzes the audio signal and the optical signal, and outputs the pairing code in the form of an optical signal. And when the pairing code analyzed from the optical signal is consistent with the pairing code analyzed from the audio signal, establishing communication connection with the transmitting end through network connection credential data, transmitting the pairing code analyzed from the audio signal to the transmitting end, verifying the received pairing code by the transmitting end, and if the verification is passed, sending the received pairing code to the receiving end. And if so, establishing a pairing relationship with a receiving end. Therefore, by implementing the method and the device, the problems of tedious screen projection process and unreliable screen projection pairing process in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic screen projection, and in particular to a method and device for pairing a screen projector. Background Art

[0002] Currently, electronic projection devices are widely used in conference systems, educational presentations, and multimedia transmission scenarios. A typical projection system consists of two parts: a transmitter and a receiver.

[0003] The existing pairing mechanisms are mainly divided into two categories: fixed factory pairing or automatic search and pairing under the same network environment. However, electronic screen projectors are often used in scenarios where multiple devices are deployed, and the above methods have the problems of poor flexibility or easy connection errors. To this end, some existing technologies use manual intervention, and users perform manual pairing operations under the same network environment to achieve directional pairing. However, the above method has cumbersome steps, and manual pairing can easily lead to pairing code leakage, thereby affecting the reliability of the screen projection pairing process.

[0004] Therefore, how to reduce the complexity of the screen projection process and improve the reliability of the screen projection pairing process is a technical problem that needs to be solved at present. Summary of the Invention

[0005] The present application provides a screen projection device pairing method and device, which can solve the problems of cumbersome screen projection process and unreliable screen projection pairing process in the prior art.

[0006] An embodiment of the present application provides a screen projector pairing method, which is applied to a first receiving end and includes:

[0007] collecting a first audio signal played by a first transmitting end and a first optical signal emitted by the first transmitting end;

[0008] parsing the first audio signal using a preset key to obtain first network connection credential data and a first pairing code;

[0009] parsing the first optical signal to obtain a second pairing code;

[0010] If the first pairing code is consistent with the second pairing code, establishing a communication connection with the first sending end through the first network connection credential data;

[0011] After establishing a communication connection with the first transmitting end, a pairing operation is performed with the first transmitting end using the first pairing code.

[0012] Compared with the prior art, the above embodiment has the following beneficial effects: the first network connection credential data and the first pairing code are transmitted through the first audio signal, and only the first receiving end with a preset key can parse and obtain the above data from the first audio signal, and directly establish a communication connection with the first receiving end according to the data transmitted by the first audio signal, and perform a pairing operation, which can effectively avoid the problem of information leakage caused by manually entering the pairing code, and reduce the tediousness of the screen projection operation while improving the reliability of the screen projection pairing process. At the same time, since noise in the screen projection scenario will affect the first audio signal, the second pairing code is transmitted through the first light signal to verify the validity of the first audio signal, so that the first receiving end knows whether the current first audio signal is complete and valid. Only when the first pairing code and the second pairing code are consistent, the communication connection and pairing operation are performed, avoiding the first receiving end from constantly sending communication connection establishment requests to the first sending end, thereby improving the reliability of the screen projection pairing process.

[0013] Furthermore, the step of parsing the first audio signal by using a preset key to obtain the first network connection credential data and the first pairing code includes:

[0014] parsing the first audio signal to obtain first ciphertext data;

[0015] Decrypting the first ciphertext data using the preset key to obtain decrypted data;

[0016] The decrypted data is verified by a preset verification method, and when the verification is successful, the first network connection credential data and the first pairing code are sequentially extracted from the decrypted data.

[0017] Compared with the existing technology, the above embodiment has the following beneficial effects: protecting the data transmission process through the encryption mechanism, preventing eavesdropping or tampering, avoiding the leakage of pairing codes, and further configuring a preset key in the first receiving end to realize directional pairing, thereby improving the reliability of the screen projection process; further, when the first receiving end parses the first audio signal, the first audio signal is preliminarily verified to ensure the integrity of the data.

[0018] Furthermore, parsing the first audio signal to obtain first ciphertext data includes:

[0019] filtering noise in the first audio signal and processing the first audio signal by high-frequency enhancement to obtain a second audio signal;

[0020] Processing the second audio signal through redundancy checking and error frame reconstruction to obtain a third audio signal;

[0021] The third audio signal is demodulated by FSK to obtain the first ciphertext data.

[0022] Compared with the existing technology, the above embodiment has the following beneficial effects: through noise filtering, the noise interference in the first audio signal is eliminated, and further through high-frequency enhancement, the high-frequency components are optimized to compensate for the attenuation of the first audio signal during the transmission process; in addition, through redundancy check and error frame reconstruction, the data damage that occurs in the transmission process of the first audio signal is repaired to ensure that the complete data can be parsed from the first ciphertext data subsequently; finally, the third audio signal is restored to the first ciphertext data through FSK demodulation, which can adapt to the sampling rate of different audio devices and improve the versatility of the screen projection pairing method.

[0023] Furthermore, after establishing a communication connection with the first transmitting end, performing a pairing operation with the first transmitting end using the first pairing code includes:

[0024] After establishing a communication connection with the first sending end, sending the first pairing code to the first sending end;

[0025] When the first sending end verifies the first pairing code, a pairing relationship is established with the first sending end.

[0026] Compared with the existing technology, the above embodiment has the following beneficial effects: only after the communication connection is established between the first receiving end and the first sending end, the first pairing code is sent through the stable communication channel to ensure the security and stability of data transmission, thereby improving the reliability of the screen projection pairing process; through two-end verification, the reliability of the screen projection pairing process is further improved.

[0027] Another embodiment of the present application further provides a screen projector pairing method, which is applied to a second transmitting end and includes:

[0028] randomly generating a second network connection credential data and a third pairing code;

[0029] generating a fourth audio signal according to the second network connection credential data and the third pairing code, generating a second light signal according to the third pairing code, and synchronously playing the fourth audio signal and emitting the second light signal;

[0030] responding to a communication connection establishment request sent by the second receiving end after parsing the fourth audio signal and the second optical signal, and verifying the communication connection establishment request according to the second network connection credential data;

[0031] After establishing a communication connection with the second receiving end, a matching operation is performed with the second receiving end according to the third pairing code.

[0032] Compared with the existing technology, the above embodiment has the following beneficial effects: a fourth audio signal is generated and played based on the randomly generated second network connection credential data and the third pairing code, so that the second receiving end that can be paired with the second transmitting end can parse and obtain the second network connection credential data and the third pairing code therefrom, thereby realizing directional pairing data transmission, avoiding the problem of information leakage caused by manual input of the pairing code, and reducing the complexity of the screen projection operation while improving the reliability of the screen projection pairing process; further, a corresponding second light signal is generated based on the third pairing code, and the second light signal is synchronously emitted, so that the second receiving end can accurately verify the completeness of the parsed and obtained pairing data, thereby avoiding the second receiving end using incomplete second network connection credential data to continuously send communication connection establishment requests to the second transmitting end, thereby further improving the reliability of the screen projection pairing process.

[0033] Furthermore, generating a fourth audio signal according to the second network connection credential data and the third pairing code includes:

[0034] Generate the check value required by the preset check method;

[0035] Encrypt the verification value, the second network connection credential data, and the third pairing code using a preset encryption algorithm to obtain second ciphertext data;

[0036] The second ciphertext data is modulated into the fourth audio signal by using an FSK modulation algorithm.

[0037] Compared with the existing technology, the above embodiment has the following beneficial effects: through the check value, it is verified whether the fourth audio signal has problems such as data loss during the transmission process, and the data is further encrypted through the encryption algorithm to prevent other receiving ends from cracking the fourth audio signal, thereby improving the reliability of the screen projection process; finally, through the FSK modulation algorithm, the encrypted second ciphertext data is modulated into a playable fourth audio signal, and only the second receiving end corresponding to the key can parse the fourth audio signal, avoiding the information leakage problem caused by manual input of the pairing code, while improving the reliability of the screen projection pairing process, reducing the tediousness of the screen projection operation; in addition, the FSK modulation algorithm can adapt to the sampling rate of different audio devices, thereby improving the versatility of the screen projection pairing method.

[0038] Furthermore, generating a second optical signal according to the third pairing code includes:

[0039] The third pairing code is modulated into a corresponding visible light flashing sequence according to a preset coding rule, and the visible light flashing sequence is used as the second optical signal.

[0040] Compared with the existing technology, the above embodiment has the following beneficial effects: the optical signal is not affected by the noise in the projection environment, so the second transmitting end can generate a corresponding visible light flashing sequence according to the third pairing code, so that the second receiving end can parse and obtain the third pairing code from the flashing pattern of the visible light, so that the second receiving end can effectively verify the completeness of the fourth audio signal, thereby improving the reliability of the projection pairing process.

[0041] Furthermore, performing a matching operation with the second receiving end according to the third pairing code includes:

[0042] receiving a fourth pairing code sent by the second receiving end; wherein the fourth pairing code is obtained by the second receiving end by parsing the fourth audio signal;

[0043] When the third pairing code is consistent with the fourth pairing code, a pairing relationship with the second receiving end is established.

[0044] Compared with the existing technology, the above embodiment has the following beneficial effects: only after the communication connection is established between the second receiving end and the second sending end, the third pairing code is received through the stable communication channel to ensure the security and stability of data transmission, thereby improving the reliability of the screen projection pairing process; at the same time, the fourth pairing code is further verified by the second sending end to prevent other receiving ends from making malicious screen projection pairing requests after stealing the second network connection credential data, thereby further improving the reliability of the screen projection pairing process.

[0045] Another embodiment of the present application further provides a screen projector pairing device, which is applied to a first receiving end and includes: a signal data acquisition module, a first signal data analysis module, a second signal data analysis module, a first communication module, and a first pairing module;

[0046] The signal data acquisition module is configured to acquire the first audio signal played by the first transmitting end and the first optical signal emitted by the first transmitting end;

[0047] The first signal data parsing module is configured to parse the first audio signal using a preset key to obtain first network connection credential data and a first pairing code;

[0048] The second signal data parsing module is configured to parse the first optical signal and obtain a second pairing code;

[0049] the first communication module being configured to establish a communication connection with the first sending end using the first network connection credential data if the first pairing code is consistent with the second pairing code;

[0050] The first pairing module is configured to perform a pairing operation with the first sending end using the first pairing code after establishing a communication connection with the first sending end.

[0051] Another embodiment of the present application further provides a screen projector pairing device, which is applied to a second transmitting end and includes: a verification data generation module, a signal data generation module, a second communication module, and a second pairing module;

[0052] The verification data generation module is configured to randomly generate the second network connection credential data and the third pairing code;

[0053] the signal data generating module is configured to generate a fourth audio signal based on the second network connection credential data and the third pairing code, generate a second optical signal based on the third pairing code, and synchronously play the fourth audio signal and emit the second optical signal;

[0054] The second communication module is configured to respond to a communication connection establishment request sent by the second receiving end after parsing the fourth audio signal and the second optical signal, and verify the communication connection establishment request according to the second network connection credential data;

[0055] The second pairing module is configured to perform a pairing operation with the second receiving end according to the third pairing code after establishing a communication connection with the second receiving end. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the implementation. Obviously, the drawings described below are only some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0057] Figure 1 A schematic diagram of a flow chart of a screen projector pairing method applied to a first receiving end provided in some embodiments of the present application;

[0058] Figure 2 A schematic diagram of a flow chart of a screen projector pairing method applied to a second transmitting end provided in some embodiments of the present application;

[0059] Figure 3 This is a structural diagram of a screen projector pairing device applied to a first receiving end provided in some embodiments of the present application;

[0060] Figure 4 This is a structural diagram of a screen projector pairing device applied to a second transmitting end provided in some embodiments of the present application. DETAILED DESCRIPTION

[0061] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0063] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0064] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0065] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0066] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0067] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.

[0068] The existing pairing mechanisms are mainly divided into two categories: fixed factory pairing or automatic search and pairing under the same network environment. However, electronic screen projectors are often used in scenarios where multiple devices are deployed, and the above methods have the problems of poor flexibility or easy connection errors. To this end, some existing technologies use manual intervention, and users perform manual pairing operations under the same network environment to achieve directional pairing. However, the above method has cumbersome steps, and manual pairing can easily lead to pairing code leakage, thereby affecting the reliability of the screen projection process.

[0069] Please refer to Figure 1 To solve the problems of cumbersome screen projection process and unreliable screen projection pairing process in the prior art, the embodiment of the present application provides a screen projection device pairing method applied to a first receiving end, including S101 to S105, specifically:

[0070] S101: Collecting a first audio signal played by a first transmitting end and a first optical signal emitted by the first transmitting end.

[0071] Preferably, in some embodiments of the present application, the first transmitting end can be the device being projected or the projection device, but the first transmitting end needs to at least include: a speaker and an LED light module device, playing the first audio signal through the speaker and emitting the first light signal through the LED light module.

[0072] Preferably, in some embodiments of the present application, the first receiving end can be the device being projected or the screen projection device, but the first receiving end needs to at least include: a video capture device and an audio capture device, and the first light signal is captured by the video capture device, and the first audio signal is captured by the audio capture device.

[0073] Preferably, in some embodiments of the present application, when the first sending end is the device to which the screen is projected, the first receiving end is the screen projection device; when the first sending end is the screen projection device, the first receiving end is the device to which the screen is projected.

[0074] Preferably, in some embodiments of the present application, the first light signal is a visible light flashing sequence.

[0075] S102: Analyze the first audio signal using a preset key to obtain first network connection credential data and a first pairing code.

[0076] Furthermore, in some embodiments of the present application, parsing the first audio signal using a preset key to obtain the first network connection credential data and the first pairing code includes:

[0077] parsing the first audio signal to obtain first ciphertext data;

[0078] Decrypting the first ciphertext data using the preset key to obtain decrypted data;

[0079] The decrypted data is verified by a preset verification method, and when the verification is successful, the first network connection credential data and the first pairing code are sequentially extracted from the decrypted data.

[0080] Preferably, in some embodiments of the present application, the preset key can be stored in the first receiving end in advance in any form.

[0081] Preferably, in some embodiments of the present application, verifying the decrypted data by a preset verification method includes: the decrypted data also includes an HMAC (Hash-based Message Authentication Code) integrity check value; and verifying the decrypted data by HMAC.

[0082] Preferably, in some embodiments of the present application, the first network connection credential data includes the SSID (Service Set Identifier) and password of the wireless hotspot generated by the first sending end for the screen projection pairing process.

[0083] It can be seen from the above embodiments that the present application protects the data transmission process through an encryption mechanism to prevent eavesdropping or tampering, avoid pairing code leakage, and further configures a preset key in the first receiving end to achieve directional pairing, thereby improving the reliability of the screen projection process; further, when the first receiving end parses the first audio signal, the first audio signal is preliminarily verified to ensure the integrity of the data.

[0084] Furthermore, in some embodiments of the present application, parsing the first audio signal to obtain first ciphertext data includes:

[0085] filtering noise in the first audio signal and processing the first audio signal by high-frequency enhancement to obtain a second audio signal;

[0086] Processing the second audio signal through redundancy checking and error frame reconstruction to obtain a third audio signal;

[0087] The third audio signal is demodulated by FSK (Frequency Shift Keying) to obtain the first ciphertext data.

[0088] Preferably, in some embodiments of the present application, filtering the noise in the first audio signal includes but is not limited to filtering the noise in the first audio signal through digital filters, frequency domain processing, statistical methods, and machine learning methods. The present application does not limit the noise filtering method.

[0089] Preferably, in some embodiments of the present application, the processing of the first audio signal by high-frequency enhancement includes but is not limited to enhancing the high-frequency signal in the first audio signal by pre-emphasis, equalizer, dynamic processing, and spectrum shaping. The present application does not limit the method used for high-frequency enhancement.

[0090] Preferably, in some embodiments of the present application, the third audio signal is demodulated by FSK, specifically: wherein, FSK is a digital modulation technology that represents binary data by changing the frequency of the carrier signal, and further obtains a digital signal of any base through the binary data, thereby obtaining the first ciphertext data.

[0091] It can be seen from the above embodiments that the present application eliminates noise interference in the first audio signal through noise filtering, and further optimizes the high-frequency components through high-frequency enhancement to compensate for the attenuation of the first audio signal during transmission; in addition, the data damage that occurs in the transmission process of the first audio signal is repaired through redundancy check and error frame reconstruction to ensure that the complete data can be parsed from the first ciphertext data subsequently; finally, the third audio signal is restored to the first ciphertext data through FSK demodulation, which can adapt to the sampling rate of different audio devices and improve the versatility of the screen projection pairing method.

[0092] S103: Analyze the first optical signal to obtain a second pairing code.

[0093] Preferably, in some embodiments of the present application, parsing the first light signal to obtain the second pairing code includes: when the first light signal is a visible light flashing sequence, corresponding binary data can be obtained based on the visible light and dark conditions at each time point, and a digital signal in any base can be further obtained through the binary data to obtain the second pairing code.

[0094] S104: If the first pairing code is consistent with the second pairing code, establishing a communication connection with the first sending end through the first network connection credential data.

[0095] Preferably, in some embodiments of the present application, establishing a communication connection with the first sending end through the first network connection credential data includes: the first receiving end obtains the SSID and password through decryption, connects to the wireless hotspot generated by the first sending end for the screen projection pairing process, and thereby establishes a communication connection with the first sending end.

[0096] S105: After establishing a communication connection with the first transmitting end, performing a pairing operation with the first transmitting end using the first pairing code.

[0097] Furthermore, in some embodiments of the present application, after establishing a communication connection with the first transmitting end, performing a pairing operation with the first transmitting end using the first pairing code includes:

[0098] After establishing a communication connection with the first sending end, sending the first pairing code to the first sending end;

[0099] When the first sending end verifies the first pairing code, a pairing relationship is established with the first sending end.

[0100] Preferably, in some embodiments of the present application, the decrypted data obtained by decrypting the first ciphertext data also includes a first timestamp; when the first receiving end establishes a communication connection by connecting to the wireless hotspot generated by the first sending end for the screen projection pairing process, it sends a "confirm binding" data packet to the first sending end, and the data packet includes a first pairing code and a first timestamp; the first sending end compares and confirms the received first pairing code and first timestamp, and when the confirmation is completed, the first sending end and the first receiving end are bound one-to-one, at this time, the first sending end and the first receiving end both update their own device status, establish a pairing relationship, and reject repeated access by other devices.

[0101] It can be seen from the above embodiments that the present application only sends the first pairing code through the stable communication channel after establishing a communication connection between the first receiving end and the first sending end, thereby ensuring the security and stability of data transmission, thereby improving the reliability of the screen projection pairing process; through two-end verification, the reliability of the screen projection pairing process is further improved.

[0102] In summary, compared with the prior art, the screen projection device pairing method applied to the first receiving end provided by the embodiment of the present application has the following beneficial effects: the first network connection credential data and the first pairing code are transmitted through the first audio signal, and only the first receiving end with a preset key can parse and obtain the above data from the first audio signal, and directly establish a communication connection with the first receiving end according to the data transmitted by the first audio signal, and perform a pairing operation, which can effectively avoid the information leakage problem caused by manual input of the pairing code, and reduce the tediousness of the screen projection operation while improving the reliability of the screen projection pairing process. At the same time, since the noise in the screen projection scene will affect the first audio signal, the second pairing code is transmitted through the first optical signal to verify the validity of the first audio signal, so that the first receiving end knows whether the current first audio signal is complete and valid. Only when the first pairing code and the second pairing code are consistent, the communication connection and pairing operation are performed, avoiding the first receiving end from constantly sending communication connection establishment requests to the first sending end, thereby improving the reliability of the screen projection pairing process.

[0103] Please refer to Figure 2 In order to solve the problems of cumbersome screen projection process and unreliable screen projection pairing process in the prior art, the embodiment of the present application provides a screen projection device pairing method applied to the second transmitting end, including S201 to S204, specifically:

[0104] S201: Randomly generate second network connection credential data and a third pairing code.

[0105] Preferably, in some embodiments of the present application, the second network connection credential data includes the SSID and password of the wireless hotspot generated by the second sending end for the screen projection pairing process.

[0106] S202: Generate a fourth audio signal according to the second network connection credential data and the third pairing code, generate a second light signal according to the third pairing code, and synchronously play the fourth audio signal and emit the second light signal.

[0107] Preferably, in some embodiments of the present application, the second transmitting end can be the device being projected or the projection device, but the second transmitting end needs to at least include: a speaker and an LED light module device, playing the fourth audio signal through the speaker and emitting the second light signal through the LED light module.

[0108] Preferably, in some embodiments of the present application, the second light signal is a visible light flashing sequence.

[0109] Furthermore, in some embodiments of the present application, generating the second optical signal according to the third pairing code includes:

[0110] The third pairing code is modulated into a corresponding visible light flashing sequence according to a preset coding rule, and the visible light flashing sequence is used as the second optical signal.

[0111] Preferably, in some embodiments of the present application, the preset coding rule includes: converting the third pairing code into binary data, and further generating a corresponding visible light flashing sequence based on the binary data, wherein the visible light and dark conditions at each time point have corresponding binary data, thereby obtaining the second light signal.

[0112] It can be seen from the above embodiments that since the optical signal is not affected by the noise in the projection environment, the second transmitting end can generate a corresponding visible light flashing sequence according to the third pairing code, so that the second receiving end can parse and obtain the third pairing code from the flashing pattern of the visible light, so that the second receiving end can effectively verify the completeness of the fourth audio signal, thereby improving the reliability of the projection pairing process.

[0113] S203: Respond to the communication connection establishment request sent by the second receiving end after parsing the fourth audio signal and the second optical signal, and verify the communication connection establishment request according to the second network connection credential data.

[0114] Preferably, in some embodiments of the present application, the second receiving end can be the device being projected or the screen projection device, but the second receiving end needs to at least include: a video capture device and an audio capture device, and the second light signal is captured by the video capture device, and the fourth audio signal is captured by the audio capture device.

[0115] Preferably, in some embodiments of the present application, when the second sending end is the device to which the screen is projected, the second receiving end is the screen projection device; when the second sending end is the screen projection device, the second receiving end is the device to which the screen is projected.

[0116] Preferably, in some embodiments of the present application, the second receiving end obtains the SSID and password of the wireless hotspot generated by the second sending end for the screen projection pairing process by parsing, and sends a communication connection establishment request to the second sending end using the SSID and password of the wireless hotspot. The second sending end verifies the SSID and password of the wireless hotspot sent by the second receiving end, and if verified, establishes a communication connection with the second receiving end.

[0117] Furthermore, in some embodiments of the present application, generating a fourth audio signal according to the second network connection credential data and the third pairing code includes:

[0118] Generate the check value required by the preset check method;

[0119] Encrypt the verification value, the second network connection credential data, and the third pairing code using a preset encryption algorithm to obtain second ciphertext data;

[0120] The second ciphertext data is modulated into the fourth audio signal by using an FSK modulation algorithm.

[0121] Preferably, in some embodiments of the present application, when generating the second ciphertext data, in addition to encrypting the check value, the second network connection credential data and the third pairing code, the second timestamp is also encrypted.

[0122] Preferably, in some embodiments of the present application, the preset encryption algorithm includes but is not limited to the AES-128 algorithm combined with dynamic Salt encryption.

[0123] Preferably, in some embodiments of the present application, the second ciphertext data is modulated into the fourth audio signal through the FSK modulation algorithm, specifically: wherein, FSK is a digital modulation technology, by converting the second ciphertext data into binary data, and further generating a carrier signal of corresponding frequency based on the binary data, thereby obtaining the fourth audio signal.

[0124] It can be seen from the above embodiments that the present application verifies whether the fourth audio signal has problems such as data loss during the transmission process through the check value, and further encrypts the data through the encryption algorithm to prevent other receiving ends from cracking the fourth audio signal, thereby improving the reliability of the screen projection process; finally, the encrypted second ciphertext data is modulated into a playable fourth audio signal through the FSK modulation algorithm, and only the second receiving end corresponding to the key can parse the fourth audio signal, avoiding the information leakage problem caused by manual input of the pairing code, while improving the reliability of the screen projection pairing process, reducing the tediousness of the screen projection operation; in addition, the FSK modulation algorithm can adapt to the sampling rate of different audio devices, thereby improving the versatility of the screen projection pairing method.

[0125] S204: After establishing a communication connection with the second receiving end, performing a matching operation with the second receiving end according to the third pairing code.

[0126] Furthermore, in some embodiments of the present application, performing a matching operation with the second receiving end according to the third pairing code includes:

[0127] receiving a fourth pairing code sent by the second receiving end; wherein the fourth pairing code is obtained by the second receiving end by parsing the fourth audio signal;

[0128] When the third pairing code is consistent with the fourth pairing code, a pairing relationship with the second receiving end is established.

[0129] Preferably, in some embodiments of the present application, after the second receiving end establishes a communication connection by connecting to the wireless hotspot generated by the second sending end for the screen projection pairing process, the second receiving end sends a "confirm binding" data packet to the second sending end, and the data packet includes a second pairing code and a second timestamp; the second sending end compares and confirms the received second pairing code and second timestamp, and when the confirmation is completed, the second sending end and the second receiving end are bound one-to-one. At this time, the second sending end and the second receiving end both update their own device status, establish a pairing relationship, and reject repeated access by other devices.

[0130] It can be seen from the above embodiments that the present application only receives the third pairing code through the stable communication channel after establishing a communication connection between the second receiving end and the second sending end, thereby ensuring the security and stability of data transmission, thereby improving the reliability of the screen projection pairing process; at the same time, the fourth pairing code is further verified by the second sending end to prevent other receiving ends from making malicious screen projection pairing requests after stealing the second network connection credential data, thereby further improving the reliability of the screen projection pairing process.

[0131] In summary, compared with the existing technology, the screen projection device pairing method applied to the second transmitting end provided by the embodiment of the present application has the following beneficial effects: a fourth audio signal is generated and played based on the randomly generated second network connection credential data and the third pairing code, so that the second receiving end that can be paired with the second transmitting end can parse and obtain the second network connection credential data and the third pairing code therefrom, thereby realizing directional pairing data transmission, avoiding the information leakage problem caused by manual input of the pairing code, and reducing the tediousness of the screen projection operation while improving the reliability of the screen projection pairing process; further, a corresponding second light signal is generated based on the third pairing code, and the second light signal is synchronously emitted, so that the second receiving end can accurately verify the completeness of the parsed and obtained pairing data, avoiding the second receiving end using incomplete second network connection credential data to continuously send communication connection establishment requests to the second transmitting end, further improving the reliability of the screen projection pairing process.

[0132] like Figure 3 As shown, based on the above-mentioned method embodiment, an embodiment of the present application provides a screen projector pairing device applied to a first receiving end, including: a signal data acquisition module 301, a first signal data analysis module 302, a second signal data analysis module 303, a first communication module 304 and a first pairing module 305.

[0133] Furthermore, in some embodiments of the present application, the signal data acquisition module 301 is used to collect the first audio signal played by the first transmitting end and the first optical signal emitted by the first transmitting end; the first signal data parsing module 302 is used to parse the first audio signal through a preset key to obtain the first network connection credential data and the first pairing code; the second signal data parsing module 303 is used to parse the first optical signal to obtain the second pairing code; the first communication module 304 is used to establish a communication connection with the first transmitting end through the first network connection credential data if the first pairing code is consistent with the second pairing code; the first pairing module 305 is used to perform a pairing operation with the first transmitting end through the first pairing code after establishing a communication connection with the first transmitting end.

[0134] Furthermore, in some embodiments of the present application, parsing the first audio signal using a preset key to obtain first network connection credential data and a first pairing code includes: parsing the first audio signal to obtain first ciphertext data; decrypting the first ciphertext data using the preset key to obtain decrypted data; verifying the decrypted data using a preset verification method, and when the verification is successful, extracting the first network connection credential data and the first pairing code from the decrypted data in sequence.

[0135] Furthermore, in some embodiments of the present application, parsing the first audio signal to obtain the first ciphertext data includes: filtering the noise in the first audio signal, and processing the first audio signal through high-frequency enhancement to obtain a second audio signal; processing the second audio signal through redundancy check and error frame reconstruction to obtain a third audio signal; and demodulating the third audio signal through FSK to obtain the first ciphertext data.

[0136] Furthermore, in some embodiments of the present application, after establishing a communication connection with the first sending end, performing a pairing operation with the first sending end through the first pairing code includes: after establishing a communication connection with the first sending end, sending the first pairing code to the first sending end; when the first sending end verifies the first pairing code, establishing a pairing relationship with the first sending end.

[0137] It can be understood that the above-mentioned device embodiment corresponds to the method embodiment of the present application, and it can implement the screen projector pairing method applied to the first receiving end provided by any of the above-mentioned method embodiments of the present application.

[0138] In summary, compared with the prior art, the screen projection device pairing device provided by the embodiment of the present application and applied to the first receiving end has the following beneficial effects: the first network connection credential data and the first pairing code are transmitted through the first audio signal, and only the first receiving end with a preset key can parse and obtain the above data from the first audio signal, and directly establish a communication connection with the first receiving end according to the data transmitted by the first audio signal, and perform a pairing operation, which can effectively avoid the problem of information leakage caused by manual input of the pairing code, and reduce the tediousness of the screen projection operation while improving the reliability of the screen projection pairing process. At the same time, since the noise in the screen projection scene will affect the first audio signal, the second pairing code is transmitted through the first optical signal to verify the validity of the first audio signal, so that the first receiving end knows whether the current first audio signal is complete and valid. Only when the first pairing code and the second pairing code are consistent, the communication connection and pairing operation are performed, avoiding the first receiving end from constantly sending communication connection establishment requests to the first sending end, thereby improving the reliability of the screen projection pairing process.

[0139] like Figure 4 As shown, based on the above-mentioned method embodiment, an embodiment of the present application provides a screen projector pairing device applied to a second sending end, including: a verification data generation module 401, a signal data generation module 402, a second communication module 403 and a second pairing module 404.

[0140] Furthermore, in some embodiments of the present application, the verification data generation module 401 is used to randomly generate second network connection credential data and a third pairing code; the signal data generation module 402 is used to generate a fourth audio signal based on the second network connection credential data and the third pairing code, and to generate a second light signal based on the third pairing code, and to synchronously play the fourth audio signal and transmit the second light signal; the second communication module 403 is used to respond to the communication connection establishment request sent by the second receiving end after parsing the fourth audio signal and the second light signal, and to verify the communication connection establishment request based on the second network connection credential data; the second pairing module 404 is used to perform a matching operation with the second receiving end according to the third pairing code after establishing a communication connection with the second receiving end.

[0141] Furthermore, in some embodiments of the present application, generating a fourth audio signal based on the second network connection credential data and the third pairing code includes: generating a verification value required by a preset verification method; encrypting the verification value, the second network connection credential data and the third pairing code through a preset encryption algorithm to obtain second ciphertext data; and modulating the second ciphertext data into the fourth audio signal through an FSK modulation algorithm.

[0142] Furthermore, in some embodiments of the present application, generating the second light signal according to the third pairing code includes: modulating the third pairing code into a corresponding visible light flashing sequence according to a preset coding rule, and using the visible light flashing sequence as the second light signal.

[0143] Furthermore, in some embodiments of the present application, the matching operation with the second receiving end according to the third pairing code includes: receiving a fourth pairing code sent by the second receiving end; wherein the fourth pairing code is obtained by the second receiving end by parsing the fourth audio signal; when the third pairing code is consistent with the fourth pairing code, establishing a pairing relationship with the second receiving end.

[0144] In summary, compared with the prior art, the screen projection device pairing device applied to the second transmitting end provided by the embodiment of the present application has the following beneficial effects: a fourth audio signal is generated and played based on the randomly generated second network connection credential data and the third pairing code, so that the second receiving end that can be paired with the second transmitting end can parse and obtain the second network connection credential data and the third pairing code therefrom, thereby realizing directional pairing data transmission, avoiding the problem of information leakage caused by manual input of the pairing code, and reducing the tediousness of the screen projection operation while improving the reliability of the screen projection pairing process; further, a corresponding second light signal is generated based on the third pairing code, and the second light signal is synchronously emitted, so that the second receiving end can accurately verify the completeness of the parsed and obtained pairing data, thereby avoiding the second receiving end using incomplete second network connection credential data to continuously send communication connection establishment requests to the second transmitting end, thereby further improving the reliability of the screen projection pairing process.

[0145] It can be understood that the above-mentioned device embodiment corresponds to the method embodiment of the present application, which can implement the screen projector pairing method applied to the second sending end provided by any of the above-mentioned method embodiments of the present application.

[0146] It should be noted that the device embodiments described above are merely illustrative, and some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided herein, the connection relationship between the modules indicates that there is a communication connection between them, which may be implemented as one or more communication buses or signal lines. Those skilled in the art may understand and implement the present invention without inventive effort.

[0147] Based on the above-mentioned embodiment of the screen projector pairing method applied to the first receiving end or the second transmitting end, another embodiment of the present application provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the screen projector pairing method applied to the first receiving end or the second transmitting end of any embodiment of the present application.

[0148] For example, in this embodiment, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present application. The one or more module elements may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0149] The terminal device may be a computing device such as a desktop computer, a notebook computer, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.

[0150] The processor may be a central processing unit (CPU), 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, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, connecting various parts of the entire terminal device using various interfaces and lines.

[0151] Based on the above-mentioned method embodiments, another embodiment of the present application provides a computer-readable storage medium, including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the screen projector pairing method applied to the first receiving end or the second sending end as described in any one of the above-mentioned method embodiments of the present application.

[0152] Wherein, the module / unit integrated in the device / terminal equipment, if implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program, when executed by the processor, can implement the steps of the above-mentioned various method embodiments. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device that can carry the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium, etc.

Claims

1. A screen projector pairing method, characterized in that: Applied to the first receiving end, including: collecting a first audio signal played by a first transmitting end and a first optical signal emitted by the first transmitting end; parsing the first audio signal using a preset key to obtain first network connection credential data and a first pairing code; parsing the first optical signal to obtain a second pairing code; If the first pairing code is consistent with the second pairing code, establishing a communication connection with the first sending end through the first network connection credential data; After establishing a communication connection with the first transmitting end, a pairing operation is performed with the first transmitting end using the first pairing code.

2. A screen projection device pairing method according to claim 1, characterized in that: The step of parsing the first audio signal by using a preset key to obtain first network connection credential data and a first pairing code includes: parsing the first audio signal to obtain first ciphertext data; Decrypting the first ciphertext data using the preset key to obtain decrypted data; The decrypted data is verified by a preset verification method, and when the verification is successful, the first network connection credential data and the first pairing code are sequentially extracted from the decrypted data.

3. A screen projection device pairing method according to claim 2, characterized in that: The parsing of the first audio signal to obtain first ciphertext data includes: filtering noise in the first audio signal and processing the first audio signal by high-frequency enhancement to obtain a second audio signal; Processing the second audio signal through redundancy checking and error frame reconstruction to obtain a third audio signal; The third audio signal is demodulated by FSK to obtain the first ciphertext data.

4. A screen projection device pairing method according to claim 2, characterized in that: After establishing a communication connection with the first transmitting end, performing a pairing operation with the first transmitting end using the first pairing code includes: After establishing a communication connection with the first sending end, sending the first pairing code to the first sending end; When the first sending end verifies the first pairing code, a pairing relationship is established with the first sending end.

5. A screen projector pairing method, characterized in that: Applied to the second sending end, including: randomly generating a second network connection credential data and a third pairing code; generating a fourth audio signal according to the second network connection credential data and the third pairing code, generating a second light signal according to the third pairing code, and synchronously playing the fourth audio signal and emitting the second light signal; responding to a communication connection establishment request sent by the second receiving end after parsing the fourth audio signal and the second optical signal, and verifying the communication connection establishment request according to the second network connection credential data; After establishing a communication connection with the second receiving end, a matching operation is performed with the second receiving end according to the third pairing code.

6. A screen projection device pairing method according to claim 5, characterized in that: Generating a fourth audio signal according to the second network connection credential data and the third pairing code includes: Generate the check value required by the preset check method; Encrypt the verification value, the second network connection credential data, and the third pairing code using a preset encryption algorithm to obtain second ciphertext data; The second ciphertext data is modulated into the fourth audio signal by using an FSK modulation algorithm.

7. A screen projection device pairing method according to claim 5, characterized in that: Generating a second optical signal according to the third pairing code includes: The third pairing code is modulated into a corresponding visible light flashing sequence according to a preset coding rule, and the visible light flashing sequence is used as the second optical signal.

8. A screen projection device pairing method according to claim 5, characterized in that: The performing a matching operation with the second receiving end according to the third pairing code includes: receiving a fourth pairing code sent by the second receiving end; wherein the fourth pairing code is obtained by the second receiving end by parsing the fourth audio signal; When the third pairing code is consistent with the fourth pairing code, a pairing relationship with the second receiving end is established.

9. A screen projector pairing device, characterized in that: Applied to the first receiving end, comprising: a signal data acquisition module, a first signal data analysis module, a second signal data analysis module, a first communication module and a first pairing module; The signal data acquisition module is configured to acquire the first audio signal played by the first transmitting end and the first optical signal emitted by the first transmitting end; The first signal data parsing module is configured to parse the first audio signal using a preset key to obtain first network connection credential data and a first pairing code; The second signal data parsing module is configured to parse the first optical signal and obtain a second pairing code; the first communication module being configured to establish a communication connection with the first sending end using the first network connection credential data if the first pairing code is consistent with the second pairing code; The first pairing module is configured to perform a pairing operation with the first sending end using the first pairing code after establishing a communication connection with the first sending end.

10. A screen projector pairing device, characterized in that: Applied to the second sending end, comprising: a verification data generation module, a signal data generation module, a second communication module and a second pairing module; The verification data generation module is configured to randomly generate the second network connection credential data and the third pairing code; the signal data generating module is configured to generate a fourth audio signal based on the second network connection credential data and the third pairing code, generate a second optical signal based on the third pairing code, and synchronously play the fourth audio signal and emit the second optical signal; The second communication module is configured to respond to a communication connection establishment request sent by the second receiving end after parsing the fourth audio signal and the second optical signal, and verify the communication connection establishment request according to the second network connection credential data; The second pairing module is configured to perform a pairing operation with the second receiving end according to the third pairing code after establishing a communication connection with the second receiving end.

Citation Information

Patent Citations

  • Visible-light close range communication system based on mobile phone audio interface and method thereof

    CN106254659A

  • Screen projection method

    CN110769523A

  • Equipment interconnection method and device, vehicle equipment, terminal equipment and storage medium

    CN117785084A

  • Pairing method and device, storage medium, mobile terminal, equipment and program product

    CN119697803A

  • Process Method for System Login in Light-Operated Manner, Light-Operated Electronic Equipment and Mobile Electronic Device for Controlling Electronic Equipment with Light

    US20140113592A1