Screen mirroring method and apparatus, and computer device and storage medium

By acquiring the target channel determined by the wireless access point in the target frequency band through automatic channel selection and priority to scan the target channel in the target frequency band, the problem of long scanning time when the screen projector and the wireless access point are solved, and the effect of quickly establishing communication connections and improving screen projection efficiency is achieved.

WO2025086944A1PCT designated stage expired Publication Date: 2025-05-01SHENZHEN TCL NEW-TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/119456
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-10-26
Filing Date
2024-09-18
Publication Date
2025-05-01

AI Technical Summary

Technical Problem

When the screen projector is networked with a wireless access point, it needs to scan on different channels in different frequency bands, resulting in a longer screen projection time.

Method used

By acquiring the wireless access point to select the determined target channel through the automatic channel in the target frequency band, and after establishing a connection with the screen projection client, the target channel is preferred to scan the target frequency band in the target frequency band to establish a communication connection between the screen projection terminal and the wireless access point.

Benefits of technology

Quickly establish communication connection between the screen projection terminal and the wireless access point, improving the screen projection efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024119456_01052025_PF_FP_ABST
    Figure CN2024119456_01052025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a screen mirroring method and apparatus, and a computer device and a storage medium. The method comprises: acquiring a target channel, which is determined by a radio access point in a target frequency band by means of automatic channel selection; in response to a connection operation for a screen mirroring terminal and a screen mirroring client, performing scanning in the target frequency band on the basis of the target channel, so as to establish a communication connection between the screen mirroring terminal and the radio access point; and on the basis of the state of communication connection between the screen mirroring terminal and the radio access point in the target channel of the target frequency band, performing screen mirroring by means of a display terminal at the radio access point. By means of the screen mirroring method provided in the embodiments of the present application, the communication connection between the screen mirroring terminal and the radio access point can be quickly achieved, thereby improving the screen mirroring efficiency and improving the screen mirroring experience of a user.
Need to check novelty before this filing date? Find Prior Art

Description

Screen projection method, device, computer equipment and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on October 26, 2023, with application number 202311407483.2 and application name “Screen projection method, device, computer equipment and storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of screen projection technology, and specifically to a screen projection method, apparatus, computer equipment and storage medium. Background Art

[0004] Screen projection technology is increasingly being used in smart homes. To enhance the user experience, screen projection devices (screen projection terminals) have emerged. Currently, screen projection devices can establish a connection with screen projection clients, such as mobile phones and computers, and then communicate with other wireless access points (APs) via wireless networking. These devices can then send the content from the projection client to the AP, such as a smart TV, for display on the smart TV's screen.

[0005] However, in the process of networking the above-mentioned screen projector with a wireless access point to establish a communication connection, the screen projector is often required to scan different channels in different frequency bands, resulting in a long time for screen projection. Technical issues

[0006] Currently, when a screen projector is networked with a wireless access point to establish a communication connection, the screen projector is often required to scan different channels in different frequency bands, resulting in a long time for screen projection. Technical Solutions

[0007] In order to improve the defects of the existing technology, the main purpose of this application is to provide a screen projection method, device, computer equipment and storage medium to solve the problem that the existing screen projection method takes a long time.

[0008] To achieve the above objectives, the present application provides a screen projection method, which is applied to a screen projection terminal, and the screen projection method includes:

[0009] Obtain the target channel determined by the wireless access point through automatic channel selection within the target frequency band;

[0010] In response to the connection operation between the screen projection terminal and the screen projection client, scanning is performed within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point;

[0011] If the screen projection terminal establishes a communication connection with the wireless access point, the screen projection information provided by the screen projection client is obtained and sent to the wireless access point so as to perform screen projection through the display terminal of the wireless access point.

[0012] As a feasible embodiment of the present application, after the step of scanning within the target frequency band according to the target channel to establish a communication connection between the projection terminal and the wireless access point, the method further includes:

[0013] If the screen projection terminal does not establish a connection with the wireless access point in the target channel of the target frequency band, other channels in the target frequency band are scanned to establish a communication connection between the screen projection terminal and the wireless access point.

[0014] As a feasible embodiment of the present application, obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes:

[0015] Acquire a first target channel determined by the wireless access point through automatic channel selection within the first target frequency band and a second target channel determined by the wireless access point through automatic channel selection within the second target frequency band;

[0016] The scanning within the target frequency band according to the target channel to establish a communication connection between the projection terminal and the wireless access point includes:

