CN106060878B - A kind of trunking method and repeater of equipment - Google Patents

A kind of trunking method and repeater of equipment Download PDF

Info

Publication number
CN106060878B
CN106060878B CN201610327072.6A CN201610327072A CN106060878B CN 106060878 B CN106060878 B CN 106060878B CN 201610327072 A CN201610327072 A CN 201610327072A CN 106060878 B CN106060878 B CN 106060878B
Authority
CN
China
Prior art keywords
wireless
radio signal
relay
signal source
source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610327072.6A
Other languages
Chinese (zh)
Other versions
CN106060878A (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.)
New H3C Information Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201610327072.6A priority Critical patent/CN106060878B/en
Publication of CN106060878A publication Critical patent/CN106060878A/en
Application granted granted Critical
Publication of CN106060878B publication Critical patent/CN106060878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • 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/24Cell structures
    • H04W16/26Cell enhancers or enhancement, e.g. for tunnels, building shadow

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a kind of trunking method of equipment and repeaters, to solve the problems, such as that repeater can not normal use.The method includes: to select radio signal source according to signal strength, executes wireless relay to radio signal source;After obtaining host address, the source MAC of wireless router and radio signal source are corresponded into site address information and are compared;When comparison result meets relay condition, the wireless relay success to radio signal source is determined;When comparison result is unsatisfactory for relay condition, record is negotiated to select other radio signal sources to execute wireless relay without line rate and according to signal strength;When meeting relay condition by comparing result and determining to the success of the wireless relay of other radio signal sources, current negotiation is compared with the negotiation of record without line rate without line rate, selection is negotiated to execute wireless relay without the big radio signal source of line rate.It can effectively prevent from ring, guarantee the covering of wireless signal and improve signal quality.

Description

