CN107453826B - Micropower wireless frequency locking communication method and device - Google Patents

Micropower wireless frequency locking communication method and device Download PDF

Info

Publication number
CN107453826B
CN107453826B CN201710693517.7A CN201710693517A CN107453826B CN 107453826 B CN107453826 B CN 107453826B CN 201710693517 A CN201710693517 A CN 201710693517A CN 107453826 B CN107453826 B CN 107453826B
Authority
CN
China
Prior art keywords
channel
channels
priority
scanning
turn
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
CN201710693517.7A
Other languages
Chinese (zh)
Other versions
CN107453826A (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.)
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Measurement Center of Guangdong Power Grid Co Ltd
Original Assignee
Electric Power Research Institute of Guangdong Power Grid 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 Electric Power Research Institute of Guangdong Power Grid Co Ltd filed Critical Electric Power Research Institute of Guangdong Power Grid Co Ltd
Priority to CN201710693517.7A priority Critical patent/CN107453826B/en
Publication of CN107453826A publication Critical patent/CN107453826A/en
Application granted granted Critical
Publication of CN107453826B publication Critical patent/CN107453826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/541Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • H04B2001/7154Interference-related aspects with means for preventing interference

Abstract

The invention discloses a micro-power wireless frequency locking communication method and a device, which are used for solving the technical problems that in the actual micro-power wireless communication process, the communication quality is reduced or the communication process cannot be normally carried out due to the fact that the communication is easily interfered by a plurality of signals. The method provided by the embodiment of the invention comprises the following steps: circularly switching in at least two channels at preset time intervals through a frequency hopping timer, scanning the lead codes of the channels and storing the RSSI values of the lead codes obtained by scanning; after all channels are scanned in a preset turn, judging the priority of the channels of which the lead codes are scanned in each turn; when the channel with the highest priority has one channel and only one channel, locking the channel with the highest priority for receiving data; and when the number of the channels with the highest priority is at least two, judging the RSSI values of the at least two channels with the highest priority, and locking the channel with the largest RSSI value for receiving data.

Description