[0017] Scanning within the first target frequency band according to the first target channel to establish a communication connection between the projection terminal and the wireless access point; and / or

[0018] Scanning is performed within the second target frequency band according to the second target channel to establish a communication connection between the projection terminal and the wireless access point.

[0019] As a feasible embodiment of the present application, before the step of scanning within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point, the method further includes:

[0020] In response to the frequency band switching information sent by the wireless access point through the Bluetooth link, determining a final target frequency band from the first target frequency band and the second target frequency band, and determining a final target channel corresponding to the final target frequency band;

[0021] The scanning within the target frequency band according to the target channel to establish a communication connection between the projection terminal and the wireless access point includes:

[0022] Scanning is performed within the final target frequency band according to the final target channel to establish a communication connection between the projection terminal and the wireless access point.

[0023] As a feasible embodiment of the present application, before the step of scanning within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point, the method further includes:

[0024] In response to channel switching information sent by the wireless access point through a Bluetooth link, determining a final switching channel according to the channel switching information;

[0025] The scanning within the target frequency band according to the target channel to establish a communication connection between the projection terminal and the wireless access point includes:

[0026] Scanning is performed within the target frequency band according to the final switching channel to establish a communication connection between the screen projection terminal and the wireless access point, and the Bluetooth link between the screen projection terminal and the wireless access point is cut off.

[0027] As a feasible embodiment of the present application, before the step of determining the final switching channel according to the channel switching information sent by the wireless access point through the Bluetooth link, the method further includes:

[0028] The wireless access point determines the channel interference state of the target channel according to the acquired channel information;

[0029] When the channel interference status meets the preset conditions, the wireless access point determines the switching channel through automatic channel selection and sends channel switching information to the projection terminal through the Bluetooth link.

[0030] As a feasible embodiment of the present application, obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes:

[0031] The wireless access point obtains channel information of each channel in the target frequency band, where the channel information includes at least one of a noise floor, received signal strength indicators of other wireless access points, channel usage statistics, and transmit power;

[0032] A target channel determined by the wireless access point within a target frequency band is determined according to the channel information of each channel.

[0033] Accordingly, the present application provides a screen projection device, which is applied to a screen projection terminal, and the screen projection device includes:

[0034] An acquisition module, configured to acquire a target channel determined by the wireless access point through automatic channel selection within a target frequency band;

[0035] A scanning module, configured to scan within the target frequency band according to the target channel in response to a connection operation between the screen projection terminal and the screen projection client, so as to establish a communication connection between the screen projection terminal and the wireless access point;

[0036] The screen projection module is used to obtain the screen projection information provided by the screen projection client and send it to the wireless access point if the screen projection terminal establishes a communication connection with the wireless access point, so as to project the screen through the display terminal of the wireless access point.

[0037] The present application also provides a computer device, comprising:

[0038] one or more processors;

[0039] Memory; and

[0040] One or more applications, wherein the one or more applications are stored in the memory and configured so that the processor executes any one of the screen projection methods provided above.

[0041] The present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute any of the screen projection methods described above. Beneficial effects

[0042] The screen projection method provided in the embodiment of the present application obtains the target channel determined by the wireless access point through automatic channel selection, and then after establishing a connection operation with the screen projection client, preferentially scans the target channel within the target frequency band, thereby quickly establishing a communication connection between the screen projection terminal and the wireless access point. After the communication connection is established, the screen projection information on the screen projection client is projected and displayed on the display terminal of the wireless access point. Through the above scheme, the communication connection between the screen projection terminal and the wireless access point can be quickly completed, thereby improving the screen projection efficiency and improving the user's screen projection experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0044] FIG1 is a schematic diagram of a step flow of a screen projection method provided in an embodiment of the present application;

[0045] FIG2 is a schematic diagram of the steps of another screen projection method provided in an embodiment of the present application;

[0046] FIG3 is a schematic diagram of a step flow chart of another screen projection method provided in an embodiment of the present application;

[0047] FIG4 is a schematic diagram of a flow chart of steps for establishing a communication connection based on frequency band switching according to an embodiment of the present application;

[0048] FIG5 is a schematic flow chart of a step of implementing channel switching based on a Bluetooth link according to an embodiment of the present application;

[0049] FIG6 is a schematic flow chart of a step of implementing channel switching based on channel interference according to an embodiment of the present application;

[0050] FIG7 is a schematic diagram of a flow chart of steps for determining a target channel according to an embodiment of the present application;

[0051] FIG8 is a schematic structural diagram of a screen projection device provided in an embodiment of the present application;

[0052] FIG9 is a schematic structural diagram of a computer device provided in an embodiment of the present application.

[0053] Implementation Methods of the Application

[0054] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.

[0055] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the described features. In the description of this application, "plurality" means two or more, unless otherwise specifically specified.

[0056] In the description of this application, the word "for example" is used to mean "used as an example, illustration or illustration". Any embodiment described in this application as "for example" is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any person skilled in the art to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0057] To facilitate understanding of the screen projection method provided in the embodiment of the present application, the application scenarios of the screen projection method are first explained. At present, in order to assist users in screen projection, that is, to present the screen display content on a certain terminal device on the display of another terminal device, for example, to present the screen display content on a mobile phone or computer on the display screen of a smart TV, a screen projector, that is, a screen projection terminal, has been derived. Specifically, the screen projection terminal can establish a connection with the terminal device that provides the projection screen content in a wired manner to obtain the projection information, and establish a wireless communication connection with another terminal device that displays the projection content according to a pre-set communication protocol, thereby realizing the sending of the screen display content on a certain terminal device to another terminal device for projection display. In order to distinguish between the two terminal devices, the terminal device that provides the projection screen content can usually be called a projection client, and the terminal device that performs the projection display can be called a wireless access point (Access Point, AP).

[0058] However, in the above process, compared with the wired connection between the projection terminal and the projection client, the wireless connection between the projection terminal and the wireless access point often requires more time to establish a connection. For example, under normal circumstances, the projection terminal is required to perform full-channel scanning in each frequency band, which affects the projection efficiency.

[0059] And it is precisely to solve the above problems that the present application obtains the target channel determined by automatic channel selection of the wireless access point in the target frequency band, so that after establishing a connection with the screen projection client, the target channel can be scanned in the target frequency band in priority, thereby establishing a communication connection between the screen projection terminal and the wireless access point, and after establishing the communication connection, the screen projection information of the screen projection client is obtained and sent to the wireless access point, so as to realize the screen projection display of the screen projection content on the screen projection client on the display terminal of the wireless access point. Specifically, the screen projection method provided in the embodiment of the present application is usually set in the screen projection device in the form of a computer program, and the screen projection device is usually set in the form of a processor in a computer device, such as a screen projection terminal. The screen projection device in the computer device (such as a screen projection terminal) executes the computer program corresponding to the screen projection method, thereby executing the screen projection method provided in the embodiment of the present application. Specifically, as shown in Figure 1, Figure 1 is a step flow diagram of a screen projection method provided in an embodiment of the present application, specifically including steps S110 to S130:

[0060] S110: Acquire a target channel determined by the wireless access point through automatic channel selection within a target frequency band.

[0061] In the embodiment of the present application, combined with the relevant description of the application scenario provided above, it can be seen that the wireless access point usually refers to a terminal device for screen projection display, which usually establishes a wireless communication connection with the screen projection terminal within a certain frequency band channel. Therefore, before establishing a wireless communication connection between the wireless access point and the screen projection terminal, in order to improve the efficiency of establishing the wireless communication connection, the screen projection terminal can obtain the target channel determined by the wireless access point through automatic channel selection (ACS) within the target frequency band in advance through wired access. That is, the wireless access point and the screen projection terminal can be prioritized for communication connection first. At this time, the wireless access point will send the channel information determined in advance through the automatic channel selection to the screen projection terminal for storage.

[0062] Specifically, the wireless access point can usually calculate the performance of each channel based on the channel information of different channels in the frequency band, thereby selecting the optimal channel with the best performance as the target channel. For a specific implementation solution, please refer to the subsequent Figure 7 and its explanation.

[0063] S120, in response to the connection operation between the screen projection terminal and the screen projection client, scanning is performed within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point.

[0064] In an embodiment of the present application, after obtaining the optimal target channel information of the wireless access point through automatic channel selection through the aforementioned wired connection, the wired connection between the wireless access point and the screen projection terminal can be disconnected first, and then the wired connection between the screen projection terminal and the screen projection client can be realized, and the wireless communication connection between the screen projection terminal and the wireless access point can be completed according to the target channel determined by the wireless access point obtained by the screen projection terminal, for example, scanning is performed preferentially within the target channel, thereby improving the establishment rate of the wireless communication connection between the screen projection terminal and the wireless access point.

