Summary of the invention
The purpose of the present invention is to provide a kind of dynamic switching method, self-organizing network nodes and no-manned machine distant controls for communicating frequency point
System when so that the frequency point communicated between self-organizing network nodes being interfered, can obtain new available clean frequency automatically
Point, to ensure that the high quality communication between self-organizing network nodes.
In order to solve the above technical problems, embodiments of the present invention provide a kind of dynamic switching method for communicating frequency point,
It comprises the steps of:
The channel quality of self-organizing network nodes real-time detection present communications frequency point;
If the channel quality of present communications frequency point is lower than the first pre-determined threshold, peer node is notified to obtain fixed intervals
For measuring the measurement time slot of pilot frequency point, and in the measurement time slot, the pilot frequency point in alien frequencies point list is measured;
The self-organizing network nodes choose the target frequency point of frequency handover according to the measurement result to each pilot frequency point, and will lead to
Believe frequency handover to the target frequency point.
Embodiments of the present invention additionally provide a kind of self-organizing network nodes, include:
Detection module, the channel quality for real-time detection present communications frequency point;
Measurement time slot distribution module, for detecting the channel quality of present communications frequency point lower than the in the detection module
When one pre-determined threshold, the measurement time slot for being used to measure pilot frequency point of fixed intervals is distributed;
Notification module, for notifying peer node to obtain the measurement time slot of the measurement time slot distribution module distribution;
Measurement module, for being measured to the pilot frequency point in alien frequencies point list in the measurement time slot;
Switching module chooses the target of frequency handover for the measurement result according to the measurement module to each pilot frequency point
Frequency point, and frequency handover will be communicated to the target frequency point.
Embodiments of the present invention additionally provide a kind of no-manned machine distant control system, include: unmanned plane and remote controler, the nothing
It is man-machine to include:
Detection module, the channel quality for real-time detection present communications frequency point;
Measurement time slot distribution module, for detecting the channel quality of present communications frequency point lower than the in the detection module
When one pre-determined threshold, the measurement time slot for being used to measure pilot frequency point of fixed intervals is distributed;
Notification module, for notifying the remote controler to obtain the measurement time slot of the measurement time slot distribution module distribution;
Measurement module, for being measured to the pilot frequency point in alien frequencies point list in the measurement time slot;
Switching module chooses the target of frequency handover for the measurement result according to the measurement module to each pilot frequency point
Frequency point, and frequency handover will be communicated to the target frequency point.
Embodiment of the present invention in terms of existing technologies, when self-organizing network nodes detect that communication quality drops to centainly
The handover mechanism of starting communication frequency point when thresholding, when notice peer node obtains the measurement for being used to measure pilot frequency point of fixed intervals
Gap, and in the measurement time slot, the pilot frequency point in alien frequencies point list is measured, to capture clean frequency point as frequency
The target frequency point of point switching, carries out the switching of communication frequency point.So that ad hoc network is when being interfered, it can be with switching at runtime extremely
Clean frequency point ensure that the communication quality of ad hoc network.Moreover, realizing simply, do not need to increase additional hardware spending.
Preferably, self-organizing network nodes are unmanned plane, and the peer node is the remote controler for controlling the unmanned plane.Due to
Variation on room and time can occur for the flight of unmanned plane, and be likely to during flight can be by for the frequency point of initial communication
To interference, and then influence communication quality.Therefore by carrying out the detection of the communication quality of frequency point by unmanned plane, and communication is triggered
The handover mechanism of frequency point re-starts initial frequency point search setting it is possible to prevente effectively from being forced to make a return voyage because of communication quality the problem of
The problem of.
Preferably, in the step of notice peer node obtains the measurement time slot for measuring pilot frequency point, the ad hoc network section
The identification number and preset random number generation function according to the self-organizing network nodes are put, when obtaining the measurement of fixed intervals
Gap;The measurement time slot that the self-organizing network nodes will acquire is notified to the peer node.By detection communication quality from group
Net node carries out random algorithm according to the ID of self-organizing network nodes and distributes measurement time slot, reinforms to peer node, realizes simply, and
And can effectively ensure that the node of communicating pair can get completely the same measurement time slot, so that either side be avoided to distribute
Measurement time slot in send signal the problem of.
Preferably, in preset duration T, one at least is carried out to each pilot frequency point in alien frequencies point list by measurement time slot
The measurement of secondary RSSI;Wherein, the T is greater than or equal to the measurement at least once for completing all pilot frequency points in the alien frequencies point list
Required duration;Select the RSSI measured less than the pilot frequency point of the second pre-determined threshold, as candidate switching frequency point;Described
In candidate switching frequency point, the smallest switching frequency point of the RSSI measured is selected, as the target frequency point.By at one section
The measured value of the RSSI of each pilot frequency point, obtains target frequency point in long, and the target frequency point for further ensuring switching is clean frequency
Point, to ensure that the communication quality of ad hoc network.
Preferably, the value of T is set according to the flying speed of unmanned plane and the fixed intervals of measurement time slot, such as flying speed
Faster, the value of T is relatively smaller, and the interval duration of measurement time slot is longer, and the value of T is relatively bigger, it is ensured that rssi measurement
A length of one reasonable assessment duration when assessment.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to each reality of the invention
The mode of applying is explained in detail.However, it will be understood by those skilled in the art that in each embodiment of the present invention,
In order to make the reader understand this application better, many technical details are proposed.But even if without these technical details and base
In the various changes and modifications of following embodiment, each claim of the application technical side claimed also may be implemented
Case.
The first embodiment of the present invention is related to a kind of dynamic switching methods for communicating frequency point, in the present embodiment, when
Self-organizing network nodes detect that the handover mechanism of starting communication frequency point when communication quality drops to certain thresholding, notice peer node obtain
The measurement time slot for being used to measure pilot frequency point of fixed intervals is taken, and in measurement time slot, the alien frequencies in alien frequencies point list is clicked through
Row measurement carries out the switching of communication frequency point to capture clean frequency point as the target frequency point of frequency handover.Present embodiment
It is illustrated by taking unmanned plane and remote controler as an example, detailed process is as shown in Figure 1.
In a step 101, it is switched on as the unmanned plane of self-organizing network nodes, start process and the prior art phase of unmanned plane
Together, details are not described herein.
In a step 102, initial frequency point is selected.Such as one frequency point of unmanned plane manual setting, as with remote controler it
Between communication frequency point, alternatively, initial communication frequency point is set in advance in unmanned plane, unmanned plane gets this automatically after booting
Frequency point is as the communication frequency point between remote controler.
Then, in step 103, the channel quality of unmanned machine testing present communications frequency point.Specifically, due to channel matter
Amount can be embodied by parameters such as the signal-to-noise ratio of reception signal, and signal-to-noise ratio is bigger, illustrates that channel quality is better, conversely, signal-to-noise ratio
It is smaller, illustrate that channel quality is poorer.Therefore, in this step, unmanned plane can be detected according to current collected signal-to-noise ratio
The channel quality of present communications frequency point.
Then, at step 104, unmanned plane judges whether the channel quality of present communications frequency point is lower than the first pre- gating
Limit.
Specifically, the threshold T h1 of a signal-to-noise ratio can be arranged in unmanned plane in advance, letter is being collected each time
It makes an uproar than rear, the signal-to-noise ratio of acquisition is compared with threshold T h1, if being lower than threshold T h1, illustrate channel quality
It is poor, enter step 105;If being not less than threshold T h1, illustrates that channel quality can satisfy communicating requirement, return to step
Rapid 103, continue to test the channel quality of present communications frequency point.Wherein, threshold T h1 can be arranged according to emulation and empirical value.
In specific implementation, can by adding the channel quality judgment module for realizing following logic in unmanned plane,
Complete the execution of step 104:
Wherein, signal quality can be using parameters such as signal-to-noise ratio;According to emulation and empirical value, thresholding Th1 is set.
Then, in step 105 and step 106, unmanned plane notifies peer node (i.e. remote controler) to obtain fixed intervals
For measuring the measurement time slot of pilot frequency point.
Specifically, in step 105, unmanned plane notifies the handover mechanism of remote controler open communication frequency point.
In step 106, the measurement time slot for being used to measure pilot frequency point of unmanned plane distribution fixed intervals.Specifically, nothing
Man-machine self identification number and preset random number generation function, obtain the measurement time slot of fixed intervals.It in specific implementation, can be with
Write a randomized function F_RANDOM (x), which is to generate a random number from 0 to x, using the ID of unmanned plane as
It is randomized seed, i.e., generates the initial position of measurement time slot to measurement period T modulus by F_RANDOM (unmanned plane ID).Complete
After the distribution of measurement time slot, notify the node for guaranteeing communicating pair to remote controler that can get the measurement time slot of distribution
Complete consistent measurement time slot, to avoid the problem that either side sends signal in the measurement time slot of distribution.
Then, in step 107, unmanned plane measures assessment to pilot frequency point using the measurement time slot of distribution, obtains mesh
Mark frequency point.Specifically, the received signal intensity instruction RSSI to each pilot frequency point is measured, if in a measurement time slot
It is interior can not in alien frequencies point list all pilot frequency points measurement, then remaining pilot frequency point will be continued to complete in next measurement time slot
Measurement.Such as 32 pilot frequency points are shared in alien frequencies point list, the survey of 8 pilot frequency points can be completed in a measurement time slot
Amount will then complete the measurement of all pilot frequency points in an alien frequencies point list by 4 measurement time slots.
It at least completes in an alien frequencies point list after the measurement of all pilot frequency points, by the smallest alien frequencies of the RSSI measured
Point is used as target frequency point.Since RSSI is smaller, illustrates that the frequency point is cleaner, i.e., communicated on the frequency point, it will be by less
Interference therefore select the smallest pilot frequency point of RSSI as the target frequency point of frequency handover, can be effectively ensured unmanned plane with it is distant
Control the communication quality between device.
Then, in step 108, the target frequency point that unmanned plane will acquire notifies to give peer node (i.e. remote controler).
Then, in step 109, unmanned plane will communicate frequency handover to target frequency point with remote controler.After step 109,
Return step 103 continues to test the channel quality of present communications frequency point.
It is not difficult to find that in the present embodiment, when communication quality decline, by the handover mechanism of starting communication frequency point, root
, to the measurement result of each pilot frequency point, the target frequency point of frequency handover is chosen, and frequency point will be communicated according in the measurement time slot of distribution
Target frequency point is switched to, may make ad hoc network when being interfered, can ensure that ad hoc network with switching at runtime to clean frequency point
Communication quality.Moreover, realizing simply, do not need to increase additional hardware spending.
Moreover, because the variation on room and time can occur for the flight of unmanned plane, and the frequency point of initial communication is likely to
It will receive interference during flight, and then influence communication quality.Therefore pass through the communication matter by unmanned plane progress frequency point
The detection of amount, and the handover mechanism of communication frequency point is triggered, it is possible to prevente effectively from being forced to make a return voyage again because of communication quality the problem of
The problem of carrying out initial frequency point search setting.
Second embodiment of the present invention is related to a kind of dynamic switching method for communicating frequency point.Second embodiment is first
It is further improved on the basis of embodiment, mainly thes improvement is that: in second embodiment of the invention, to different
In the step of received signal intensity instruction RSSI of frequency point is measured, in preset duration T, pass through the measurement time slot
The measurement of a RSSI is at least carried out to each pilot frequency point in alien frequencies point list;Wherein, it is described different to be greater than or equal to completion by the T
All pilot frequency points measures required duration at least once in frequency point list.Using the smallest pilot frequency point of the RSSI measured as
In the step of target frequency point, candidate switching frequency point is obtained, wherein candidate switching frequency point is the RSSI that measures less than second
The pilot frequency point of pre-determined threshold selects the smallest switching frequency point of the RSSI measured in candidate switching frequency point, as target frequency
Point.
Specifically, unmanned plane periodically measures alien frequencies point list, in regular hour T, RSSI is less than one
The frequency point of fixed threshold value is all included in the frequency point list that can switch, for the wherein the smallest pilot frequency point conduct of RSSI several times recently
Switch frequency point.Wherein, time T need to be greater than or equal to the institute of measurement at least once for completing all pilot frequency points in the alien frequencies point list
The duration needed, to guarantee to complete the measurement of all pilot frequency points in alien frequencies point list at least once.The specific value of time T can
It is set according to the interval of the flying speed combination measurement time slot of unmanned plane, if flying speed is faster, the value of T is opposite more
Small, the interval duration of measurement time slot is longer, and the value of T is relatively bigger, i.e., in the identical situation of interval duration of measurement time slot,
The value of the faster T of flying speed is smaller;In the identical situation of flying speed, the interval duration of measurement time slot is longer, the value of T
It is bigger, when assessment to ensure rssi measurement an a length of reasonable assessment duration.
Appropriate adjustment can be carried out by experiment in actual use.
In specific implementation, the selection of target frequency point can be realized by following logic:
The new frequency point for taking the smallest frequency point of RSSI to be this switching in frequency point list may be selected.
Wherein, thresholding is arranged according to emulation and empirical value in RSSI thresholding Th2 setting.
Certainly, in practical applications, the smallest pilot frequency point of RSSI can also be obtained using other modes, is not limited to this implementation
The scheme of the smallest pilot frequency point of RSSI is obtained involved in mode.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as comprising identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Third embodiment of the invention is related to a kind of self-organizing network nodes, as shown in Fig. 2, comprising:
Detection module, the channel quality for real-time detection present communications frequency point.
Measurement time slot distribution module, for detecting the channel quality of present communications frequency point lower than the in the detection module
When one pre-determined threshold, the measurement time slot for being used to measure pilot frequency point of fixed intervals is distributed.
Notification module, for notifying peer node to obtain the measurement time slot of the measurement time slot distribution module distribution;
Measurement module, for being measured to the pilot frequency point in alien frequencies point list in the measurement time slot;
Switching module chooses the target of frequency handover for the measurement result according to the measurement module to each pilot frequency point
Frequency point, and frequency handover will be communicated to the target frequency point.
It should be noted that measurement module is in preset duration T, by the measurement time slot at least to alien frequencies point list
In each pilot frequency point carry out a RSSI measurement;Wherein, the T is greater than or equal to all different in the completion alien frequencies point list
Frequency point measures required duration at least once.
The switching module includes:
Candidate acquisition submodule, for obtaining candidate switching frequency point, wherein the switching frequency point of the candidate is to measure
RSSI less than the second pre-determined threshold pilot frequency point;
Submodule is selected, in the switching frequency point of the candidate, selecting the smallest switching frequency point of the RSSI measured,
As the target frequency point.
In addition, self-organizing network nodes in present embodiment are unmanned plane, the value of T is according to the flying speed of the unmanned plane
It is set with the fixed intervals of the measurement time slot.In specific implementation, measurement time slot distribution module can be according to the ad hoc network section
The identification number and preset random number generation function of point, obtain the measurement time slot of fixed intervals.
It is noted that each module involved in present embodiment is logic module, and in practical applications, one
A logic unit can be a physical unit, be also possible to a part of a physical unit, can also be with multiple physics lists
The combination of member is realized.In addition, in order to protrude innovative part of the invention, it will not be with solution institute of the present invention in present embodiment
The technical issues of proposition, the less close unit of relationship introduced, but this does not indicate that there is no other single in present embodiment
Member.
Four embodiment of the invention is related to a kind of no-manned machine distant control system, includes unmanned plane and remote controler.Wherein, nobody
Machine is self-organizing network nodes involved in third embodiment, the target frequency that the notification module in self-organizing network nodes is also used to will acquire
Point notice is to remote controler.
It is not difficult to find that present embodiment is system embodiment corresponding with first embodiment, present embodiment can be with
First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment
Effect, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in
In first embodiment.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.