CN107734717A - 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
CN107734717A
CN107734717A CN201710833361.8A CN201710833361A CN107734717A CN 107734717 A CN107734717 A CN 107734717A CN 201710833361 A CN201710833361 A CN 201710833361A CN 107734717 A CN107734717 A CN 107734717A
Authority
CN
China
Prior art keywords
wps
frequency range
wireless relay
relay apparatus
connection
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.)
Granted
Application number
CN201710833361.8A
Other languages
Chinese (zh)
Other versions
CN107734717B (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Radio Relay Systems (AREA)

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 methods, device, equipment and the storage medium of wireless relay apparatus
Technical field
The invention belongs to field of computer technology, more particularly to the WPS connection methods of wireless relay apparatus a kind of, device, Equipment and storage medium.
Background technology
The mode of operation of wireless relay apparatus is different from conventional wireless router, and it needs connection up-link wireless route to set It is standby, by amplifying the network signal of up-link wireless routing device, the network signal after amplification is transferred to descending STA websites (Station), so as to realizing network connection.That is WPS (Wi-Fi Protected Setup, the wireless protection of wireless relay apparatus Set) linkage function, it is related to wireless relay apparatus and is stood with up-link wireless routing device and wireless relay apparatus with descending STA The connection in the two directions of point.
Existing wireless relay apparatus is located simultaneously in the case of an only WPS button (wireless protection settings button) When managing WPS up-downgoings connection, often there is the problem of connection failure, connection frequency range are uncontrollable etc. to cause Consumer's Experience bad, Especially for double-frequency wireless routing device, in the case of an only WPS button, while WPS up-downgoings and double frequency are handled During section connection, due to wave point is more, deal with more complicated, the WPS joint efficiencies of wireless relay apparatus are low.
The content of the invention
It is an object of the invention to provide a kind of WPS connection methods of wireless relay apparatus, device, equipment and storage to be situated between Matter, it is intended to which when solving existing wireless relay apparatus and handling WPS up-downgoings at the same time and connected with two-band, WPS joint efficiencies are low The problem of.
On the one hand, the invention provides a kind of WPS connection methods of wireless relay apparatus, the wireless relay apparatus only to wrap A WPS button is included, methods described comprises the steps:
Whether the WPS buttons detected in the wireless relay apparatus are activated, and the WPS buttons set for wireless protection Button is put, when detecting that the WPS buttons are activated, establishes the first frequency of the wireless relay apparatus and wireless routing device The section up connections of WPS;
When reaching the first preset time, the second frequency range WPS of the wireless relay apparatus and wireless routing device is established Up connection;
When reaching the second preset time, first frequency range and the institute of the wireless relay apparatus and STA websites are established State the descending connections of WPS of the second frequency range;
When detecting that the event of connection is established in default stopping, stopping the described of the wireless relay apparatus and establish WPS The operation of uplink and downlink connection.
On the other hand, the invention provides a kind of WPS attachment means of wireless relay apparatus, the wireless relay apparatus is only Including a WPS button, described device includes:
Whether the first up connection unit, the WPS buttons for detecting in the wireless relay apparatus are activated, institute It is wireless protection settings button to state WPS buttons, when detecting that the WPS buttons are activated, establishes the wireless relay apparatus With the first up connections of frequency range WPS of wireless routing device;
Second up connection unit, for when reaching the first preset time, establish the wireless relay apparatus with it is wireless The second up connections of frequency range WPS of routing device;
Descending connection unit, for when reaching the second preset time, establishing the wireless relay apparatus and STA websites The descending connections of WPS of first frequency range and second frequency range;And
Stop element is established in connection, for when detecting that the event of connection is established in default stopping, stopping described wireless The operation for establishing WPS uplink and downlink connection of trunking.
On the other hand, present invention also offers a kind of wireless relay apparatus, including memory, processor and it is stored in institute The computer program that can be run in memory and on the processor is stated, it is real during computer program described in the computing device Now such as the step of the WPS connection methods of the wireless relay apparatus.
On the other hand, present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium Computer program is stored with, is realized when the computer program is executed by processor such as the WPS connections of the wireless relay apparatus The step of method.
Whether the WPS buttons that the present invention detects in wireless relay apparatus first are activated, when detecting wireless relay apparatus On WPS buttons when being activated, establish the first up connections of frequency range WPS of wireless relay apparatus and wireless routing device, when to During up to the first preset time, the second up connections of frequency range WPS of wireless relay apparatus and wireless routing device are established, when reaching the During two preset times, the descending connections of WPS of wireless relay apparatus and the first frequency range and the second frequency range of STA websites are established, work as inspection When measuring the event of default stopping foundation connection, stop the operation for establishing WPS uplink and downlink connection of wireless relay apparatus, So as to by the activation of a WPS button, realize the two-way double frequency WPS connections of wireless relay apparatus, improve wireless relay apparatus WPS joint efficiencies.
Brief description of the drawings
Fig. 1 is the implementation process figure of the WPS connection methods for the wireless relay apparatus that the embodiment of the present invention one provides;
Fig. 2 is the structural representation of the WPS attachment means for the wireless relay apparatus that the embodiment of the present invention two provides;
Fig. 3 is the structural representation of the WPS attachment means for the wireless relay apparatus that the embodiment of the present invention three provides;And
Fig. 4 is the structural representation for the wireless relay apparatus that the embodiment of the present invention four provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
It is described in detail below in conjunction with specific implementation of the specific embodiment to the present invention:
Embodiment one:
Fig. 1 shows the implementation process of the WPS connection methods for the wireless relay apparatus that the embodiment of the present invention one provides, in order to It is easy to illustrate, illustrate only the part related to the embodiment of the present invention, details are as follows:
In step S101, whether the WPS buttons detected in wireless relay apparatus are activated, when detecting that wireless relay sets When standby upper WPS buttons are activated, the first up connections of frequency range WPS of wireless relay apparatus and wireless routing device are established.
The embodiment of the present invention is applied to wireless relay apparatus.In embodiments of the present invention, wireless relay apparatus only includes one Individual WPS buttons, WPS buttons are wireless protection settings button, after wireless relay apparatus start, are detected in wireless relay apparatus Whether WPS buttons are activated, that is, detect whether to need to establish WPS connections, and specifically, whether detection WPS buttons are pressed.Work as inspection When measuring the WPS buttons in wireless relay apparatus and being activated, illustrate that user wants to set up WPS connections, now, establish wireless relay Equipment and the first up connections of frequency range WPS of up-link wireless routing device.
In step s 102, when reaching the first preset time, the of wireless relay apparatus and wireless routing device is established The two up connections of frequency range WPS.
In embodiments of the present invention, when detecting that the WPS buttons in wireless relay apparatus are activated, timing is started, when When reaching the first preset time, i.e., when timing duration reaches the first preset duration (for example, 30 seconds), establish wireless relay apparatus with The second up connections of frequency range WPS of up-link wireless routing device, it is achieved thereby that a key triggers double frequency WPS connections, and then improve The WPS joint efficiencies of wireless relay apparatus.
In embodiments of the present invention, the first frequency range is different from the second frequency range.As illustratively, if the first frequency range is 2.4G frequencies Section, then the second frequency range can be 5G frequency ranges, if the first frequency range is 5G frequency ranges, the second frequency range can be 2.4G frequency ranges.
In step s 103, when reaching the second preset time, the first frequency range of wireless relay apparatus and STA websites is established With the descending connections of WPS of the second frequency range.
In embodiments of the present invention, when reaching the second preset time, i.e., timing duration reaches the second preset duration (example Such as, 60 seconds) when, while establish the descending companies of WPS of wireless relay apparatus and the first frequency range and the second frequency range of descending STA websites Connect, so in the up successful connections of WPS of at least one frequency range and the descending successful connections of the WPS of at least one frequency range, wirelessly The WPS connections can of trunking is successfully established, so as to by the activation of a WPS button, realize wireless relay apparatus Two-way double frequency WPS connections, further improve the WPS joint efficiencies of wireless relay apparatus.
In step S104, when detecting that the event of connection is established in default stopping, stopping building for wireless relay apparatus The operation of vertical WPS uplink and downlink connection.
In embodiments of the present invention, it is default stop establish connection event can be WPS connections be successfully established or The duration for establishing connection exceedes the event that maximum connection duration (for example, 120 seconds) etc. pre-sets.When detecting default stopping Establish connection event when, illustrate this WPS connection be successfully established or this time WPS connections foundation fail, now, not followed by The continuous connection procedure for performing WPS, therefore, stop the operation for establishing WPS uplink and downlink connection of wireless relay apparatus.
In embodiments of the present invention, in order that WPS is by after button activation, wireless relay apparatus is built with up-link wireless routing device The up connections of vertical first WPS are not always in same frequency range, it is preferable that when the event for detecting default stopping foundation connection When, detection wireless relay apparatus is connected with whether up-link wireless routing device is successfully established, when wireless relay apparatus and up nothing When line routing device establishes connection not successfully, operation is interchangeable to the first frequency range and the second frequency range, with update the first frequency range with Second frequency range, it is achieved thereby that the first frequency range automatically updates, suitable first frequency range is selected for follow-up WPS connections, is improved Wireless relay apparatus establishes the efficiency with the WPS up connections of up-link wireless routing device, and then improves wireless relay apparatus WPS joint efficiencies.
As illustratively, when establishing the duration of connection more than 120 seconds, stop wireless relay apparatus to establish WPS up With the operation of descending connection, detection wireless relay apparatus is connected with whether up-link wireless routing device is successfully established, in wireless When equipment is established and is connected not successfully with up-link wireless routing device, illustrate wireless relay apparatus and up-link wireless routing device The up connections of first frequency range (2.4G frequency ranges) WPS and wireless relay apparatus and the second frequency range (5G of up-link wireless routing device Frequency range) all failed foundation of the up connections of WPS.Now, the first frequency range is arranged to 5G frequency ranges, the second frequency range is arranged to 2.4G Frequency range, so, when the WPS buttons in wireless relay apparatus activate next time, wireless relay apparatus is set with up-link wireless route The standby up connections of first WPS established are established and up-link wireless not always in same frequency range so as to improve wireless relay apparatus The success rate of the up connections of WPS of routing device, and then improve the WPS joint efficiencies of wireless relay apparatus.
Preferably, when wireless relay apparatus is successfully established with up-link wireless routing device to be connected, detection the first frequency range and Whether the up connections of WPS of the second frequency range are successfully established, when the up successful connection foundation of the WPS of the first frequency range and the second frequency range The up connections of WPS it is failed operation is interchangeable to the first frequency range and the second frequency range when establishing, with the first frequency range of renewal and the Two frequency ranges, otherwise operated without the exchange between the first frequency range and the second frequency range.
As illustratively, when the WPS connections of wireless relay apparatus are built immediately, stop wireless relay apparatus establishes WPS The operation of uplink and downlink connection, whether the up connections of WPS for detecting the first frequency range and the second frequency range are successfully established, when the first frequency The up successful connections of WPS of section (2.4G frequency ranges), which are established, and the up connections of the WPS of the second frequency range (5G frequency ranges) are failed establishes When, illustrate that wireless relay apparatus is only successfully established the up companies of WPS with up-link wireless routing device in the first frequency range (2.4G frequency ranges) Connect, now, the first frequency range is arranged to 5G frequency ranges, the second frequency range is arranged to 2.4G frequency ranges.So, when in wireless relay apparatus WPS buttons when being activated next time, wireless relay apparatus with the up connections of the first WPS that up-link wireless routing device is established not Always in this frequency range of 2.4G, improve wireless relay apparatus establish with the up connections of WPS of up-link wireless routing device into Power, and then improve the WPS joint efficiencies of wireless relay apparatus.
Embodiment two:
Fig. 2 shows the structure of the WPS attachment means for the wireless relay apparatus that the embodiment of the present invention two provides, for the ease of Illustrate, illustrate only the part related to the embodiment of the present invention, including:
Whether the first up connection unit 21, the WPS buttons for detecting in wireless relay apparatus are activated, when detecting When WPS buttons in wireless relay apparatus are activated, the first frequency range of wireless relay apparatus and up-link wireless routing device is established The up connections of WPS.
Second up connection unit 22, for when reaching the first preset time, establishing wireless relay apparatus and without circuit By the second up connections of frequency range WPS of equipment.
Descending connection unit 23, for when reaching the second preset time, establishing the of wireless relay apparatus and STA websites The descending connections of the WPS of one frequency range and the second frequency range.
Stop element 24 is established in connection, for when detect it is default stop establishing the event of connection when, stop it is wireless in After the operation for establishing WPS uplink and downlink connection of equipment.
In embodiments of the present invention, after wireless relay apparatus start, whether the WPS buttons in detection wireless relay apparatus It is activated, when detecting that the WPS buttons in wireless relay apparatus are activated, the first up connection unit 21 establishes wireless relay The first up connections of frequency range WPS of equipment and wireless routing device, when reaching the first preset time, the second up connection unit 22 establish the second up connections of frequency range WPS of wireless relay apparatus and wireless routing device, it is achieved thereby that a key triggers double frequency WPS connections, and then improve the WPS joint efficiencies of wireless relay apparatus, when reaching the second preset time, descending connection unit 23 The descending connections of WPS of wireless relay apparatus and the first frequency range and the second frequency range of STA websites are established, it is achieved thereby that a key triggers Two-way double frequency WPS connections, the WPS joint efficiencies of wireless relay apparatus are further improved, connected when detecting that default stopping is established During the event connect, the operation for establishing WPS uplink and downlink connection that stop element 24 stops wireless relay apparatus being established in connection, from And by the activation of a WPS button, the two-way double frequency WPS connections of wireless relay apparatus are realized, wireless relay is improved and sets Standby WPS joint efficiencies.
In embodiments of the present invention, each unit of the WPS attachment means of wireless relay apparatus can be by corresponding hardware or soft Part unit realizes that each unit can be independent soft and hardware unit, can also be integrated into a soft and hardware unit, not have to herein To limit the present invention.The embodiment of each unit refers to the description of previous embodiment one, will not be repeated here.
Embodiment three:
Fig. 3 shows the structure of the WPS attachment means for the wireless relay apparatus that the embodiment of the present invention three provides, for the ease of Illustrate, illustrate only the part related to the embodiment of the present invention, including:
Whether the first up connection unit 31, the WPS buttons for detecting in wireless relay apparatus are activated, when detecting When WPS buttons in wireless relay apparatus are activated, establish on the first frequency range WPS of wireless relay apparatus and wireless routing device Row connection.
In embodiments of the present invention, wireless relay apparatus only includes a WPS button, and WPS buttons are set for wireless protection Button, after wireless relay apparatus start, whether the WPS buttons detected in wireless relay apparatus are activated, that is, detect whether to need WPS connections are established, specifically, whether detection WPS buttons are pressed.When detecting the WPS button quilts in wireless relay apparatus During activation, illustrate to need to establish WPS connections, now, the first up connection unit 31 establishes wireless relay apparatus and up-link wireless The first up connections of frequency range WPS of routing device.
Second up connection unit 32, for when reaching the first preset time, establishing wireless relay apparatus and without circuit By the second up connections of frequency range WPS of equipment.
In embodiments of the present invention, when detecting that the WPS buttons in wireless relay apparatus are activated, timing is started, when When reaching the first preset time, i.e., when timing duration reaches the first preset duration (for example, 30 seconds), the second up connection unit 32 The second up connections of frequency range WPS of wireless relay apparatus and up-link wireless routing device are established, it is achieved thereby that key triggering is double Frequency WPS connections, and then improve the WPS joint efficiencies of wireless relay apparatus.
In embodiments of the present invention, the first frequency range is different from the second frequency range.As illustratively, if the first frequency range is 2.4G frequencies Section, then the second frequency range can be 5G frequency ranges, if the first frequency range is 5G frequency ranges, the second frequency range can be 2.4G frequency ranges.
Descending connection unit 33, for when reaching the second preset time, establishing the of wireless relay apparatus and STA websites The descending connections of the WPS of one frequency range and the second frequency range.
In embodiments of the present invention, when reaching the second preset time, i.e., timing duration reaches the second preset duration (example Such as, 60 seconds) when, descending connection unit 33 establishes the first frequency range and the second frequency of wireless relay apparatus and descending STA websites simultaneously The descending connections of WPS of section, so in the up successful connections of WPS of at least one frequency range and the descending companies of WPS of at least one frequency range When being connected into work(, the WPS connections can of wireless relay apparatus is successfully established, so as to by the activation of a WPS button, realize nothing The two-way double frequency WPS connections of line trunking, further improve the WPS joint efficiencies of wireless relay apparatus.
Stop element 34 is established in connection, for when detect it is default stop establishing the event of connection when, stop it is wireless in After the operation for establishing WPS uplink and downlink connection of equipment.
In embodiments of the present invention, it is default stop establish connection event can be WPS connections be successfully established or The duration for establishing connection exceedes the event that maximum connection duration (for example, 120 seconds) etc. pre-sets.When detecting default stopping Establish connection event when, illustrate this WPS connection be successfully established or this time WPS connections foundation fail, now, not followed by The continuous connection procedure for performing WPS, therefore, connection establish stop element 34 stop wireless relay apparatus establish WPS it is up and under The operation of row connection.
In embodiments of the present invention, in order that WPS is by after button activation, wireless relay apparatus is built with up-link wireless routing device The up connections of vertical first WPS are not always in same frequency range, it is preferable that when the event for detecting default stopping foundation connection When, detection wireless relay apparatus is connected with whether up-link wireless routing device is successfully established, when wireless relay apparatus and up nothing When line routing device establishes connection not successfully, operation is interchangeable to the first frequency range and the second frequency range, with update the first frequency range with Second frequency range, it is achieved thereby that the first frequency range automatically updates, suitable first frequency range is selected for follow-up WPS connections, is improved Wireless relay apparatus establishes the efficiency with the WPS up connections of up-link wireless routing device, and then improves wireless relay apparatus WPS joint efficiencies.
As illustratively, when establishing the duration of connection more than 120 seconds, stop wireless relay apparatus to establish WPS up With the operation of descending connection, detection wireless relay apparatus is connected with whether up-link wireless routing device is successfully established, in wireless When equipment is established and is connected not successfully with up-link wireless routing device, illustrate wireless relay apparatus and up-link wireless routing device The up connections of first frequency range (2.4G frequency ranges) WPS and wireless relay apparatus and the second frequency range (5G of up-link wireless routing device Frequency range) all failed foundation of the up connections of WPS.Now, the first frequency range is arranged to 5G frequency ranges, the second frequency range is arranged to 2.4G Frequency range, so, when the WPS buttons in wireless relay apparatus activate next time, wireless relay apparatus is set with up-link wireless route The standby up connections of first WPS established are established and up-link wireless not always in same frequency range so as to improve wireless relay apparatus The success rate of the up connections of WPS of routing device, and then improve the WPS joint efficiencies of wireless relay apparatus.
Preferably, when wireless relay apparatus is successfully established with up-link wireless routing device to be connected, detection the first frequency range and Whether the up connections of WPS of the second frequency range are successfully established, when the up successful connection foundation of the WPS of the first frequency range and the second frequency range The up connections of WPS it is failed operation is interchangeable to the first frequency range and the second frequency range when establishing, with the first frequency range of renewal and the Two frequency ranges, otherwise operated without the exchange between the first frequency range and the second frequency range.
As illustratively, when the WPS connections of wireless relay apparatus are built immediately, stop wireless relay apparatus establishes WPS The operation of uplink and downlink connection, whether the up connections of WPS for detecting the first frequency range and the second frequency range are successfully established, when the first frequency The up successful connections of WPS of section (2.4G frequency ranges), which are established, and the up connections of the WPS of the second frequency range (5G frequency ranges) are failed establishes When, illustrate that wireless relay apparatus is only successfully established the up companies of WPS with up-link wireless routing device in the first frequency range (2.4G frequency ranges) Connect, now, the first frequency range is arranged to 5G frequency ranges, the second frequency range is arranged to 2.4G frequency ranges.So, when in wireless relay apparatus WPS buttons when being activated next time, wireless relay apparatus with the up connections of the first WPS that up-link wireless routing device is established not Always in this frequency range of 2.4G, improve wireless relay apparatus establish with the up connections of WPS of up-link wireless routing device into Power, and then improve the WPS joint efficiencies of wireless relay apparatus.
It is therefore preferred that the device also includes:
First connecting detection unit 35, for when detect it is default stop establishing the event of connection when, during detection is wireless It is connected after equipment with whether wireless routing device is successfully established;
First updating block 36, for when wireless relay apparatus is established and is connected not successfully with wireless routing device, to One frequency range is interchangeable operation with the second frequency range, to update the first frequency range and the second frequency range;
Second connecting detection unit 37, for when wireless relay apparatus is successfully established with wireless routing device and is connected, examining Whether the up connections of WPS for surveying the first frequency range and the second frequency range are successfully established;
Second updating block 38, for as the WPS of the up successful connection foundation of the WPS of the first frequency range and the second frequency range When row connection is established not successfully, operation is interchangeable to the first frequency range and the second frequency range, to update the first frequency range and the second frequency range.
In embodiments of the present invention, each unit of the WPS attachment means of wireless relay apparatus can be by corresponding hardware or soft Part unit realizes that each unit can be independent soft and hardware unit, can also be integrated into a soft and hardware unit, not have to herein To limit the present invention.
Example IV:
Fig. 4 shows the structure for the wireless relay apparatus that the embodiment of the present invention four provides, and for convenience of description, illustrate only The part related to the embodiment of the present invention.
The wireless relay apparatus 4 of the embodiment of the present invention includes processor 40, memory 41 and is stored in memory 41 And the computer program 42 that can be run on processor 40.The processor 40 realizes above-mentioned each nothing when performing computer program 42 Step in the WPS connection method embodiments of line trunking, for example, the step S101 to S104 shown in Fig. 1.Or processing Device 40 realizes the function of each unit in above-mentioned each device embodiment when performing computer program 42, for example, unit 21 shown in Fig. 2 to 24th, the function of unit 31 to 38 shown in Fig. 3.
In embodiments of the present invention, above-mentioned each wireless relay apparatus is realized when the processor 40 performs computer program 42 WPS connection method embodiments in step when, whether the WPS buttons detected in wireless relay apparatus are activated, when detecting When WPS buttons in wireless relay apparatus are activated, establish on the first frequency range WPS of wireless relay apparatus and wireless routing device Row connection, when reaching the first preset time, establishes the second up companies of frequency range WPS of wireless relay apparatus and wireless routing device Connect, when reaching the second preset time, establish under the first frequency range of wireless relay apparatus and STA websites and the WPS of the second frequency range Row connection, when detecting that the event of connection is established in default stopping, stopping wireless relay apparatus establishes WPS uplink and downlink The operation of connection, so as to by the activation of a WPS button, realize the two-way double frequency WPS connections of wireless relay apparatus, improve nothing The WPS joint efficiencies of line trunking.The step that processor 40 is realized when performing computer program 42 in the wireless relay apparatus 4 The rapid description for specifically referring to method in embodiment one, will not be repeated here.
Embodiment five:
In embodiments of the present invention, there is provided a kind of computer-readable recording medium, the computer-readable recording medium are deposited Computer program is contained, the computer program realizes the WPS connection sides of above-mentioned each wireless relay apparatus when being executed by processor Step in method embodiment, for example, the step S101 to S104 shown in Fig. 1.Or the computer program is when being executed by processor The function of each unit in above-mentioned each device embodiment is realized, for example, unit 21 to 24 shown in Fig. 2, unit 31 to 38 shown in Fig. 3 Function.
In embodiments of the present invention, whether the WPS buttons detected in wireless relay apparatus are activated, in detecting wirelessly When the WPS buttons in equipment are activated, the first up companies of frequency range WPS of wireless relay apparatus and wireless routing device are established Connect, when reaching the first preset time, establish the second up connections of frequency range WPS of wireless relay apparatus and wireless routing device, When reaching the second preset time, the descending companies of WPS of wireless relay apparatus and the first frequency range and the second frequency range of STA websites are established Connect, when detecting that the event of connection is established in default stopping, stopping wireless relay apparatus establishes WPS uplink and downlink connection Operation, so that by the activation of a WPS button, the two-way double frequency WPS connections of wireless relay apparatus are realized, in improving wirelessly After the WPS joint efficiencies of equipment.The WPS connection methods for the wireless relay apparatus that the computer program is realized when being executed by processor The description of step in preceding method embodiment is further referred to, will not be repeated here.
The computer-readable recording medium of the embodiment of the present invention can include that any of computer program code can be carried Entity or device, recording medium, for example, the memory such as ROM/RAM, disk, CD, flash memory.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. the WPS connection methods of a kind of wireless relay apparatus, it is characterised in that the wireless relay apparatus only includes a WPS Button, methods described comprise the steps:
Whether the WPS buttons detected in the wireless relay apparatus are activated, and the WPS buttons are that wireless protection setting is pressed Button, when detecting that the WPS buttons are activated, establish the wireless relay apparatus and the first frequency range of wireless routing device The up connections of WPS;
When reaching the first preset time, the second frequency range WPS for establishing the wireless relay apparatus and wireless routing device is up Connection;
When reaching the second preset time, first frequency range and described of the wireless relay apparatus and STA websites is established The descending connections of WPS of two frequency ranges;
When detect it is default stop establishing the event of connection when, stopping the wireless relay apparatus described, to establish WPS up With the operation of descending connection.
2. the method as described in claim 1, it is characterised in that when detecting that the event of connection is established in default stopping, institute Stating method also includes:
Detect the wireless relay apparatus and be connected with whether the wireless routing device is successfully established;
When the wireless relay apparatus is established not successfully with the wireless routing device to be connected, to first frequency range with it is described Second frequency range is interchangeable operation, to update first frequency range and second frequency range.
3. method as claimed in claim 2, it is characterised in that detect the wireless relay apparatus and the wireless routing device After the step of whether being successfully established connection, methods described also includes:
When the wireless relay apparatus is successfully established with the wireless routing device to be connected, first frequency range and described is detected Whether the up connections of WPS of the second frequency range are successfully established;
When the up successful connection foundation of the WPS of first frequency range and the failed foundation of the up connections of WPS of second frequency range When, operation is interchangeable to first frequency range and second frequency range, to update first frequency range and second frequency range.
4. the method as described in claim any one of 1-3, it is characterised in that first frequency range is 2.4G frequency ranges, described Two frequency ranges are 5G frequency ranges.
5. the WPS attachment means of a kind of wireless relay apparatus, it is characterised in that the wireless relay apparatus only includes a WPS Button, described device include:
First up connection unit, whether the WPS buttons for detecting in the wireless relay apparatus are activated, described WPS buttons are wireless protection settings button, when detecting that the WPS buttons are activated, establish the wireless relay apparatus with The first up connections of frequency range WPS of wireless routing device;
Second up connection unit, for when reaching the first preset time, establishing the wireless relay apparatus and wireless routing The second up connections of frequency range WPS of equipment;
Descending connection unit, for when reaching the second preset time, establishing the described of the wireless relay apparatus and STA websites The descending connections of WPS of first frequency range and second frequency range;And
Stop element is established in connection, for when detecting that the event of connection is established in default stopping, stopping the wireless relay The operation for establishing WPS uplink and downlink connection of equipment.
6. device as claimed in claim 5, it is characterised in that described device also includes:
First connecting detection unit, for when detecting that the event of connection is established in default stopping, detecting the wireless relay Equipment is connected with whether the wireless routing device is successfully established;And
First updating block, it is right for when the wireless relay apparatus is established and is connected not successfully with the wireless routing device First frequency range is interchangeable operation with second frequency range, to update first frequency range and second frequency range.
7. device as claimed in claim 7, it is characterised in that described device also includes:
Second connecting detection unit, for when the wireless relay apparatus is successfully established with the wireless routing device and is connected, Whether the up connections of WPS for detecting first frequency range and second frequency range are successfully established;And
Second updating block, for as the WPS of the up successful connection foundation of the WPS of first frequency range and second frequency range When up connection is established not successfully, operation is interchangeable to first frequency range and second frequency range, to update described first Frequency range and second frequency range.
8. the device as described in claim any one of 5-7, it is characterised in that first frequency range is 2.4G frequency ranges, described Two frequency ranges are 5G frequency ranges.
9. a kind of wireless relay apparatus, including memory, processor and it is stored in the memory and can be in the processing The computer program run on device, it is characterised in that realize such as claim 1 described in the computing device during computer program The step of to any one of 4 methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of Claims 1-4 methods described.
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 true CN107734717A (en) 2018-02-23
CN107734717B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834000A (en) * 2018-07-23 2018-11-16 西安蜂语信息科技有限公司 Trunking method and device
CN113727323A (en) * 2021-07-28 2021-11-30 深圳市联洲国际技术有限公司 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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834000A (en) * 2018-07-23 2018-11-16 西安蜂语信息科技有限公司 Trunking method and device
CN113727323A (en) * 2021-07-28 2021-11-30 深圳市联洲国际技术有限公司 Communication method and device of dual-frequency client, dual-frequency client and communication system
WO2023006039A1 (en) * 2021-07-28 2023-02-02 联洲集团有限公司 Client communication method, client and communication system
CN113727323B (en) * 2021-07-28 2024-03-29 深圳市联洲国际技术有限公司 Communication method and device of dual-frequency client, dual-frequency client and communication system

Also Published As

Publication number Publication date
CN107734717B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN110324069B (en) Beam failure processing method, terminal, network device and readable storage medium
WO2019157948A1 (en) Return path conversion method, wireless relay, network-side node and terminal
CN111343699B (en) Icon display method and device, storage medium and electronic equipment
KR102500046B1 (en) Method for handling cell beam failure, mobile communication terminal and network-side device
US10104586B2 (en) Transmitting data over a radio access technology
US20230164642A1 (en) Method and device for redirection from lte to nr after eps fallback
KR102435896B1 (en) Service instruction method and related equipment
CN111010715A (en) Data transmission method, device, storage medium and terminal
CN112335213B (en) Method for the secure processing of early data transmissions
CN107734717A (en) WPS connection method, device, equipment and storage medium for wireless relay equipment
CN114080066A (en) Processing method, device, terminal and network side equipment for Discontinuous Reception (DRX)
CN106231616A (en) A kind of method configuring wireless relay and wireless router
US20240023189A1 (en) Communication Path Switching Method and Terminal
US10708775B2 (en) Method for establishing network connection by using WPS, and mobile Wi-Fi device
US20230422334A1 (en) Method, apparatus and communication device for controlling rrc connection
EP3579655B1 (en) Connection release method and system, and computer readable storage medium
US11412433B2 (en) Method of processing beam failure recovery and user equipment
KR102026078B1 (en) Push to talk terminal device for performing relay
CN114451062A (en) Communication method and device
JP4012451B2 (en) Cell selection method, mobile device and mobile device control program
WO2023207900A1 (en) Terminal discovery method and apparatus, terminal, and network-side device
WO2023005799A1 (en) Rrc connection method, and device and readable storage medium
WO2024093777A1 (en) User-equipment aggregation establishment method and apparatus, configuration method and apparatus, and communication device
WO2024027748A1 (en) Data transmission method and apparatus, and terminal
US20240040414A1 (en) Measurement method and apparatus, and terminal

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