A kind of method of avoiding medical Internet of Things band interference
Technical field
The present invention relates to a kind of interference avoidance method based on Chinese medical frequency range, be applicable to IEEE802.15.4n standard, belong to the technical field of radio communication.
Background technology
WBAN (Wireless Body Area Network, wireless body area network) be a kind of Internet of Things that is applied to medical scene, with respect to traditional electronic monitoring and control system, WBAN not only provides better mobility, and possesses the function of wireless location, make its field prospect in an increasingly wide range of applications such as monitoring and consumer electronics (wearable media play) at medical treatment support (measurement of patient's monitoring physiological parameter), human health status, be therefore subject to unprecedented attention.
As far back as 2005 China (Ministry of Industry and Information's file: 2005-423) just open 174-216MHz, 402-405MHz, 407-425MHz, 608-630MHz frequency range for medical biologic applications.
IEEE802.15.4n is by interrogating amethyst in Beijing prestige, under Beijing University of Post & Telecommunication and Huawei Tech Co., Ltd etc. initiate, set up working group in the medical frequency range based on China's approval in 2012, comprise 174-216MHz, 407-425MHz, 608-630MHz frequency range, channel distribution is OQPSK pattern: totally 41 channels, to the channel number of 41 channels since 1 serial number, the bandwidth of each channel occupancy is 2M, be A by 41 channel distribution, B, C, D level Four channel set, wherein A level channel set comprises that channel number is the channel of 1-27, B level channel set comprises that channel number is the channel of 31-41, C level channel set comprises that channel number is the channel of 8-21 and 34-41, D level channel set comprises that channel number is 23, 28, 29 and 30 channel.Wherein in A level channel without potential interference, in B level channel, comprise broadcast singal, C level channel comprises bursty interference, D level channel comprises the channel that IEEE802.15.6 equipment and public's intercom take, adopt this dividing mode, make full use of this prior information of known disturbances, for selecting more reliable channel that foundation is provided.Fig. 1 is shown in by the frequency range schematic diagram that the IEEE802.15.4n channel distribution of medical treatment frequency range and interference exist.
In view of WBAN is for the vital sign parameter of monitor patients, relate to human life safety, requiring the harsh degree of the safe and reliable work of its energy is that any other network is incomparable.But in these frequency ranges, there is other wireless device, for example wireless microphone, public's intercom, IEEE802.15.6 equipment, these wireless devices all likely occur in the scene such as hospital or family, and affect the proper communication of IEEE802.15.4n, and prior art does not have in conjunction with these prior informations, the existence of bursty interference causes and adopts a scan channel mode selective channel effectively not detect and to avoid interference.
The present invention is exactly increasing and divide the function of channel grade on IEEE802.15.4MAC layer protocol of proposing under this background, generates and safeguard that available channel collection improves channel reliability, the ability that IEEE802.15.4n is had better avoid interference.
Summary of the invention
The present invention wants technical solution problem to be: a kind of method of avoiding medical Internet of Things band interference is provided, not only can but also can realizes by the virtual multikey switch on portable communication the automatic switchover of meeting room mode state by traditional metope multikey switch.
In order to solve the problems of the technologies described above, the technical scheme that the present invention proposes is: a kind of method of avoiding medical Internet of Things band interference, described medical Internet of Things frequency range is take OQPSK mode division as 41 channels, and to the channel number of described 41 channels since 1 serial number, wherein the bandwidth of each channel occupancy is 2M; Be A, B, C, D level Four channel set by described 41 channel distribution, wherein A level channel set comprises that channel number is the channel of 1-27, B level channel set comprises that channel number is the channel of 31-41, C level channel set comprises that channel number is the channel of 8-21 and 34-41, and D level channel set comprises that channel number is 23,28,29 and 30 channel; It is characterized in that said method comprising the steps of:
1) telegon carries out after energy grade scanning all channels in medical Internet of Things frequency range, and all channels in described B level channel set are repartitioned to grade; Three channels that are 31-33 for channel number, are included into energy grade into A level channel set lower than the channel of predetermined threshold value TH1, and shield the channel of energy grade higher than predetermined threshold value TH1; Choose four channels of channel number 34-37 or 38-41, energy grade is included into as C level channel set lower than the channel of predetermined threshold value TH1, and shield the channel of energy grade higher than predetermined threshold value TH1;
2) take out lower than the channel of predetermined threshold value TH1 repartitioning all energy grades in the medical Internet of Things frequency range obtaining in step 1), distinguish according to channel grade collection A-C-D order, and respectively to the channel in every grade of channel set according to the ascending arrangement of energy grade, composition available channel collection;
3) concentrated first channel of telegon selective sequential available channel is working channel, and second channel is alternative channel;
4) in the time that working channel and alternative channel all belong to A level channel set, telegon does not carry out channel maintenance;
In the time that working channel or alternative channel belong to C level channel set, in the non-active period of n superframe, the initial value of n is 0, telegon scanning work channel and alternative channel, if the energy grade of working channel exceedes predetermined threshold value TH1, the energy grade of alternative channel is lower than predetermined threshold value TH1, working channel when telegon is using alternative channel as next superframe, and select the concentrated next channel of available channel as alternative channel, and n value is reinitialized to 0; If the energy grade of working channel and alternative channel is all higher than predetermined threshold value TH1, telegon is according to available channel collection sequence detection, until discovery available channel, using available channel as working channel, next available channel is as alternative channel, and n value is reinitialized to 0; If the energy grade of working channel and alternative channel is all lower than predetermined threshold value TH1, n
kassignment is to n, and k initial value is 0, and every circulation primary k increases progressively 1, and the energy grade of working channel or alternative channel is lower than predetermined threshold value TH1, and k is initialized as 0;
In the time that working channel or alternative channel belong to D level channel set, non-active period at superframe scans A level channel set, and energy grade is wherein inserted into by the ascending order of energy grade lower than the channel of predetermined threshold value TH1 after the alternative channel of available channel collection, if but in A level channel set, there is no the channel of energy grade lower than predetermined threshold value TH1, and forward the 1st to) step;
5) circulation carries out the 4th) step, realizes the band interference of avoiding medical Internet of Things.
The present invention further improves and is:
1, the 4th) in step, in the time that working channel or alternative channel belong to D level channel set, in the non-active period of multiple superframes, point complete the scanning to A level channel set for several times.
2, described medical Internet of Things frequency range comprises 174-216MHz, 407-425MHz and 608-630MHz frequency range.
3, the 2nd) step and the 3rd) channel distribution, available channel collection, working channel, the alternative channel information obtaining in step be broadcast to all devices of present networks by beacon frame.
4, all devices uses identical available channel collection, when after equipment lock-out according to the order of available channel collection, scan from work at present channel is initial, again network, if still can not be synchronous, rescan all channels.
The present invention divides channel grade in advance according to known disturbances in medical frequency range; According to the result of channel energy detection, again B level channel is carried out to grade classification, then generate available channel collection, and stipulate working channel and alternative channel, and these (channel distribution, available channel collection, working channel, alternative channel) information exchanges are crossed to beacon frame and are broadcast to all devices of present networks; According to work at present channel and the different grade of alternative channel, select different channel maintenance schemes; When telegon detects interference, use the disturbed channel of alternative channel replacing, and upgrade alternative channel; After node lock-out according to the sequential scanning channel of available channel collection and rejoin network.
Because like this disturbing, wireless microphone, public's intercom belong to bursty interference, only use primary energy to detect and can not effectively find to disturb, so there is not the channel of potential interference in the preferential use of the inventive method, can greatly reduce the probability that equipment is disturbed, also can reduce channel and safeguard the consumption bringing simultaneously.In channel maintenance scheme, for A level channel, channel circumstance is pure, does not therefore need to take channel to safeguard; And C level channel is owing to may there being bursty interference, use the non-active period of multiple superframes to safeguard it, if and channel is stable, maintenance period is elongated, whether this method greatly detecting of probability there is bursty interference, in the time not there is not interference, increase the time interval that channel is safeguarded, save energy expense.
To sum up, the present invention is according to IEEE802.15.4 agreement, analyze in advance the characteristic of the interference existing in medical frequency range, then channel is carried out to grade classification, there is not the channel of potential interference in preferential use, avoid the impact of bursty interference, for the feature of broadcast singal, the channel of its existence is taked to the measure of shielding, avoid its impact on IEEE802.15.4n, in the time may there is bursty interference in working channel, in the non-active period of superframe, channel is safeguarded, guarantee not exist in channel bursty interference, and according to working channel and the different grade of alternative channel, distinguish channel maintenance regulation, the expense of minimizing system, use identical available channel collection simultaneously, can guarantee can reconnect fast network after equipment loses synchronously, these measures have all improved the reliability of IEEE15.4n work.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the method for avoiding medical Internet of Things band interference of the present invention is described further.
Fig. 1 is the IEEE802.15.4n channel distribution of medical frequency range and disturbs the frequency range schematic diagram existing.
Fig. 2 is the channel maintenance process figure in embodiment of the present invention method.
Embodiment
The method of avoiding medical Internet of Things band interference of the present embodiment, wherein, described medical Internet of Things frequency range comprises 174-216MHz, 407-425MHz and 608-630MHz frequency range, by medical Internet of Things frequency range take OQPSK mode division as 41 channels, and to the channel number of described 41 channels since 1 serial number, wherein the bandwidth of each channel occupancy is 2M; Be A, B, C, D level Four channel set by described 41 channel distribution, wherein A level channel set comprises that channel number is the channel of 1-27, B level channel set comprises that channel number is the channel of 31-41, C level channel set comprises that channel number is the channel of 8-21 and 34-41, and D level channel set comprises that channel number is 23,28,29 and 30 channel.Channel distribution is in table 1, and in medical frequency range, known disturbances parameter is in table 2.
Table 1 channel grade and corresponding channel number
Known disturbances parameter in the medical frequency range of table 2
The present embodiment method comprises the following steps:
1) telegon initialization, telegon carries out energy grade scanning to all channels in medical Internet of Things frequency range, carries out channel energy detection, and record the energy grade of each channel according to A-B-C-D level order; All channels in B level channel set are repartitioned to grade: three channels that are 31-33 for channel number, are included into energy grade into A level channel set lower than the channel of predetermined threshold value TH1, and shield the channel of energy grade higher than predetermined threshold value TH1; Choose four channels of channel number 34-37 or 38-41, energy grade is included into as C level channel set lower than the channel of predetermined threshold value TH1, and shield the channel of energy grade higher than predetermined threshold value TH1;
2) take out lower than the channel of predetermined threshold value TH1 repartitioning all energy grades in the medical Internet of Things frequency range obtaining in step 1), distinguish according to channel grade collection A-C-D order, and respectively to the channel in every grade of channel set according to the ascending arrangement of energy grade, composition available channel collection;
3) concentrated first channel of telegon selective sequential available channel is working channel, and second channel is alternative channel; And by the 2nd) step and the 3rd) channel distribution, available channel collection, working channel, the alternative channel information obtaining in step be broadcast to all devices of present networks by beacon frame; Now telegon enters steady-working state;
4) channel is safeguarded (flow chart is shown in Fig. 2):
In the time that working channel and alternative channel all belong to A level channel set, telegon does not carry out channel maintenance;
In the time that working channel or alternative channel belong to C level channel set, in the non-active period of n superframe, the initial value of n is 0, telegon scanning work channel and alternative channel, if the energy grade of working channel exceedes predetermined threshold value TH1, the energy grade of alternative channel is lower than predetermined threshold value TH1, working channel when telegon is using alternative channel as next superframe, and select the concentrated next channel of available channel as alternative channel, and n value is reinitialized to 0; If the energy grade of working channel and alternative channel is all higher than predetermined threshold value TH1, telegon is according to available channel collection sequence detection, until discovery available channel, using available channel as working channel, next available channel is as alternative channel, and n value is reinitialized to 0; If the energy grade of working channel and alternative channel is all lower than predetermined threshold value TH1, nk assignment is to n, and k initial value is 0, and every circulation primary k increases progressively 1, and the energy grade of working channel or alternative channel is lower than predetermined threshold value TH1, and k is initialized as 0;
In the time that working channel or alternative channel belong to D level channel set, non-active period at superframe scans A level channel set, A level channel has 12, k of each scanning, need 12/k the non-active period of superframe to complete the scanning to A level channel, and energy grade is wherein inserted into by the ascending order of energy grade lower than the channel of predetermined threshold value TH1 after the alternative channel of available channel collection, if but in A level channel set, there is no the channel of energy grade lower than predetermined threshold value TH1, and forwarding the 1st to) step telegon reinitializes;
5) circulation carries out the 4th) step, realizes the band interference of avoiding medical Internet of Things.
In the present embodiment, when telegon judges that according to LQI value in channel, existence is disturbed (calculating of LQI should adopt energy measuring and SNR to estimate simultaneously), now telegon detects alternative channel, if energy is lower than thresholding TH1, selecting this channel is working channel, then telegon broadcast channel on former channel changes order (without ACK), informs that the information of node replacement channel frequency hopping are to next channel.
Node judges that the duration of self lock-out is T1, judges after lock-out that transmitting channel changes request automatically, then jumps to next channel according to available channel collection (no matter whether can receive ACK), then continues to intercept this channel T1 time; If still can not be synchronous, then jump to next channel, and so forth; If still can not be synchronous, rescan all channels, but still scan according to the order of ABCD level.
The method of avoiding medical Internet of Things band interference of the present invention is not limited to the concrete technical scheme described in above-described embodiment, and all employings are equal to replaces the technical scheme forming and be the protection range that the present invention requires.