Wireless connection method, wireless access point, terminal, device, medium and product
By setting custom information in the detection request and response messages, the wireless access point can actively discover and connect to wireless terminals, solving the problems of increased hardware costs and reduced system stability, and achieving a stable connection between the wireless access point and the terminal.
Patent Information
- Application Number
- CN202410602156.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2025-11-18
AI Technical Summary
In existing technologies, wireless access points need to add a low-power Bluetooth module to discover and connect to wireless terminals, which increases hardware costs and reduces system stability.
By setting custom information in the probe request and response messages, wireless access points can proactively discover and connect to wireless terminals. By leveraging the active scanning characteristics of wireless, wireless access points can connect to wireless terminals without increasing hardware costs.
Without affecting standard wireless interaction and use, the stability of wireless access points and terminals has been improved, avoiding increased hardware costs and system complexity.
Smart Images

Figure CN120980718A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, in particular to a wireless connection method, a wireless access point, a terminal, an apparatus, a medium and a product. BACKGROUND
[0002] The screen transmitter on the market is generally designed as a wireless terminal (Station, STA), and a large panel device (such as a television or a projector with a large display screen) is generally designed as a wireless access point (Acess Point, AP). In the process of interaction between the large panel device and the screen transmitter, in order to improve the user experience, the AP needs to discover the STA and actively establish a connection with the STA. Specifically, when displaying the content displayed on the screen of a mobile phone or the like on the display screen of a large panel device through a screen transmitter, if the large panel device can discover and connect to the peripheral device of the large panel device such as the screen transmitter, the user can centrally control the peripheral device of the large panel device, thereby improving the user experience.
[0003] However, at present, the STA is used to discover the AP, and the STA initiates the connection actively to enable the STA and the AP to establish a connection. In the related art, a Bluetooth low energy (BLE) module is added to the STA and the AP, and the AP discovers and connects to the STA through the BLE module. The above-mentioned method of adding the BLE module not only increases the hardware cost, but also increases the complexity of the AP and the STA and reduces the stability of the AP and the STA. Therefore, there is an urgent need for a new method to enable the AP to discover and connect to the STA. SUMMARY
[0004] Therefore, the present application provides a wireless connection method, a wireless access point, a terminal, an apparatus, a medium and a product to solve the problem that the wireless access point cannot discover and connect to the wireless terminal without increasing the hardware cost.
[0005] In a first aspect, the present application provides a wireless connection method, which is applied to a wireless access point, and the method comprises the following steps: receiving a probe request information from a wireless terminal, wherein the probe request information comprises first custom information used to represent the identity of the wireless terminal; judging whether the wireless terminal is a wireless terminal within the ecological system of the wireless access point according to the first custom information, wherein the wireless terminal within the ecological system of the wireless access point is a wireless terminal whose first custom information matches first preset information; and in the case that the wireless terminal is a wireless terminal within the ecological system of the wireless access point, sending a first probe response information to the wireless terminal in response to a connection operation of a user, wherein the first probe response information is used to instruct the wireless terminal to initiate a connection with the wireless access point, so that the wireless access point and the wireless terminal establish a connection.
[0006] The wireless connection method provided in the embodiment, the STA sends the probe request information containing the first custom information to the AP, after the AP receives the probe request information from the STA, judges whether the STA is the STA in the AP ecology according to the first custom information, and in the case that the STA is the STA in the AP ecology, responds to the connection operation of the user, sends the first probe response information to the STA, makes the STA initiate the connection to the AP, and further makes the AP and the STA establish the connection. The embodiment utilizes the active scanning characteristic of the wireless, sets the custom information in the probe request information, makes the AP able to timely discover the STA in the own ecology, after discovering the STA, sends the first probe response information to the STA through the AP, realizes the demand of the AP actively connecting the STA. That is, the application can realize the purpose of the AP discovering and actively connecting the STA without affecting the standard wireless interaction and increasing any hardware cost, and improves the stability of the STA and the AP.
[0007] In an optional implementation, the first probe response information is probe response information containing second custom information, wherein the second custom information is custom information used to represent the identity of the wireless access point.
[0008] In the embodiment, the second custom information is added in the probe response information to indicate the STA to connect the AP, so that the AP can more conveniently express the connection demand to the STA, and the STA can more quickly understand the connection demand of the AP.
[0009] In an optional implementation, the first custom information includes at least one of a first specific identifier, a physical address of the wireless terminal, a product serial number of the wireless terminal, and an identity number of the wireless terminal, and the second custom information includes at least one of a second specific identifier, a physical address of the wireless access point, a product serial number of the wireless access point, and an identity number of the wireless access point.
[0010] In an optional implementation, the number of wireless terminals is multiple, and before the first probe response information is sent to the wireless terminal, the method further includes: in the case that the wireless terminal is the wireless terminal in the wireless access point ecology, judging whether the wireless terminal is a target wireless terminal based on the connection operation of the user, wherein the target wireless terminal is the wireless terminal selected by the user from the multiple wireless terminals; and sending the first probe response information to the wireless terminal includes: in the case that the wireless terminal is the target wireless terminal, sending the first probe response information to the wireless terminal.
[0011] In the embodiment, in the case that the number of STAs is multiple, the AP sends the first probe request information to the STA only in the case that the STA determined to send the probe request information is the target wireless terminal, so as to avoid the misconnection between the AP and other STAs, and improve the connection reliability.
[0012] In an optional implementation, the second probe response information is sent to the wireless terminal in the case that the wireless terminal is not a wireless terminal within the ecological system of the wireless access point, wherein the second probe response information is different from the first probe response information.
[0013] In a second aspect, the present application provides a wireless connection method, which is applied to a wireless terminal, and the method comprises the following steps: sending probe request information to a wireless access point, wherein the probe request information comprises first custom information used for representing the identity of the wireless terminal; initiating connection to the wireless access point in the case that first probe response information is received, so that the wireless access point establishes connection with the wireless terminal, wherein the first probe response information is used for instructing the wireless terminal to initiate connection to the wireless access point.
[0014] In an optional implementation, the number of wireless access points is multiple, and before initiating connection to the wireless access point, the method further comprises the following steps: judging whether the wireless access point is a wireless access point within the ecological system of the wireless terminal according to second custom information, wherein the second custom information is information used for representing the identity of the wireless access point, and the wireless access point within the ecological system of the wireless terminal is a wireless access point whose second custom information matches second preset information; initiating connection to the wireless access point comprises the following step: initiating connection to the wireless access point in the case that the wireless access point is a wireless access point within the ecological system of the wireless terminal, so that the wireless access point establishes connection with the wireless terminal.
[0015] In this embodiment, in the case that the number of APs is multiple, the STA initiates connection to the AP only in the case that it is determined that the AP that sends the first probe response information is an AP within the ecological system of the STA, so as to avoid misconnection between the STA and other APs, and further improve the connection reliability.
[0016] In an optional implementation, each wireless access point is configured with a working channel, and the method further comprises the following steps: determining a channel queue based on at least one first working channel, wherein the first working channel is a working channel of a wireless access point within the ecological system of the wireless terminal, and the channel queue is used for representing the sequence in which the wireless terminal scans the working channels; and sending the probe request information to the wireless access point comprises the following step: sending the probe request information to the wireless access points corresponding to the working channels in the channel queue in sequence.
[0017] The wireless connection method provided in this embodiment enables the STA to respond to the active connection signal (the first probe response information) of the AP within the ecological system of the STA in a timely manner by cyclically scanning the working channels in the channel queue in sequence, and enables the STA to send the probe request information to the wireless access points corresponding to the channel queue in sequence, so as to improve the speed of sending the active connection signal by the AP to the STA and reduce the response delay.
[0018] In an optional implementation, the channel queue is determined based on the at least one first working channel, including: determining the at least one first working channel as the channel queue.
[0019] In the embodiment, the wireless terminal only scans the working channel in which the AP in the self-ecology is located, so that the wireless terminal can receive the first probe response information more timely.
[0020] In an optional implementation, the channel queue is determined based on the at least one first working channel, including: arranging the at least one first working channel at intervals between a plurality of second working channels to form the channel queue, wherein the second working channel is a working channel supported by the wireless terminal and other than the at least one first working channel.
[0021] In the embodiment, the wireless terminal not only scans the working channel in which the AP in the self-ecology is located, but also scans the working channel in which the other AP is located, so that information loss can be avoided.
[0022] In an optional implementation, the method further includes: determining the first working channel based on the received beacon frame from each wireless access point, wherein the beacon frame includes the second custom information.
[0023] In an optional implementation, the method further includes: recording the wireless access point in the case that the second probe response information is received.
[0024] In the embodiment, the STA records the AP sending the second probe response information after receiving the second probe response information, so that the STA can learn the surrounding APs and the convenience of subsequent connection is improved.
[0025] In an optional implementation, the wireless access point is a large board device, and the wireless terminal is a screen transmitter, a smart pen, a wireless microphone or a loudspeaker.
[0026] In a third aspect, the present application provides a wireless access point, including: a first receiving module, configured to receive probe request information from a wireless terminal, wherein the probe request information includes first custom information used to represent the identity of the wireless terminal; a first judging module, configured to judge whether the wireless terminal is a wireless terminal in the wireless access point ecology according to the first custom information, wherein the wireless terminal in the wireless access point ecology is a wireless terminal whose first custom information matches first preset information; and a first sending module, configured to send first probe response information to the wireless terminal in response to the connection operation of a user in the case that the wireless terminal is the wireless terminal in the wireless access point ecology, wherein the first probe response information is used to instruct the wireless terminal to initiate connection to the wireless access point, so that the wireless access point and the wireless terminal establish connection.
[0027] In an optional implementation, the first probe response information is probe response information including second custom information, where the second custom information is information used to represent the identity of the wireless access point.
[0028] In an optional implementation, the first custom information includes at least one of a first specific identifier, a physical address of the wireless terminal, a product serial number of the wireless terminal, and an identity number of the wireless terminal, and the second custom information includes at least one of a second specific identifier, a physical address of the wireless access point, a product serial number of the wireless access point, and an identity number of the wireless access point.
[0029] In an optional implementation, the number of wireless terminals is a plurality, and the wireless access point further includes: a second judging module, configured to, in a case where the wireless terminal is a wireless terminal within an ecological system of the wireless access point, judge whether the wireless terminal is a target wireless terminal based on a connection operation of the user, where the target wireless terminal is a wireless terminal selected by the user from the plurality of wireless terminals; and a first sending module, including: a first sending unit, configured to, in a case where the wireless terminal is the target wireless terminal, send the first probe response information to the wireless terminal.
[0030] In an optional implementation, the wireless access point further includes: a fourth sending module, configured to, in a case where the wireless terminal is not a wireless terminal within the ecological system of the wireless access point, send second probe response information to the wireless terminal, where the second probe response information is different from the first probe response information.
[0031] In a fourth aspect, the present application provides a wireless terminal, including: a second sending module, configured to send probe request information to a wireless access point, where the probe request information includes first custom information used to represent the identity of the wireless terminal; and a third sending module, configured to, in a case where first probe response information is received, initiate a connection to the wireless access point, so that the wireless access point establishes a connection with the wireless terminal, where the first probe response information is used to instruct the wireless terminal to initiate the connection to the wireless access point.
[0032] In an optional implementation, the number of wireless access points is a plurality, and the wireless terminal further includes: a third judging module, configured to judge whether a wireless access point is a wireless access point within an ecological system of the wireless terminal according to second custom information, where the second custom information is information used to represent the identity of the wireless access point, and the wireless access point within the ecological system of the wireless terminal is a wireless access point whose second custom information matches second preset information; and a third sending module, including: a second sending unit, configured to, in a case where the wireless access point is the wireless access point within the ecological system of the wireless terminal, initiate a connection to the wireless access point, so that the wireless access point establishes a connection with the wireless terminal.
[0033] In an alternative implementation, each wireless access point is configured with an operating channel, and the wireless terminal further includes: a first determining module configured to determine a channel queue based on at least one first operating channel, wherein the first operating channel is an operating channel of a wireless access point within the wireless terminal's ecosystem, and the channel queue is used to represent a sequence in which the wireless terminal scans the operating channels; and a second sending module including: a third sending unit configured to sequentially send probe request information to the wireless access points corresponding to the operating channels in the channel queue.
[0034] In an alternative implementation, the first determining module includes: a first determining unit configured to determine the at least one first operating channel as the channel queue.
[0035] In an alternative implementation, the first determining module includes: a second determining unit configured to cyclically arrange the at least one first operating channel among a plurality of second operating channels to form the channel queue, wherein the second operating channel is an operating channel supported by the wireless terminal other than the at least one first operating channel.
[0036] In an alternative implementation, the wireless terminal further includes: a second determining module configured to determine the first operating channel based on a received beacon frame from each wireless access point, wherein the beacon frame includes the second custom information.
[0037] In an alternative implementation, the wireless terminal further includes: a recording module configured to record the wireless access point in a case where the second probe response information is received.
[0038] In an alternative implementation, the wireless access point is a large panel device, and the wireless terminal is a screen mirroring device, a smart pen, a wireless microphone, or a wireless speaker.
[0039] In a fifth aspect, the present application provides a communication apparatus, including: a memory and a processor, which are in communication connection with each other, and the memory stores computer instructions; the processor executes the computer instructions to perform the method of the first aspect or any of the corresponding implementation forms thereof, or to perform the method of the second aspect or any of the corresponding implementation forms thereof.
[0040] In a sixth aspect, the present application provides a computer readable storage medium, which stores computer instructions for causing a communication apparatus to perform the method of the first aspect or any of the corresponding implementation forms thereof, or to perform the method of the second aspect or any of the corresponding implementation forms thereof.
[0041] In a seventh aspect, the present application provides a computer program product comprising computer instructions for causing a communications device to perform the method of the first aspect above, or any of the corresponding embodiments thereof, or to perform the method of the second aspect above, or any of the corresponding embodiments thereof. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed to be used in the specific embodiments or related description will be briefly introduced. Obviously, the drawings described below are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0043] Figure 1 is a flowchart of a wireless connection method according to an embodiment of the present application;
[0044] Figure 2 is a flowchart of another wireless connection method according to an embodiment of the present application;
[0045] Figure 3 is a flowchart of still another wireless connection method according to an embodiment of the present application;
[0046] Figure 4 is a structural block diagram of a wireless access point according to an embodiment of the present application;
[0047] Figure 5 is a structural block diagram of a wireless terminal according to an embodiment of the present application;
[0048] Figure 6 is a hardware structural schematic diagram of a communications device according to an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0050] Currently, the discovery and connection of wireless devices are unidirectional, that is, both are through the STA to discover the AP, and the STA initiatively initiates the connection. Taking a mobile phone as the STA and a wireless router as the AP as an example, the working principle of the mobile phone and the wireless router establishing a connection is generally as follows: after the AP is started, it works in a certain channel according to the configuration, and then periodically (for example, every 100 ms) broadcasts a Beacon frame to the outside world. The Beacon frame contains the key information of the AP, such as the Service Set Identifier (SSID), the working channel, the frequency width, the Media Access Control (MAC) address, the supported Physical (Phy) type, the supported rate and the like. The STA can discover the AP through passive scanning, that is, by receiving the Beacon frame in the environment and parsing, the AP in the environment can be determined and listed for the user to select to connect to a suitable AP. The MAC address is also called a physical address.
[0051] However, in some specific business scenarios, the AP needs to discover the STA and initiatively connect, for example, the connection between the peripheral devices (such as a screen transmission device, a smart pen, a wireless microphone and a loudspeaker and the like) of a large board device and the large board device. As the peripheral device of the large board device, if it can be discovered by the large board device and displayed in the discovered device list, the large board device can play a role in centralized connection and management of the peripheral device, so that the user can easily know the state of the peripheral device and connect or disconnect according to the needs, thereby improving the user's use experience.
[0052] In the related art, a BLE module is arranged on the AP and the STA, and the purpose of the AP discovering the STA and initiatively connecting is achieved through the BLE module. However, the addition of the BLE module will cause many problems, for example, increasing the hardware cost, increasing the system complexity and thereby affecting the stability of the system, mutual interference between the BLE module and a Wireless Fidelity (WiFi) module and the like.
[0053] Therefore, the present application provides a wireless connection method, which utilizes the active scanning feature of wireless, sets custom information in the probe request information and the probe response information, and can achieve the requirement of the AP discovering the STA and initiatively connecting without affecting the standard wireless interaction and use and increasing any hardware cost.
[0054] The wireless connection method provided by the present application will be described in detail below in combination with the drawings.
[0055] According to the embodiment of the present application, a wireless connection method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a communication device or a communication system, such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0056] In the embodiment, a wireless connection method is provided, which can be used in a wireless access point (AP) and a wireless terminal (STA). The AP can be a large panel device, such as a television, a projection screen, an interactive touch all-in-one machine, etc. The STA can be a peripheral device of the large panel device, such as a screen transmitter, a smart pen, a wireless microphone, a loudspeaker, etc. Figure 1 is a flowchart of a wireless connection method according to the embodiment of the present application, as shown in Figure 1 The method comprises the following steps:
[0057] In step S101, the wireless terminal sends probe request information to the wireless access point. Correspondingly, the wireless access point receives the probe request information from the wireless terminal.
[0058] The probe request information comprises first custom information for representing the identity of the wireless terminal.
[0059] For example, the first custom information can comprise at least one of a first specific tag, a MAC address of the STA, a product serial number (SN) of the STA, and an identity document (ID) of the STA. The first specific tag can be a preset tag, and the present application does not limit the specific form of the first specific tag, which can be a number, a letter, a character, or an icon, etc.
[0060] For example, the first custom information can further comprise at least one of a STA name, a STA type, a hardware version of the STA, a software version of the STA, and a connection relationship of the STA with other APs.
[0061] For example, the first custom information can be set by a vendor custom module.
[0062] In step S102, the wireless access point determines whether the wireless terminal is a wireless terminal within the ecological system of the wireless access point according to the first custom information.
[0063] The wireless terminal in the AP ecology is a wireless terminal matching the first custom information and the first preset information, which can be a STA (for example, a screen transmitter v1.1, a smart pen v1.1, and a wireless microphone v1.1) designed by a manufacturer for the AP (for example, a large board device v1.1) and used with the AP.
[0064] Specifically, when the first custom information is the same as the first preset information preconfigured in the AP, it is indicated that the STA sending the probe request information is a STA in the AP ecology, and at this time, it is also indicated that the AP has searched for the STA, which is equivalent to that the AP has discovered the STA.
[0065] In step S103, the wireless access point sends first probe response information to the wireless terminal in response to a connection operation of a user when the wireless terminal is a wireless terminal in the wireless access point ecology. Correspondingly, the wireless terminal receives the first probe response information.
[0066] The first probe response information is used to instruct the wireless terminal to initiate a connection to the wireless access point, so that the wireless access point and the wireless terminal establish a connection. That is, the AP indicates a request for active connection to the STA by sending the first probe response information to the STA, and then the STA initiates a connection to the AP, so that the STA and the AP establish a connection.
[0067] For example, the first probe response information is probe response information (ProbeResponse) including second custom information. In this embodiment, the second custom information is added to the probe response information to instruct the STA to connect to the AP, so that the AP can more conveniently express the connection requirement to the STA, and the STA can more quickly understand the connection requirement of the AP.
[0068] For example, the second custom information can include at least one of a second specific identifier, a MAC address of the AP, an SN of the AP, and an ID of the AP. The second specific identifier can be a preset identifier, and the specific form of the second specific identifier is not limited in the present application, for example, it can be a number, a letter, a character, or an icon.
[0069] For example, the second custom information can also include at least one of an AP name, an AP type, a hardware version of the AP, a software version of the AP, and a connection relationship between the AP and other STAs.
[0070] Specifically, when the STA sending the probe request information is a STA in the AP ecology, and after the user performs a connection operation on the AP, the AP sends the probe response information including the second custom information to the STA in response to the connection operation of the user, to instruct the STA to initiate a connection.
[0071] Step S104, in case the wireless terminal receives the first probe response information, the wireless terminal initiates connection to the wireless access point, so that the wireless access point establishes connection with the wireless terminal.
[0072] Specifically, the process of the STA initiating connection to the AP includes an authentication phase, an association phase and a handshake phase, and the specific implementation of the authentication phase, the association phase and the handshake phase is a conventional setting in the art, which is not limited herein.
[0073] Step S105, in case the wireless terminal is not an eco-intra wireless terminal, the wireless access point sends second probe response information to the wireless terminal. Correspondingly, the wireless terminal receives the second probe response information.
[0074] The second probe response information is different from the first probe response information, the second probe response information is probe response information not including the second custom information, and the STA does not initiate connection to the AP when receiving the second probe response information.
[0075] The wireless connection method provided in the embodiment, the STA sends the probe request information containing the first custom information to the AP, after the AP receives the probe request information from the STA, judges whether the STA is an eco-intra STA of the AP according to the first custom information, and in case the STA is an eco-intra STA of the AP, sends the first probe response information to the STA in response to the connection operation of the user, so that the STA initiates connection to the AP, and then the AP establishes connection with the STA. The embodiment utilizes the active scanning feature of wireless, sets custom information in the probe request information, so that the AP can timely discover the eco-intra STA, after discovering the STA, sends the first probe response information to the STA through the AP, and realizes the demand of the AP actively connecting the STA. That is, the application can realize the purpose of the AP discovering and actively connecting the STA without affecting the standard wireless interaction and increasing any hardware cost, and improves the stability of the STA and the AP.
[0076] A wireless connection method is provided in the embodiment, which can be used for the AP and the STA described above, Figure 2 is a flow diagram of another wireless connection method according to an embodiment of the application, as shown in the figure, the method includes the following steps: Figure 2
[0077] Step S201, the wireless terminal sends probe request information to the wireless access point. Correspondingly, the wireless access point receives the probe request information from the wireless terminal.
[0078] Specifically, after the STA is started, the STA cyclically scans the 2.4G channel or the 5G channel supported by the STA in turn, and stays in each channel for a preset time length (for example, 100 milliseconds). After the AP is started, the AP works in a certain channel supported by the STA according to the configuration. When the STA stays in a certain channel, the STA sends a probe request message to the AP corresponding to the channel. The AP can receive the probe request message from the STA in time by listening to the channel, and sends a probe response message to the STA. Correspondingly, after the STA sends the probe request message, the STA listens to the channel to receive the probe response message from the AP in time. The preset time length is configured according to the requirement, for example, the preset time length can be 5 milliseconds (ms), 10 ms, 20 ms or 50 ms, etc.
[0079] In step S202, the wireless access point determines whether the wireless terminal is a wireless terminal in the ecological system of the wireless access point according to the first custom information.
[0080] For details, please refer to Figure 1 In step S102 of the embodiment shown in the figure, details are not repeated here.
[0081] In step S203, the wireless access point sends second probe response information to the wireless terminal in the case that the wireless terminal is not a wireless terminal in the ecological system. Correspondingly, the wireless terminal receives the second probe response information.
[0082] For details, please refer to Figure 1 In step S105 of the embodiment shown in the figure, details are not repeated here.
[0083] In step S204, the wireless terminal records the wireless access point in the case that the second probe response information is received.
[0084] In this embodiment, after the STA receives the second probe response information, the STA records the AP sending the second probe response information, which can facilitate the STA to know the surrounding APs and improve the convenience of subsequent connection.
[0085] In step S205, the wireless access point determines whether the wireless terminal is a target wireless terminal based on the connection operation of the user in the case that the wireless terminal is a wireless terminal in the ecological system of the wireless access point.
[0086] Specifically, the number of wireless terminals is multiple, and the target wireless terminal is a wireless terminal selected by the user from the multiple wireless terminals.
[0087] For example, when the STA list is displayed on the AP display screen, the STA list includes STA1 to STA5. If the user selects STA2 in the STA list, STA2 is the target wireless terminal. At this time, if the STA sending the probe request message is STA2, the STA sending the probe request message is the target wireless terminal.
[0088] Step S206, the wireless access point sends the first probe response information to the wireless terminal in the case that the wireless terminal is the target wireless terminal. Correspondingly, the wireless terminal receives the first probe response information from the wireless access point.
[0089] Specifically, in the case that the wireless terminal is not the target wireless terminal, the wireless access point does not send the first probe response information to the wireless terminal, continues to listen to the information, and receives the new probe request information in time.
[0090] Step S207, the wireless terminal judges whether the wireless access point is the wireless access point in the ecological system of the wireless terminal according to the second self-defined information.
[0091] The number of APs is also multiple, the AP in the ecological system of the STA is the AP whose second self-defined information matches the second preset information, and the AP in the ecological system of the STA can refer to the AP designed by the manufacturer for the STA and used with the STA.
[0092] Specifically, after the STA receives the first probe response information, the STA judges whether the AP is the AP in the ecological system of the STA according to the second self-defined information in the first probe response information. If the second self-defined information is the same as the second preset information pre-configured by the STA, the AP sending the first probe response information is the AP in the ecological system of the STA.
[0093] Step S208, the wireless terminal initiates connection to the wireless access point in the case that the wireless access point is the wireless access point in the ecological system of the wireless terminal, so that the wireless access point and the wireless terminal establish connection.
[0094] Specifically, in the case that the wireless access point is not the wireless access point in the ecological system of the wireless terminal, the wireless terminal continues to listen to the channel and receives the new probe response information (the first probe response information or the second probe response information) in time.
[0095] The wireless connection method provided in the embodiment can avoid the misconnection between the AP and other STAs and improve the connection reliability in the case that the number of STAs is multiple and the STA sending the probe request information is determined as the target wireless terminal, and can avoid the misconnection between the STA and other APs and further improve the connection reliability in the case that the number of APs is multiple and the AP sending the first probe response information is determined as the AP in the ecological system of the STA.
[0096] In the embodiment, a wireless connection method is provided, which can be used for the AP and the STA described above, Figure 3 is a flow diagram of another wireless connection method according to an embodiment of the application, as shown in Figure 3As shown, the method comprises the following steps:
[0097] In step S301, the wireless terminal determines a channel queue based on at least one first operating channel.
[0098] The first operating channel is an operating channel of an AP within the STA ecosystem, and the channel queue comprises a plurality of operating channels arranged in a preset order, and is used to represent the order of scanning operating channels by the STA.
[0099] In some optional embodiments, the at least one first operating channel can be determined as the channel queue. For example, the first operating channel is 36, 48 and 60, and the channel queue can be 36, 48 and 60.
[0100] In another optional embodiment, the at least one first operating channel can be arranged at intervals among a plurality of second operating channels to form the channel queue.
[0101] The second operating channel is an operating channel supported by the wireless terminal other than the first operating channel. For example, the first operating channel is 36, 48 and 60, and the operating channel supported by the STA is 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161 and 165, and at this time, the plurality of second operating channels are 40, 44, 52, 56, 64, 149, 153, 157, 161 and 165, and the channel queue can be 36, 40, 48, 44, 60, 52, 36, 56, 48, 64, 60, 149, 36, 153, 48, 157, 60, 161, 36, 165 and 48.
[0102] The present application does not limit the number of channels arranged at intervals among the at least one first operating channel, which can be 1, 2 or 3, and at this time, the channel queue can also be 36, 40, 44, 48, 52, 56, 60, 64, 149, 36, 153, 157, 48, 161, 165 and 60.
[0103] In some optional embodiments, the wireless terminal can determine the first operating channel based on a received beacon frame from each wireless access point.
[0104] The beacon frame comprises second custom information.
[0105] Specifically, the second custom information can be used to determine whether the AP is an AP within the STA ecosystem, and the operating channel of the AP within the STA ecosystem is determined as the first operating channel. For example, the second custom information can also come from the first probe response information.
[0106] In some alternative embodiments, the STA sequentially scans the supported channels in a loop, and sends the probe request information on each channel, and then determines whether the AP sending the first probe response information is an AP within the ecological system of the STA based on the second custom information in the received first probe response information, and determines the working channel in which the AP within the ecological system of the STA is located as the first working channel.
[0107] In step S302, the wireless terminal sequentially sends the probe request information to the wireless access points corresponding to the channel queue.
[0108] In step S303, the wireless access point determines whether the wireless terminal is a wireless terminal within the ecological system of the wireless access point based on the first custom information.
[0109] For details, please refer to Figure 1 In step S102 of the embodiment shown in the figure, no further elaboration is given here.
[0110] In step S304, the wireless access point sends the first probe response information to the wireless terminal in response to the connection operation of the user in the case where the wireless terminal is a wireless terminal within the ecological system of the wireless access point. Correspondingly, the wireless terminal receives the first probe response information.
[0111] For details, please refer to Figure 1 In step S103 of the embodiment shown in the figure, no further elaboration is given here.
[0112] In step S305, the wireless terminal initiates connection to the wireless access point in the case where the first probe response information is received, so that the wireless access point and the wireless terminal establish connection.
[0113] For details, please refer to Figure 1 In step S104 of the embodiment shown in the figure, no further elaboration is given here.
[0114] In step S306, the wireless access point sends the second probe response information to the wireless terminal in the case where the wireless terminal is not a wireless terminal within the ecological system. Correspondingly, the wireless terminal receives the second probe response information.
[0115] For details, please refer to Figure 1 In step S105 of the embodiment shown in the figure, no further elaboration is given here.
[0116] The wireless connection method provided by the embodiment can make the STA respond to the active connection signal (first probe response information) of the AP within the ecological system of the STA in a timely manner by sequentially scanning the working channels in the channel queue, and can improve the speed of the AP sending the active connection signal to the STA and reduce the response delay by sequentially sending the probe request information to the wireless access points corresponding to the working channels in the channel queue.
[0117] A wireless access point is also provided in the embodiments, which is used to implement the above embodiments and preferred embodiments, and will not be described again. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0118] The embodiments provide a wireless access point, as shown in Figure 4 comprises:
[0119] The first receiving module 401 is configured to receive a probe request message from a wireless terminal, wherein the probe request message comprises first custom information used to represent an identity of the wireless terminal.
[0120] The first judging module 402 is configured to judge whether the wireless terminal is a wireless terminal within an ecological system of the wireless access point according to the first custom information, wherein the wireless terminal within the ecological system of the wireless access point is a wireless terminal whose first custom information matches first preset information.
[0121] The first sending module 403 is configured to, in the case that the wireless terminal is a wireless terminal within the ecological system of the wireless access point, send a first probe response message to the wireless terminal in response to a connection operation of a user, wherein the first probe response message is used to instruct the wireless terminal to initiate a connection with the wireless access point, so that the wireless access point and the wireless terminal establish a connection.
[0122] In some optional embodiments, the first probe response message is a probe response message comprising second custom information, wherein the second custom information is information used to represent an identity of the wireless access point.
[0123] In some optional embodiments, the first custom information comprises at least one of a first specific identifier, a physical address of the wireless terminal, a product serial number of the wireless terminal, and an identity identification number of the wireless terminal, and the second custom information comprises at least one of a second specific identifier, a physical address of the wireless access point, a product serial number of the wireless access point, and an identity identification number of the wireless access point.
[0124] In some optional embodiments, the number of wireless terminals is a plurality, and the wireless access point further comprises:
[0125] The second judging module is configured to, in the case that the wireless terminal is a wireless terminal within the ecological system of the wireless access point, judge whether the wireless terminal is a target wireless terminal based on the connection operation of the user, wherein the target wireless terminal is a wireless terminal selected by the user from the plurality of wireless terminals.
[0126] The first sending module 403 comprises:
[0127] The first sending unit is configured to send first probe response information to the wireless terminal in a case where the wireless terminal is a target wireless terminal.
[0128] In some optional embodiments, the wireless access point further includes:
[0129] The fourth sending module is configured to send second probe response information to the wireless terminal in a case where the wireless terminal is not a wireless terminal within the wireless access point ecosystem, wherein the second probe response information is different from the first probe response information.
[0130] Further function descriptions of the above-mentioned modules and units are the same as those of the corresponding embodiments, and will not be described here.
[0131] The wireless access point in the present embodiment is presented in the form of functional units. The units herein refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories executing one or more software or fixed programs, and / or other devices that can provide the above functions.
[0132] In the present embodiment, a wireless terminal is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be described here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0133] The present embodiment provides a wireless terminal, as shown in Figure 5 includes:
[0134] The second sending module 501 is configured to send probe request information to the wireless access point, wherein the probe request information includes first custom information used to represent the identity of the wireless terminal.
[0135] The third sending module 502 is configured to initiate connection to the wireless access point in a case where the first probe response information is received, so that the wireless access point establishes connection with the wireless terminal, wherein the first probe response information is used to instruct the wireless terminal to initiate connection to the wireless access point.
[0136] In some optional embodiments, the number of wireless access points is multiple, and the wireless terminal further includes:
[0137] The third determining module is configured to determine whether the wireless access point is a wireless access point in the wireless terminal ecology according to the second customized information, wherein the second customized information is information representing the identity of the wireless access point, and the wireless access point in the wireless terminal ecology is a wireless access point whose second customized information matches the second preset information.
[0138] The third sending module 502 includes:
[0139] The second sending unit is configured to initiate connection to the wireless access point to establish connection between the wireless access point and the wireless terminal in the case that the wireless access point is a wireless access point in the wireless terminal ecology.
[0140] In some optional embodiments, each wireless access point is configured with a working channel, and the wireless terminal further includes:
[0141] The first determining module is configured to determine a channel queue based on the at least one first working channel, wherein the first working channel is a working channel of the wireless access point in the wireless terminal ecology, and the channel queue represents the order of scanning the working channels by the wireless terminal.
[0142] The second sending module 501 includes:
[0143] The third sending unit is configured to send the probe request information to the wireless access points corresponding to the working channels in the channel queue in sequence.
[0144] In some optional embodiments, the first determining module includes:
[0145] The first determining unit is configured to determine the at least one first working channel as the channel queue.
[0146] In some optional embodiments, the first determining module includes:
[0147] The second determining unit is configured to set the at least one first working channel at intervals between a plurality of second working channels to form the channel queue, wherein the second working channel is a working channel supported by the wireless terminal except for the at least one first working channel.
[0148] In some optional embodiments, the wireless terminal further includes:
[0149] The second determining module is configured to determine the first working channel based on the received beacon frame from each wireless access point, wherein the beacon frame includes the second customized information.
[0150] In some optional embodiments, the wireless terminal further includes:
[0151] The recording module is configured to record the wireless access point in the case that the second probe response information is received.
[0152] In some alternative embodiments, the wireless access point is a large panel device, and the wireless terminal is a screen transmitter, a smart pen, a wireless microphone or a loudspeaker.
[0153] Further function description of each module and unit above is the same as the corresponding embodiment above, and will not be repeated here.
[0154] The wireless terminal in the embodiment is presented in the form of functional units, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory executing one or more software or fixed programs, and / or other devices that can provide the above functions.
[0155] The embodiment of the application also provides a communication device having the above Figure 4 wireless access point and / or Figure 5 wireless terminal.
[0156] Please refer to Figure 6 , Figure 6 is a structural schematic diagram of a communication device provided by an alternative embodiment of the application, as Figure 6 shown, the communication device includes one or more processors 610, a memory 620, and an interface for connecting components, including a high-speed interface and a low-speed interface. Each component is communicatively connected to each other by using different buses, and can be installed on a common motherboard or in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display GUI graphical information on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple memories, if necessary. Similarly, multiple computer devices can be connected, each providing part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 In the figure, the processor 610 is taken as an example.
[0157] The processor 610 can be a central processor, a network processor or a combination thereof. The processor 610 can further include a hardware chip. The hardware chip can be an application specific integrated circuit, a programmable logic device or a combination thereof. The programmable logic device can be a complex programmable logic device, a field programmable logic gate array, a general array logic or any combination thereof.
[0158] The memory 620 stores instructions executable by the at least one processor 610 for causing the at least one processor 610 to perform the methods implemented by the above-described embodiments.
[0159] The memory 620 can include a program region and a data region. The program region can store an operating system and application programs required by at least one function. The data region can store data created according to the use of the computer device, and the like. In addition, the memory 620 can include a high-speed random access memory, and can further include a non-transitory memory such as at least one of a magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some optional embodiments, the memory 620 can optionally include a memory disposed remotely with respect to the processor 610, and these remote memories can be connected to the computer device through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0160] The memory 620 can include a volatile memory such as a random access memory, and can also include a non-volatile memory such as a flash memory, a hard disk, or a solid state disk. The memory 620 can also include a combination of the above-mentioned types of memories.
[0161] The communication device also includes an input device 630 and an output device 640. The processor 610, the memory 620, the input device 630, and the output device 640 can be connected by a bus or other means, Figure 6 The connection by the bus is taken as an example.
[0162] The input device 630 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, and the like. The output device 640 can include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), and the like. The display device includes, but is not limited to, a liquid crystal display, a light-emitting diode, a display, and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0163] The embodiments of the present application further provide a computer readable storage medium, and the method according to the embodiments of the present application can be implemented in hardware, firmware, or recorded in a storage medium, or stored in a remote storage medium or a non-transitory machine readable storage medium and downloaded to a local storage medium through network, so that the method described herein can be processed by such software on a storage medium using a general purpose computer, a special purpose processor, or programmable or special hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid state disk, etc. Further, the storage medium can also include a combination of the above-mentioned memories. It can be understood that the computer, the processor, the microprocessor controller, or the programmable hardware includes a storage component that can store or receive software or computer code, when the software or computer code is accessed and executed by the communication device, the processor, or the hardware, the method shown in the above embodiments is implemented.
[0164] Part of the present application can be applied as a computer program product, for example, computer program instructions, when executed by a computer, through the operation of the computer, the method and / or technical solutions according to the present application can be invoked or provided. Those skilled in the art should understand that the form of computer program instructions in a computer readable medium includes but is not limited to source files, executable files, installation package files, etc. Correspondingly, the way of executing computer program instructions by computer includes but is not limited to: the communication device directly executes the instructions, or the communication device compiles the instructions and then executes the corresponding compiled program, or the communication device reads and executes the instructions, or the communication device reads and installs the instructions and then executes the corresponding installed program. Here, the computer readable medium can be any available computer readable storage medium or communication medium accessible to the communication device.
[0165] Although the embodiments of the present application are described in conjunction with the accompanying drawings, various modifications and changes can be made by those skilled in the art without departing from the spirit and scope of the present application, and such modifications and changes fall within the scope defined by the present application.
Claims
1. A wireless connection method, characterized in that, The method is applied to a wireless access point, and the method includes: Receive probe request information from a wireless terminal, wherein the probe request information includes first custom information for characterizing the identity of the wireless terminal; Based on the first custom information, it is determined whether the wireless terminal is a wireless terminal within the wireless access point ecosystem, wherein a wireless terminal within the wireless access point ecosystem is a wireless terminal whose first custom information matches the first preset information. When the wireless terminal is a wireless terminal within the wireless access point ecosystem, in response to the user's connection operation, a first probe response information is sent to the wireless terminal, wherein the first probe response information is used to instruct the wireless terminal to initiate a connection with the wireless access point, so that the wireless access point and the wireless terminal establish a connection.
2. The method according to claim 1, characterized in that, The first detection response information is detection response information including second custom information, wherein the second custom information is custom information used to characterize the identity of the wireless access point.
3. The method according to claim 2, characterized in that, The first custom information includes at least one of a first specific identifier, the physical address of the wireless terminal, the product serial number of the wireless terminal, and the identification number of the wireless terminal. The second custom information includes at least one of a second specific identifier, the physical address of the wireless access point, the product serial number of the wireless access point, and the identification number of the wireless access point.
4. The method according to any one of claims 1 to 3, characterized in that, The number of wireless terminals is multiple, and before sending the first probe response information to the wireless terminals, the method further includes: When the wireless terminal is a wireless terminal within the wireless access point ecosystem, based on the user's connection operation, it is determined whether the wireless terminal is the target wireless terminal, wherein the target wireless terminal is the wireless terminal selected by the user from among multiple wireless terminals. Sending first detection response information to the wireless terminal, including: If the wireless terminal is the target wireless terminal, a first detection response message is sent to the wireless terminal.
5. The method according to claim 1, characterized in that, The method further includes: If the wireless terminal is not a wireless terminal within the wireless access point ecosystem, a second probe response information is sent to the wireless terminal, wherein the second probe response information is different from the first probe response information.
6. A wireless connection method, characterized in that, The method is applied to a wireless terminal, and the method includes: Send a probe request message to a wireless access point, wherein the probe request message includes first custom information used to characterize the identity of the wireless terminal; Upon receiving a first probe response message, a connection is initiated to the wireless access point to establish a connection between the wireless access point and the wireless terminal, wherein the first probe response message is used to instruct the wireless terminal to initiate a connection to the wireless access point.
7. The method according to claim 6, characterized in that, The number of wireless access points is multiple, and before initiating a connection to the wireless access point, the method further includes: Based on the second custom information, it is determined whether the wireless access point is a wireless access point within the wireless terminal ecosystem. The second custom information is custom information used to characterize the identity of the wireless access point. A wireless access point within the wireless terminal ecosystem is a wireless access point whose second custom information matches the second preset information. The step of initiating a connection to the wireless access point includes: If the wireless access point is a wireless access point within the wireless terminal ecosystem, a connection is initiated to the wireless access point so that the wireless access point and the wireless terminal can establish a connection.
8. The method according to claim 7, characterized in that, Each of the wireless access points is configured with an operating channel, and the method further includes: Based on at least one first working channel, a channel queue is determined, wherein the first working channel is the working channel of the wireless access point within the wireless terminal ecosystem, and the channel queue is used to characterize the order in which the wireless terminal scans the working channels. Sending probe request information to the wireless access point includes: The probe request information is sent sequentially to the wireless access point corresponding to the channel queue.
9. The method according to claim 8, characterized in that, The step of determining the channel queue based on at least one first working channel includes: At least one first working channel is identified as the channel queue.
10. The method according to claim 8, characterized in that, The step of determining the channel queue based on at least one first working channel includes: The at least one first working channel is cyclically spaced among a plurality of second working channels to form the channel queue, wherein the second working channels are working channels supported by the wireless terminal other than the at least one first working channel.
11. The method according to any one of claims 8 to 10, characterized in that, The method further includes: The first working channel is determined based on the beacon frames received from each of the wireless access points, wherein the beacon frames include the second custom information.
12. The method according to any one of claims 6 to 10, characterized in that, The method further includes: Upon receiving the second probe response information, the wireless access point is recorded.
13. The method according to any one of claims 6 to 10, characterized in that, The wireless access point is a large-screen device, and the wireless terminal is a screen sharing device, a smart pen, a wireless microphone, or a speaker.
14. A wireless access point, characterized in that, The wireless access point includes: The first receiving module is configured to receive probe request information from a wireless terminal, wherein the probe request information includes first custom information for characterizing the identity of the wireless terminal; The first judgment module is used to determine whether the wireless terminal is a wireless terminal within the wireless access point ecosystem based on the first custom information, wherein the wireless terminal within the wireless access point ecosystem is a wireless terminal that matches the first custom information and the first preset information. The first sending module is configured to, in response to a user's connection operation, send first probe response information to the wireless terminal when the wireless terminal is a wireless terminal within the wireless access point ecosystem. The first probe response information is used to instruct the wireless terminal to initiate a connection with the wireless access point so that the wireless access point and the wireless terminal can establish a connection.
15. A wireless terminal, characterized in that, The wireless terminal includes: The second sending module is used to send probe request information to the wireless access point, wherein the probe request information includes first custom information used to characterize the identity of the wireless terminal; The third sending module is used to initiate a connection to the wireless access point upon receiving the first probe response information, so as to establish a connection between the wireless access point and the wireless terminal, wherein the first probe response information is used to instruct the wireless terminal to initiate a connection to the wireless access point.
16. A communication device, characterized in that, include: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 5, or the method of any one of claims 6 to 13.
17. A computer-readable storage medium, characterized in that, The readable storage medium stores computer instructions for causing the communication device to perform the method of any one of claims 1 to 5, or for causing the communication device to perform the method of any one of claims 6 to 13.
18. A computer program product, characterized in that, Includes computer instructions, which are used to cause the communication device to perform the method of any one of claims 1 to 5, or to cause the communication device to perform the method of any one of claims 6 to 13.