Micropower wireless frequency locking communication method and device
Technical Field
The invention relates to the technical field of micro-power wireless communication, in particular to a micro-power wireless frequency locking communication method and device.
Background
Wireless communication networks, as the technology becomes mature, the signals of communication are clear and stable, and the communication network equipment is convenient to erect and use, are widely used in various special industries. However, in practical applications, the interference from many signals is often caused for various reasons, and if the processing is not good, the signal-to-noise ratio of the receiver is deteriorated, the communication quality is degraded, and the communication is not normally performed even if the processing is heavy.
Particularly, in the power industry, in the actual process of using micropower wireless communication, in addition to being easily interfered by external signals, the micropower wireless communication system may also be influenced by a station area (a power supply range or area of a transformer in a power system) with a same channel around the micropower wireless communication system to the channel communication of the station area, so that the interference signals possibly existing in the communication process need to be avoided, and the communication success rate needs to be improved.
Disclosure of Invention
The embodiment of the invention provides a micropower wireless frequency locking communication method and a micropower wireless frequency locking communication device, which solve the technical problems that in the actual micropower wireless communication process, the communication quality is reduced or the communication process cannot be normally carried out due to the fact that the micropower wireless communication process is easily interfered by a plurality of signals.
The embodiment of the invention provides a micropower wireless frequency locking communication method, which comprises the following steps:
circularly switching in at least two channels at preset time intervals through a frequency hopping timer, scanning the lead codes of the channels and storing the RSSI values of the lead codes obtained by scanning;
after all channels are scanned in a preset turn, judging the priority of the channels of which the lead codes are scanned in each turn;
when the channel with the highest priority has one channel and only one channel, locking the channel with the highest priority for receiving data;
and when the number of the channels with the highest priority is at least two, judging the RSSI values of the at least two channels with the highest priority, and locking the channel with the largest RSSI value for receiving data.
Preferably, completing one scan round for all channels specifically includes:
when the lead code is scanned on one channel, the RSSI value of the lead code is read and stored, and the scanning of the lead code and the storage of the RSSI value of the lead code obtained by scanning are completed on the rest channels in sequence.
Preferably, after completing scanning of all channels in a preset turn, the determining of the priority of the channel in which the preamble is scanned in each turn specifically includes:
after scanning of all channels in a preset turn is completed, whether a receiving end node of the channel is in an on-network state is judged, if yes, channels belonging to a working channel are preferentially selected from the channels scanning the lead codes in each turn to judge the priority, otherwise, only channels belonging to a maintenance channel are selected from the channels scanning the lead codes in each turn to judge the priority.
Preferably, the micropower wireless frequency-locked communication method provided by the embodiment of the present invention further includes:
and adjusting the priority of the channel according to a weight value adjusting algorithm.
Preferably, the weight adjustment algorithm specifically includes:
setting the priority of the channel in a preset grade;
when the channel is locked for data reception and the data reception fails, if the priority level of the channel is higher than the lowest level, performing 1 reduction operation on the priority level of the channel, otherwise, keeping the priority level of the channel unchanged;
when the channel is locked for data receiving and the data are successfully received for two consecutive times, if the priority level of the channel is lower than the highest level, the priority level of the channel is added by 1, otherwise, the priority level of the channel is unchanged;
and when the channel does not carry out data receiving operation in the preset time period, the priority level of the channel is restored to the preset level value.
The embodiment of the invention provides a micropower wireless frequency-locking communication device, which comprises:
the scanning module is used for circularly switching in at least two channels at preset time intervals through the frequency hopping timer, scanning the lead codes of the channels and storing the RSSI values of the lead codes obtained by scanning;
the judging module is used for judging the priority of the channels of which the lead codes are scanned in each turn after all the channels are scanned in the preset turn;
the first receiving module is used for locking the channel with the highest priority for receiving data when the channel with the highest priority has one channel and only one channel;
and the second receiving module is used for judging the RSSI values of the at least two channels with the highest priority and locking the channel with the highest RSSI value for data receiving when the number of the channels with the highest priority is at least two.
Preferably, the scanning module specifically includes:
and the scanning submodule is used for reading and storing the RSSI value of the lead code when the lead code is scanned on one channel, and completing the scanning of the lead code and the storage of the RSSI value of the lead code obtained by scanning on the rest channels according to the sequence.
Preferably, the judging module specifically includes:
and the judging submodule is used for judging whether a receiving end node of the channel is in an on-network state or not after scanning of all channels in a preset turn is finished, if so, preferentially selecting the channels belonging to the working channel from the channels scanning the lead codes in each turn to judge the priority, and otherwise, only selecting the channels belonging to the maintenance channel from the channels scanning the lead codes in each turn to judge the priority.
The micro-power wireless frequency-locking communication device provided by the embodiment of the invention further comprises:
and the adjusting module is used for adjusting the priority of the channel according to the weight value adjusting algorithm.
Preferably, the adjusting module specifically includes:
the setting submodule is used for setting the preset grade of the priority of the channel;
the gear-reducing submodule is used for carrying out 1-reducing operation on the priority level of the channel if the priority level of the channel is higher than the lowest level after the channel is locked for data reception and the data reception fails, otherwise, the priority level of the channel is unchanged;
the upshifting submodule is used for carrying out upshifting operation on the priority level of the channel if the priority level of the channel is lower than the highest level after the channel is locked for data receiving and the data are successfully received for two continuous times, otherwise, the priority level of the channel is not changed;
and the recovery submodule is used for recovering the priority level of the channel to a preset level value when the channel does not carry out data receiving operation in a preset time period.
According to the technical scheme, the embodiment of the invention has the following advantages:
by performing frequency hopping cycle switching in at least two channels and storing the scanning of the lead codes and the corresponding Strength Indication value (RSSI) of the Received signals of the lead codes, when one channel of the lead codes is scanned, the channel can be directly locked as a channel for receiving data; or when a plurality of channels of the lead codes are scanned, the channels with high priority are screened out for data reception by judging the priority of the channels; or further, the channels are further screened by judging the RSSI value of the lead code so as to screen out effective communication channels. In the embodiment of the invention, frequency hopping selection is carried out on multiple channels, and compared with single-channel communication, selective communication can be carried out on multiple channels under the condition of external signal interference, so that the flexibility of interference resistance in the communication process is greatly enhanced; furthermore, the priority of the channel is utilized to screen the channel, so that external interference signals can be effectively avoided, and effective channels can be screened; in addition, the RSSI value of the lead code received and stored by the channel can be judged and compared, the interference of the same channel of the adjacent station area can be effectively avoided (the RSSI value can be relatively smaller due to the fact that the channel interference signal of the non-local station area is far away), the interference signal is effectively avoided in multiple layers by organically combining the multi-channel frequency hopping, priority judgment and the RSSI value comparison, the communication success rate is greatly improved, and the technical problem that in the actual micro-power wireless communication process, the communication quality is reduced or the communication process cannot be normally carried out due to the fact that the interference of a plurality of signals is easily received is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an embodiment of a micro-power wireless frequency-locked communication method according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a micro-power wireless frequency-locked communication method according to another embodiment of the present invention.
Fig. 3 is a flowchart illustrating an embodiment of a micro-power wireless frequency-locked communication method according to the present invention.
Fig. 4 is a schematic structural diagram of a micro-power wireless frequency-locked communication device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a micro-power wireless frequency locking communication method and device, which are used for solving the technical problems that in the actual micro-power wireless communication process, the communication quality is reduced or the communication process cannot be normally carried out due to the fact that the communication is easily interfered by a plurality of signals.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, a flow chart of an embodiment of a micro-power wireless frequency-locked communication method according to an embodiment of the present invention is shown.
An embodiment of a micropower wireless frequency-locking communication method provided by the embodiment of the invention includes:
s101, circularly switching in at least two channels at preset time intervals through a frequency hopping timer, scanning the lead codes of the channels, and storing the RSSI values of the scanned lead codes.
When a plurality of channels are set, the timing and frequency hopping time of the frequency hopping timer needs to be set to perform round-trip cyclic switching in each channel, and the preamble signal is monitored, that is, the frequency hopping timer interval is set to a fixed time (for example, 6ms, which can be set according to actual requirements, and is not specifically limited here), and the channel is switched once every other fixed time to monitor and receive the preamble signal. Taking four channels as an example, the frequency hopping channels of the multi-channel frequency hopping are divided into channel one, channel two, channel three and channel four. The receiving end node will switch channels in sequence at certain time intervals in the four channels, and listen for the preamble signal. If the channel is switched once every 6ms, the channels are switched back and forth among the channel one, the channel two, the channel three and the channel four, and when the lead code is monitored and scanned within the time of 6ms, the RSSI value of the lead code is read and stored.
S102, after all channels are scanned in a preset turn, the priority of the channels with the lead codes scanned in each turn is judged.
In order to ensure that the received preamble signal is a valid preamble signal, all channels need to be scanned in a preset turn (e.g., two turns), and the preamble signal is considered to be received in the channel only when the preamble signal is scanned in each turn in the same channel, so as to avoid mistaking other interference signals as the preamble signal. Specifically, the scanning of all channels in one turn is to read and store the RSSI value of the preamble when the preamble is scanned in one channel, and to sequentially complete the scanning of the preamble and the storage of the RSSI value of the scanned preamble in the remaining channels. Taking four channels as an example, when the preamble signal is received on channel two, the scanning of the preamble signal is completed by sequentially rotating channels three, four and one, and then the scanning is recorded as a round of scanning. After the scanning of the four channels is completed for two rounds, the priority of the channels which have scanned the preamble signal in the scanning of the two rounds is judged. If the second channel and the fourth channel scan the preamble signals in two scanning rounds, the priority can be judged, and the third channel which scans the preamble signals in one scanning round can be filtered out without consideration.
It should be noted that, if only one channel (e.g., channel one) scans the preamble after all channels have been scanned for a predetermined number of times, and none of the remaining channels scans the preamble, the channel (channel one) may be directly locked for data reception.
And S103, when the channel with the highest priority has only one channel, locking the channel with the highest priority for receiving data.
In the process of judging the priority of the channels which scan the preamble codes in each turn, if the channel with the highest priority has only one channel, the channel with the highest priority is locked for data reception. If the second channel and the fourth channel scan the preamble in each turn, and the priority of the second channel is higher than that of the fourth channel, the second channel with higher priority is locked for data reception.
And S104, when the number of the channels with the highest priority is at least two, judging the RSSI values of the at least two channels with the highest priority, and locking the channel with the highest RSSI value for data reception.
In the process of judging the priority of the channels which scan the lead codes in each turn, if the number of the channels with the highest priority is at least two, the RSSI values of the at least two channels with the highest priority are measured, and the channel with the largest RSSI value is locked for data reception. If the priority of the second channel is equal to that of the fourth channel and the channel with the highest priority is scanned in each turn, judging and comparing the RSSI values of the second channel and the fourth channel, and if the RSSI value of the second channel is greater than that of the fourth channel, locking the second channel for data reception.
In the embodiment of the invention, through carrying out frequency hopping cycle switching in at least two channels, scanning the lead code and storing the RSSI value of the corresponding lead code, when one channel of the lead code is scanned, the channel can be directly locked as a channel for receiving data; or when a plurality of channels of the lead codes are scanned, the channels with high priority are screened out for data reception by judging the priority of the channels; or further, the channels are further screened by judging the RSSI value of the lead code so as to screen out effective communication channels. In the embodiment of the invention, frequency hopping selection is carried out on multiple channels, and compared with single-channel communication, selective communication can be carried out on multiple channels under the condition of external signal interference, so that the flexibility of interference resistance in the communication process is greatly enhanced; furthermore, the priority of the channel is utilized to screen the channel, so that external interference signals can be effectively avoided, and effective channels can be screened; in addition, the RSSI value of the lead code received and stored by the channel can be judged and compared, the interference of the same channel of the adjacent station area can be effectively avoided (the RSSI value can be relatively smaller due to the fact that the channel interference signal of the non-local station area is far away), the interference signal is effectively avoided in multiple layers by organically combining the multi-channel frequency hopping, priority judgment and the RSSI value comparison, the communication success rate is greatly improved, and the technical problem that in the actual micro-power wireless communication process, the communication quality is reduced or the communication process cannot be normally carried out due to the fact that the interference of a plurality of signals is easily received is solved.
Example two:
referring to fig. 2, a flow chart of another embodiment of a micro-power wireless frequency-locked communication method according to an embodiment of the present invention is shown.
Referring to fig. 3, a flow chart of an embodiment of a micro-power wireless frequency-locked communication method according to the present invention is shown.
The micro-power wireless frequency locking communication method provided by the embodiment of the invention comprises the following steps:
s201, circularly switching in at least two channels at preset time intervals through a frequency hopping timer, scanning the lead codes of the channels, and storing the RSSI values of the scanned lead codes.
The implementation of S201 is similar to S101, and is not described here again.
S202, after scanning of all channels in a preset turn is completed, whether a receiving end node of the channel is in an on-line state or not is judged, if yes, channels belonging to a working channel are preferentially selected from the channels scanned with the lead codes in each turn to be judged in priority, and if not, only channels belonging to a maintenance channel are selected from the channels scanned with the lead codes in each turn to be judged in priority.
In order to ensure that the received preamble signal is a valid preamble signal, all channels need to be scanned in a preset turn (e.g., two turns), and the preamble signal is considered to be received in the channel only when the preamble signal is scanned in each turn in the same channel, so as to avoid mistaking other interference signals as the preamble signal. Specifically, the scanning of all channels in one turn is to read and store the RSSI value of the preamble when the preamble is scanned in one channel, and to sequentially complete the scanning of the preamble and the storage of the RSSI value of the scanned preamble in the remaining channels. Taking four channels as an example, when the preamble signal is received on channel two, the scanning of the preamble signal is completed by sequentially rotating channels three, four and one, and then the scanning is recorded as a round of scanning. After the scanning of the four channels is completed for two rounds, the priority of the channels which have scanned the preamble signal in the scanning of the two rounds is judged. If the second channel and the fourth channel scan the preamble signals in two scanning rounds, the priority can be judged, and the third channel which scans the preamble signals in one scanning round can be filtered out without consideration.
It should be noted that, if only one channel (e.g., channel one) scans the preamble after all channels have been scanned for a predetermined number of times, and none of the remaining channels scans the preamble, the channel (channel one) may be directly locked for data reception.
In addition, after the preset rounds of scanning are completed on all channels, whether the receiving end node of the channel is in the on-network state or not is judged, namely whether the receiving end node is in the on-network state or not is judged, and if yes, the channel belonging to the working channel is preferentially selected from the channels scanned to the lead code in each round to be judged in priority. Taking four channels as an example, if a preamble is scanned in each turn by a channel one, a channel two and a channel four, the channel one and the channel two belong to working channels, and the channel four belongs to maintenance channels, the channel one and the channel two are selected to judge the priority; if only the first channel and the fourth channel have scanned the preamble in each round, the first channel is the working channel, and the fourth channel is the maintenance channel, the first channel can be locked for data reception. In addition, if the receiving end node of the channel is not in the on-network state, only the channel belonging to the maintenance channel in the channels of which the lead codes are scanned in each round is selected for judging the priority. Taking four channels as an example, if a channel I, a channel II and a channel IV have scanned lead codes in each round, the channel I and the channel II belong to maintenance channels, and the channel IV belongs to a working channel, the channel I and the channel II are selected to judge the priority; if only the first channel and the fourth channel have scanned the preamble in each round, and the first channel is the maintenance channel and the fourth channel is the working channel, the first channel can be locked for data reception.
And S203, when the channel with the highest priority has only one channel, locking the channel with the highest priority for receiving data.
When the priorities of the channels are judged and compared, if the channel with the highest priority has one and only one channel (namely, the priority of one channel is higher than the priorities of the rest channels), the channel with the highest priority can be locked for receiving data.
S204, when the number of the channels with the highest priority is at least two, judging the RSSI values of the at least two channels with the highest priority, and locking the channel with the largest RSSI value for data reception.
If the number of the channels with the highest priority is at least two (namely, the priority of at least two channels is equal to and higher than the priority of the rest channels), the RSSI values of at least two channels with the highest priority are judged, namely, the RSSI values of a plurality of channels with the highest priority are compared, and the channel with the highest RSSI value is locked for data reception. The RSSI value determination is to screen the signal strength when multiple channels receive signals simultaneously, and preferentially select a channel with good signal strength for frequency locking, which is also to increase the probability of successful reception.
S205, the priority of the channel is adjusted according to the weight value adjusting algorithm.
The setting and adjustment of the priority of the channel can be realized by a weight value adjustment algorithm.
In a real communication environment, there may be complex situations such as adjacent channel signal interference, continuous code stream interference, etc., which may result in occasional communication failures. A frequency lock error condition occurs when adjacent channel interference occurs, i.e., the locked frequency channel is not the frequency channel for data transmission. When the continuous code stream is interfered, if the continuous code stream is always locked on the interfered frequency channel, the communication failure can also be caused. In order to reduce frequency locking errors, frequency locking strategies and algorithms can be considered in channel selection, and the success rate of receiving can be obviously improved. The priority weight value adjusting algorithm is a process of increasing or decreasing the priority weight value of a receiving channel after the frame receiving is successful or failed. After frequency locking, the preamble code is received overtime and the frame reception is considered to be failed; receipt of a complete frame is considered correct.
The weight value adjusting algorithm specifically comprises the following steps:
the priority of the channel is set in a preset level, for example, the priority of the channel is set in four levels, which are 0, 1, 2, and 3, respectively, and the initial priority of the channel is set as a default value, which may be 2.
When the channel is locked for data reception and data reception fails, if the priority level of the channel is higher than the lowest level, performing a 1-reducing operation on the priority level of the channel (i.e. after the channel performs data reception and data reception fails, if the priority level of the channel is higher than 0 level, performing a 1-reducing operation on the priority level of the channel, such as reducing 3 level to 2 level or reducing 2 level to 1 level), otherwise, keeping the priority level of the channel unchanged (i.e. keeping 0 level unchanged when the priority level is 0 level).
After the channel is locked for data reception and data reception is successful twice, if the priority level of the channel is lower than the highest level, performing a 1-adding operation on the priority level of the channel (i.e., when the priority level of the channel is still lower than the highest level 3, performing a 1-adding operation on the priority level of the channel), otherwise, keeping the priority level of the channel unchanged (i.e., when the priority level of the channel is the highest level 3, keeping the level unchanged).
And when the channel does not carry out data receiving operation in the preset time period, the priority level of the channel is restored to the preset level value. If the channel is not engaged in a communication operation for a period of time (e.g., 15 minutes), the priority level of the channel is restored to a preset level value (regardless of which level the priority level of the current channel is in), i.e., a default value.
In the embodiment of the invention, through carrying out frequency hopping cycle switching in at least two channels, scanning the lead code and storing the RSSI value of the corresponding lead code, when one channel of the lead code is scanned, the channel can be directly locked as a channel for receiving data; or when a plurality of channels of the lead codes are scanned, the channels with high priority are screened out for data reception by judging the priority of the channels; or further, the channels are further screened by judging the RSSI value of the lead code so as to screen out effective communication channels. In the embodiment of the invention, frequency hopping selection is carried out on multiple channels, and compared with single-channel communication, selective communication can be carried out on multiple channels under the condition of external signal interference, so that the flexibility of interference resistance in the communication process is greatly enhanced; the channels are further screened by utilizing the priority of the channels, so that external interference signals can be effectively avoided, effective channels are screened, and the priority of the channels can be adjusted in real time through a weight value adjusting algorithm according to the success or failure of receiving data by the channels, thereby ensuring the real-time updating of the priority of the channels and improving the reliability of eliminating the interference signals by adopting the priority of the channels; in addition, the RSSI value of the lead code received and stored by the channel can be judged and compared, the interference of the same channel of the adjacent station area can be effectively avoided (the RSSI value can be relatively smaller due to the fact that the channel interference signal of the non-local station area is far away), the interference signal is effectively avoided in multiple layers by organically combining the multi-channel frequency hopping, priority judgment and the RSSI value comparison, the communication success rate is greatly improved, and the technical problem that in the actual micro-power wireless communication process, the communication quality is reduced or the communication process cannot be normally carried out due to the fact that the interference of a plurality of signals is easily received is solved.
Example three:
referring to fig. 4, a schematic structural diagram of a micro-power wireless frequency-locked communication device according to an embodiment of the present invention is shown.
The micro-power wireless frequency-locking communication device provided by the embodiment of the invention comprises:
the scanning module 301 is configured to perform cyclic switching in at least two channels at preset intervals by using a frequency hopping timer, scan a preamble of the channel, and store an RSSI value of the scanned preamble.
The scanning module 301 specifically includes:
the scanning sub-module 3011 is configured to, when a preamble is scanned on one channel, read and store an RSSI value of the preamble, and complete scanning of the preamble and storing of the RSSI value of the scanned preamble in order on the remaining channels.
The determining module 302 is configured to determine the priority of the channel on which the preamble is scanned in each turn after all channels are scanned in a preset turn.
The determining module 302 specifically includes:
the determining submodule 3021 is configured to determine whether a receiving end node of a channel is in an on-network state after scanning all channels in a preset turn is completed, if yes, preferentially select a channel belonging to a working channel from channels in which a preamble is scanned in each turn, and determine a priority, otherwise, select only a channel belonging to a maintenance channel from channels in which a preamble is scanned in each turn, and determine the priority.
A first receiving module 303, configured to lock the channel with the highest priority for data reception when there is only one and only one channel with the highest priority.
The second receiving module 304 is configured to, when there are at least two channels with the highest priority, determine the magnitudes of the RSSI values of the at least two channels with the highest priority, and lock the channel with the largest RSSI value for data reception.
And an adjusting module 305, configured to adjust the priority of the channel according to a weight adjusting algorithm.
The adjusting module 305 specifically includes:
the setting sub-module 3051 is configured to set a preset level for the priority of the channel.
The down-shift sub-module 3052 is configured to, after the channel is locked for data reception and data reception fails, perform a down-shift operation on the priority level of the channel if the priority level of the channel is higher than the lowest level, and otherwise, leave the priority level of the channel unchanged.
The upshifting submodule 3053 is configured to, after the channel is locked for data reception and data reception succeeds twice, perform an operation of adding 1 to the priority level of the channel if the priority level of the channel is lower than the highest level, and otherwise, keep the priority level of the channel unchanged.
The recovery sub-module 3054 is configured to, when the channel does not perform a data receiving operation within a preset time period, recover the priority level of the channel to a preset level value.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A micro-power wireless frequency-locked communication method is characterized by comprising the following steps:
circularly switching in at least two channels at preset time intervals through a frequency hopping timer, scanning the lead codes of the channels and storing the RSSI values of the lead codes obtained by scanning;
after all channels are scanned in a preset turn, judging the priority of the channels of which the lead codes are scanned in each turn;
when the channel with the highest priority has one channel and only one channel, locking the channel with the highest priority for receiving data;
and when the number of the channels with the highest priority is at least two, judging the RSSI values of the at least two channels with the highest priority, and locking the channel with the largest RSSI value for receiving data.
2. The micropower wireless frequency-locked communication method according to claim 1, wherein completing one round of scanning for all channels specifically comprises:
when the lead code is scanned on one channel, the RSSI value of the lead code is read and stored, and the scanning of the lead code and the storage of the RSSI value of the lead code obtained by scanning are completed on the rest channels in sequence.
3. The micropower wireless frequency-locked communication method according to claim 1, wherein the determining the priority of the channel on which the preamble is scanned in each turn after the preset turn of scanning is completed on all channels specifically comprises:
after scanning of all channels in a preset turn is completed, whether a receiving end node of the channel is in an on-network state is judged, if yes, channels belonging to a working channel are preferentially selected from the channels scanning the lead codes in each turn to judge the priority, otherwise, only channels belonging to a maintenance channel are selected from the channels scanning the lead codes in each turn to judge the priority.
4. The micropower wireless frequency-locked communication method according to claim 1, further comprising:
and adjusting the priority of the channel according to a weight value adjusting algorithm.
5. The micropower wireless frequency-locking communication method according to claim 4, wherein the weight adjustment algorithm specifically comprises:
setting the priority of the channel in a preset grade;
when the channel is locked for data reception and the data reception fails, if the priority level of the channel is higher than the lowest level, performing 1 reduction operation on the priority level of the channel, otherwise, keeping the priority level of the channel unchanged;
when the channel is locked for data receiving and the data are successfully received for two consecutive times, if the priority level of the channel is lower than the highest level, the priority level of the channel is added by 1, otherwise, the priority level of the channel is unchanged;
and when the channel does not carry out data receiving operation in the preset time period, the priority level of the channel is restored to the preset level value.
6. A micropower wireless frequency-locked communication device, comprising:
the scanning module is used for circularly switching in at least two channels at preset time intervals through the frequency hopping timer, scanning the lead codes of the channels and storing the RSSI values of the lead codes obtained by scanning;
the judging module is used for judging the priority of the channels of which the lead codes are scanned in each turn after all the channels are scanned in the preset turn;
the first receiving module is used for locking the channel with the highest priority for receiving data when the channel with the highest priority has one channel and only one channel;
and the second receiving module is used for judging the RSSI values of the at least two channels with the highest priority and locking the channel with the highest RSSI value for data receiving when the number of the channels with the highest priority is at least two.
7. The micropower wireless frequency-locked communication device according to claim 6, wherein the scanning module specifically comprises:
and the scanning submodule is used for reading and storing the RSSI value of the lead code when the lead code is scanned on one channel, and completing the scanning of the lead code and the storage of the RSSI value of the lead code obtained by scanning on the rest channels according to the sequence.
8. The micropower wireless frequency-locked communication device according to claim 6, wherein the determining module specifically comprises:
and the judging submodule is used for judging whether a receiving end node of the channel is in an on-network state or not after scanning of all channels in a preset turn is finished, if so, preferentially selecting the channels belonging to the working channel from the channels scanning the lead codes in each turn to judge the priority, and otherwise, only selecting the channels belonging to the maintenance channel from the channels scanning the lead codes in each turn to judge the priority.
9. The micropower wireless frequency-locked communication device of claim 6, further comprising:
and the adjusting module is used for adjusting the priority of the channel according to the weight value adjusting algorithm.
10. The micropower wireless frequency-locked communication device according to claim 9, wherein the adjusting module specifically comprises:
the setting submodule is used for setting the preset grade of the priority of the channel;
the gear-reducing submodule is used for carrying out 1-reducing operation on the priority level of the channel if the priority level of the channel is higher than the lowest level after the channel is locked for data reception and the data reception fails, otherwise, the priority level of the channel is unchanged;
the upshifting submodule is used for carrying out upshifting operation on the priority level of the channel if the priority level of the channel is lower than the highest level after the channel is locked for data receiving and the data are successfully received for two continuous times, otherwise, the priority level of the channel is not changed;
and the recovery submodule is used for recovering the priority level of the channel to a preset level value when the channel does not carry out data receiving operation in a preset time period.
CN201710693517.7A 2017-08-14 2017-08-14 Micropower wireless frequency locking communication method and device Active CN107453826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710693517.7A CN107453826B (en) 2017-08-14 2017-08-14 Micropower wireless frequency locking communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710693517.7A CN107453826B (en) 2017-08-14 2017-08-14 Micropower wireless frequency locking communication method and device