[0065] Of course, considering that there may be multiple frequency bands commonly used for communication connections, for example, the more common ones are 5G frequency bands and 2.4G frequency bands, therefore, the target channels within the acquired frequency bands are usually target channels corresponding to different frequency bands, such as channels corresponding to 5G frequency bands and 2.4G frequency bands. At this time, during the scanning process within the frequency band of the projection terminal, it is usually scanned separately according to the optimal channel in different frequency bands. For the specific implementation plan, please refer to the subsequent Figure 3 and its explanatory instructions.

[0066] Of course, considering that in actual application scenarios, the wireless access point may switch the frequency band for communication connection based on actual needs, therefore, under normal circumstances, the wireless access point can use an additional communication link, such as a Bluetooth communication link, to determine the target frequency band among multiple frequency bands to preferentially scan within the target frequency band. For specific implementation solutions, please refer to the subsequent Figure 4 and its explanation.

[0067] Of course, in addition to switching frequency bands, the wireless access point may switch the channel for communication connection based on actual needs. Specifically, similar to frequency band switching, after the channel is switched, the wireless access point can notify the projection terminal through an additional communication link, such as a Bluetooth communication link, to remind the projection terminal and the wireless access point to re-establish the wireless communication connection according to the updated channel.

[0068] S130, if the screen projection terminal establishes a communication connection with the wireless access point, the screen projection information provided by the screen projection client is obtained and sent to the wireless access point, so as to perform screen projection through the display terminal of the wireless access point.

[0069] In an embodiment of the present application, after the screen projection terminal completes the wireless communication connection with the wireless access point, the screen projection terminal can obtain the screen projection information from the screen projection client based on the wired communication connection, and then send the screen projection information to the wireless access point, such as a smart TV, via wireless communication. At this time, the wireless access point can perform screen projection display through the display terminal.

[0070] Of course, considering that the screen projection terminal may not be able to complete the establishment of a communication connection with the wireless access point on the target channel, at this time, the screen projection terminal can further scan on other channels of the target frequency band to establish a communication connection with the wireless access point, thereby realizing the subsequent screen projection process. For the specific implementation plan, please refer to the subsequent Figure 2 and its explanatory contents.

[0071] The screen projection method provided in the embodiment of the present application obtains the target channel determined by the wireless access point through automatic channel selection, and then after establishing a connection operation with the screen projection client, preferentially scans the target channel within the target frequency band, thereby quickly establishing a communication connection between the screen projection terminal and the wireless access point. After the communication connection is established, the screen projection information on the screen projection client is projected and displayed on the display terminal of the wireless access point. Through the above scheme, the communication connection between the screen projection terminal and the wireless access point can be quickly completed, thereby improving the screen projection efficiency and improving the user's screen projection experience.

[0072] As shown in FIG2 , FIG2 is a schematic diagram of the steps of another screen projection method provided in an embodiment of the present application. Specifically, compared with the schematic diagram of the steps of the screen projection method shown in FIG1 , after step S130, the following steps are further included:

[0073] Step S210: If the projection terminal does not establish a connection with the wireless access point in the target channel of the target frequency band, other channels in the target frequency band are scanned to establish a communication connection between the projection terminal and the wireless access point.

[0074] In an embodiment of the present application, when the screen projection terminal fails to establish a connection with the wireless access point in the target channel of the target frequency band, the screen projection terminal will initiate a scan in other channels to seek to establish a communication connection between the screen projection terminal and the wireless access point. After establishing the communication connection, the screen projection information provided by the screen projection client is further obtained and sent to the wireless access point to perform screen projection through the display terminal of the wireless access point to realize the subsequent screen projection process.

[0075] As shown in FIG3 , FIG3 is a schematic diagram of the steps of another screen projection method provided in an embodiment of the present application. Specifically, compared with the schematic diagram of the steps of the screen projection method shown in FIG1 , step S110 specifically includes:

[0076] S310 : Acquire a first target channel determined by a wireless access point through automatic channel selection in a first target frequency band and a second target channel determined by the wireless access point through automatic channel selection in a second target frequency band.

[0077] In the embodiment of the present application, considering that there are many frequency bands that can achieve wireless communication connections, such as the 5G frequency band and the 2.4G frequency band, the channel determined by the wireless access point also includes channels determined by automatic channel selection in different frequency bands. For example, the optimal channel determined in the 2.4G frequency band and the optimal channel determined in the 5G frequency band can be regarded as the first target channel determined by automatic channel selection in the first target frequency band and the second target channel determined by automatic channel selection in the second target frequency band, respectively. Of course, the frequency bands provided above are merely illustrative of a feasible embodiment and are not intended to limit the implementation scheme of the present application.

[0078] The step S120 specifically includes:

[0079] S320, in response to the connection operation between the screen projection terminal and the screen projection client, scanning is performed within the first target frequency band according to the first target channel to establish a communication connection between the screen projection terminal and the wireless access point.

[0080] In an embodiment of the present application, after the first target channel determined by the automatic channel selection of the wireless access point within the first target frequency band is determined, the screen projection terminal can scan within the first target frequency band according to the first target channel to establish a communication connection between the screen projection terminal and the wireless access point. Of course, when establishing a communication connection between the screen projection terminal and the wireless access point, the screen projection terminal can further scan other channels within the first target frequency band to seek to establish a communication connection between the screen projection terminal and the wireless access point.

[0081] S330, in response to the connection operation between the screen projection terminal and the screen projection client, scanning is performed within the second target frequency band according to the second target channel to establish a communication connection between the screen projection terminal and the wireless access point.

[0082] In an embodiment of the present application, after the second target channel determined by the wireless access point through automatic channel selection within the second target frequency band is determined, the screen projection terminal can scan within the second target frequency band according to the second target channel to establish a communication connection between the screen projection terminal and the wireless access point. Of course, when establishing a communication connection between the screen projection terminal and the wireless access point, the screen projection terminal can further scan other channels within the second target frequency band to seek to establish a communication connection between the screen projection terminal and the wireless access point.

[0083] As shown in FIG4 , FIG4 is a schematic flow chart of a step of establishing a communication connection based on frequency band switching provided by an embodiment of the present application, specifically, including steps S410 to S420:

[0084] S410 : In response to the frequency band switching information sent by the wireless access point through the Bluetooth link, determine a final target frequency band from the first target frequency band and the second target frequency band, and determine a final target channel corresponding to the final target frequency band.

[0085] In an embodiment of the present application, the wireless access point can switch the frequency band based on actual needs, and after the frequency band is switched, the wireless access point can initiate a frequency band switching message to the screen projection terminal through an additional Bluetooth link. At this time, the screen projection terminal can determine the frequency band re-determined by the wireless access point in response to the frequency band switching information sent by the wireless access point through the Bluetooth link, for example, determine the final target frequency band between the aforementioned first target frequency band and the second target frequency band, and determine the final target channel corresponding to the final target frequency band. For example, when the first target frequency band is the final target frequency band, at this time, the first target channel is the final target channel, and when the second target frequency band is the final target frequency band, at this time, the second target channel is the final target channel.

[0086] S420: Scan within the final target frequency band according to the final target channel to establish a communication connection between the projection terminal and the wireless access point.

[0087] In an embodiment of the present application, after the final target frequency band determined by the wireless access point is determined, the projection terminal scans within the final target frequency band according to the final target channel, and a communication connection between the projection terminal and the wireless access point can be established.

[0088] As shown in FIG5 , FIG5 is a schematic flow chart of a step of implementing channel switching based on a Bluetooth link provided in an embodiment of the present application, specifically, including steps S510 to S520:

[0089] S510 : In response to the channel switching information sent by the wireless access point through the Bluetooth link, determine a final switching channel according to the channel switching information.

[0090] In an embodiment of the present application, in addition to the aforementioned switching of frequency bands, the wireless access point can also switch channels. Specifically, when the wireless access point implements channel switching, it can also initiate channel switching information to the screen projection terminal through the Bluetooth link. At this time, in response to the channel switching information initiated by the wireless access point, the screen projection terminal can further determine the final switching channel.

[0091] Of course, the wireless access point initiating the handover of information is usually implemented when it is determined that interference exists in the channel. For a specific implementation solution, please refer to the subsequent FIG. 6 and its explanation.

[0092] S520, scanning is performed within the target frequency band according to the final switching channel to establish a communication connection between the screen projection terminal and the wireless access point, and the Bluetooth link between the screen projection terminal and the wireless access point is cut off.

[0093] In an embodiment of the present application, after determining the final switching channel finally determined by the wireless access point, the screen projection terminal can scan within the target frequency band according to the final switching channel to establish a communication connection between the screen projection terminal and the wireless access point, and after the communication connection is established, cut off the Bluetooth link between the screen projection terminal and the wireless access point.

