Summary of the invention
The embodiment of the invention provides a kind of power regulating method and access point apparatus; The technical scheme of using the embodiment of the invention to provide; Access point apparatus can carry out the transmission of probe frame, through the answer message to probe frame that analyze to receive, can be adjusted into and reaches the maximum required power that covers.Like this, just can use manpower and material resources sparingly without the position of mobile access point equipment.
The purpose of the embodiment of the invention realizes through following technical scheme:
A kind of power regulating method comprises:
According to the link information of neighboring access point device, send first probe frame to said neighboring access point device;
Judge whether to receive first of said first probe frame of response that all neighboring access point devices send and reply message;
When judging that not receiving first of at least one neighboring access point device transmission replys message, increase transmitted power with fixed value one, send said first probe frame to said neighboring access point device with the transmitted power after increasing;
When judgement receives first of said first probe frame of response that all neighboring access point devices send when replying message, stop to send said first probe frame;
Reduce transmitted power with fixed value two, said fixed value two is sent second probe frame to said neighboring access point device with the transmitted power after reducing less than said fixed value one.
A kind of access point apparatus comprises:
The first probe frame transmitting element is used for the link information according to the neighboring access point device, sends first probe frame to said neighboring access point device;
First judging unit is used to judge whether to receive first of said first probe frame of response that all neighboring access point devices send and replys message;
First power adjustment unit; Be used for when first judgment unit judges does not receive the first answer message of at least one said neighboring access point device transmission; Increase transmitted power with fixed value one, trigger the said first probe frame transmitting element and send said first probe frame with the transmitted power after increasing to said neighboring access point device;
Said first power adjustment unit also is used for receiving first of said first probe frame of response that all neighboring access point devices send when replying message when said first judgment unit judges, stops to send said first probe frame;
Second power adjustment unit is used for after said first judgment unit judges receives the first answer message of all neighboring access point devices transmissions, reducing transmitted power with fixed value two, and said fixed value two is less than said fixed value one;
The second probe frame transmitting element is used under the triggering of second power adjustment unit, sends second probe frame with the transmitted power after reducing to said neighboring access point device.
Can know that from the foregoing invention content under the immutable situation of environment, access point apparatus carries out the transmission of probe frame,, can be adjusted into to reach and cover the required transmitted power of all adjacent areas through analyzing the answer message that receives to probe frame.Like this, just can use manpower and material resources sparingly without the position of mobile access point equipment.
Embodiment
For make the object of the invention, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, to further explain of the present invention.
As shown in Figure 1, every access point apparatus is safeguarded a neighboring access point device tabulation, and this tabulation the personnel that need arrange net manually import, and list content contains medium access control (MediaAccess Control) address of all neighboring access point devices.
The embodiment one of power regulating method is as shown in Figure 2:
Every access point apparatus sends probe frame to all neighboring access point devices, if receive the answer of all neighboring access point devices, representes that then this access point apparatus coverage need not to enlarge (but might be able to suitably reduce) again.If have any one neighboring access point device not reply then stepping increases transmitted power 1dB, increase coverage, up to receiving that all adjacency go into the answer of point device.Flow process is following:
Step 201: access point apparatus sends first probe frame to the neighboring access point device.
Step 202: access point apparatus judges whether to receive first of response first probe frame that all neighboring access point devices send and replys message.
Step 203: when access point apparatus judges that not receiving first of at least one neighboring access point device transmission replys message, increase transmitted power, send first probe frame with the transmitted power after increasing to the neighboring access point device with fixed value one.
Can know that from the foregoing invention content under the immutable situation of environment, access point apparatus carries out the transmission of probe frame, cover the required transmitted power of adjacent area through analyzing the answer message that receives, can be adjusted into to reach to probe frame.Like this, just can use manpower and material resources sparingly without the position of mobile access point equipment.
All access point apparatus accomplish above-mentioned steps operation after; According to a definite sequence; All access point apparatus carry out flow process shown in Figure 3 one by one and adjust power, and manual work in advance is order of presentation arbitrarily, as long as guarantee that all access point apparatus one by one in the network.
The embodiment two of power regulating method is as shown in Figure 3:
Corresponding steps is identical among step 201 and step 202 and the embodiment one.
Step 204: in the embodiment one of power regulating method, when the judgement of the access point apparatus in the step 202 receives the answer of all neighboring access point devices, stop to send first probe frame.
In the foregoing description two, when access point apparatus receives the answer of all neighboring access point devices, show the transmitted power that has reached more excellent, thereby, need not carry out the transmission of first probe frame again.
The embodiment three of power regulating method is as shown in Figure 4,
, the access point apparatus in embodiment two steps 204 also comprises after judging when receiving the answer of all neighboring access point devices, stop to send first probe frame:
Step 301: access point apparatus reduces transmitted power with fixed value two, and fixed value two is less than fixed value one.
Step 302: access point apparatus sends second probe frame to the neighboring access point device with the transmitted power after reducing.
Step 303: access point apparatus judges whether to receive second of all response second probe frame of receiving the transmission of neighboring access point device and replys message.
Step 304: when access point apparatus judges that receiving second of all neighboring access point devices transmissions replys message, reduce transmitted power, send second probe frame with the transmitted power after reducing to the neighboring access point device with fixed value two.
Can know that from the foregoing description when receiving " adjustment power frame ", or first order carries out the access point apparatus of adjustment power, the beginning stepping reduces transmitted power, satisfies just up to its coverage and covers all adjacent areas.Next access point apparatus in execution sequence sends " adjustment power frame " then.
Through above step; Access point apparatus transmitted power in the whole network will reach the lucky minimum transmit power that can cover adjacent area; Simultaneously because the transmitted power of access point apparatus is adjustable; So the riding position of access point apparatus does not need artificial adjustment, only need in satisfying the maximum coverage range that access point apparatus can reach, to have the neighboring access point device, access point apparatus just can be realized arranging net automatically through automatic power adjustment.
More preferably, when access point apparatus in the step 303 judges that not receiving second of at least one neighboring access point device transmission replys message, increase transmitted powers with fixed value two.
In this preferred version, when access point apparatus since the front reduce transmitted power with fixed value two, might have influence on transmitted power and not cover all adjacent areas, therefore, increase transmitted powers, to guarantee to use more suitable transmitted power with fixed value two.
More preferably, before access point apparatus sends the first adjustment power frame, also comprise:
Access point apparatus receives the first adjustment power frame that an access point apparatus sends.
After access point apparatus increases transmitted power with fixed value two, also comprise:
Access point apparatus sends the second adjustment power frame to next access point apparatus.
In this preferred version; Access point apparatus can have the function that receives and send adjustment power frame; So that have a kind of correlation of adjusting transmitted power and being triggered the adjustment transmitted power that triggers between a plurality of access point apparatus, the access point apparatus colony that increases whole neighbouring relations carries out the integrality that transmitted power is adjusted.
The message carrier of above-mentioned second probe frame and first probe frame can be identical, and second replys the message format that message and first replys message can be identical, and the message carrier that the first adjustment power frame and second is adjusted the power frame can be identical.
The embodiment one of a kind of access point apparatus that the embodiment of the invention provides is as shown in Figure 5, comprising:
The first probe frame transmitting element 401 is used for the link information according to the neighboring access point device, sends first probe frame to the neighboring access point device, and link information can be that external equipment sends to access point apparatus, also can be access point apparatus self storage.
First judging unit 402 is used to judge whether to receive first of response first probe frame that all neighboring access point devices send and replys message.
First power adjustment unit 403; Be used for when first judging unit 402 judges that not receiving first of at least one neighboring access point device transmission replys message; Increase transmitted power with fixed value one, trigger the first probe frame transmitting element and send first probe frame with the transmitted power after increasing to the neighboring access point device.
Can know that from the embodiment one of access point apparatus under the immutable situation of environment, access point apparatus carries out the transmission of probe frame, cover the required transmitted power of adjacent area through analyzing the answer message that receives, can be adjusted into to reach to probe frame.Like this, just can use manpower and material resources sparingly without the position of mobile access point equipment.
More preferably, first power adjustment unit 403 can also be used for when first judging unit 402 judges that receiving first of all neighboring access point devices transmissions replys message, stopping to send first probe frame.
In this preferred version, when access point apparatus receives the answer of all neighboring access point devices, show the transmitted power that has reached more excellent, thereby, need not carry out the transmission of first probe frame again.
The embodiment two of access point apparatus is as shown in Figure 6,
Access point apparatus also comprises:
The second probe frame transmitting element 501 is used under the triggering of second power adjustment unit 503, sends second probe frame with the transmitted power after reducing to said neighboring access point device.
Second power adjustment unit 503; Be used for when first judging unit 402 judge receive that all neighboring access point devices send first reply message or when second judging unit 502 is judged the second answer message that receives response second probe frame that all neighboring access point devices send; Reduce transmitted power with fixed value two; Fixed value two triggers the second probe frame transmitting element 501 and sends second probe frame to the neighboring access point device with the transmitted power after reducing less than fixed value one.
Second judging unit 502 is used to judge whether to receive second of response second probe frame that all neighboring access point devices send and replys message.
Can know that from the embodiment two of access point apparatus when receiving " adjustment power frame ", or first order carries out the access point apparatus of adjustment power, the beginning stepping reduces transmitted power, satisfies just up to its coverage and covers all adjacent areas.Next access point apparatus in execution sequence sends " adjustment power frame " then.
Through above step; Access point apparatus transmitted power in the whole network will reach the lucky minimum transmit power that can cover adjacent area; Simultaneously because the transmitted power of access point apparatus is adjustable; So the riding position of access point apparatus does not need artificial adjustment, only need in satisfying the maximum coverage range that access point apparatus can reach, to have the neighboring access point device, access point apparatus just can be realized arranging net automatically through automatic power adjustment.
More preferably, second power adjustment unit 503 also is used for when second judging unit 502 judges that not receiving second of at least one neighboring access point device transmission replys message, increasing transmitted powers with fixed value two.
In this preferred version, when access point apparatus since the front reduce transmitted power with fixed value two, might have influence on transmitted power and not cover all adjacent areas, therefore, increase transmitted powers, to guarantee to use more suitable transmitted power with fixed value two.
The embodiment three of access point apparatus is as shown in Figure 7,
Access point apparatus also comprises:
Power frame receiving element 601 is used for before the first probe frame transmitting element 401 sends first probe frame, receives the first adjustment power frame that an access point apparatus sends.
Power frame transmitting element 602 is used at second power adjustment unit 503 after increasing transmitted power with fixed value, sending out adjustment power frame to next access point apparatus.
In the embodiment three of this access point apparatus; Access point apparatus can have the function that receives and send adjustment power frame; So that have a kind of correlation that triggers adjustment transmitted power and the adjustment transmitted power that is triggered between a plurality of access point apparatus, increase the integrality that whole neighboring access point device colony carries out the transmitted power adjustment.
Can know from the foregoing invention content; Access point apparatus transmitted power in the whole network will reach the lucky minimum transmit power that can cover adjacent area; Simultaneously because the transmitted power of access point apparatus is adjustable; So the riding position of access point apparatus does not need artificial adjustment, only need in satisfying the maximum coverage range that access point apparatus can reach, to have the neighboring access point device, access point apparatus just can be realized arranging net automatically through automatic adjustment transmitted power.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program, program can be stored in a kind of computer-readable recording medium.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than a kind of power regulating method and access point apparatus that the embodiment of the invention provided have been carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, to sum up, this description should not be construed as limitation of the present invention.