Publications (2)

Publication Number Publication Date
CN107453826A CN107453826A (en) 2017-12-08
CN107453826B true CN107453826B (en) 2020-08-14

Family

ID=60492008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710693517.7A Active CN107453826B (en) 2017-08-14 2017-08-14 Micropower wireless frequency locking communication method and device

Country Status (1)

Country Link
CN (1) CN107453826B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147566B (en) * 2019-12-23 2022-06-17 国网山西省电力公司长治供电公司 Platform area ubiquitous Internet of things dual-mode networking system and method based on open network protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518367A (en) * 2003-01-14 2004-08-04 华为技术有限公司 Multi-band small range selection method
WO2012003618A1 (en) * 2010-07-05 2012-01-12 海能达通信股份有限公司 Terminal in digital mobile radio relay system, transmission power regulation method and system thereof
CN103916884A (en) * 2014-03-04 2014-07-09 深圳市有方科技有限公司 Method for multi-channel self-adaptation optimization communication in micro-power wireless network
CN104022849A (en) * 2014-06-21 2014-09-03 宁波三星电气股份有限公司 Multi-channel cooperative working method in micro-power wireless communication
CN104660302A (en) * 2015-02-11 2015-05-27 北京科技大学 Negotiated adaptive frequency-hopping method based on bitmap

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140044150A1 (en) * 2012-08-13 2014-02-13 Redline Communications, Inc. System and method for interference triggered frequency hopping

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518367A (en) * 2003-01-14 2004-08-04 华为技术有限公司 Multi-band small range selection method
WO2012003618A1 (en) * 2010-07-05 2012-01-12 海能达通信股份有限公司 Terminal in digital mobile radio relay system, transmission power regulation method and system thereof
CN103916884A (en) * 2014-03-04 2014-07-09 深圳市有方科技有限公司 Method for multi-channel self-adaptation optimization communication in micro-power wireless network
CN104022849A (en) * 2014-06-21 2014-09-03 宁波三星电气股份有限公司 Multi-channel cooperative working method in micro-power wireless communication
CN104660302A (en) * 2015-02-11 2015-05-27 北京科技大学 Negotiated adaptive frequency-hopping method based on bitmap