[0094] As shown in FIG6 , FIG6 is a schematic flow chart of a step of implementing channel switching based on channel interference provided by an embodiment of the present application, specifically, including steps S610 to S620:

[0095] S610: The wireless access point determines a channel interference state of the target channel according to the acquired channel information.

[0096] In an embodiment of the present application, a wireless access point may determine the channel interference state of a target channel by collecting channel information of different channels within a frequency band. For example, it may determine whether the target channel is in a strong interference state or a weak interference state. Specifically, the channel information may include a noise floor, received signal strength indicators of other wireless access points, channel usage statistics, and transmit power, etc.

[0097] S620: When the channel interference status meets the preset conditions, the wireless access point determines the switching channel through automatic channel selection, and sends channel switching information to the projection terminal through the Bluetooth link.

[0098] In an embodiment of the present application, when it is determined that the channel interference state meets the preset conditions, for example, when it is determined that the channel interference state is a strong interference state, there will be obvious interference anomalies when the wireless access point and the screen projection terminal communicate in the channel, affecting the screen projection effect. At this time, the wireless access point will determine the switching channel through automatic channel selection, and then send channel switching information to the screen projection terminal through the Bluetooth link to enable the screen projection terminal to complete the channel switching.

[0099] As shown in FIG. 7 , FIG. 7 is a schematic flow chart of a step of determining a target channel provided by an embodiment of the present application, specifically, including steps S710 to S720:

[0100] S710: The wireless access point obtains channel information of each channel in a target frequency band.

[0101] In the embodiment of the present application, the wireless access point may collect channel information by channel acquisition. Specifically, the channel information here is similar to the channel information for evaluating the channel interference status described above, and may also include at least one of a noise floor, received signal strength indicators of other wireless access points, channel usage statistics, and transmit power.

[0102] S720: Determine a target channel determined by the wireless access point within a target frequency band according to the channel information of each channel.

[0103] In the embodiment of the present application, by using the channel information of each channel, the wireless access point can determine a channel with better performance as the target channel.

[0104] In order to better implement the screen projection method provided in the embodiment of the present application, based on the screen projection method provided in the embodiment of the present application, the embodiment of the present application further provides a screen projection device, as shown in FIG8 , the screen projection device 800 includes:

[0105] An acquisition module 810 is configured to acquire a target channel determined by the wireless access point through automatic channel selection within a target frequency band;

[0106] The scanning module 820 is configured to scan the target frequency band according to the target channel in response to the connection operation between the screen projection terminal and the screen projection client to establish a communication connection between the screen projection terminal and the wireless access point;

[0107] The screen projection module 830 is used to obtain the screen projection information provided by the screen projection client and send it to the wireless access point if the screen projection terminal establishes a communication connection with the wireless access point, so as to project the screen through the display terminal of the wireless access point.

[0108] In some embodiments of the present application, the screen projection module 830 is used to scan other channels within the target frequency band to establish a communication connection between the screen projection terminal and the wireless access point if the screen projection terminal has not established a connection with the wireless access point within the target channel of the target frequency band.

[0109] In some embodiments of the present application, the acquisition module 810 is used to acquire a first target channel determined by the wireless access point through automatic channel selection within the first target frequency band and a second target channel determined by the wireless access point through automatic channel selection within the second target frequency band; the scanning module 820 is used to scan within the first target frequency band according to the first target channel to establish a communication connection between the projection terminal and the wireless access point; and / or, scan within the second target frequency band according to the second target channel to establish a communication connection between the projection terminal and the wireless access point.

[0110] In some embodiments of the present application, the scanning module 820 is used to determine the final target frequency band from the first target frequency band and the second target frequency band in response to the frequency band switching information sent by the wireless access point through the Bluetooth link, and determine the final target channel corresponding to the final target frequency band; scan within the final target frequency band according to the final target channel to establish a communication connection between the projection terminal and the wireless access point.

[0111] In some embodiments of the present application, the scanning module 820 is used to respond to the channel switching information sent by the wireless access point through the Bluetooth link, determine the final switching channel according to the channel switching information; scan within the target frequency band according to the final switching channel to establish a communication connection between the projection terminal and the wireless access point, and cut off the Bluetooth link between the projection terminal and the wireless access point.

[0112] In some embodiments of the present application, the scanning module 820 is used to determine the channel interference status of the target channel based on the acquired channel information; when the channel interference status meets the preset conditions, the wireless access point determines the switching channel through automatic channel selection, and sends the channel switching information to the projection terminal through the Bluetooth link.

[0113] In some embodiments of the present application, the acquisition module 810 is used to obtain channel information of each channel in the target frequency band, where the channel information includes at least one of a noise floor, a received signal strength indication of other wireless access points, channel usage statistics, and transmit power; and determine a target channel determined by the wireless access point in the target frequency band based on the channel information of each channel.

[0114] For the specific limitations of the screen projection device, please refer to the limitations of the screen projection method above, which will not be repeated here. The various modules in the above-mentioned screen projection device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0115] In some embodiments of the present application, the screen projection device 800 can be implemented in the form of a computer program, which can be run on a computer device as shown in Figure 9. The memory of the computer device can store the various program modules that make up the screen projection device 800, such as the acquisition module 810, scanning module 820, and screen projection module 830 shown in Figure 8. The computer program composed of the various program modules enables the processor to execute the steps of the screen projection method of each embodiment of the present application described in this specification.

[0116] For example, the computer device shown in Figure 9 can execute step S110 through the acquisition module 810 in the screen projection device 800 shown in Figure 8. The computer device can execute step S120 through the scanning module 820. The computer device can execute step S130 through the screen projection module 830. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external computer device through a network connection. When the computer program is executed by the processor, a screen projection method is implemented.

[0117] Those skilled in the art will understand that the structure shown in Figure 9 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0118] In some embodiments of the present application, a computer device is provided, comprising one or more processors; a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the following steps:

[0119] Obtain the target channel determined by the wireless access point through automatic channel selection within the target frequency band;

[0120] In response to the connection operation between the screen projection terminal and the screen projection client, scanning is performed within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point;

[0121] If the screen projection terminal establishes a communication connection with the wireless access point, the screen projection information provided by the screen projection client is obtained and sent to the wireless access point so as to perform screen projection through the display terminal of the wireless access point.

[0122] In some embodiments of the present application, a computer-readable storage medium is provided, storing a computer program. The computer program is loaded by a processor, causing the processor to perform the following steps:

[0123] Obtain the target channel determined by the wireless access point through automatic channel selection within the target frequency band;

[0124] In response to the connection operation between the screen projection terminal and the screen projection client, scanning is performed within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point;

[0125] If the screen projection terminal establishes a communication connection with the wireless access point, the screen projection information provided by the screen projection client is obtained and sent to the wireless access point so as to perform screen projection through the display terminal of the wireless access point.

[0126] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Any reference to memory, storage, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0127] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0128] The above is a detailed introduction to a screen projection method, device, computer equipment and storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A screen projection method, characterized in that: Applied to a screen projection terminal, the screen projection method includes: Obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band; In response to the connection operation between the screen projection terminal and the screen projection client, scanning is performed within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point; Screen projection is performed through the display terminal of the wireless access point according to the communication connection status between the screen projection terminal and the wireless access point in the target channel of the target frequency band.

2. The screen projection method according to claim 1, characterized in that: The screen projection is performed through the display terminal of the wireless access point according to the communication connection state between the screen projection terminal and the wireless access point in the target channel of the target frequency band, including: If the screen projection terminal establishes a communication connection with the wireless access point within the target channel of the target frequency band, screen projection can be performed through the display terminal of the wireless access point.

3. The screen projection method according to claim 2, characterized in that: Before projecting the screen through the display screen of the wireless access point, the method further includes: Obtain the screen projection information provided by the screen projection client and send it to the wireless access point.

4. The screen projection method according to claim 1, characterized in that: The method of projecting the screen through the display terminal of the wireless access point according to the communication connection state between the projection terminal and the wireless access point in the target channel of the target frequency band includes: If the screen projection terminal fails to establish a connection with the wireless access point within the target channel of the target frequency band, other channels within the target frequency band are scanned to establish a communication connection between the screen projection terminal and the wireless access point so as to project the screen through the display terminal of the wireless access point.

5. The screen projection method according to claim 4, characterized in that: Before the screen projection is performed through the display screen of the wireless access network, the method further includes: Obtain the screen projection information provided by the screen projection client and send it to the wireless access point.

6. The screen projection method according to claim 1, characterized in that: The step of obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes: Acquire a first target channel determined by the wireless access point through automatic channel selection within a first target frequency band; The scanning within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point includes: Scanning is performed within the first target frequency band according to the first target channel to establish a communication connection between the projection terminal and the wireless access point.

7. The screen projection method according to claim 6, characterized in that: The step of obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes: Acquire a second target channel determined by the wireless access point through automatic channel selection within a second target frequency band; Scanning is performed within the second target frequency band according to the second target channel to resume the communication connection between the projection terminal and the wireless access point.

8. The screen projection method according to claim 7, characterized in that: Before the step of scanning within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point, the method further includes: In response to the frequency band switching information sent by the wireless access point via the Bluetooth link, a final target frequency band is determined from the first target frequency band and the second target frequency band, and a final target channel corresponding to the final target frequency band is determined.

9. The screen projection method according to claim 8, characterized in that: The scanning within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point includes: Scanning is performed within the final target frequency band according to the final target channel to establish a communication connection between the projection terminal and the wireless access point.

10. The screen projection method according to claim 1, characterized in that: Before the step of scanning within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point, the method further includes: In response to the channel switching information sent by the wireless access point through the Bluetooth link, a final switching channel is determined according to the channel switching information.

11. The screen projection method according to claim 10, characterized in that: The scanning within the target frequency band according to the target channel to establish a communication connection between the screen projection terminal and the wireless access point includes: According to the final switching channel, scanning is performed within the target frequency band to establish a communication connection between the screen projection terminal and the wireless access point, and the Bluetooth link between the screen projection terminal and the wireless access point is cut off.

12. The screen projection method according to claim 11, characterized in that: Before the step of determining a final switching channel according to the channel switching information in response to the channel switching information sent by the wireless access point through the Bluetooth link, the method further includes: The wireless access point determines the channel interference state of the target channel according to the acquired channel information; When the channel interference state meets a preset condition, the wireless access point determines to switch channels through automatic channel selection.

13. The screen projection method according to claim 12, characterized in that: After the wireless access point determines to switch channels through automatic channel selection, the method further includes: Channel switching information is sent to the screen projection terminal via the Bluetooth link.

14. The screen projection method according to any one of claims 1 to 13, characterized in that: The step of obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes: The wireless access point acquires channel information of each channel in the target frequency band, wherein the channel information includes a noise floor; A target channel determined by the wireless access point within a target frequency band is determined according to the channel information of each channel.

15. The screen projection method according to any one of claims 1 to 13, characterized in that: The step of obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes: The wireless access point acquires channel information of each channel in the target frequency band, wherein the channel information includes a receiving channel strength indication of other wireless access points; A target channel determined by the wireless access point within a target frequency band is determined according to the channel information of each channel.

16. The screen projection method according to any one of claims 1 to 13, characterized in that: The step of obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes: The wireless access point acquires channel information of each channel in the target frequency band, wherein the channel information includes channel usage statistics; A target channel determined by the wireless access point within a target frequency band is determined according to the channel information of each channel.

17. The screen projection method according to any one of claims 1 to 13, characterized in that: The step of obtaining a target channel determined by the wireless access point through automatic channel selection within a target frequency band includes: The wireless access point acquires channel information of each channel in the target frequency band, wherein the channel information includes transmission power; A target channel determined by the wireless access point within a target frequency band is determined according to the channel information of each channel.

18. A screen projection device, characterized in that: Applied to a screen projection terminal, the screen projection device includes: An acquisition module, used to acquire a target channel determined by the wireless access point through automatic channel selection within a target frequency band; A scanning module, configured to respond to a connection operation between the projection terminal and the projection client, and scan within the target frequency band according to the target channel to establish a communication connection between the projection terminal and the wireless access point; The screen projection module is used to obtain the screen projection information provided by the screen projection client and send it to the wireless access point if the screen projection terminal establishes a communication connection with the wireless access point, so as to project the screen through the display terminal of the wireless access point.

19. A computer device, characterized in that: The computer device comprises: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the screen projection method described in any one of claims 1 to 17.

20. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the screen projection method described in any one of claims 1 to 17.

Citation Information

Patent Citations

  • Screen projection pairing method and device, storage medium and screen projector

    CN110321093A

  • Channel switching method, device and equipment and computer readable storage medium

    CN114096003A

  • Method and system for accessing display screen to video conference interface and computer equipment

    CN114449204A

  • Screen projection method and device, computer equipment and storage medium

    CN117499734A

  • Method for dynamically selecting a channel in a wireless local area network

    US20070149230A1