Apart from recognition methods and system between wireless deviceTechnical field
The present invention relates to wireless communication technology field, in particular between a kind of wireless device apart from recognition methods andSystem.
Background technique
Due to the signal strength RSSI between wireless device and apart from not being linear relationship, in the first wireless signal by dryThe influence of factors such as disturb, reflect, reflecting, the value fluctuation of RSSI is big in wireless communication procedure, can not carry out distance between wireless deviceEffective identification.
Summary of the invention
The embodiment of the present invention at least discloses between a kind of wireless device apart from recognition methods, is able to solve the positioning of wireless devicePower consumption and problem at high cost.
The described method includes:
N times the first wireless signal group that arbitrary signal generator is sent is received, the first wireless signal group includes m different functionFirst wireless signal of rate, n are the positive integer more than or equal to 1, and m is the positive integer more than or equal to 2;
Evaluate the signal quality of first wireless signal;
According to the signal quality of n*m first wireless signals determine the signal source distance or place apart from modelIt encloses.
In the bright disclosed some embodiments of we, the signal quality is evaluated, is configured that
Obtain the signal strength of first wireless signal;
Compare the signal strength and preset threshold intensity and generates evaluation of estimate;
According to the evaluation of estimate of n*m first wireless signals determine the signal source distance or place apart from modelIt encloses.
In the bright disclosed some embodiments of we, the signal strength and the threshold intensity are configured that
The threshold intensity includes upper limit intensity and lower limit intensity, and the upper limit intensity and lower limit intensity divide the signalThe value interval of intensity is upper limit section, intermediate section and lower limit section, judges the value of the signal strength in the upper limitSection or the intermediate section or the lower limit section;Institute's evaluation values are generated, are configured that
According to the value of the signal strength in the upper limit section or the intermediate section or the lower limit section, generateInstitute's evaluation values.
In the bright disclosed some embodiments of we, the upper limit intensity and/or the lower limit intensity are according to receptionSignal gain or signal the decaying adjustment that first wireless signal group generates.
In the bright disclosed some embodiments of we, according to the determination of the evaluation of estimate of n*m first wireless signalsThe distance of signal source or the distance range at place, are configured that
The evaluation of estimate of first wireless signal described in cumulative n equal-wattage is statistical value;
The statistical value of the first wireless signal according to m different capacity judge the signal source distance or place away fromFrom range.
In the bright disclosed some embodiments of we, the statistical value of the first wireless signal according to m different capacity is sentencedThe distance of the signal source of breaking or the distance range at place, are configured that
According to the statistical value judge m different capacity respectively described in the first wireless signal credit rating;
According to the m different capacity credit rating of the first wireless signal judges distance or the place of the signal sourceDistance range.
In the bright disclosed some embodiments of we, m=3,
The first wireless signal group includes small-power, middle power and powerful first wireless signal,
The small-power, middle power and powerful value are determined by the nominal power obtained;
The nominal power is obtained to be configured that
It sets using the signal source as terminal or the reference distance of starting point;
Receive the standard radio signal by maximum power to minimum power of signal source transmitting;
The standard radio signal received signal strength between the upper limit intensity and the lower limit intensityAfterwards, the power for recording presently described standard radio signal is the nominal power.
In the bright disclosed some embodiments of we, which comprises
According to by short distance recognition mechanism or far from apart from recognition mechanism sort out the signal source distance or place away fromFrom the corresponding color of range.
It is described by short distance recognition mechanism or described far from apart from recognition mechanism in the bright disclosed some embodiments of weIt is configured to,
It is at least one internal section that the signal source, which is divided, in the reference distance, be outside the reference distance toA few external section;
Sort out the internal section and the external section by different color;
The distance of signal source or the distance at place according to the match colors in the internal section or the external sectionRange;
It is close to determine that the signal source is according to the matched color of the distance range of the distance of the signal source or placeState or separate state.
In the bright disclosed some embodiments of we, which comprises
To identical with the first wireless signal group second wireless singal group of signal source transmitting n times, described secondWireless signal group includes m second wireless singals corresponding with first wireless signal, and the second wireless singal is used for quiltThe signal source receives and evaluates signal quality;
Receive the signal quality of the second wireless singal returned after the signal source evaluation;
According to the signal quality of a first wireless signal of n*m and the signal quality of the n*m second wireless singalsDetermine the distance of the signal source or the distance range at place.
In the bright disclosed some embodiments of we, which comprises
Any two of the first wireless signal described in m different capacity are configured as secondary upper signal and secondary lower signal,At least one secondary middle signal is randomly selected between the secondary upper signal and the power of secondary lower signal;
It receives the signal source and sends secondary wireless signal group, the secondary wireless signal group includes the secondary upper letterNumber, at least one described secondary middle signal and the secondary lower signal;
Evaluate the signal quality of the secondary wireless signal group;
The distance or the distance range are determined according to the signal quality of the secondary wireless signal group.
The embodiment of the present invention at least discloses between a kind of wireless device apart from identifying system,
The system comprises first distance identification device and second distance identification devices;
The first distance identification device and the second distance identification device mutually send n times wireless signal group, describedWireless signal group includes the wireless signal of m different capacity, and n is the positive integer more than or equal to 1, and m is just more than or equal to 2Integer;
The first distance identification device and the second distance identification device evaluate the received wireless signal respectivelySignal quality and return to the signal quality;
The first distance identification device and/or the second distance identification device are according to evaluation and the 2*n*m returnedThe signal quality of the wireless signal determine between the first distance identification device and the second distance identification device away fromFrom or distance range.
In the bright disclosed some embodiments of we, the first distance identification device and/or second distance identificationDevice is configured with apart from display module;
It is described apart from display module according to by short distance recognition mechanism or far from described in apart from recognition mechanism color displays theOne apart from the distance between identification device and the second distance identification device or distance range.
For above scheme, the present invention is by being referring to the drawings described in detail disclosed exemplary embodiment, alsoThe other feature and its advantage for making the embodiment of the present invention understand.
Detailed description of the invention
Scheme in order to illustrate the embodiments of the present invention more clearly below will make attached drawing needed in the embodimentIt simply introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to rangeRestriction for those of ordinary skill in the art without creative efforts, can also be attached according to theseFigure obtains other relevant attached drawings.
Fig. 1 is the system diagram of embodiment one wireless device A and wireless device B;
Fig. 2 is the flow chart of embodiment two;
Fig. 3 is the flow chart of embodiment three.
Specific embodiment
To keep the purpose, scheme and advantage of the embodiment of the present invention clearer, below in conjunction in the embodiment of the present inventionThe scheme in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is the present invention oneSection Example, instead of all the embodiments.The component of embodiments of the present invention, which are generally described and illustrated herein in the accompanying drawingsIt can arrange and design with a variety of different configurations.
Therefore, the detailed description of disclosed the embodiment of the present invention in the accompanying drawings is not intended to limit below claimedThe scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is commonTechnical staff's every other embodiment obtained without creative efforts belongs to the model that the present invention protectsIt encloses.
Embodiment one
The present embodiment discloses between a kind of wireless device apart from recognition methods;Method through this embodiment can low-power consumption,The distance between realization wireless device A and wireless device B of low cost identification.
In order to realize above content, Fig. 1 is please referred to.The wireless device A and wireless device B of the present embodiment includeSTM32F103R8 processor, wireless communication module SX1278, radio antenna, electric energy power supply module and apart from display module.STM32F103R8 processor for processing and operation and has sleep mode, can be automatically into the suspend mode shape of low-power consumptionState carries out dormancy awakening further according to internal clocking timer.Wireless communication module SX1278 and radio antenna, for carrying outWireless signal sends and receives, and minimum emissive power is -4dBm, and maximum transmission power is+17dBm.Apart from display module,For showing different colors according to distance after wireless device A and wireless device B realizes distance identification.
Through the above scheme, wireless device A and wireless device B mutually can send and receive the wireless of three kinds of different capacitiesSignal, i.e. small-power PMIN, middle power PMID and high-power PMAX.
The value of small-power PMIN, middle power PMID and high-power PMAX are mainly determined by the coverage area of wireless signalIt is fixed;For example, the wireless signal coverage area of small-power PMIN is closer, the wireless signal coverage area of high-power PMAX farther out, inBetween power P MID wireless signal coverage area it is moderate.
Wireless device B receive wireless device A send n times wireless signal group, wireless signal group include small-power PMIN, inBetween power P MID and high-power PMAX three kinds of wireless signals;N is the positive integer more than or equal to 1, and the present embodiment is for exampleThe explanation of property, value n=5.
In some embodiments, when the signal strength RSSI fluctuation of wireless signal is more than +/- 15dBm, by wireless signalEmitting times increase to 3 × 5 times from 5 times;It is rejected further according to normal distribution principle and fluctuates 2 × 5 excessive signal strength RSSI,It is carried out using remaining 5 signal strength RSSI apart from identification.
Wireless device respectively evaluates the signal quality of three kinds of wireless signals after receiving 5 wireless signal groups, is used forConfirm the distance between wireless device A and wireless device B.The present embodiment is with wireless device B to the wireless signal of small-power PMINFor being evaluated:
Wireless signal is obtained after the wireless signal of wireless device B reception wireless device A transmission small-power PMIN to believe accordinglyNumber intensity RSSI_R;The signal strength that will acquire again is believed with the upper limit signal strength RSSI_UPPER and lower limit formerly defined respectivelyNumber intensity RSSI_LOWER compares, and obtains the evaluation of estimate of wireless signal.
In some embodiments, upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER can basesThe application scenarios of wireless device A and wireless device B dynamic adjust;Initial default sets upper limit signal strength RSSI_UPPERFor -65dBm, low-limit signal intensity RSSI_LOWER is set as -85dBm;Default by upper limit signal strength RSSI_UPPER andDifference between low-limit signal intensity RSSI_LOWER is set as 20dBm.
Signal strength RSSI_R is greater than or equal to upper limit signal strength RSSI_UPPER, and the evaluation of estimate of wireless signal is+2;Signal strength RSSI_R is less than upper limit signal strength RSSI_UPPER, is greater than low-limit signal intensity RSSI_LOWER, wireless signalEvaluation of estimate be+1;Signal strength RSSI_R is less than or equal to low-limit signal intensity RSSI_LOWER, the evaluation of estimate of wireless signalIt is 0.
The corresponding evaluation of estimate of wireless signal of the cumulative 5 small-power PMIN of wireless device B, obtains the statistical value of signal strengthPMIN_RC_AB。
Identical with above scheme, wireless device B receives wireless device A and sends middle power PMID's and high-power PMAXAfter wireless signal, the wireless communication of the wireless signal corresponding statistical value PMID_RC_AB and high-power PMAX of middle power PMID is obtainedNumber corresponding statistical value PMAX_RC_AB.
Identical with above scheme, wireless device A receives 5 wireless device B and sends small-power PMIN, middle power PMIDAnd after the wireless signal of high-power MAX, statistical value PMIN_RC_BA, statistical value PMID_RC_BA and statistical value PMAX_RC_ are obtainedBA。
Wireless device A and wireless device B add up after exchanging the statistical values of three kinds of wireless signals, wireless device A and without traditional thread bindingSet statistical value PMIN_RC, statistical value PMID_RC and statistical value PMAX_RC that B obtains three kinds of wireless signals respectively.
PMIN_RC=PMIN_RC_AB+PMIN_RC_BA;
PMID_RC=PMID_RC_AB+PMID_RC_BA;
PMAX_RC=PMAX_RC_AB+PMAX_RC_BA.
Wireless device A or wireless device B is according to statistical value PMIN_RC, statistical value PMID_RC and statistical value PMAX_RC pointsNot Huo Qu small-power PMIN, middle power PMID and high-power PMAX wireless signal reliability level;
The present embodiment is obtained according to statistical value PMIN_RC for the corresponding reliability level of wireless signal of small-power PMIN:
General judgment principle is to judge whether statistical value PMIN_RC is greater than K × n × 0.9 or is less than K × n × 0.1;Wherein KWireless signal comments when being greater than or equal to upper limit signal strength RSSI_UPPER for small-power PMIN corresponding signal intensity RSSI_RValue, n are the number that wireless device A or wireless device B receives wireless signal group.
PMIN_RC is greater than K × n × 0.9, indicates between wireless device A and wireless device B through the wireless of small-power PMINSignal, it is ensured that 90% or more normal communication;The corresponding credit rating of small-power PMIN is outstanding, i.e. reliability levelPMIN_RL=Y.
PMIN_RC is less than K × n × 0.1, indicates between wireless device A and wireless device B through the wireless of small-power PMINSignal communication, normal communication are no more than 10%;The corresponding credit rating of small-power PMIN is bad, i.e. reliability level PMIN_RL=X.
PMIN_RC is less than or equal to K × n × 0.9 and PMIN_RC is greater than or equal to K × n × 0.1, indicates wireless devicePass through the communicating wireless signals of small-power PMIN between A and wireless device B, normal communication is unstable;Small-power PMIN is correspondingCredit rating is abnormal, i.e. reliability level PMIN_RL=Z.
It is identical with above scheme, obtain the reliable of the reliability level PMID_RL and high-power PMAX of middle power PMIDGrade PMAX_RL.
Reliability level PMIN_RL, reliability level PMID_RL and reliability level are obtained in wireless device A or wireless device BAfter PMAX_RL, determine the distance of wireless device A and wireless device B in distance level scale and distance state, it is specific as follows.
| PMIN_RL | PMID_RL | PMAX_RL | Apart from rank | Distance state |
| Y | Y | Y | L1 | It is close |
| Z | Y | Y | L2 | By near critical |
| X | Y | Y | L3 | Within centre |
| X | Z | Y | L4 | Middle critical |
| X | X | Y | L5 | Other than centre |
| X | X | Z | L6 | Far from critical |
| X | X | X | L7 | It is separate |
In table:
PMIN_RL=Y, PMID_RL=Y and PMAX_RL=Y;It is L1 grades apart from rank, indicates that two wireless devices lean onClosely, distance state is close.
PMIN_RL=Z, PMID_RL=Y and PMAX_RL=Y;It is L2 grades apart from rank, indicates that two wireless devices are inThe critical part of minimum power communication, distance state are by near critical.
PMIN_RL=X, PMID_RL=Y and PMAX_RL=Y;It is L3 grades apart from rank, indicates that two wireless devices are inOther than minimum power communication, within middle power communication, distance state is within centre.
PMIN_RL=X, PMID_RL=Z and PMAX_RL=Y;It is L4 grades apart from rank, indicates that two wireless devices are inAt middle power communication critical, distance state is middle critical.
PMIN_RL=X, PMID_RL=X and PMAX_RL=Y;It is L5 grades apart from rank, indicates that two wireless devices are inOther than middle power communication, within high-power communication, defining distance state is other than centre;
PMIN_RL=X, PMID_RL=X and PMAX_RL=Z;It is L6 grades apart from rank, indicates that two wireless devices are inAt high-power communication critical, distance state is far from critical;
PMIN_RL=X, PMID_RL=X and PMAX_RL=X;It is L7 grades apart from rank, indicates that two wireless devices are inOther than high-power communication, distance state is separate.
In summary scheme, wireless device A and wireless device B only pass through the wireless communication of the three kinds of different capacities repeatedly sentNumber above-mentioned distance state is obtained, directly judge the distance range of wireless device A and wireless device B, do not need using in high precisionThe time service and synchronization of clock signal.
Further, the wireless device A and/or wireless device B of the present embodiment are configured with by short distance recognition mechanism and farSeparation is from recognition mechanism.
It whether is identification the distance between wireless device A and wireless device B in a given reference by short distance recognition mechanismIn distance RD, and the distance between wireless device A and wireless device B are closer to better;The present embodiment is according to reference distance RDCoverage area color classification is carried out to above-mentioned 7 distance level scales, table specific as follows:
In table:
Apart from rank, in L1, color is classified as green, indicates that the distance of wireless device A and wireless device B is close, smallIn the communication range of the wireless signal of power P MIN;
Apart from rank, in L2 and L3, color is classified as yellow, indicates wireless device A and wireless device B distance in intermediate functionIn the range for wireless communication of the wireless signal of rate PMID;
Apart from rank, in L4, L5 and L6, color is classified as red, indicates that the distance of wireless device A and wireless device B existsOutside the range for wireless communication of the wireless signal of middle power PMID, the wireless signal that can use maximum power PMAX is carried out wirelesslyCommunication;
Apart from rank, in L7, color is classified as black, indicates that the distance of wireless device A and wireless device B has exceeded big functionThe range for wireless communication of the wireless signal of rate PMAX.
Preferably, when can also only sort out three kinds of colors such as green, yellow and red in short distance recognition mechanism, thatBlack can be classified as red.
Far from apart from recognition mechanism be identification the distance between wireless device A and wireless device B whether be more than one toDetermine reference distance RD, and the distance between wireless device A and wireless device B are further away from better;The present embodiment according to reference to away fromColor classification is carried out to 7 above-mentioned distance level scales from the coverage area of RD, table specific as follows:
In table:
Apart from rank, in L1 and L2, color is classified as red, indicates that wireless device A and wireless device B is close, does not surpassThe range for wireless communication of the wireless signal of too small power P MIN;
Apart from rank, in L3 and L4, color is classified as yellow, indicates that the distance of wireless device A and wireless device B is more than smallThe range for wireless communication of the wireless signal of power P MIN, but it is not above the range for wireless communication of middle power PMID;
Apart from rank, in L5 and L6, color is classified as green, indicates that the distance of wireless device A and wireless device B is more thanThe range for wireless communication of the wireless signal of middle power PMID, but it is not above the range for wireless communication of high-power PMAX;
Apart from rank, in L7, color is classified as communication failure, indicates that the distance of wireless device A and wireless device B has exceededThe range for wireless communication of the wireless signal of the wireless signal of high-power PMAX.
Through the above scheme, the wireless device A and/or wireless device B of the present embodiment are mounted in end having a display functionWhen end, the color that can be shown according to terminal judge by short distance recognition mechanism or far under recognition mechanism without traditional thread bindingSet the distance range of A and wireless device B.
In some embodiments, by short distance recognition mechanism and far from small-power PMIN, the intermediate function apart from recognition mechanismRate PMID, the value of high-power PMAX are determining according to nominal power PSTD, and nominal power PSTD value is as follows.
The distance between wireless device A and wireless device B are configured to reference distance RD;
Wireless device A and wireless device B mutually sent with the maximum transmission power of wireless transmitter wireless signal and byThe adjustment that step reduces sends the power of wireless signal;
Wireless device A and wireless device B receives the signal strength RSSI_R of wireless signal respectively and judges signal strengthWhether RSSI_R is between upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER;
Wireless device A and wireless device B is adjusted to suitable radio transmitted power PSend, until wireless device A and wirelesslyThe signal strength RSSI_R that device B receives wireless signal is in upper limit signal strength RSSI_UPPER and low-limit signal intensityBetween RSSI_LOWER;
Record the nominal power PSTD that suitable radio transmitted power PSend is reference distance RD.
In short distance recognition mechanism, the value of small-power PMIN, middle power PMID and high-power PMAX are that will markClaim value of the power P STD as middle power PMID;Using the minimum emissive power of wireless transmitter taking as small-power PMINValue;Using nominal power PSTD+9dBm as the value of high-power PMAX;
Far from recognition mechanism, the value of small-power PMIN, middle power PMID and high-power PMAX are that will markClaim value of the power P STD as middle power PMID;Using the maximum transmission power of wireless transmitter taking as high-power PMAXValue;Value by nominal power PSTD -9dBm as small-power PMIN.
In some embodiments, upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER being capable of basesThe unlike signal gain or decaying of different wireless transmitter and wireless receiver are adjusted, specific as follows.
In short distance recognition mechanism, wireless communication module, which receives wireless signal, to be occurred compared with strong signal gain and/or PMIDWhen < PMIN+3dBm, increase the value 5dBm/ of upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWERIt is secondary, until PMID >=PMIN+3dBm.
In short distance recognition mechanism, when wireless communication module receives wireless signal appearance compared with strong signal gain, initially matchIt sets upper limit signal strength RSSI_UPPER and is set as -55dBm, low-limit signal intensity RSSI_LOWER is -65dBm.
Far from recognition mechanism, wireless communication module receives wireless signal appearance compared with strong signal decaying and/or PMIDWhen > PMAX -3dBm, the value 5dBm/ of upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER are reducedIt is secondary, until PMID≤PMIN -3dBm.
Far from recognition mechanism, when wireless communication module receives wireless signal appearance compared with strong signal decaying, initially matchIt sets upper limit signal strength RSSI_UPPER and is set as -85dBm, be -95dBm by limit signal strength RSSI_LOWER.
By short distance recognition mechanism or far from recognition mechanism, wireless communication module receives the signal of wireless signalWhen the consistency of intensity RSSI_R is good, the difference of upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER are adjustedValue is 10dBm.
The present embodiment wireless device A and/or wireless device B wireless communication distal end server, wireless device A and/orWireless device B uploads all data generated when distance identification every time;Server is controlled according to all data of acquisition without traditional thread bindingSet A and/or wireless device B adjustment small-power PMIN, middle power PMID, high-power PMAX and upper limit signal strength RSSI_The value of UPPER, low-limit signal intensity RSSI_LOWER.
In some embodiments, it after the distance between wireless device A and/or wireless device B are divided into 7 ranks, selectsSecondary range identification identifies wireless device A and wireless device B secondary range, to improve between wireless device A and wireless device BThe accuracy of identification of distance, it is specific as follows.
It determines the distance between wireless device A and wireless device B grade, receives and send new further according to distance level scaleThe wireless signal of small-power PMIN2, middle power PMID2 and high-power PMAX2.The present embodiment is according to small-power PMIN2, centreSecondary identification the distance between the wireless device A and wireless device B of the wireless signal of power P MID2 and high-power PMAX2.
Between wireless device A and wireless device B apart from grade be L1 or L2 or L3 when, configure small-power PMIN2=PMIN, middle power PMID2=PMID- (PMID-PMIN)/2, high-power PMAX2=PMID.
Between wireless device A and wireless device B apart from grade be L5 or L6 or L7 when, configure small-power PMIN2=PMID, middle power PMID2=PMID+ (PMAX-PMID)/2, high-power PMAX2=PMAX.
Between wireless device A and wireless device B apart from grade be L4 when, judge wireless device A's and wireless device BApart from approximated reference distance RD;It configures small-power PMIN2=PMID- (PMID-PMIN)/2, high-power PMID2=PMID, big functionRate PMAX2=PMID+ (PMAX-PMID)/2.
In some embodiments, wireless device A and/or wireless device B is stored with RSSI signal quality-apart from approximate conversionTable, wireless device A and/or wireless device B are according to the average value RvPMIN of the signal strength RSSI of three different transmission powers, flatMean value RvPMID and average value RvPMAX searches wireless device A and without traditional thread binding in RSSI signal quality-apart from approximate conversion tableThe approximate distance for setting B, for proofreading the distance identified between wireless device A and wireless device B.
Embodiment two
Referring to FIG. 2, the present embodiment discloses between a kind of wireless device apart from recognition methods;Method energy through this embodimentEnough realize the distance identification of wireless device B and signal source.
Signal source sends wireless signal group to wireless device B, and wireless signal group includes the wireless signal of three kinds of different capacities,That is small-power PMIN, middle power PMID and high-power PMAX.
Wireless device B receives 5 wireless signal groups that signal source is sent, and wireless signal group includes small-power PMIN, centreThree kinds of wireless signals of power P MID and high-power PMAX.
Wireless device respectively evaluates the signal quality of three kinds of wireless signals after receiving 5 wireless signal groups, is used forThe distance between confirmation signal source and wireless device B.The present embodiment is carried out with wireless signal of the wireless device B to small-power PMINFor evaluation:
It is strong that the corresponding signal of wireless signal is obtained after the wireless signal of wireless device B reception signal source transmission small-power PMINSpend RSSI_R;The signal strength and upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER ratio that will acquire againCompared with obtaining the evaluation of estimate of wireless signal.
Signal strength RSSI_R is greater than or equal to upper limit signal strength RSSI_UPPER, and the evaluation of estimate of wireless signal is+2;Signal strength RSSI_R is less than upper limit signal strength RSSI_UPPER, is greater than low-limit signal intensity RSSI_LOWER, wireless signalEvaluation of estimate be+1;Signal strength RSSI_R is less than or equal to low-limit signal intensity RSSI_LOWER, the evaluation of estimate of wireless signalIt is 0.
The corresponding evaluation of estimate of wireless signal of the cumulative 5 small-power PMIN of wireless device B, obtains the statistical value of signal strengthPMIN_RC。
Identical with above scheme, wireless device B receives the nothing that signal source sends middle power PMID and high-power PMAXAfter line signal, the wireless signal phase of the wireless signal corresponding statistical value PMID_RC and high-power PMAX of middle power PMID is obtainedAnswer statistical value PMAX_RC.
Wireless device B obtains small-power according to statistical value PMIN_RC, statistical value PMID_RC and statistical value PMAX_RC respectivelyThe reliability level of the wireless signal of PMIN, middle power PMID and high-power PMAX.
The present embodiment is obtained according to statistical value PMIN_RC for the corresponding reliability level of wireless signal of small-power PMIN:
Judge that PMIN_RC is greater than 2 × 5 × 0.9, indicates the nothing for passing through small-power PMIN between signal source and wireless device BLine signal, it is ensured that 90% or more normal communication;The corresponding credit rating of small-power PMIN is outstanding, i.e. reliability levelPMIN_RL=Y.
PMIN_RC is judged less than 2 × 5 × 0.1, indicates the nothing for passing through small-power PMIN between signal source and wireless device BLine signal communication, normal communication are no more than 10%;The corresponding credit rating of small-power PMIN is bad, i.e. reliability level PMIN_RL=X.
Judge that PMIN_RC is less than or equal to 2 × 5 × 0.9 and PMIN_RC and is greater than or equal to 2 × 5 × 0.1, indicates signalPass through the communicating wireless signals of small-power PMIN between source and wireless device B, normal communication is unstable;Small-power PMIN is correspondingCredit rating is abnormal, i.e. reliability level PMIN_RL=Z.
It is identical with above scheme, obtain the reliable of the reliability level PMID_RL and high-power PMAX of middle power PMIDGrade PMAX_RL.
After wireless device B obtains reliability level PMIN_RL, reliability level PMID_RL and reliability level PMAX_RL, sentenceThe distance state of break signal source and wireless device B, it is specific as follows.
PMIN_RL=Y, PMID_RL=Y and PMAX_RL=Y;It is L1 grades apart from rank, indicates wireless device B and signalSource is close, and distance state is close;
PMIN_RL=Z, PMID_RL=Y and PMAX_RL=Y;It is L2 grades apart from rank, indicates wireless device B and signalSource is in the critical part of minimum power communication, and distance state is by near critical;
PMIN_RL=X, PMID_RL=Y and PMAX_RL=Y;It is L3 grades apart from rank, indicates wireless device B and signalSource is in other than minimum power communication, and within middle power communication, distance state is within centre;
PMIN_RL=X, PMID_RL=Z and PMAX_RL=Y;It is L4 grades apart from rank, indicates wireless device B and signalSource is at middle power communication critical, and distance state is middle critical;
PMIN_RL=X, PMID_RL=X and PMAX_RL=Y;It is L5 grades apart from rank, indicates wireless device B and signalSource is in other than middle power communication, and within high-power communication, defining distance state is other than centre;
PMIN_RL=X, PMID_RL=X and PMAX_RL=Z;It is L6 grades apart from rank, indicates wireless device B and signalSource is at high-power communication critical, and distance state is far from critical;
PMIN_RL=X, PMID_RL=X and PMAX_RL=X;It is L7 grades apart from rank, indicates wireless device B and signalSource is in other than high-power communication, and distance state is separate.
Embodiment three
Referring to FIG. 3, the signal source of embodiment two is replaced with the nothing that can emit and receive wireless signal by the present embodimentLine apparatus A.
The wireless device A of the present embodiment is as follows to wireless device B transmission wireless signal group configuration.
Wireless device B receive wireless device A send 5 wireless signal groups, wireless signal group include small-power PMIN, inBetween power P MID and high-power PMAX three kinds of wireless signals.
Wireless device respectively evaluates the signal quality of three kinds of wireless signals after receiving 5 wireless signal groups, is used forThe distance between confirmation signal source and wireless device B.The present embodiment is carried out with wireless signal of the wireless device B to small-power PMINFor evaluation:
It is strong that the corresponding signal of wireless signal is obtained after the wireless signal of wireless device B reception signal source transmission small-power PMINSpend RSSI_R;The signal strength and upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER ratio that will acquire againCompared with obtaining the evaluation of estimate of wireless signal.
The corresponding evaluation of estimate of wireless signal of the cumulative 5 small-power PMIN of wireless device B, obtains the statistical value of signal strengthPMIN_RC_AB。
Identical with above scheme, wireless device B receives the nothing that signal source sends middle power PMID and high-power PMAXAfter line signal, the wireless signal of the wireless signal corresponding statistical value PMID_RC_AB and high-power PMAX of middle power PMID is obtainedCorresponding statistical value PMAX_RC_AB.
The wireless device B of the present embodiment is as follows to wireless device A transmission wireless signal group configuration.
Wireless device A receive wireless device B send 5 wireless signal groups, wireless signal group include small-power PMIN, inBetween power P MID and high-power PMAX three kinds of wireless signals.
Wireless device A respectively evaluates the signal quality of three kinds of wireless signals after receiving 5 wireless signal groups, is used forThe distance between confirmation signal source and wireless device B.The present embodiment is carried out with wireless signal of the wireless device B to small-power PMINFor evaluation:
It is strong that the corresponding signal of wireless signal is obtained after the wireless signal of wireless device A reception signal source transmission small-power PMINSpend RSSI_R;The signal strength and upper limit signal strength RSSI_UPPER and low-limit signal intensity RSSI_LOWER ratio that will acquire againCompared with obtaining the evaluation of estimate of wireless signal.
The corresponding evaluation of estimate of wireless signal of the cumulative 5 small-power PMIN of wireless device A, obtains the statistical value of signal strengthPMIN_RC_BA。
Identical with above scheme, wireless device A receives the nothing that signal source sends middle power PMID and high-power PMAXAfter line signal, the wireless signal of the wireless signal corresponding statistical value PMID_RC_BA and high-power PMAX of middle power PMID is obtainedCorresponding statistical value PMAX_RC_BA.
Wireless device A and/or wireless device B are according to PMIN_RC_AB, PMID_RC_AB, PMAX_RC_AB, PMIN_RC_BA, PMID_RC_BA and PMAX_RC_BA obtain the wireless signal of small-power PMIN, middle power PMID and high-power PMAXReliability level.
Wireless device A and/or wireless device B is wireless according to small-power PMIN, middle power PMID and high-power PMAX'sBetween the reliability level wireless device A and wireless device B of signal apart from rank and distance state.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this fieldFor art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repairChange, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.