Also Published As

Publication number Publication date
CN107453826A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
US6456675B2 (en) Diversity reception employing periodic testing
EP0998057B1 (en) Mobile telephone system and site diversity reception method
US5245633A (en) System for transmitting digital data over an electricity power line
US5701329A (en) Standby power savings with cumulative party check in mobile phones
US5722078A (en) Method and apparatus for locating a digital control channel in a downbanded cellular radiocommunication system
EP3468063B1 (en) Information feedback method, apparatus and system
CN101677254B (en) Communication equipment and antenna switching method
CN107005343B (en) A kind of wireless communication control method and device
CN107453826B (en) Micropower wireless frequency locking communication method and device
US8451923B2 (en) MIMO transmission mode selecting method and wireless communication equipment
AU1130999A (en) System and method of testing overall and individual antennas of a switched space diversity receiver
CN109644017B (en) Method for selecting a channel
JP2000516780A (en) Signal transmission method and digital wireless system
US20140301331A1 (en) Selecting a Transport Format for Transmission of Data Blocks Between a Base Station and a Mobile Terminal
WO2000052874A1 (en) Communication channel quality indicator
CN1862996A (en) Method of positioning the antennas of a data transmission system
CN109068364B (en) Method, device and equipment for multi-base station roaming switching
EP1257070A2 (en) Diversity receiver
CN1160972C (en) Radio communication system
CN112714479B (en) Satellite remote station dual-homing switching method and device and dual-homing satellite remote station
US6901267B2 (en) Recognition of wide-band data sequences
Oh et al. The Impact of Imperfect Orthogonality of LoRa Communication in Multiple Drone Identification
JP2711986B2 (en) Data transmission / reception method
CA3099181A1 (en) Procede et systeme de transmission de paquets de donnees a travers un canal de transmission (ra) a acces aleatoire
KR101669195B1 (en) Method of Opportunistic Feedback for Cooperative Spectrum Sensing in Cognitive Radio Network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201112

Address after: 510080 Dongfeng East Road, Dongfeng, Guangdong, Guangzhou, Zhejiang Province, No. 8

Patentee after: Electric Power Research Institute of Guangdong Power Grid Co.,Ltd.

Patentee after: Measurement Center of Guangdong Power Grid Co.,Ltd.

Address before: 510080 Dongfeng East Road, Dongfeng, Guangdong, Guangzhou, Zhejiang Province, No. 8

Patentee before: Electric Power Research Institute of Guangdong Power Grid Co.,Ltd.

TR01 Transfer of patent right