A kind of trunking method and repeater of equipment
Technical field
The present invention relates to wireless communication technology fields, trunking method and a kind of repeater more particularly to a kind of equipment.
Background technique
The rapid development of internet brings great change to the work and life of user, is marked based on IEEE802.11 Quasi- WLAN (Wireless Local Area Networks, WLAN) allows in LAN environment use can be with 2.4GHz or 5GHz radio-frequency range in ISM band is wirelessly connected, for substituting the traditional wire local for using twisted pair Net.Therefore all kinds of household radio routers based on IEEE802.11 standard progress into average family.The convenience of wireless network With can efficiently obtain rapid proliferation, but existing greatest problem is wireless router in the family use, due to wall The presence of the shelters such as body leads to covering blind spot of the house partial region there may be wireless signal.Wireless coverage is solved at present Problem clears away the major programme of wireless blind spot, is to increase wireless relay between wireless router and wireless coverage blind spot region Device.Wireless relay is carried out to expand the coverage area of wireless signal by the wireless repeater, reaches the mesh for clearing away wireless blind spot 's.
Summary of the invention
The embodiment of the present invention the technical problem to be solved is that providing a kind of trunking method of equipment, with solve repeater without The problem of method normal use.
Correspondingly, the embodiment of the invention also provides a kind of repeaters, to guarantee the implementation and application of the above method.
To solve the above-mentioned problems, the invention discloses a kind of trunking methods of equipment, comprising: is selected according to signal strength Radio signal source executes wireless relay to the radio signal source;After obtaining host address, by the source MAC of wireless router Address and the radio signal source correspond to site address information and are compared;When comparison result meets relay condition, determining pair The wireless relay success of the radio signal source;When comparison result is unsatisfactory for relay condition, record is negotiated without line rate and root Other radio signal sources are selected to execute wireless relay according to signal strength;It determines when meeting relay condition by comparing result to other When the wireless relay success of radio signal source, current negotiation is compared with the negotiation of record without line rate without line rate, Selection is negotiated to execute wireless relay without the big radio signal source of line rate.
Optionally, the relay condition includes: that the source MAC of wireless router and the radio signal source correspond to website Address information is identical, or, the difference that the source MAC of wireless router and the radio signal source correspond to site address information exists In threshold range, wherein the threshold range is determined according to the interface quantity of wireless router.
Optionally, before according to signal strength selection radio signal source, further includes: search for radio signal source, mistake when starting Filter and relay wireless service set SSID inconsistent radio signal source;Collect the corresponding signal strength of each radio signal source and Site address information.
Optionally, after the step of executing wireless relay, further includes: request host address;When master can not be obtained When machine address, other radio signal sources are selected to execute wireless relay according to signal strength.
Optionally, the source MAC of wireless router and the radio signal source site address information is corresponded to compare Than before, further includes: interacted by the host address with wireless router, grab the wireless router feedback really Recognize message;The source MAC of the wireless router is obtained from the confirmation message.
Optionally, further includes: the host configuration for closing itself in advance services and configures itself to obtain host address;And lead to Trunking configuration relay wireless SSID and password are crossed, it is consistent with the wireless SSID and password of wireless router.
The embodiment of the invention also discloses a kind of repeaters, comprising: trunk module, it is wireless for being selected according to signal strength Signal source executes wireless relay to the radio signal source;And it determines when meeting relay condition by comparing result to other When the wireless relay success of radio signal source, current negotiation is compared with the negotiation of record without line rate without line rate, Selection is negotiated to execute wireless relay without the big radio signal source of line rate;Address comparison module is used for after obtaining host address, The source MAC of wireless router and the radio signal source are corresponded to site address information to be compared;When comparison result is full When sufficient relay condition, the wireless relay success to the radio signal source is determined;Logging modle, for being unsatisfactory for when comparison result When relay condition, record is negotiated without line rate and triggers the selection trunk module and select other wireless signals according to signal strength Source executes wireless relay.
Optionally, the relay condition includes: that the source MAC of wireless router and the radio signal source correspond to website Address information is identical, or, the difference that the source MAC of wireless router and the radio signal source correspond to site address information exists In threshold range, wherein the threshold range is determined according to the interface quantity of wireless router.
Optionally, further includes: signal source searching module searches for radio signal source, filtering and relay wireless when for starting Service set SSID inconsistent radio signal source;Collect the corresponding signal strength of each radio signal source and site address letter Breath.
Optionally, further includes: address acquisition module is used for request host address;The trunk module is also used to work as When can not obtain host address, other radio signal sources are selected to execute wireless relay according to signal strength.
Optionally, further includes: interaction obtains module, for being interacted by the host address with wireless router, Grab the confirmation message of the wireless router feedback;The source MAC of the wireless router is obtained from the confirmation message Location.
Optionally, further includes: trunking configuration module, the host for closing itself in advance, which configures to service and configure itself, is Obtain host address;It is consistent with the wireless SSID and password of wireless router by the password of trunking configuration relay wireless SSID.
Compared with prior art, the embodiment of the present invention includes following advantages:
Wireless relay is executed according to signal strength selection radio signal source, prevents two repeaters by obtaining host address From ring, thus after obtaining host address with corresponding to website using the source MAC of wireless router and the radio signal source Location information is compared, and is relayed and is relayed successfully for level-one when comparison result meets relay condition, and when comparison result is discontented Sufficient relay condition is that second level or more relays, then records and negotiate to lay equal stress on without line rate newly to select other radio signal sources to execute level-one Relaying, and after completing level-one relaying by other radio signal sources, it can be by current negotiation without line rate and record Negotiation is compared without line rate, and selection is negotiated to execute wireless relay without the big radio signal source of line rate, thus repeater energy Enough selection relaying optimal locations, guarantee the covering of wireless signal and improve signal quality.
Detailed description of the invention
Fig. 1 is the step flow chart of the trunking method of the equipment of one of embodiment of the invention;
Fig. 2 is the step flow chart of the trunking method of the equipment of another embodiment of the present invention;
Fig. 3 is a kind of relay scene schematic diagram of the present invention;
Fig. 4 is the structural block diagram of the repeater of one of embodiment of the invention;
Fig. 5 is the structural block diagram of the repeater of another embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Radio roaming under the wireless coverage and indoor environment of big-room and luxury housing project or villa user is excellent, steady to provide Fixed, high speed wireless signal, it is possible to need to dispose multiple wireless repeaters while remove one wireless router of relaying, and will All repeater SSID names and password are arranged to consistent with wireless router.But by wireless repeater and wireless routing Device SSID name be set as with password it is consistent so that each repeater can be all connected on wireless router, and apart from farther away relaying Device receives the dtr signal of wireless router, causes the repeater can not normal use.Even, in fact it could happen that two repeaters are certainly Ring, the problem of causing two repeaters not to be available.
One of the core concepts of the embodiments of the present invention is, a kind of trunking method and repeater of equipment, to solve to relay Device can not normal use the problem of.Wireless relay is executed according to signal strength selection radio signal source, by obtaining host address Prevent two repeaters from ring, thus using the source MAC of wireless router and the wireless communication after obtaining host address Number source corresponds to site address information and is compared, and relays and relays successfully for level-one when comparison result meets relay condition, and It is that second level or more relays when comparison result is unsatisfactory for relay condition, then records and negotiate to lay equal stress on without line rate newly to select other wireless communications Number source is to execute level-one relaying, can be by current negotiation nothing and after completing level-one relaying by other radio signal sources Line rate is compared with the negotiation of record without line rate, and selection is negotiated to execute in wireless without the big radio signal source of line rate After, thus repeater can select relaying optimal location, guarantee the covering of wireless signal and improve signal quality.
Referring to Fig.1, the step flow chart of the trunking method of the equipment of one of embodiment of the invention is shown, specifically It may include steps of:
Step 102, repeater is according to the radio signal source of signal strength selection signal maximum intensity, to the wireless signal Source executes wireless relay.
When wireless router has the covering blind spot of wireless signal, wireless signal can be expanded by repeater Coverage area.Wherein, wireless relay is to play relaying action in the wireless network by equipment such as repeaters, wireless to realize The relaying of signal and amplification, to extend the coverage area of wireless network.
In present embodiment, repeater scan for wireless signals source after actuation determines the signal strength of each radio signal source, It determines the maximum radio signal source of signal strength, as the radio signal source currently connected, then the radio signal source is executed Wireless relay;Preferably, it after obtaining signal strength, can sort according to the descending sequence of signal strength, then again really Determine the maximum radio signal source of signal strength.
Wherein, repeater can also obtain the relevant information of radio signal source, including the nothing at scan for wireless signals source SSID (Service Set Identifier, service set), BSSID (the Basic Service Set of line signal source Identifier, Basic Service Set Identification), signal strength RSSI (Received Signal Strength Indication, Received signal strength indicator), channel, Wi-Fi mode, cipher mode etc..Wherein, BSSID, that is, website MAC Address.Its In, a WLAN can be divided into several sub-networks for needing different identity to verify, each sub-network by SSID technology Independent authentication is required, corresponding sub-network can just be entered by the user of authentication, prevented uncommitted User enters wireless network.
Step 104, repeater is after obtaining host address, by the source MAC of wireless router and the wireless signal Source corresponds to site address information and is compared.
In the present embodiment, host configuration service is provided by wireless router, that is, is based on DHCP (Dynamic Host Configuration Protocol, dynamic host configuration protocol) give other IP device dynamic IP address allocations of network.Repeater Host configuration service is not provided, it is therefore desirable to the host address i.e. IP address of DHCP is obtained, if the wireless communication of repeater connection Number source can not obtain dhcp address, then characterizing is that two repeaters are formd from ring at this time, which can be strong according to signal Degree chooses other radio signal sources and executes wireless relay.If repeater can obtain the IP address of DHCP, which passes through The IP address of the DHCP is interacted with wireless router, obtains the source MAC of the wireless router.By the source MAC and choosing The i.e. BSSID of the corresponding site address of the radio signal source selected is compared, and determines corresponding comparison result, whether such as compares the two It is identical, the difference etc. of the two is determined if not identical.
The present embodiment is also prefixed relay condition, and the relay condition is for judging to be relayed in the level-one of wireless router After, therefore the relay condition includes: that the source MAC of wireless router and the radio signal source correspond to site address information It is identical, or, the source MAC of wireless router and the radio signal source correspond to the difference of site address information in threshold range It is interior, wherein the threshold range is determined according to the interface quantity of wireless router, such as interface quantity is that 5 threshold ranges are 5.To determine whether to meet relay condition according to the comparison result.Meet the relay condition and is then confirmed as level-one relaying, it can be with Execute step 106;It is unsatisfactory for the relay condition and is confirmed as second level or more relaying (including second level relaying), step 108 can be executed.
Step 106, repeater determines the wireless relay success to the radio signal source.
When comparison result meets relay condition, the radio signal source of repeater relaying is wireless router, is currently Level-one relaying, wireless relay success of the repeater to the wireless router.
Step 108, repeater records negotiate to select other radio signal sources to execute nothing without line rate and according to signal strength Line relaying.
When comparison result is unsatisfactory for relay condition, the repeater relaying radio signal source not wireless router but its His repeater, currently more than second level to relay.To prevent from being currently not optimal intermediate position, then repeater can not execute two first Grade or more relaying, but connect wireless router carry out level-one relaying.Then can the negotiation based on current wireless relay without linear speed Rate simultaneously disconnects relaying, selects other radio signal sources, i.e., nothing before removing still according to signal strength selection according still further to signal strength The radio signal source of the outer maximum intensity of line signal source, the step of above-mentioned steps 104-106 is executed to other radio signal sources, directly Comparison result to other radio signal sources of selection meets relay condition, is confirmed as level-one relaying, i.e. other radio signal sources For wireless router.
Step 110, successful with the wireless relay of other determining radio signal sources when meeting relay condition by comparing result When, current negotiation is compared with the negotiation of record without line rate without line rate, selection is negotiated without big wireless of line rate Signal source executes wireless relay.
Relay condition is met to the comparison result of other radio signal sources by comparing determination, that is, uses other wireless signals Source executes wireless relay success, which is wireless router, the then association that can will be relayed with wireless router Quotient is compared with the negotiation of record without line rate without line rate, determines and negotiates the radio signal source big without line rate, and selection should Negotiate to execute wireless relay without the big radio signal source of line rate, it can negotiate to determine preferably without line rate according to actual Radio signal source guarantees the covering of wireless signal and improves signal quality to select relaying optimal location.In the present embodiment, Wireless signal can be realized using WiFi (Wireless Fidelity, Wireless Fidelity) signal.
In conclusion executing wireless relay according to signal strength selection radio signal source, prevented by obtaining host address Two repeaters are from ring, thus using the source MAC of wireless router and the radio signal source after obtaining host address Corresponding site address information is compared, and is relayed and relay successfully for level-one when comparison result meets relay condition, and ought be than It is that second level or more relays that relatively result, which is unsatisfactory for relay condition, then records and negotiate to lay equal stress on without line rate newly to select other radio signal sources It, can be by current negotiation without linear speed to execute level-one relaying, and after completing level-one relaying by other radio signal sources Rate is compared with the negotiation of record without line rate, and selection is negotiated to execute wireless relay without the big radio signal source of line rate, from And repeater can select relaying optimal location, guarantee the covering of wireless signal and improve signal quality.
On the basis of the above embodiments, the trunking method of repeater is discussed in detail in the present embodiment.
Referring to Fig. 2, the step flow chart of the trunking method of another embodiment of the present invention is shown, is specifically included as follows Step.
Step 202, the host configuration that repeater closes itself in advance services and configures itself to obtain host address.
Step 204, repeater is by trunking configuration relay wireless SSID and password, with the wireless SSID of wireless router and Password is consistent.
Wireless router completes infrastructure wireless network configuration, can configure the wireless SSID and correspondence of at least wireless router Password, and configuring wireless router is the IP for providing host configuration service (DHCP server) and can distributing DHCP Location.And each repeater can configure relay wireless SSID and corresponding password after the completion of previous relaying, wherein relay wireless SSID, password are identical as wireless SSID, the password of the wireless router of relaying.Also, repeater, which also configures, closes itself DHCP Server, and be configured to obtain the IP address of DHCP.
Step 206, radio signal source is searched for when repeater starts, and is filtered inconsistent with relay wireless service set SSID Radio signal source.
Step 208, repeater collects the corresponding signal strength of each radio signal source and site address information.
When repeater starts, the radio signal source of surrounding, and the relaying according to the repeater itself configuration may search for Wireless SSID is filtered radio signal source, that is, obtains the SSID of each radio signal source, determine the SSID of the radio signal source It is whether identical with the relay wireless SSID of repeater configurations, if the relay wireless of the SSID of radio signal source and repeater configurations SSID is not identical, then ignores the radio signal source;If the SSID of radio signal source and the relay wireless SSID phase of repeater configurations Together, then confirm that the radio signal source can connect.Repeater can also collect the corresponding signal strength of the radio signal source and BSSID is saved in repeater local memory, and certain repeater can also collect the channel of radio signal source, Wi-Fi mould Formula, cipher mode etc..
Step 210, repeater is according to the radio signal source of signal strength selection signal maximum intensity, to the wireless signal Source executes wireless relay.
To the identical each radio signal source of SSID is obtained by filtration, repeater will determine the maximum wireless signal of signal strength Source attempts the maximum radio signal source of the signal strength to execute wireless relay.Wherein, radio signal quality and wireless signal are strong Spending has proportional relation, and under certain environment, signal strength is stronger, and signal quality is better, therefore the present embodiment selection signal is strongest Signal source preferentially relays, to reduce the time of routing.
Step 212, repeater determines whether that host address can be obtained according to MAC Address.
It will form when two repeaters relay mutually from ring, to not be available, to prevent repeater from asking from ring occur It inscribes, wireless router is configured to provide for DHCP server in advance in the present embodiment, and each repeater is each configured to obtain host Address, therefore when connecting radio signal source and being relayed, repeater according to local bridge MAC Address request host address, To determine whether to be formed from ring by whether host address can be obtained.
When that can not obtain host address, characterization is formd when the first two repeater from ring, can be disconnected the relaying, be returned Step 210 is returned, continues that other radio signal sources is selected to execute wireless relay according to signal strength, that is, is deleting selected maximum After the radio signal source of intensity, the radio signal source of selection signal maximum intensity executes wireless relay to the radio signal source. I.e. when being judged as from ring, attempt to connect next radio signal source, until finding the nothing that can obtain the IP address of DHCP Line signal source, if not finding the radio signal source that can obtain the IP address of DHCP always, repeater waits newly wireless Signal source no longer goes to attempt relaying routing operation.
When host address can be obtained, step 214 is executed.
Step 214, repeater obtains host address, and the source of the wireless router is obtained from the confirmation message MAC Address.
After repeater gets the IP address of DHCP, interacted by the IP address and wireless router of the DHCP, The confirmation message (DHCP ACK) of wireless router feedback is grabbed, described in then repeater is obtained from the confirmation message The source MAC of wireless router, the i.e. MAC Address of DHCP sever.
Then the source MAC of wireless router and the radio signal source are corresponded to site address information and carried out by repeater Compare, to determine whether to meet relay condition.Source MAC and BSSID are compared, specific comparison procedure such as step 216-224。
Step 216, repeater determines that the source MAC of wireless router and the radio signal source correspond to site address letter It whether consistent ceases.
If so, the source MAC of i.e. wireless router is consistent with the BSSID of the radio signal source, step 220 is executed; If it is not, the source MAC of i.e. wireless router and the radio signal source are inconsistent, step 218 is executed.
Step 218, compare source MAC and the radio signal source correspond to the difference of site address information, determine described in Whether difference is in threshold range.
When the source MAC and inconsistent site address information, compare source MAC and the radio signal source pair Answer the difference of site address information.Determine the difference whether in threshold range again.If so, i.e. difference is in threshold range, really Recognize comparison result and meet relay condition, executes step 220;If it is not, i.e. difference, not in threshold range, confirmation comparison result is discontented Sufficient relay condition executes step 222.
In the present embodiment, determine whether to meet relay condition using threshold range, which is the interface of router Distribution determination.In actual treatment, the bridge MAC of some wireless routers and the BSSID of wireless interface are inconsistent, but interface assignment MAC be usually to be incremented by one or successively decrease, threshold range can be configured according to interface quantity, such as interface quantity is 5 items and match Setting threshold range is 5.In addition, a possibility that wireless router and relaying MAC differ very little simultaneously is almost very little.Therefore, If the MAC of the DHCP sever of the corresponding BSSID of signal source and crawl of repeater relaying is inconsistent, and the two difference does not exist In threshold range, then confirmation is unsatisfactory for relay condition, and the repeater is that second level or more relays at this time.Conversely, signal source is corresponding BSSID is consistent with the MAC of DHCP sever of crawl, although inconsistent the two difference in threshold range, then it is assumed that Meet relay condition, is at this time level-one relaying, which is the wireless interface MAC of wireless router.
In fact, family wireless environment usually configures a wireless router as DHCP server, there are two DHCP The case where server, is very rare.Thus it is confirmed that the DHCP server MAC of crawl is generally exactly that repeater needs to relay Wireless router.Since many wireless routers in the market all support multiple wireless interfaces (i.e. multiple SSID), Mei Gewu Line interface needs to distribute a MAC, and manufacturer is typically all to apply for continuous MAC.So what bridge MAC and repeater detected It, can be by judging whether phase difference meets threshold range, to determine whether the BSSID of detection is also nothing when BSSID is inconsistent The wireless interface MAC of line router, if difference, in threshold range, BSSID is the wireless interface MAC of wireless router, Otherwise not in threshold range, then BSSID is the wireless interface MAC of wireless router.
Step 220, the wireless relay success to the radio signal source is determined.
When the source MAC is consistent with BSSID, alternatively, source MAC and BSSID is inconsistent but difference is in threshold value model When enclosing interior, confirmation comparison result meets relay condition, i.e., repeater relaying is wireless router, can be confirmed to no route By the wireless relay success of device.
Step 222, record is negotiated without line rate.
When source MAC and BSSID is inconsistent and difference exceeds threshold range, and confirmation comparison result is unsatisfactory for relaying item Part, what is relayed at this time is not wireless router, more than second level to relay.In order to guarantee to relay effect, negotiation nothing can be first recorded Line rate, and the relaying is disconnected, then return step 210 continues that other radio signal sources is selected to execute wirelessly according to signal strength Relaying, i.e., after the radio signal source for deleting selected maximum intensity, the radio signal source of selection signal maximum intensity is right The radio signal source executes wireless relay, until the wireless relay success of other radio signal sources.If to other radio signal sources Execute wireless relay and etc. it is rear confirmation meet relay condition after, other radio signal sources be wireless router, i.e., other believe Number source relays successfully.
When step 224, to the wireless relay success of other radio signal sources, by current negotiation without line rate and record Negotiation is compared without line rate, and selection is negotiated to execute wireless relay without the big radio signal source of line rate.
It, can when successful to the wireless relay of other radio signal sources in order to make each repeater be in preferable intermediate position To obtain current negotiation without line rate, then current negotiation is compared without the negotiation of line rate and record without line rate Compared with selection is negotiated to execute wireless relay without the big radio signal source of line rate.That is the preferable radio signal source of selection signal executes Wireless relay, so as to provide optimal intermediate position for repeater.Reselect the case where being relayed to wireless router Under, jitter may be relayed, no line rate is lower to seriously affect user radio use, it is possible to second level be needed to relay.Cause This can record wireless negotiated speed in each relaying and be compared with relaying rate next time, select the higher relaying of rate Point relaying.
Also, if continuing to attempt to other signals source relaying when the negotiated speed after relaying twice is below setting value, Select the maximum relaying of negotiated speed, wherein setting value can be true according to the anti-interference ability of wireless mode and wireless chip It is fixed.If repeater can not be relayed to the corresponding wireless router of DHCP server, original wireless signal can be also relayed again Source.If the negotiated speed after relaying is relatively large, then it is assumed that routing success stops routing process.In the present embodiment, by seeking Look for the process of DHCP server that the convergence of the optimal topology of wireless relay can be rapidly completed.
The present embodiment can be applied in the various relay scenes of repeater, such as a kind of example is under home environment Relaying, as shown in figure 3, including wireless router A and repeater B, C, D in the home environment, wherein wireless router A is in Circular scope i.e. its signal cover around device B, C, D, the signal cover refer to that normal use signal covers model It encloses, therefore can be relayed in the home environment by repeater B, C, D, improve network signal coverage area.
Configure the SSID and password of wireless router A, the relay wireless SSID and password of respective repeaters B, C, D and wireless The SSID of router A is identical with password, and configuration DHCP sever is wireless router A, and repeater B, C, D are the IP for obtaining DHCP Address.Wherein, relay it is successfully primary after, itself SSID and password and wireless router A mono- can be arranged in repeater B, C, D automatically It causes.
Repeater B, C, D successively start, and the starting of repeater B first can only search wireless router A wireless signal, in The signal stabilization after device B relaying, and it was found that DHCP sever is exactly wireless router A, and confirmation relaying is completed.
After repeater C starting, the signal of wireless router A and repeater B are searched, discovery wireless repeater signal B's Signal is stronger, and preferred relay wireless repeater B waits the IP address of DHCP to be obtained, is truncated to the source MAC of DHCP ACK, Determine that source MAC is different with BSSID and difference is greater than threshold range, can recorde current wireless negotiated speed is AaMbps is then turned off current hop connection, attempts relay wireless router A.It is same etc. after relaying successfully wireless router A DHCP IP address to be obtained compares the source MAC of the DHCP ACK message of interception, and that determine relaying is exactly wireless router A.It obtains Take current wireless negotiated speed, it is assumed that be bbMbps, it is assumed that bb is greater than aa, then confirms that wireless relay is completed.
After repeater D starting, the signal of repeater B and C may search for, while can also search out the letter of wireless router A Number, the signal of wireless router A is weaker, and basis signal intensity first relays the strongest repeater C of signal, ibid among the above after with sentence Disconnected step, finding corresponding BSSID not is the MAC Address of DHCP server, records current wireless negotiated speed and is Then ccMbps is relayed again until being relayed to wireless router A, obtaining current wireless negotiated speed is ddMbps, however Dd is less than cc, and it is not best relay point that wireless quality is poor when relay wireless router A, can be fast according to wireless negotiations Rate is relayed to repeater C again, and the relaying of repeater D is completed.
To which through the above steps, repeater B, C, D are completed respective relaying, wherein repeater B, C are in level-one After, repeater C be second level relaying, it is certainly more have other repeaters there may also be three-level or more than relay, to pass through acquisition The IP address method repeater of DHCP determines whether relay wireless router from ring, by the comparison of BSSID and source MAC, and leads to Wireless negotiated speed selection best relay point is crossed, to realize optimal wireless topology.
The embodiment of the present invention realizes that step is simple, does not need to carry out the software and hardware form of existing wireless device itself Great change, can be by exempting from the relaying topological issues between configuration mode solution wireless router and wireless repeater, to use Family provides optimal wireless environment, improves wireless Quality of experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 4, show the structural block diagram of the repeater of one of embodiment of the invention, can specifically include as Lower module:
Trunk module 402 executes in wireless the radio signal source for selecting radio signal source according to signal strength After;It, will be current and when meeting wireless relay success of the relay condition determination to other radio signal sources by comparing result Negotiation be compared with the negotiation of record without line rate without line rate, selection is negotiated to execute without the big radio signal source of line rate Wireless relay.
Address comparison module 404 is used for after obtaining host address, by the source MAC of wireless router and the nothing Line signal source corresponds to site address information and is compared;When comparison result meets relay condition, determine to the wireless signal The wireless relay success in source.
Logging modle 406, for when comparison result is unsatisfactory for relay condition, record to be negotiated without described in line rate and triggering Selection trunk module selects other radio signal sources to execute wireless relay according to signal strength.
In conclusion the maximum radio signal source of initial selected signal strength executes wireless relay, by with obtaining host Location prevents two repeaters from ring, thus using the source MAC of wireless router and described wireless after obtaining host address Signal source corresponds to site address information and is compared, and relays and relays successfully for level-one when comparison result meets relay condition, And be that second level or more relays when comparison result is unsatisfactory for relay condition, then it records negotiation and lays equal stress on without line rate and newly select other wireless Signal source is relayed with executing level-one, and after completing level-one relaying by other radio signal sources, can be by current negotiation No line rate is compared with the negotiation of record without line rate, and selection is negotiated to execute in wireless without the big radio signal source of line rate After, thus repeater can select relaying optimal location, guarantee the covering of wireless signal and improve signal quality.
Referring to Fig. 5, the structural block diagram of another repeater embodiments of the invention is shown, can specifically include such as lower die Block:
Trunking configuration module 400, the host for closing itself in advance, which configures, services and configures itself as with obtaining host Location;It is consistent with the wireless SSID and password of wireless router by trunking configuration relay wireless SSID and password.
Signal source searching module 408 searches for radio signal source, filtering and relay wireless service set when for starting SSID inconsistent radio signal source;Collect the corresponding signal strength of each radio signal source and site address information.
Trunk module 402 executes in wireless the radio signal source for selecting radio signal source according to signal strength After;It, will be current and when meeting wireless relay success of the relay condition determination to other radio signal sources by comparing result Negotiation be compared with the negotiation of record without line rate without line rate, selection is negotiated to execute without the big radio signal source of line rate Wireless relay.
Address acquisition module 410 is used for request host address.The trunk module 402, being also used to work as can not obtain When taking host address, other radio signal sources are selected to execute wireless relay according to signal strength.
Interaction obtains module 412, for being interacted by the host address with wireless router, grabs described wireless The confirmation message of router feedback;The source MAC of the wireless router is obtained from the confirmation message.
Address comparison module 404 is used for after obtaining host address, by the source MAC of wireless router and the nothing Line signal source corresponds to site address information and is compared;When comparison result meets relay condition, determine to the wireless signal The wireless relay success in source.
Logging modle 406, for when comparison result is unsatisfactory for relay condition, record to be negotiated without described in line rate and triggering Selection trunk module selects other radio signal sources to execute wireless relay according to signal strength.
Wherein, the relay condition includes: wireless router source MAC and the radio signal source are with corresponding to website Location information is identical, or, the source MAC of wireless router and the radio signal source correspond to the difference of site address information in threshold It is worth in range, wherein the threshold range is determined according to the interface quantity of wireless router.
Wherein, the address comparison module 404, for comparing the source MAC and the wireless signal of wireless router Source corresponds to the difference of site address information;When the source MAC is consistent with site address information, confirmation comparison result meets Relay condition;When the source MAC and site address information are inconsistent, but the difference, in threshold range, confirmation is compared As a result meet relay condition;When the source MAC and site address information are inconsistent, and confirm that comparison result is unsatisfactory for relaying Condition.
IP address method repeater by obtaining DHCP determines whether to relay from ring by the comparison of BSSID and source MAC Wireless router, and best relay point is selected by wireless negotiated speed, to realize optimal wireless topology.The present invention is implemented Example realizes that step is simple, does not need to carry out great change to the software and hardware form of existing wireless device itself, can pass through Exempt from the relaying topological issues between configuration mode solution wireless router and wireless repeater, provides the user with optimal wireless ring Wireless Quality of experience is improved in border.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Trunking method to a kind of equipment provided by the present invention and a kind of repeater above, are described in detail, this Apply that a specific example illustrates the principle and implementation of the invention in text, the explanation of above example is only intended to It facilitates the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (12)

1. a kind of trunking method of equipment characterized by comprising
Radio signal source is selected according to signal strength, wireless relay is executed to the radio signal source;
After obtaining host address, the source MAC of wireless router and the radio signal source are corresponded into site address information It is compared;
When comparison result meets relay condition, the wireless relay success to the radio signal source is determined;
When comparison result is unsatisfactory for relay condition, record is negotiated to select other wireless signals without line rate and according to signal strength Source executes wireless relay;
It is described when comparison result is unsatisfactory for relay condition, record is negotiated to select other wireless without line rate and according to signal strength Signal source executes wireless relay, comprising: when comparison result is unsatisfactory for relay condition, record is negotiated to disconnect current without line rate Wireless relay, and select other radio signal sources to execute wireless relay according to signal strength;
It is described to select other radio signal sources to execute wireless relay according to signal strength, including relayed when meeting by comparing result When condition determines the wireless relay success to other radio signal sources, the negotiation by current negotiation without line rate and record is wireless Rate is compared, and selection is negotiated to execute wireless relay without the big radio signal source of line rate.
2. the method according to claim 1, wherein the relay condition includes: the source MAC of wireless router Location and the radio signal source correspond to that site address information is identical, or, the source MAC of wireless router and the wireless signal Source corresponds to the difference of site address information in threshold range, wherein number of ports of the threshold range according to wireless router Amount determines.
3. the method according to claim 1, wherein also being wrapped before selecting radio signal source according to signal strength It includes:
Radio signal source, filtering and relay wireless service set SSID inconsistent radio signal source are searched for when starting;
Collect the corresponding signal strength of each radio signal source and site address information.
4. the method according to claim 1, wherein after the step of executing wireless relay, further includes:
Request host address;
When host address can not be obtained, other radio signal sources are selected to execute wireless relay according to signal strength.
5. the method according to claim 1, wherein by the source MAC of wireless router and the wireless communication Number source corresponds to before site address information is compared, further includes:
It is interacted by the host address with wireless router, grabs the confirmation message of the wireless router feedback;
The source MAC of the wireless router is obtained from the confirmation message.
6. -5 any method according to claim 1, which is characterized in that further include:
The host configuration for closing itself in advance services and configures itself to obtain host address;And
It is consistent with the wireless SSID and password of wireless router by trunking configuration relay wireless SSID and password.
7. a kind of repeater characterized by comprising
Trunk module executes wireless relay to the radio signal source for selecting radio signal source according to signal strength;
The trunk module is also used to that other radio signal sources is selected to execute wireless relay according to signal strength, described according to letter It includes determining to other when meeting relay condition by comparing result that number intensity, which selects other radio signal sources to execute wireless relay, When the wireless relay success of radio signal source, current negotiation is compared with the negotiation of record without line rate without line rate, Selection is negotiated to execute wireless relay without the big radio signal source of line rate;
Address comparison module is used for after obtaining host address, by the source MAC of wireless router and the radio signal source Corresponding site address information is compared;When comparison result meets relay condition, determine to the wireless of the radio signal source It relays successfully;
Logging modle, for when comparison result is unsatisfactory for relay condition, record to be negotiated without line rate and triggered in the selection Other radio signal sources are selected to execute wireless relay according to signal strength after module;
The logging modle, specifically for when comparison result is unsatisfactory for relay condition, record is negotiated to disconnect current without line rate Wireless relay, and trigger the trunk module and select other radio signal sources to execute wireless relay according to signal strength.
8. repeater according to claim 7, which is characterized in that the relay condition includes: the source MAC of wireless router Address and the radio signal source correspond to that site address information is identical, or, the source MAC of wireless router and the wireless communication Number source corresponds to the difference of site address information in threshold range, wherein interface of the threshold range according to wireless router Quantity determines.
9. repeater according to claim 7, which is characterized in that further include:
Signal source searching module searches for radio signal source when for starting, filter different with relay wireless service set SSID The radio signal source of cause;Collect the corresponding signal strength of each radio signal source and site address information.
10. repeater according to claim 7, which is characterized in that further include:
Address acquisition module is used for request host address;
The trunk module, is also used to when that can not obtain host address, selects other radio signal sources according to signal strength Execute wireless relay.
11. repeater according to claim 7, which is characterized in that further include:
Interaction obtains module and grabs the wireless router for interacting by the host address with wireless router The confirmation message of feedback;The source MAC of the wireless router is obtained from the confirmation message.
12. according to any repeater of claim 7-11, which is characterized in that further include:
Trunking configuration module, the host for closing itself in advance, which configures, services and configures itself to obtain host address;Pass through The password of trunking configuration relay wireless SSID, it is consistent with the wireless SSID and password of wireless router.
CN201610327072.6A 2016-05-17 2016-05-17 A kind of trunking method and repeater of equipment Active CN106060878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610327072.6A CN106060878B (en) 2016-05-17 2016-05-17 A kind of trunking method and repeater of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610327072.6A CN106060878B (en) 2016-05-17 2016-05-17 A kind of trunking method and repeater of equipment

Publications (2)

Publication Number Publication Date
CN106060878A CN106060878A (en) 2016-10-26
CN106060878B true CN106060878B (en) 2019-09-17

Family

ID=57177018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610327072.6A Active CN106060878B (en) 2016-05-17 2016-05-17 A kind of trunking method and repeater of equipment

Country Status (1)

Country Link
CN (1) CN106060878B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412940B (en) * 2016-11-15 2021-01-26 北京小米移动软件有限公司 Method and device for creating wireless local area subnet and method and device for accessing network
CN106376057A (en) * 2016-11-28 2017-02-01 北京小米移动软件有限公司 Wireless network access method and device
CN107635263A (en) * 2017-09-29 2018-01-26 努比亚技术有限公司 Wi Fi control methods, mobile terminal and computer-readable recording medium
CN110113726B (en) * 2019-05-21 2022-02-01 唐利(上海)信息科技有限公司 Vehicle network switching method and device
CN110913441B (en) * 2019-11-28 2022-02-11 深圳市共进电子股份有限公司 Data transmission method and device
CN111065141A (en) * 2019-12-30 2020-04-24 海信集团有限公司 Wireless network connection method of intelligent household appliance, intelligent household appliance and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103415059A (en) * 2013-08-26 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Terminals and mobile communication method
CN104320364A (en) * 2014-11-13 2015-01-28 成都微址科技有限公司 Relay method and device for wireless communication

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006067174A (en) * 2004-08-26 2006-03-09 Fujitsu Ltd Control program, communication relay device control method, and communication relay device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103415059A (en) * 2013-08-26 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Terminals and mobile communication method
CN104320364A (en) * 2014-11-13 2015-01-28 成都微址科技有限公司 Relay method and device for wireless communication

Also Published As

Publication number Publication date
CN106060878A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN106060878B (en) A kind of trunking method and repeater of equipment
US10833927B2 (en) Systems and methods for intuitive home networking
KR102190312B1 (en) Service provisioning by local operator
CN105228213B (en) A kind of method and apparatus that mobile device is relayed
CN104717709B (en) A kind of method for switching network and device
TWI766767B (en) Method and apparatus for network selection for supported standalone non-public network (s-snpn)
CN106878969B (en) Wireless networking method, wireless networking equipment and wireless networking system
CN102209324A (en) Mobile terminal and method for accessing mobile terminal into wireless local area network (WLAN) hotspot
CN106656547B (en) Method and device for updating network configuration of household electrical appliance
CN105227693B (en) A kind of configuration method and device of the DNS of mobile device
CN105007201A (en) Method for accessing network, wireless sound box and system
CN104662990A (en) Transport of control protocol for trusted WLAN (TWAN) offload
CN108738022B (en) Mobile management method and system for wireless communication network
WO2019057011A1 (en) Method for processing network slice template, and management device
CN113691969A (en) Communication method and device
CN111885680A (en) Method, system and core equipment for establishing network connection
CN108834201A (en) Household appliance and its networking control method, device, mobile terminal
WO2018049823A1 (en) Automatic network distribution method, apparatus and device, and repeater
CN104838696A (en) System and method for network selection
CN103813415B (en) Network insertion and tactful sending method and equipment
CN104717225A (en) Internet of Things gateway access authentication method and system
CN103974383B (en) A kind of the determination method, apparatus and system of ANDSF strategies
KR102058663B1 (en) Method for establishing a communication connection of a communication terminal via a communication network
CN111065137A (en) Method for accessing intelligent equipment to network based on Bluetooth and wireless network
CN111083688A (en) User equipment residing method, device, equipment 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
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou science and Technology Development Zone, Zhejiang high tech park, No. six and road, No. 310

Applicant before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230620

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right