CN106102077A - Realize the method and device of wireless relay - Google Patents

Realize the method and device of wireless relay Download PDF

Info

Publication number
CN106102077A
CN106102077A CN201610619177.9A CN201610619177A CN106102077A CN 106102077 A CN106102077 A CN 106102077A CN 201610619177 A CN201610619177 A CN 201610619177A CN 106102077 A CN106102077 A CN 106102077A
Authority
CN
China
Prior art keywords
electronic equipment
noise ratio
signal
wireless relay
self
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.)
Pending
Application number
CN201610619177.9A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610619177.9A priority Critical patent/CN106102077A/en
Publication of CN106102077A publication Critical patent/CN106102077A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • H04W16/20Network planning tools for indoor coverage or short range network deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure is directed to a kind of method and device realizing wireless relay.Described method includes: when detecting that the first electronic equipment, when the signal intensity of WLAN is less than the first predetermined threshold value, determines at least one the second each self-corresponding signal to noise ratio of electronic equipment accessing described WLAN;Maximum signal to noise ratio is determined from least one second each self-corresponding signal to noise ratio of electronic equipment;When described maximum signal to noise ratio is more than the second predetermined threshold value, wireless relay function opened by the second electronic equipment controlling described maximum signal to noise ratio corresponding.Disclosure technical scheme can solve the signal of wireless router and cover the technical problem that deficiency causes the first electronic equipment speed of surfing the Internet decline maybe cannot surf the Net, realize by the second electronic equipment as the supplementary focus of wireless router, increase the signal coverage rate of WLAN.

Description

Realize the method and device of wireless relay
Technical field
It relates to Internet technical field, particularly relate to a kind of method and device realizing wireless relay.
Background technology
In family wireless network, when the signal of wireless router is not enough to cover whole house area, can cause moving The speed of surfing the Internet of dynamic equipment (such as, smart mobile phone, panel computer) declines maybe cannot surf the Net.In correlation technique, in increasing The mode of device of continuing supplements focus, and to increase the signal coverage rate of wireless network, this kind of mode needs user to buy repeater, and needs Newly purchased repeater is connected up.For a user, the hardware cost of purchase repeater can be increased and for wireless Access point or the trouble of repeater independent wiring.
Summary of the invention
For overcoming problem present in correlation technique, disclosure embodiment provides a kind of method realizing wireless relay and dress Put, in order to by controlling home equipment unlatching wireless relay merit, using home equipment as supplementary relaying, to increase WLAN Signal coverage rate.
First aspect according to disclosure embodiment, it is provided that a kind of method realizing wireless relay, including:
When detecting that the first electronic equipment, when the signal intensity of WLAN is less than the first predetermined threshold value, determines and connects Enter at least one second each self-corresponding signal to noise ratio of electronic equipment of described WLAN;
Maximum signal to noise ratio is determined from least one second each self-corresponding signal to noise ratio of electronic equipment;
When described maximum signal to noise ratio is more than the second predetermined threshold value, the second electronics controlling described maximum signal to noise ratio corresponding sets Standby unlatching wireless relay function.
Wireless relay function is opened, it is possible to achieve by second by the second electronic equipment controlling maximum signal to noise ratio corresponding Electronic equipment as supplementary focus, increases the signal coverage rate of WLAN, it is to avoid user buy WAP or in Continue device hardware cost and for WAP or the trouble of repeater independent wiring.
In one embodiment, described method may also include that
Control whole second electronic equipments having accessed described WLAN to set up each with described first electronic equipment Corresponding passage direct link;
Trigger described whole second electronic equipment by each self-corresponding passage direct link to described first electronic equipment Sending clean culture and measure request, described clean culture measurement request is measured request for described first electronic equipment according to described clean culture and is passed through Beacon report is returned to described whole second electronic equipments with described whole second each self-corresponding passage direct link of electronic equipment Accuse, described beacon report carries the signal to noise ratio of wireless router.
In the environment being disposed with intelligent home device, get the beacon of the first electronic equipment based on passage direct link Report, can make whole second electronic equipment according to the signal to noise ratio of the wireless router carried in beacon report and equipment of itself Signal to noise ratio compares, and is found the second electronics that can carry out wireless relay from whole intelligent home devices by comparative result Equipment.
In one embodiment, described method may also include that
When at least one the second each self-corresponding signal to noise ratio of electronic equipment in described whole second electronic equipments is more than institute When stating the signal to noise ratio of wireless router, receive at least one second each self-corresponding signal to noise ratio of electronic equipment described, and perform institute State the step determining at least one the second each self-corresponding signal to noise ratio of electronic equipment accessing described WLAN.
By receiving at least one second each self-corresponding signal to noise ratio of electronic equipment, due at least one the second electronic equipment Each self-corresponding signal to noise ratio, therefore can be from the second electronic equipment that signal to noise ratio is the best more than the signal to noise ratio of wireless router Find the second electronic equipment that a signal to noise ratio is best, it is ensured that the first electronic equipment is at the wireless relay by the second electronic equipment Mode still is able to have preferably network and experiences when accessing WLAN.
In one embodiment, described method may also include that
The second electronic equipment controlling described unlatching wireless relay function is issued described wireless to described first electronic equipment The SSID of LAN and login password, described first electronic equipment is linked into described unlatching nothing by described SSID and login password Second electronic equipment of line relay function.
WLAN is issued to the first electronic equipment by controlling the second electronic equipment opening wireless relay function SSID and login password, can make the first electricity equipment be linked into unlatching nothing when unaware by SSID and login password Second electronic equipment of line relay function, it is ensured that the first electronic equipment accesses the fluency of WLAN.
In one embodiment, described method may also include that
Receiving the status report messages of the second electronic equipment from described unlatching wireless relay function, described state is reported Message for notify described in described wireless router open wireless relay function the second electronic equipment be turned off described wireless in Continue function.
By receiving the status report messages from the second electronic equipment opening wireless relay function, when the first electronics sets During standby the most no longer access network, by status report messages can know in time unlatching wireless relay function be turned off wireless in Continue function, saves Internet resources, and other irrelevant signal is done by the second electronic equipment reducing unlatching wireless relay function Disturb.
Second aspect according to disclosure embodiment, it is provided that a kind of device realizing wireless relay, including:
First determines module, is configured as detecting that first electronic equipment signal intensity at WLAN is less than the During one predetermined threshold value, determine at least one the second each self-corresponding signal to noise ratio of electronic equipment accessing described WLAN;
Second determines module, be configured to from described first determine module determine described at least one second electronic equipment Each self-corresponding signal to noise ratio determines maximum signal to noise ratio;
First control module, is configured as described second and determines that the described maximum signal to noise ratio that module determines is pre-more than second If during threshold value, wireless relay function opened by the second electronic equipment controlling described maximum signal to noise ratio corresponding.
In one embodiment, described device may also include that
Link control module, is configured to control to access whole second electronic equipments of described WLAN with described Each self-corresponding passage direct link set up by first electronic equipment;
Trigger module, be configured to trigger described whole second electronic equipment by described link control module set up each Self-corresponding passage direct link sends clean culture to described first electronic equipment and measures request, and described clean culture measures request for institute State the first electronic equipment and measure request by straight with described whole second each self-corresponding passages of electronic equipment according to described clean culture Described in chain link road direction, whole second electronic equipments return beacon report, carry the noise of wireless router in described beacon report Ratio.
In one embodiment, described device may also include that
First receiver module, at least one second electronic equipment being configured as in described whole second electronic equipment is each When self-corresponding signal to noise ratio is more than the signal to noise ratio of described wireless router, receive at least one second electronic equipment described the most right The signal to noise ratio answered, described first determines that module execution is described determines at least one second electronics accessing described WLAN The step of each self-corresponding signal to noise ratio of equipment.
In one embodiment, described device may also include that
Second control module, is configured to control to open wireless relay function under the control of described first control module Second electronic equipment issues SSID and login password, described first electronics of described WLAN to described first electronic equipment Equipment is linked into the second electronic equipment of described unlatching wireless relay function by described SSID and login password.
In one embodiment, described device may also include that
Second receiver module, is configured to receive the state of the second electronic equipment from described unlatching wireless relay function Report message, described status report messages is for notifying to open described in described wireless router the second electronics of wireless relay function Equipment is turned off described wireless relay function.
The third aspect according to disclosure embodiment, it is provided that a kind of device realizing wireless relay, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When detecting that the first electronic equipment, when the signal intensity of WLAN is less than the first predetermined threshold value, determines and connects Enter at least one second each self-corresponding signal to noise ratio of electronic equipment of described WLAN;
Maximum signal to noise ratio is determined from least one second each self-corresponding signal to noise ratio of electronic equipment;
When described maximum signal to noise ratio is more than the second predetermined threshold value, the second electronics controlling described maximum signal to noise ratio corresponding sets Standby unlatching wireless relay function.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
When the first electronic equipment signal intensity in a wireless local area network is less than the first predetermined threshold value, control maximum noise Opening wireless relay function than the second corresponding electronic equipment, the signal covering deficiency solving wireless router causes the first electricity Subset speed of surfing the Internet declines the technical problem maybe cannot surfed the Net, it is achieved that by the second electronic equipment as supplementary focus, increases Add the signal coverage rate of WLAN, it is to avoid user buys WAP or the hardware cost of repeater and for wireless Access point or the trouble of repeater independent wiring.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and for explaining the principle of the present invention together with description.
Figure 1A is the flow chart according to the method realizing wireless relay shown in an exemplary embodiment.
Figure 1B is the scene graph according to the method realizing wireless relay shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the method realizing wireless relay shown in further example embodiment.
Fig. 3 is the flow chart according to the method realizing wireless relay shown in another exemplary embodiment.
Fig. 4 is the block diagram according to a kind of device realizing wireless relay shown in an exemplary embodiment.
Fig. 5 is the block diagram of the device realizing wireless relay according to the another kind shown in an exemplary embodiment.
Fig. 6 is the block diagram according to a kind of device being adapted to carry out wireless relay shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the present invention are consistent.
Along with the development of Smart Home, more and more users begin to use intelligent home device.Under normal circumstances, intelligence man Occupy equipment for example, smart jack, intelligent video camera head, intelligent air condition etc., by Wireless Fidelity (Wireless Fidelity, letter It is referred to as WIFI) access wireless router or WAP, smart mobile phone is controlled to intelligent home device transmission by WIFI Order, it is achieved the long-range control of intelligent home device.
Figure 1A is the flow chart according to the method realizing wireless relay shown in an exemplary embodiment, and Figure 1B is according to one The scene graph of the method realizing wireless relay shown in exemplary embodiment;This method realizing wireless relay can be applied in nothing On line router or WAP, as shown in Figure 1A, this method realizing wireless relay comprises the following steps 101-103:
In a step 101, when detecting that first electronic equipment signal intensity at WLAN presets threshold less than first During value, determine at least one the second each self-corresponding signal to noise ratio of electronic equipment accessing WLAN.
In one embodiment, the first electronic equipment can be smart mobile phone, panel computer, smart jack, intelligent air condition, intelligence Can image the first-class equipment needing to access WLAN, the second electronic equipment can be to be provided with setting of wireless relay function Standby, such as, the first-class equipment of smart jack, intelligent air condition, intelligent camera.In one embodiment, the first predetermined threshold value can by with The use demand of network speed is arranged by family according to it, it is also possible to pre-set a default value by wireless router, and this is years old The size of one predetermined threshold value is to be able to ensure that user enjoys preferably wireless network experience and is as the criterion, when the first electronic equipment is in nothing When the signal intensity of line LAN is less than this first predetermined threshold value, represent that the first electronic equipment cannot be normal by wireless router Communication or the network speed by wireless router access WLAN are the best.
In a step 102, from least one second each self-corresponding signal to noise ratio of electronic equipment, maximum signal to noise ratio is determined.
In step 103, when maximum signal to noise ratio is more than the second predetermined threshold value, control the second electricity that maximum signal to noise ratio is corresponding Subset opens wireless relay function.
In one embodiment, the set-up mode of the second predetermined threshold value is referred to the set-up mode of the first predetermined threshold value, logical Cross this second predetermined threshold value, it can be ensured that the first electronic equipment can after being linked into the electronic equipment opening wireless relay function Enjoy ratio and access the experience of wireless router more preferably wireless network.In one embodiment, can be by the second electronic equipment Upper setting has the physical module of wireless relay function can make the second electronic equipment have wireless relay function.
In an exemplary scenario, with wireless router 11, smart mobile phone 12, smart jack 131, smart jack 132, intelligence Can be illustrative as a example by photographic head 133, smart jack 134, wherein, smart mobile phone 12 can be considered as described in the disclosure The first electronic equipment, smart jack 131, smart jack 132, intelligent video camera head 133, smart jack 134 can be considered as these public affairs The second electronic equipment described in opening.After smart mobile phone 12 accesses WLAN by wireless router 11, smart mobile phone 12 Can actively to wireless router 11 report its at the signal intensity of WLAN, when wireless router 11 detects intelligence hands Machine 12, when the signal intensity of WLAN is less than the first predetermined threshold value, determines that the current wireless router 11 that passed through accesses nothing The intelligent home device of line LAN, such as, determines that smart jack 131, smart jack 132, intelligent video camera head 133 have accessed WLAN, smart jack 134 does not accesses WLAN, when wireless router 11 is from smart jack 131, smart jack 132, intelligent video camera head 133 determining, the signal to noise ratio of smart jack 132 is at smart jack 131, smart jack 132, intelligent camera During signal to noise ratio maximum in 133, if the signal to noise ratio of smart jack 132 is more than the second predetermined threshold value, then wireless router 11 Smart jack 132 can be controlled and open wireless relay function, and control smart mobile phone 12 and access wireless office by smart jack 132 Territory net.
In the present embodiment, when the first electronic equipment signal intensity in a wireless local area network is less than the first predetermined threshold value, Wireless relay function opened by the second electronic equipment controlling maximum signal to noise ratio corresponding, and the signal solving wireless router covers not Foot causes the first electronic equipment speed of surfing the Internet to decline the technical problem maybe cannot surfed the Net, it is achieved that by the second electronic equipment conduct Supplement focus, increase the signal coverage rate of WLAN, it is to avoid user buys the hardware of WAP or repeater and becomes This and be WAP or the trouble of repeater independent wiring.
In one embodiment, it is achieved the method for wireless relay also can farther include:
Control to have accessed whole second electronic equipments of WLAN and the first electronic equipment is set up each self-corresponding logical Road direct link;
Trigger whole second electronic equipment and send clean culture by each self-corresponding passage direct link to the first electronic equipment Measuring request, clean culture is measured request and is measured request by each with whole second electronic equipments for the first electronic equipment according to clean culture Self-corresponding passage direct link returns beacon report to whole second electronic equipments, carries wireless router in beacon report Signal to noise ratio.
In one embodiment, it is achieved the method for wireless relay also can farther include:
When at least one the second each self-corresponding signal to noise ratio of electronic equipment in whole second electronic equipments is more than without circuit During by the signal to noise ratio of device, receive at least one second each self-corresponding signal to noise ratio of electronic equipment, and perform to determine access wireless The step of each self-corresponding signal to noise ratio of at least one of LAN the second electronic equipment.
In one embodiment, it is achieved the method for wireless relay also can farther include:
Control the second electronic equipment opening wireless relay function and issue the SSID of WLAN to the first electronic equipment And login password, the second electronics that the first electronic equipment is linked into unlatching wireless relay function by SSID and login password sets Standby.
In one embodiment, it is achieved the method for wireless relay also can farther include:
Receiving the status report messages from the second electronic equipment opening wireless relay function, status report messages is used for Notice wireless router is opened the second electronic equipment of wireless relay function and is turned off wireless relay function.
How to realize wireless relay, refer to subsequent embodiment.
So far, the said method that disclosure embodiment provides, the signal covering deficiency that can solve wireless router causes First electronic equipment speed of surfing the Internet declines the technical problem maybe cannot surfed the Net, it is achieved by the second electronic equipment as supplemental heat Point, increases the signal coverage rate of WLAN.
With specific embodiment, the technical scheme that disclosure embodiment provides is described below.
Fig. 2 is the flow chart according to the method realizing wireless relay shown in further example embodiment;The present embodiment profit How the said method provided by disclosure embodiment, determine from whole second electronic equipments that at least one second electronics sets Standby than as a example by and to combine Figure 1B illustrative, as in figure 2 it is shown, comprise the steps:
In step 201, when detecting that first electronic equipment signal intensity at WLAN presets threshold less than first During value, wireless router controls to have accessed whole second electronic equipments of WLAN and the foundation of the first electronic equipment is the most right The passage direct link answered.
In one embodiment, wireless router 11 can trigger the intelligent home device currently having accessed WLAN with Smart mobile phone 12 sets up passage direct link (Tunneled Direct Link Setup, referred to as TDLS), such as, the most The whole intelligent home devices accessing WLAN include: smart jack 131, smart jack 132, intelligent video camera head 133, intelligence Can socket 134.
In step 202., wireless router triggers whole second electronic equipments by each self-corresponding TDLS to the first electricity Subset sends clean culture and measures request (Measurement request).
In step 203, the first electronic equipment measures request by the most right with whole second electronic equipments according to clean culture The passage direct link answered returns beacon report (beacon report), wherein, in beacon report to whole second electronic equipments Carry the signal to noise ratio of wireless router.
In one embodiment, can according to 802.11k (this protocol specification define WLAN spectrum measurement rule Model) signal to noise ratio of the intelligent home device in environment is measured, looked for from whole intelligent home devices by measurement result To being suitable as the intelligent home device of wireless relay function, such as, wireless router 11 triggers smart jack 131, intelligence is inserted Seat 132, intelligent video camera head 133, smart jack 134 send clean culture to smart mobile phone 12 and measure request, and smart mobile phone 12 is according to list Broadcast measurement request and return beacon report to smart jack 131, smart jack 132, intelligent video camera head 133, smart jack 134, should Beacon report carries the signal to noise ratio of wireless router 11.
In step 204, each second electronic equipment in whole second electronic equipments extracts from beacon report The signal to noise ratio of wireless router, and the signal to noise ratio of the signal to noise ratio of wireless router with equipment of itself is compared, to determine certainly The signal to noise ratio of body equipment, more than the signal to noise ratio of wireless router, obtains at least one second electronic equipment.
Such as, smart jack 131, smart jack 132, intelligent video camera head 133, smart jack 134 carry from beacon report Take out the signal to noise ratio of wireless router 11, the signal to noise ratio of wireless router 11 is compared with respective signal to noise ratio, such as, intelligence Energy socket 131, smart jack 132, intelligent video camera head 133 are by the signal to noise ratio ratio of the signal to noise ratio of wireless router 11 with equipment of itself After relatively, determining the signal to noise ratio signal to noise ratio more than wireless router 11 of equipment of itself, smart jack 134 is by wireless router 11 After signal to noise ratio compares with the signal to noise ratio of equipment of itself, determine the signal to noise ratio signal to noise ratio less than wireless router 11 of equipment of itself, At least one second electronics that then smart jack 131, smart jack 132, intelligent video camera head 133 can be considered as in the disclosure sets Standby.
In step 205, wireless router receives at least one signal to noise ratio that at least one second electronic equipment is corresponding.
Such as, wireless router 11 receives smart jack 131, smart jack 132, intelligent video camera head 133 each report Signal to noise ratio.Afterwards, the method flow of above-mentioned Figure 1A illustrated embodiment can be performed, from smart jack 131, smart jack 132, intelligence The each self-corresponding signal to noise ratio of photographic head 133 can find maximum signal to noise ratio.
In the present embodiment, in the environment being disposed with intelligent home device, get the first electricity based on passage direct link The beacon report of subset, can make whole second electronic equipment according to the signal to noise ratio of the wireless router carried in beacon report Compare with the signal to noise ratio of equipment of itself, found from whole intelligent home devices by comparative result can carry out wireless in The second electronic equipment continued;Owing at least one second each self-corresponding signal to noise ratio of electronic equipment is more than the noise of wireless router Ratio, therefore can find the second electronic equipment that a signal to noise ratio is best, really from the second electronic equipment that signal to noise ratio is the best Protect the first electronic equipment still to be able to when accessing WLAN by the wireless relay mode of the second electronic equipment to have preferably Network experience.
Fig. 3 is the flow chart according to the method realizing wireless relay shown in another exemplary embodiment;The present embodiment profit How the said method provided by disclosure embodiment, control the first electronic equipment with wireless router and be linked into maximum signal to noise ratio As a example by the second corresponding electronic equipment illustrative, as it is shown on figure 3, comprise the steps:
In step 301, wireless router send to the second electronic equipment that maximum signal to noise ratio is corresponding be used for accessing wireless The service set (Service Set Identifier, referred to as SSID) of LAN and login password.
Such as, smart jack 132 opens wireless relay function, and wireless router 11 sends to smart jack 132 and is used for connecing Enter SSID and the login password of WLAN, so that smart mobile phone 12 accesses WLAN by SSID and login password.
In step 302, the first electronic equipment is linked into by SSID and login password and opens the of wireless relay function Two electronic equipments.
In step 303, the second electronic equipment opening wireless relay function periodically detects the first electronic equipment and is No still access network, when the first non-access network of electronic equipment, performs step 303, when the first electronic equipment still access network Time, the second electronic equipment opening wireless relay function continues on wireless relay function.
Such as, when user's hand-held intelligent mobile phone 12 has been moved off, smart mobile phone 12 no longer accesses WLAN, intelligence Smart mobile phone 12 the most still access network can be detected by socket 132 by periodic.
In step 304, the second electronic equipment that maximum signal to noise ratio is corresponding cuts out wireless relay function, and will close wireless The state reporting of relay function is to wireless router.
Such as, smart jack 132 open when being periodically detected smart mobile phone 12 the most no longer access network wireless in Continue function.
In step 305, wireless router receives the state report from the second electronic equipment opening wireless relay function Accusing message, status report messages is turned off wireless for the second electronic equipment notifying wireless router unlatching wireless relay function Relay function.
In the present embodiment, by receiving the status report messages from the second electronic equipment opening wireless relay function, When the first electronic equipment the most no longer access network, can close wireless relay function in time, save Internet resources, reduction is opened Open the interference to other irrelevant signal of the second electronic equipment of wireless relay function.
Fig. 4 is the block diagram according to a kind of device realizing wireless relay shown in an exemplary embodiment, as shown in Figure 4, The device realizing wireless relay includes:
First determines module 41, is configured as detecting that the first electronic equipment is less than at the signal intensity of WLAN During the first predetermined threshold value, determine at least one the second each self-corresponding signal to noise ratio of electronic equipment accessing WLAN;
Second determines module 42, is configured to determine that at least one second electronic equipment that module 41 determines is each from first Corresponding signal to noise ratio determines maximum signal to noise ratio;
First control module 43, is configured as second and determines that the maximum signal to noise ratio that module 42 determines presets threshold more than second During value, wireless relay function opened by the second electronic equipment controlling maximum signal to noise ratio corresponding.
Fig. 5 is the block diagram of the device realizing wireless relay according to the another kind shown in an exemplary embodiment, such as Fig. 5 institute Showing, on the basis of above-mentioned embodiment illustrated in fig. 4, device may also include that
Link control module 44, is configured to control to access whole second electronic equipments of WLAN and the first electricity Subset sets up each self-corresponding passage direct link;
Trigger module 45, be configured to trigger whole second electronic equipment by link control module 44 set up the most right The passage direct link answered sends clean culture to the first electronic equipment and measures request, and clean culture measures request for the first electronic equipment root According to clean culture measure request by with whole second each self-corresponding passage direct link of electronic equipment to whole second electronic equipments Return beacon report, beacon report carries the signal to noise ratio of wireless router.
In one embodiment, device may also include that
First receiver module 46, when at least one the second each self-corresponding letter of electronic equipment in whole second electronic equipments Making an uproar than during more than the signal to noise ratio of wireless router, receive at least one second each self-corresponding signal to noise ratio of electronic equipment, first is true Cover half block 41 performs to determine the step of at least one the second each self-corresponding signal to noise ratio of electronic equipment accessing WLAN.
In one embodiment, device may also include that
Second control module 47, is configured to control to open wireless relay function under the control of the first control module 43 Second electronic equipment issues SSID and the login password of WLAN to the first electronic equipment, and the first electronic equipment passes through SSID The second electronic equipment opening wireless relay function it is linked into login password.
In one embodiment, device may also include that
Second receiver module 48, is configured to receive under the control of comfortable first control module 43 and opens wireless relay merit The status report messages of the second electronic equipment of energy, status report messages is used for notifying that wireless router opens wireless relay function The second electronic equipment be turned off wireless relay function.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is the block diagram according to a kind of device being adapted to carry out wireless relay shown in an exemplary embodiment.Such as, Device 600 may be provided in a wireless router.With reference to Fig. 6, device 600 includes processing assembly 622, and it farther includes one Individual or multiple processors, and by the memory resource representated by memorizer 632, can holding by processing component 622 for storage The instruction of row, such as application program.In memorizer 632 storage application program can include one or more each Module corresponding to one group of instruction.It is configured to perform instruction additionally, process assembly 622, to perform above-mentioned to realize wireless relay Method.
Device 600 can also include that a power supply module 626 is configured to perform the power management of device 600, and one has Line or radio network interface 650 are configured to be connected to device 600 network, and input and output (I/O) interface 658.Dress Put 600 and can operate based on the operating system being stored in memorizer 632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 632 of instruction, above-mentioned instruction can be performed by the processor included by assembly 622 that processes of device 600 with complete Become said method.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD- ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. the method realizing wireless relay, it is characterised in that described method includes:
When detecting that the first electronic equipment, when the signal intensity of WLAN is less than the first predetermined threshold value, determines and accesses institute State at least one second each self-corresponding signal to noise ratio of electronic equipment of WLAN;
Maximum signal to noise ratio is determined from least one second each self-corresponding signal to noise ratio of electronic equipment;
When described maximum signal to noise ratio is more than the second predetermined threshold value, the second electronic equipment controlling described maximum signal to noise ratio corresponding is opened Open wireless relay function.
Method the most according to claim 1, it is characterised in that described method also includes:
Control whole second electronic equipments having accessed described WLAN and set up the most corresponding with described first electronic equipment Passage direct link;
Trigger described whole second electronic equipment to be sent to described first electronic equipment by each self-corresponding passage direct link Clean culture measure request, described clean culture measure request for described first electronic equipment according to described clean culture measure request by with institute State whole second each self-corresponding passage direct link of electronic equipment and return beacon report, institute to described whole second electronic equipments State the signal to noise ratio carrying wireless router in beacon report.
Method the most according to claim 2, it is characterised in that described method also includes:
When at least one the second each self-corresponding signal to noise ratio of electronic equipment in described whole second electronic equipments is more than described nothing During the signal to noise ratio of line router, receive at least one second each self-corresponding signal to noise ratio of electronic equipment described, and perform described really The step of fixed at least one the second each self-corresponding signal to noise ratio of electronic equipment having accessed described WLAN.
Method the most according to claim 1, it is characterised in that described method also includes:
The second electronic equipment controlling described unlatching wireless relay function issues described wireless local to described first electronic equipment Net SSID and login password, described first electronic equipment by described SSID and login password be linked into described unlatching wireless in Second electronic equipment of the function that continues.
Method the most according to claim 1, it is characterised in that described method also includes:
Receive the status report messages of the second electronic equipment from described unlatching wireless relay function, described status report messages For notifying that the second electronic equipment opening wireless relay function described in described wireless router is turned off described wireless relay merit Energy.
6. the device realizing wireless relay, it is characterised in that described device includes:
First determines module, is configured as detecting that the first electronic equipment is pre-less than first at the signal intensity of WLAN If during threshold value, determine at least one the second each self-corresponding signal to noise ratio of electronic equipment accessing described WLAN;
Second determines module, be configured to from described first determine module determine described at least one second electronic equipment each Corresponding signal to noise ratio determines maximum signal to noise ratio;
First control module, is configured as described second and determines that the described maximum signal to noise ratio that module determines presets threshold more than second During value, wireless relay function opened by the second electronic equipment controlling described maximum signal to noise ratio corresponding.
Device the most according to claim 6, it is characterised in that described device also includes:
Link control module, is configured to control to access whole second electronic equipments and described first of described WLAN Each self-corresponding passage direct link set up by electronic equipment;
Trigger module, be configured to trigger described whole second electronic equipment by described link control module set up the most right The passage direct link answered sends clean culture to described first electronic equipment and measures request, and described clean culture measures request for described the One electronic equipment according to described clean culture measure request by with described whole second electronic equipment direct chain of each self-corresponding passage Described in road direction, whole second electronic equipments return beacon report, carry the signal to noise ratio of wireless router in described beacon report.
Device the most according to claim 7, it is characterised in that described device also includes:
First receiver module, at least one second electronic equipment being configured as in described whole second electronic equipment is the most right When the signal to noise ratio answered is more than the signal to noise ratio of described wireless router, receive at least one second electronic equipment described each self-corresponding Signal to noise ratio, described first determines that module execution is described determines at least one second electronic equipment accessing described WLAN The step of each self-corresponding signal to noise ratio.
Device the most according to claim 6, it is characterised in that described device also includes:
Second control module, is configured to control to open the second of wireless relay function under the control of described first control module Electronic equipment issues SSID and login password, described first electronic equipment of described WLAN to described first electronic equipment The second electronic equipment of described unlatching wireless relay function it is linked into by described SSID and login password.
Device the most according to claim 6, it is characterised in that described device also includes:
Second receiver module, is configured to receive the state report of the second electronic equipment from described unlatching wireless relay function Message, described status report messages is for notifying to open described in described wireless router the second electronic equipment of wireless relay function It is turned off described wireless relay function.
11. 1 kinds of devices realizing wireless relay, it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When detecting that the first electronic equipment, when the signal intensity of WLAN is less than the first predetermined threshold value, determines and accesses institute State at least one second each self-corresponding signal to noise ratio of electronic equipment of WLAN;
Maximum signal to noise ratio is determined from least one second each self-corresponding signal to noise ratio of electronic equipment;
When described maximum signal to noise ratio is more than the second predetermined threshold value, the second electronic equipment controlling described maximum signal to noise ratio corresponding is opened Open wireless relay function.
CN201610619177.9A 2016-07-29 2016-07-29 Realize the method and device of wireless relay Pending CN106102077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610619177.9A CN106102077A (en) 2016-07-29 2016-07-29 Realize the method and device of wireless relay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610619177.9A CN106102077A (en) 2016-07-29 2016-07-29 Realize the method and device of wireless relay

Publications (1)

Publication Number Publication Date
CN106102077A true CN106102077A (en) 2016-11-09

Family

ID=57478988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610619177.9A Pending CN106102077A (en) 2016-07-29 2016-07-29 Realize the method and device of wireless relay

Country Status (1)

Country Link
CN (1) CN106102077A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286960A (en) * 2018-11-30 2019-01-29 广东美的制冷设备有限公司 Junction network and its distribution method and apparatus, household electrical appliance
CN109525811A (en) * 2018-11-26 2019-03-26 浙江大华技术股份有限公司 A kind of method and apparatus of monitor video
CN109561340A (en) * 2017-09-25 2019-04-02 北京小鸟听听科技有限公司 Multimedia service processing method, equipment, multimedia service group and storage medium
CN111835648A (en) * 2019-12-17 2020-10-27 黄德莲 Remote starting system of directional equipment
CN115133357A (en) * 2022-06-13 2022-09-30 珠海格力电器股份有限公司 Intelligent socket

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842995A (en) * 2003-06-24 2006-10-04 特鲁波斯网络公司 A method of wireless roaming
KR20070013101A (en) * 2005-07-25 2007-01-30 삼성전자주식회사 Method and apparatus for wireless lan terminal to connect access point
CN101491144A (en) * 2006-07-14 2009-07-22 高通股份有限公司 WLAN system scanning and selection
CN101932055A (en) * 2010-08-26 2010-12-29 北京交通大学 Method for quickly switching mobile terminal among access points
CN102084604A (en) * 2008-07-01 2011-06-01 上海贝尔股份有限公司 Resource scheduling method and device for mobile terminal in wireless relay network
CN102111772A (en) * 2009-12-24 2011-06-29 杨槐 Multi-channel control technology for wireless Mesh network
CN105451298A (en) * 2014-08-25 2016-03-30 深圳酷派技术有限公司 Network-sharing method and system, network access method and system, and electronic device
CN105450282A (en) * 2014-08-22 2016-03-30 联想(北京)有限公司 Information-processing method and first electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842995A (en) * 2003-06-24 2006-10-04 特鲁波斯网络公司 A method of wireless roaming
KR20070013101A (en) * 2005-07-25 2007-01-30 삼성전자주식회사 Method and apparatus for wireless lan terminal to connect access point
CN101491144A (en) * 2006-07-14 2009-07-22 高通股份有限公司 WLAN system scanning and selection
CN102084604A (en) * 2008-07-01 2011-06-01 上海贝尔股份有限公司 Resource scheduling method and device for mobile terminal in wireless relay network
CN102111772A (en) * 2009-12-24 2011-06-29 杨槐 Multi-channel control technology for wireless Mesh network
CN101932055A (en) * 2010-08-26 2010-12-29 北京交通大学 Method for quickly switching mobile terminal among access points
CN105450282A (en) * 2014-08-22 2016-03-30 联想(北京)有限公司 Information-processing method and first electronic device
CN105451298A (en) * 2014-08-25 2016-03-30 深圳酷派技术有限公司 Network-sharing method and system, network access method and system, and electronic device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561340A (en) * 2017-09-25 2019-04-02 北京小鸟听听科技有限公司 Multimedia service processing method, equipment, multimedia service group and storage medium
CN109561340B (en) * 2017-09-25 2021-08-10 北京小鸟听听科技有限公司 Multimedia service processing method, device, multimedia service group and storage medium
CN109525811A (en) * 2018-11-26 2019-03-26 浙江大华技术股份有限公司 A kind of method and apparatus of monitor video
CN109525811B (en) * 2018-11-26 2021-06-15 浙江大华技术股份有限公司 Method and equipment for monitoring video
CN109286960A (en) * 2018-11-30 2019-01-29 广东美的制冷设备有限公司 Junction network and its distribution method and apparatus, household electrical appliance
CN109286960B (en) * 2018-11-30 2021-09-21 广东美的制冷设备有限公司 Relay network, network distribution method and device thereof, and household appliance
CN111835648A (en) * 2019-12-17 2020-10-27 黄德莲 Remote starting system of directional equipment
CN111835648B (en) * 2019-12-17 2022-06-10 中用科技有限公司 Remote starting system of directional equipment
CN115133357A (en) * 2022-06-13 2022-09-30 珠海格力电器股份有限公司 Intelligent socket
CN115133357B (en) * 2022-06-13 2023-12-08 珠海格力电器股份有限公司 Intelligent socket

Similar Documents

Publication Publication Date Title
CN106102077A (en) Realize the method and device of wireless relay
CN103200618B (en) Wireless local area network WLAN hotspot function control processing method and device
CN106686670A (en) Roaming in a wireless mesh network
CN108391298B (en) System and electronic equipment for automatically switching networks
US11233817B2 (en) Methods and apparatus for end device discovering another end device
CN105636237A (en) Network connection method, wireless device and system
CN109618316B (en) Network sharing method, mobile terminal and storage medium
CN107222372A (en) A kind of method for sending information and equipment
US8631232B2 (en) Wireless personal area network accessing method
CN105323824A (en) WIFI equipment, electronic device and method for assisting WIFI equipment access to network
CN104754674B (en) Intelligent mobile terminal accesses the method and system of Wi-Fi auxiliary device and 3G/4G network simultaneously
CN106060816A (en) Wireless self-networking method and system
CN105392182B (en) The setting method and system of the network configuration information of WIFI equipment
US9049579B2 (en) Method and apparatus for setting terminal connection control information in a mobile communication system
KR100887176B1 (en) Autonomic reassociation of client in a wireless local area network
CN106954212A (en) A kind of portal authentication method and system
CN105848154A (en) Method for carrying out wireless identity authentication based on RSSI ranging
CN102821424A (en) Auxiliary mobile data distribution method, communication device and mobile device
CN106792542A (en) The control method and device of mobile device networking behavior
WO2022156751A1 (en) Path switching method, terminal and network side device
JP2012531771A (en) Method for handling communication between user equipment and wireless network controller, and program for controlling wireless network controller
RU2760872C1 (en) Local network service control method and communication device
CN103581904B (en) Network access method and device
CN106793155A (en) Network channel system of selection, device and terminal
CN108322943B (en) Local area network allocation method, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication