CN107734717B - WPS connection method, device, equipment and storage medium for wireless relay equipment - Google Patents

WPS connection method, device, equipment and storage medium for wireless relay equipment Download PDF

Info

Publication number
CN107734717B
CN107734717B CN201710833361.8A CN201710833361A CN107734717B CN 107734717 B CN107734717 B CN 107734717B CN 201710833361 A CN201710833361 A CN 201710833361A CN 107734717 B CN107734717 B CN 107734717B
Authority
CN
China
Prior art keywords
frequency band
wps
connection
wireless relay
relay device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710833361.8A
Other languages
Chinese (zh)
Other versions
CN107734717A (en
Inventor
宋永波
黄双榜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201710833361.8A priority Critical patent/CN107734717B/en
Publication of CN107734717A publication Critical patent/CN107734717A/en
Application granted granted Critical
Publication of CN107734717B publication Critical patent/CN107734717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/155Ground-based stations
    • H04B7/15528Control of operation parameters of a relay station to exploit the physical medium
    • H04B7/15542Selecting at relay station its transmit and receive resources

Abstract

The invention is suitable for the technical field of computers, and provides a WPS (Wireless personal area System) connection method, a WPS connection device, WPS connection equipment and a storage medium of wireless relay equipment, wherein the method comprises the following steps: the method comprises the steps of detecting whether a WPS button on the wireless relay device is activated or not, when the WPS button on the wireless relay device is activated, establishing first frequency band WPS uplink connection between the wireless relay device and the wireless routing device, when first preset time is reached, establishing second frequency band WPS uplink connection between the wireless relay device and the wireless routing device, when second preset time is reached, establishing first frequency band and second frequency band WPS downlink connection between the wireless relay device and a STA (station), and when a preset event that connection establishment is stopped is detected, stopping operation of establishing the WPS uplink and downlink connection of the wireless relay device, so that bidirectional dual-frequency WPS connection of the wireless relay device is achieved through activation of the WPS button, and WPS connection efficiency of the wireless relay device is improved.

Description

WPS connection method, device, equipment and storage medium for wireless relay equipment
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a WPS (wireless personal area service) connection method, a WPS connection device, WPS connection equipment and a storage medium of wireless relay equipment.
Background
The working mode of the wireless relay equipment is different from that of the traditional wireless router, the wireless relay equipment needs to be connected with the uplink wireless router equipment, and the network signal after amplification is transmitted to a downlink STA Station (Station) through amplifying the network signal of the uplink wireless router equipment, so that network connection is realized. That is, the WPS (wireless Protected Setup) connection function of the wireless relay device relates to connection of the wireless relay device to the uplink wireless router device and connection of the wireless relay device to the downlink STA station in both directions.
The existing wireless relay equipment has the problems of poor user experience caused by connection failure, uncontrollable connection frequency band and the like under the condition of only one WPS button (wireless protection setting button) and when the WPS uplink and downlink connection is processed simultaneously, and particularly for double-frequency wireless router equipment, when the WPS uplink and downlink connection is processed simultaneously under the condition of only one WPS button, the processing is more complex due to the reason that a plurality of wireless interfaces are available, and the WPS connection efficiency of the wireless relay equipment is low.
Disclosure of Invention
The invention aims to provide a WPS connection method, a WPS connection device and a storage medium of a wireless relay device, and aims to solve the problem that WPS connection efficiency is low when the existing wireless relay device simultaneously processes WPS uplink and downlink and dual-band connection.
In one aspect, the present invention provides a WPS connection method of a wireless relay apparatus including only one WPS button, the method comprising the steps of:
detecting whether the WPS button on the wireless relay equipment is activated or not, wherein the WPS button is a wireless protection setting button, and when the WPS button is detected to be activated, establishing first frequency band WPS uplink connection between the wireless relay equipment and wireless routing equipment;
when the first preset time is reached, establishing a second frequency band WPS uplink connection between the wireless relay equipment and the wireless routing equipment;
when second preset time is reached, establishing WPS downlink connection between the wireless relay equipment and the first frequency band and the second frequency band of the STA station;
and when a preset event of stopping establishing the connection is detected, stopping the operation of establishing the WPS uplink and downlink connection of the wireless relay equipment.
In another aspect, the present invention provides a WPS connection apparatus of a wireless relay device including only one WPS button, the apparatus comprising:
a first uplink connection unit, configured to detect whether the WPS button on the wireless relay device is activated, where the WPS button is a wireless protection setting button, and when detecting that the WPS button is activated, establish a first frequency band WPS uplink connection between the wireless relay device and a wireless routing device;
the second uplink connection unit is used for establishing the second frequency band WPS uplink connection between the wireless relay equipment and the wireless routing equipment when the first preset time is reached;
a downlink connection unit, configured to establish a WPS downlink connection between the wireless relay device and the first frequency band and the second frequency band of the STA station when a second preset time is reached; and
a connection establishment stopping unit, configured to stop the operation of establishing the WPS uplink and downlink connections of the wireless relay device when a preset event of stopping establishment of a connection is detected.
In another aspect, the present invention also provides a wireless relay device including a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the WPS connection method as the wireless relay device when executing the computer program.
In another aspect, the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the WPS connection method of the wireless relay apparatus as described above.
The method comprises the steps of firstly detecting whether a WPS button on the wireless relay device is activated or not, establishing first frequency band WPS uplink connection between the wireless relay device and the wireless routing device when the WPS button on the wireless relay device is activated, establishing second frequency band WPS uplink connection between the wireless relay device and the wireless routing device when first preset time is reached, establishing first frequency band WPS downlink connection between the wireless relay device and STA sites and second frequency band WPS downlink connection between the wireless relay device and the STA sites when second preset time is reached, and stopping operation of establishing WPS uplink connection and downlink connection between the wireless relay device when a preset event of stopping connection establishment is detected, so that bidirectional double-frequency WPS connection of the wireless relay device is realized through activation of one WPS button, and WPS connection efficiency of the wireless relay device is improved.
Drawings
Fig. 1 is a flowchart of an implementation of a WPS connection method for a wireless relay device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a WPS connection apparatus of a wireless relay device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a WPS connection apparatus of a wireless relay device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wireless relay device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
the first embodiment is as follows:
fig. 1 shows an implementation flow of a WPS connection method for a wireless relay device according to a first embodiment of the present invention, and for convenience of description, only parts related to the first embodiment of the present invention are shown, which is detailed as follows:
in step S101, whether a WPS button on the wireless relay device is activated is detected, and when detecting that the WPS button on the wireless relay device is activated, a first frequency band WPS uplink connection between the wireless relay device and the wireless routing device is established.
The embodiment of the invention is suitable for wireless relay equipment. In the embodiment of the present invention, the wireless relay device includes only one WPS button, where the WPS button is a wireless protection setting button, and after the wireless relay device is powered on, it is detected whether the WPS button on the wireless relay device is activated, that is, whether a WPS connection needs to be established, and specifically, whether the WPS button is pressed. When the WPS button on the wireless relay device is detected to be activated, the fact that the user wants to establish WPS connection is indicated, and at the moment, first frequency band WPS uplink connection between the wireless relay device and the uplink wireless routing device is established.
In step S102, when the first preset time is reached, a second frequency band WPS uplink connection between the wireless relay device and the wireless routing device is established.
In the embodiment of the invention, when the WPS button on the wireless relay device is detected to be activated, timing is started, and when the first preset time is reached, namely the timing time reaches the first preset time (for example, 30 seconds), the second frequency band WPS uplink connection between the wireless relay device and the uplink wireless routing device is established, so that the one-touch dual-frequency WPS connection is realized, and the WPS connection efficiency of the wireless relay device is improved.
In an embodiment of the present invention, the first frequency band is different from the second frequency band. For example, if the first frequency band is a 2.4G frequency band, the second frequency band may be a 5G frequency band, and if the first frequency band is a 5G frequency band, the second frequency band may be a 2.4G frequency band.
In step S103, when the second preset time is reached, establishing a WPS downlink connection between the wireless relay device and the STA station in the first frequency band and the second frequency band.
In the embodiment of the present invention, when the second preset time is reached, that is, the timing duration reaches the second preset time (for example, 60 seconds), the WPS downlink connections of the wireless relay device and the first frequency band and the second frequency band of the downlink STA station are simultaneously established, so that when the WPS uplink connection of at least one frequency band is successful and the WPS downlink connection of at least one frequency band is successful, the WPS connection of the wireless relay device can be successfully established, thereby implementing the two-way dual-frequency WPS connection of the wireless relay device by activating a WPS button, and further improving the WPS connection efficiency of the wireless relay device.
In step S104, when a preset event of stopping establishment of a connection is detected, the operation of establishing the WPS uplink and downlink connections of the wireless relay apparatus is stopped.
In the embodiment of the present invention, the preset event for stopping establishing the connection may be a preset event such as that the WPS connection has been established successfully or that the connection establishment duration exceeds a maximum connection duration (e.g., 120 seconds). When a preset event of stopping establishing the connection is detected, the WPS connection is successfully established or the WPS connection is failed to be established, at this time, the WPS connection process is not continuously executed, and thus, the operations of establishing the WPS uplink and downlink connections of the wireless relay device are stopped.
In the embodiment of the present invention, in order to enable the first WPS uplink connection established between the wireless relay device and the uplink wireless routing device after activation of the WPS button to be not always in the same frequency band, preferably, when a preset event of stopping establishment of the connection is detected, it is detected whether the connection between the wireless relay device and the uplink wireless routing device is successfully established, and when the connection between the wireless relay device and the uplink wireless routing device is not successfully established, an exchange operation is performed between the first frequency band and the second frequency band to update the first frequency band and the second frequency band, so that automatic update of the first frequency band is achieved, a suitable first frequency band is selected for subsequent WPS connection, the efficiency of establishing the WPS uplink connection between the wireless relay device and the uplink wireless routing device is improved, and the WPS connection efficiency of the wireless relay device is further improved.
Illustratively, when the duration of the connection establishment exceeds 120 seconds, the operation of establishing the WPS uplink and downlink connections of the wireless relay device is stopped, whether the connection establishment between the wireless relay device and the uplink wireless routing device is successful or not is detected, and when the connection establishment between the wireless relay device and the uplink wireless routing device is unsuccessful, it is indicated that the WPS uplink connection of the wireless relay device and the uplink wireless routing device in the first frequency band (2.4G frequency band) and the WPS uplink connection of the wireless relay device and the uplink wireless routing device in the second frequency band (5G frequency band) are not successfully established. At this time, the first frequency band is set to be the 5G frequency band, and the second frequency band is set to be the 2.4G frequency band, so that when the WPS button on the wireless relay device is activated next time, the first WPS uplink connection established between the wireless relay device and the uplink wireless routing device is not always in the same frequency band, thereby improving the success rate of establishing the WPS uplink connection between the wireless relay device and the uplink wireless routing device, and further improving the WPS connection efficiency of the wireless relay device.
Preferably, when the wireless relay device and the uplink wireless routing device successfully establish a connection, whether the WPS uplink connection of the first frequency band and the second frequency band is successfully established is detected, and when the WPS uplink connection of the first frequency band is successfully established and the WPS uplink connection of the second frequency band is not successfully established, the first frequency band and the second frequency band are exchanged to update the first frequency band and the second frequency band, otherwise, the first frequency band and the second frequency band are not exchanged.
Illustratively, when the WPS connection of the wireless relay device is established, the operation of establishing the WPS uplink and downlink connections of the wireless relay device is stopped, whether the WPS uplink connection of the first frequency band and the second frequency band is successfully established is detected, when the WPS uplink connection of the first frequency band (2.4G frequency band) is successfully established and the WPS uplink connection of the second frequency band (5G frequency band) is not successfully established, it is indicated that the wireless relay device and the uplink wireless routing device only successfully establish the WPS uplink connection in the first frequency band (2.4G frequency band), at this time, the first frequency band is set as the 5G frequency band, and the second frequency band is set as the 2.4G frequency band. Therefore, when the WPS button on the wireless relay device is activated next time, the first WPS uplink connection established between the wireless relay device and the uplink wireless routing device is not always in the frequency band of 2.4G, the success rate of establishing the WPS uplink connection between the wireless relay device and the uplink wireless routing device is improved, and the WPS connection efficiency of the wireless relay device is further improved.
Example two:
fig. 2 shows a structure of a WPS connection apparatus of a wireless relay device according to a second embodiment of the present invention, and for convenience of description, only a part related to the second embodiment of the present invention is shown, where the WPS connection apparatus includes:
and a first uplink connection unit 21, configured to detect whether a WPS button on the wireless relay device is activated, and when detecting that the WPS button on the wireless relay device is activated, establish a first frequency band WPS uplink connection between the wireless relay device and the uplink wireless routing device.
And a second uplink connection unit 22, configured to establish a second frequency band WPS uplink connection between the wireless relay device and the wireless routing device when the first preset time is reached.
And a downlink connection unit 23, configured to establish a WPS downlink connection between the wireless relay device and the STA station in the first frequency band and the second frequency band when the second preset time is reached.
A connection establishment stopping unit 24 configured to stop an operation of the wireless relay apparatus to establish the WPS uplink and downlink connections when a preset event to stop establishment of the connection is detected.
In the embodiment of the present invention, after the wireless relay device is powered on, whether the WPS button on the wireless relay device is activated is detected, when the WPS button on the wireless relay device is detected to be activated, the first uplink connecting unit 21 establishes the first frequency band WPS uplink connection between the wireless relay device and the wireless routing device, when the first preset time is reached, the second uplink connecting unit 22 establishes the second frequency band WPS uplink connection between the wireless relay device and the wireless routing device, thereby implementing the one-touch dual-frequency WPS connection, and further improving the WPS connection efficiency of the wireless relay device, when the second preset time is reached, the downlink connecting unit 23 establishes the WPS downlink connections between the wireless relay device and the STA station in the first frequency band and the second frequency band, thereby implementing the one-touch dual-frequency WPS connection, further improving the WPS connection efficiency of the wireless relay device, when a preset event of stopping establishing the connection is detected, the connection establishment stopping unit 24 stops the operation of establishing the WPS uplink and downlink connections of the wireless relay apparatus, thereby realizing the two-way dual-band WPS connection of the wireless relay apparatus by the activation of one WPS button, and improving the WPS connection efficiency of the wireless relay apparatus.
In the embodiment of the present invention, each unit of the WPS connection apparatus of the wireless relay device may be implemented by a corresponding hardware or software unit, and each unit may be an independent software or hardware unit, or may be integrated into one software or hardware unit, which is not limited herein. For the specific implementation of each unit, reference may be made to the description of the first embodiment, which is not repeated herein.
Example three:
fig. 3 shows a structure of a WPS connection apparatus of a wireless relay device according to a third embodiment of the present invention, and for convenience of description, only a part related to the third embodiment of the present invention is shown, where the WPS connection apparatus includes:
and a first uplink connection unit 31, configured to detect whether a WPS button on the wireless relay device is activated, and when detecting that the WPS button on the wireless relay device is activated, establish a first frequency band WPS uplink connection between the wireless relay device and the wireless routing device.
In the embodiment of the present invention, the wireless relay device includes only one WPS button, where the WPS button is a wireless protection setting button, and after the wireless relay device is powered on, it is detected whether the WPS button on the wireless relay device is activated, that is, whether a WPS connection needs to be established, and specifically, whether the WPS button is pressed. When detecting that the WPS button on the wireless relay device is activated, indicating that WPS connection needs to be established, the first uplink connection unit 31 establishes a first band WPS uplink connection between the wireless relay device and the uplink wireless routing device.
And a second uplink connection unit 32, configured to establish a second frequency band WPS uplink connection between the wireless relay device and the wireless routing device when the first preset time is reached.
In the embodiment of the present invention, when detecting that the WPS button on the wireless relay device is activated, timing is started, and when a first preset time is reached, that is, the timing duration reaches a first preset duration (for example, 30 seconds), the second uplink connection unit 32 establishes the second frequency band WPS uplink connection between the wireless relay device and the uplink wireless routing device, so as to implement the one-touch dual-frequency WPS connection, thereby improving the WPS connection efficiency of the wireless relay device.
In an embodiment of the present invention, the first frequency band is different from the second frequency band. For example, if the first frequency band is a 2.4G frequency band, the second frequency band may be a 5G frequency band, and if the first frequency band is a 5G frequency band, the second frequency band may be a 2.4G frequency band.
And a downlink connection unit 33, configured to establish a WPS downlink connection between the wireless relay device and the STA station in the first frequency band and the second frequency band when the second preset time is reached.
In this embodiment of the present invention, when the second preset time is reached, that is, the timing duration reaches the second preset time (for example, 60 seconds), the downlink connection unit 33 simultaneously establishes the WPS downlink connections of the wireless relay device and the first frequency band and the second frequency band of the downlink STA station, so that when the WPS uplink connection of at least one frequency band is successful and the WPS downlink connection of at least one frequency band is successful, the WPS connection of the wireless relay device can be successfully established, so that the two-way dual-frequency WPS connection of the wireless relay device is realized by activating a WPS button, and the WPS connection efficiency of the wireless relay device is further improved.
A connection establishment stopping unit 34 configured to stop an operation of the wireless relay apparatus to establish the WPS uplink and downlink connections when a preset event to stop establishment of the connection is detected.
In the embodiment of the present invention, the preset event for stopping establishing the connection may be a preset event such as that the WPS connection has been established successfully or that the connection establishment duration exceeds a maximum connection duration (e.g., 120 seconds). When a preset event of stopping establishing the connection is detected, which indicates that the WPS connection is successfully established this time or that the WPS connection is failed this time, at this time, the WPS connection process is not continuously performed, and therefore, the connection establishment stopping unit 34 stops the operation of establishing the WPS uplink and downlink connections of the wireless relay apparatus.
In the embodiment of the present invention, in order to enable the first WPS uplink connection established between the wireless relay device and the uplink wireless routing device after activation of the WPS button to be not always in the same frequency band, preferably, when a preset event of stopping establishment of the connection is detected, it is detected whether the connection between the wireless relay device and the uplink wireless routing device is successfully established, and when the connection between the wireless relay device and the uplink wireless routing device is not successfully established, an exchange operation is performed between the first frequency band and the second frequency band to update the first frequency band and the second frequency band, so that automatic update of the first frequency band is achieved, a suitable first frequency band is selected for subsequent WPS connection, the efficiency of establishing the WPS uplink connection between the wireless relay device and the uplink wireless routing device is improved, and the WPS connection efficiency of the wireless relay device is further improved.
Illustratively, when the duration of the connection establishment exceeds 120 seconds, the operation of establishing the WPS uplink and downlink connections of the wireless relay device is stopped, whether the connection establishment between the wireless relay device and the uplink wireless routing device is successful or not is detected, and when the connection establishment between the wireless relay device and the uplink wireless routing device is unsuccessful, it is indicated that the WPS uplink connection of the wireless relay device and the uplink wireless routing device in the first frequency band (2.4G frequency band) and the WPS uplink connection of the wireless relay device and the uplink wireless routing device in the second frequency band (5G frequency band) are not successfully established. At this time, the first frequency band is set to be the 5G frequency band, and the second frequency band is set to be the 2.4G frequency band, so that when the WPS button on the wireless relay device is activated next time, the first WPS uplink connection established between the wireless relay device and the uplink wireless routing device is not always in the same frequency band, thereby improving the success rate of establishing the WPS uplink connection between the wireless relay device and the uplink wireless routing device, and further improving the WPS connection efficiency of the wireless relay device.
Preferably, when the wireless relay device and the uplink wireless routing device successfully establish a connection, whether the WPS uplink connection of the first frequency band and the second frequency band is successfully established is detected, and when the WPS uplink connection of the first frequency band is successfully established and the WPS uplink connection of the second frequency band is not successfully established, the first frequency band and the second frequency band are exchanged to update the first frequency band and the second frequency band, otherwise, the first frequency band and the second frequency band are not exchanged.
Illustratively, when the WPS connection of the wireless relay device is established, the operation of establishing the WPS uplink and downlink connections of the wireless relay device is stopped, whether the WPS uplink connection of the first frequency band and the second frequency band is successfully established is detected, when the WPS uplink connection of the first frequency band (2.4G frequency band) is successfully established and the WPS uplink connection of the second frequency band (5G frequency band) is not successfully established, it is indicated that the wireless relay device and the uplink wireless routing device only successfully establish the WPS uplink connection in the first frequency band (2.4G frequency band), at this time, the first frequency band is set as the 5G frequency band, and the second frequency band is set as the 2.4G frequency band. Therefore, when the WPS button on the wireless relay device is activated next time, the first WPS uplink connection established between the wireless relay device and the uplink wireless routing device is not always in the frequency band of 2.4G, the success rate of establishing the WPS uplink connection between the wireless relay device and the uplink wireless routing device is improved, and the WPS connection efficiency of the wireless relay device is further improved.
Therefore, preferably, the apparatus further comprises:
a first connection detecting unit 35, configured to detect whether the connection between the wireless relay device and the wireless routing device is successfully established when a preset event that stops establishing the connection is detected;
a first updating unit 36, configured to, when the wireless relay device and the wireless routing device do not successfully establish a connection, perform an interchange operation on the first frequency band and the second frequency band to update the first frequency band and the second frequency band;
a second connection detecting unit 37, configured to detect whether the WPS uplink connection between the first frequency band and the second frequency band is successfully established when the wireless relay device and the wireless routing device are successfully established;
a second updating unit 38, configured to perform an interchange operation on the first frequency band and the second frequency band to update the first frequency band and the second frequency band when the WPS uplink connection in the first frequency band is successfully established and the WPS uplink connection in the second frequency band is not successfully established.
In the embodiment of the present invention, each unit of the WPS connection apparatus of the wireless relay device may be implemented by a corresponding hardware or software unit, and each unit may be an independent software or hardware unit, or may be integrated into one software or hardware unit, which is not limited herein.
Example four:
fig. 4 shows a structure of a wireless relay apparatus according to a fourth embodiment of the present invention, and for convenience of explanation, only a part related to the embodiment of the present invention is shown.
The wireless relay apparatus 4 of the embodiment of the present invention includes a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. The processor 40 implements the steps in the above-described WPS connection method embodiment of each wireless relay apparatus, for example, steps S101 to S104 shown in fig. 1, when executing the computer program 42. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the units in the above-described device embodiments, for example, the functions of the units 21 to 24 shown in fig. 2 and the units 31 to 38 shown in fig. 3.
In the embodiment of the present invention, when the processor 40 executes the computer program 42 to implement the steps in the above-described WPS connection method embodiments of each wireless relay device, it detects whether the WPS button on the wireless relay device is activated, when it is detected that the WPS button on the wireless relay device is activated, establishes the WPS uplink connection of the first frequency band of the wireless relay device with the wireless routing device, when it reaches the first preset time, establishes the WPS uplink connection of the second frequency band of the wireless relay device with the wireless routing device, when it reaches the second preset time, establishes the WPS downlink connections of the first frequency band and the second frequency band of the wireless relay device with the STA station, when it detects a preset event of stopping establishing the connection, stops the operations of establishing the WPS uplink and downlink connections of the wireless relay device, thereby implementing the two-way dual-frequency WPS connection of the wireless relay device by activation of one WPS button, WPS connection efficiency of the wireless relay device is improved. The steps implemented by the processor 40 in the wireless relay device 4 when executing the computer program 42 may specifically refer to the description of the method in the first embodiment, and are not described herein again.
Example five:
in an embodiment of the present invention, there is provided a computer-readable storage medium storing a computer program that when executed by a processor implements the steps in the above-described WPS connection method embodiments of the respective wireless relay apparatuses, for example, steps S101 to S104 shown in fig. 1. Alternatively, the computer program, when executed by a processor, implements the functions of the units in the above-described device embodiments, for example, the functions of the units 21 to 24 shown in fig. 2 and the units 31 to 38 shown in fig. 3.
In the embodiment of the invention, whether a WPS button on a wireless relay device is activated is detected, when the WPS button on the wireless relay device is detected to be activated, a first frequency band WPS uplink connection between the wireless relay device and a wireless routing device is established, when a first preset time is reached, a second frequency band WPS uplink connection between the wireless relay device and the wireless routing device is established, when a second preset time is reached, WPS downlink connections between the wireless relay device and a first frequency band and a second frequency band of an STA station are established, and when a preset event of stopping establishing the connection is detected, the operation of establishing the WPS uplink connection and the WPS downlink connection of the wireless relay device is stopped, so that the two-way dual-frequency WPS connection of the wireless relay device is realized through the activation of one WPS button, and the WPS connection efficiency of the wireless relay device is improved. The WPS connection method of the wireless relay device, which is implemented when the computer program is executed by the processor, may further refer to the description of the steps in the foregoing method embodiments, and will not be described herein again.
The computer readable storage medium of the embodiments of the present invention may include any entity or device capable of carrying computer program code, a recording medium, such as a ROM/RAM, a magnetic disk, an optical disk, a flash memory, or the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A WPS connection method of a wireless relay apparatus including only one WPS button, the method comprising the steps of:
detecting whether the WPS button on the wireless relay equipment is activated or not, wherein the WPS button is a wireless protection setting button, and when the WPS button is detected to be activated, establishing first frequency band WPS uplink connection between the wireless relay equipment and wireless routing equipment;
when the first preset time is reached, establishing a second frequency band WPS uplink connection between the wireless relay equipment and the wireless routing equipment;
when second preset time is reached, establishing WPS downlink connection between the wireless relay equipment and the first frequency band and the second frequency band of the STA station;
and when a preset event of stopping establishing the connection is detected, stopping the operation of establishing the WPS uplink and downlink connection of the wireless relay equipment.
2. The method of claim 1, wherein when a preset event of ceasing to establish a connection is detected, the method further comprises:
detecting whether the wireless relay equipment and the wireless routing equipment are successfully connected or not;
and when the connection between the wireless relay equipment and the wireless routing equipment is not successfully established, performing interchange operation on the first frequency band and the second frequency band so as to update the first frequency band and the second frequency band.
3. The method of claim 2, wherein after the step of detecting whether the wireless relay device and the wireless routing device successfully establish a connection, the method further comprises:
when the wireless relay equipment and the wireless routing equipment are successfully connected, detecting whether WPS uplink connection of the first frequency band and the second frequency band is successfully established;
and when the WPS uplink connection of the first frequency band is successfully established and the WPS uplink connection of the second frequency band is not successfully established, performing interchange operation on the first frequency band and the second frequency band so as to update the first frequency band and the second frequency band.
4. The method of any of claims 1-3, wherein the first frequency band is a 2.4G frequency band and the second frequency band is a 5G frequency band.
5. A WPS connection apparatus of a wireless relay device, wherein the wireless relay device includes only one WPS button, the apparatus comprising:
a first uplink connection unit, configured to detect whether the WPS button on the wireless relay device is activated, where the WPS button is a wireless protection setting button, and when detecting that the WPS button is activated, establish a first frequency band WPS uplink connection between the wireless relay device and a wireless routing device;
the second uplink connection unit is used for establishing the second frequency band WPS uplink connection between the wireless relay equipment and the wireless routing equipment when the first preset time is reached;
a downlink connection unit, configured to establish a WPS downlink connection between the wireless relay device and the first frequency band and the second frequency band of the STA station when a second preset time is reached; and
a connection establishment stopping unit, configured to stop the operation of establishing the WPS uplink and downlink connections of the wireless relay device when a preset event of stopping establishment of a connection is detected.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the first connection detection unit is used for detecting whether the connection between the wireless relay equipment and the wireless routing equipment is successfully established or not when a preset event of stopping establishing the connection is detected; and
a first updating unit, configured to, when the wireless relay device and the wireless routing device do not successfully establish a connection, perform an interchange operation on the first frequency band and the second frequency band to update the first frequency band and the second frequency band.
7. The apparatus of claim 6, wherein the apparatus further comprises:
a second connection detection unit, configured to detect whether WPS uplink connections of the first frequency band and the second frequency band are successfully established when the wireless relay device and the wireless routing device are successfully established; and
and the second updating unit is used for performing interchange operation on the first frequency band and the second frequency band to update the first frequency band and the second frequency band when the WPS uplink connection of the first frequency band is successfully established and the WPS uplink connection of the second frequency band is not successfully established.
8. The apparatus of any of claims 5-7, wherein the first frequency band is a 2.4G frequency band and the second frequency band is a 5G frequency band.
9. A wireless relay device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201710833361.8A 2017-09-15 2017-09-15 WPS connection method, device, equipment and storage medium for wireless relay equipment Active CN107734717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710833361.8A CN107734717B (en) 2017-09-15 2017-09-15 WPS connection method, device, equipment and storage medium for wireless relay equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710833361.8A CN107734717B (en) 2017-09-15 2017-09-15 WPS connection method, device, equipment and storage medium for wireless relay equipment

Publications (2)

Publication Number Publication Date
CN107734717A CN107734717A (en) 2018-02-23
CN107734717B true CN107734717B (en) 2020-10-27

Family

ID=61207176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710833361.8A Active CN107734717B (en) 2017-09-15 2017-09-15 WPS connection method, device, equipment and storage medium for wireless relay equipment

Country Status (1)

Country Link
CN (1) CN107734717B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834000B (en) * 2018-07-23 2022-02-01 西安蜂语信息科技有限公司 Relay method and device
CN113727323B (en) * 2021-07-28 2024-03-29 深圳市联洲国际技术有限公司 Communication method and device of dual-frequency client, dual-frequency client and communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457850A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Access point (AP) and method for securely connecting wireless workstation (STA) with AP
CN104105170A (en) * 2014-08-04 2014-10-15 上海斐讯数据通信技术有限公司 Connection method and connection system for WiFi protected setup scanning of dual-band router
CN105722224A (en) * 2016-01-13 2016-06-29 广东欧珀移动通信有限公司 Method and apparatus for relaying WIFI network
CN105814923A (en) * 2013-12-16 2016-07-27 高通股份有限公司 Methods and apparatus for provisioning of credentials in network deployments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457850A (en) * 2010-10-19 2012-05-16 中兴通讯股份有限公司 Access point (AP) and method for securely connecting wireless workstation (STA) with AP
CN105814923A (en) * 2013-12-16 2016-07-27 高通股份有限公司 Methods and apparatus for provisioning of credentials in network deployments
CN104105170A (en) * 2014-08-04 2014-10-15 上海斐讯数据通信技术有限公司 Connection method and connection system for WiFi protected setup scanning of dual-band router
CN105722224A (en) * 2016-01-13 2016-06-29 广东欧珀移动通信有限公司 Method and apparatus for relaying WIFI network

Also Published As

Publication number Publication date
CN107734717A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
US9814041B2 (en) Communication mode switching method and device
US20150201440A1 (en) BLUETOOTH Device Connection Method and Device
KR101339048B1 (en) Radio link failure processing method, device and system
US10492245B2 (en) Call termination method, application processor, and modem
JP6281025B2 (en) User equipment and circuit switching fallback switching method
JP2011182110A (en) Electronic apparatus, and communication control method
EP3582549B1 (en) Network connection method and apparatus
US9907025B2 (en) Data sending method, apparatus and system
US9271232B2 (en) Mobile terminal and power saving method thereof
EP3188445A1 (en) Data transmission method, apparatus, and system
CN107734717B (en) WPS connection method, device, equipment and storage medium for wireless relay equipment
CN112203179B (en) TWS earphone, automatic reconnection method and device thereof, and computer storage medium
US10708775B2 (en) Method for establishing network connection by using WPS, and mobile Wi-Fi device
WO2022078314A1 (en) Inactive state configuration method and device, and communication device
US10142804B2 (en) All-group calling method, system, related device and computer storage medium
RU2015129570A (en) TERMINAL, PROGRAM AND COMMUNICATION SYSTEM
US10079893B2 (en) M2M application request sending method, CSE and system
JP5398800B2 (en) Electronic device and communication control method
CN109429238B (en) eDRX mode configuration method, network side equipment, user equipment and readable medium
WO2022184046A1 (en) Method and apparatus for controlling rrc connection, and communication device
CN109429218B (en) User equipment, configuration method thereof, network side equipment and computer readable medium
JP4138802B2 (en) Communication apparatus and communication method
US20130122887A1 (en) Method and Device for Communication
KR101436474B1 (en) System and method for concurrent call avoidance
CN104023135A (en) Mobile equipment and method of chirping thereof as well as method of controlling chirp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant