CN108521286A - A kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges - Google Patents
A kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges Download PDFInfo
- Publication number
- CN108521286A CN108521286A CN201810206012.8A CN201810206012A CN108521286A CN 108521286 A CN108521286 A CN 108521286A CN 201810206012 A CN201810206012 A CN 201810206012A CN 108521286 A CN108521286 A CN 108521286A
- Authority
- CN
- China
- Prior art keywords
- channel
- communication
- frequency
- points
- timesharing
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details 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/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details 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/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/715—Interference-related aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details 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/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/7156—Arrangements for sequence synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details 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/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/715—Interference-related aspects
- H04B2001/7154—Interference-related aspects with means for preventing interference
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges, are as follows:Step 1 judges communication conditions, and slow frequency hopping is carried out when judging to communicate normal, judges whether communication frequency synchronizes, and error handle is carried out if communication frequency is asynchronous;Step 2 judges to carry out fast frequency-hopped when communication error, and short time inner receiver is synchronous with transmitter, and the suitable communication channel of Receiver And Transmitter selection is to restore to communicate.The relevant parameter of the method record communication process of the present invention, and it is analyzed, select most suitable next communication channel, it not only maintains and synchronizes the basic communications such as online, high communication speed, periodic replacement communication channel, quick Fault recovery, also enhance the anti-interference ability of equipment room of the same race, the channel capability that avoids interference etc. so that with harmonious work between frequency range different type equipment.
Description
Technical field
The present invention relates to 2.4G wireless communication fields, specifically a kind of learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges is led to
Letter method.
Background technology
Wireless product is exactly the electronic product using radiotechnics, it should include sending and receiving for wireless signal
Mobile phone, radio networking device, cordless telephone, wireless interspeaker in system, such as daily life etc., just belong to and wirelessly set
It is standby.2.4G wireless technologys, frequency range are between 2.405GHz-2.485GHz (science, medicine, agricultural), so referred to as
2.4G wireless technology.It is the free frequency range of international regulations in this frequency range, is that need not pay any expense to international linked groups
.This just provides necessary advantage for 2.4G wireless technology developabilities, and 2.4G wireless technologys are different from it
Preceding 27MHz wireless technologys, its working method are full-duplex mode transmission, are had absolutely than 27MHz on interference free performance
To advantage.This advantage determines its superpower anti-interference and maximum reachable 10 meters of transmission range.
, partly there is fixed frequency communication in current 2.4G is wireless class product;Or the other of same frequency range are set when frequency hopping
It is standby to there is interference so that disturbed equipment can not work normally;Also or occupied channel can be actively avoided, but in communication process
In when going wrong, need the long period to restore so that flow, product usage experience do not decline for communication.
Invention content
The purpose of the present invention is to provide a kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges, to solve
The problems mentioned above in the background art.
To achieve the above object, the present invention provides the following technical solutions:
A kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges, is as follows:
Step 1 judges communication conditions, and slow frequency hopping is carried out when judging to communicate normal, whether judges communication frequency
It is synchronous, error handle is carried out if communication frequency is asynchronous, obtains next communication channel if communication frequency synchronizes, so
After notify next channel number, be ready for change channel, change whether correct, the secondary process of detection channel change after channel
In any one step occur mistake just progress error handle, recycled with this;
Step 2 judges to carry out fast frequency-hopped when communication error, and short time inner receiver is synchronous with transmitter, receiver
It selects suitable communication channel to restore to communicate with transmitter, the specific steps are communication error is found, then obtains next
Channel number and change channel, on line data is sent after changing channel and carry out on-line retrieval, check it is normal after judge communication
Whether frequency synchronizes.
As a further solution of the present invention:The period of slow frequency hopping be 350ms, when fast frequency-hopped receiver per 20ms seconds more
Change a sub-channel, transmitter changes a sub-channel per 3ms.
As a further solution of the present invention:Next channel number is obtained in step 2 from " communication channel priority query "
Middle acquisition, and check whether and occupied by miscellaneous equipment, if occupied, replacement is next, otherwise, just uses this channel, communication
The construction method of channel priority query is that related data is recorded in communication process, and related data includes but is not limited to channel use
Number, malfunction number with frequency conflict number and communication, and makes judge according to these related datas, to obtain grade form, according to
It is sequence, structure channel priority query according to scoring height.
As a further solution of the present invention:Channel priority query is built using big root heap algorithm, big root heap algorithm is
A kind of computer software Data Structure and Algorithm, the complete binary tree being ordered into, root node are the maximum node of priority,
Sequence (initialization) time complexity of n node is O (nlogn), is inserted into, delete operation time complexity is O (logn).
As a further solution of the present invention:The judgment criteria of grade form is that each channel initially divides (100) identical, with
Machine extracts sequence, uses duration with accumulative according to channel access times, often adds one point using primary;It is secondary to judge that channel conflicts with frequency
Number, often conflict is primary, and present score is more than 2000 timesharing, subtracts 1500 points, and present score is more than 1000 timesharing, subtracts 800 points,
Present score is more than 500 timesharing, subtracts 300 points, present score is more than 200 timesharing, subtracts 50 points, other situations subtract 3 points;Sentence
Open close letter errors number and cumulative data packet error number, often error is primary, and present score is more than 2000 timesharing, subtracts 1500 points,
Present score is more than 1000 timesharing, subtracts 800 points, and present score is more than 500 timesharing, subtracts 300 points, present score is more than 200
Timesharing subtracts 50 points, other situations subtract 3 points;When channel score is less than equal to zero, which is judged as invalid channel,
Candidate channel is not entered back into, when available channel number is less than warning number (such as 3), all channels add one initially point (100),
I.e. whole channels are available, but do not change relative priority.
Compared with prior art, the beneficial effects of the invention are as follows:The relevant parameter of the method record communication process of the present invention,
And analyzed, select most suitable next communication channel, not only maintain synchronize online, high communication speed, periodically more
The basic communications such as communication channel, quick Fault recovery are changed, also enhance that the anti-interference ability of equipment room of the same race, avoid interference channel
Ability etc. so that with harmonious work between frequency range different type equipment.
Description of the drawings
Fig. 1 is the flow chart of the communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges.
Fig. 2 be the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges communication means in normal communication flow chart.
Fig. 3 is the flow chart into line misregistration processing in the communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges.
Fig. 4 be the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges communication means in obtain next candidate communication channel
Flow chart.
Fig. 5 is structure communication channel priority query in the communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges
Flow chart.
Specific implementation mode
The technical solution of this patent is described in more detail With reference to embodiment.
- 5 are please referred to Fig.1, a kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges is as follows:
Step 1 judges communication conditions, and slow frequency hopping is carried out when judging to communicate normal, and the period of slow frequency hopping is
350ms, judges whether communication frequency synchronizes, and error handle is carried out if communication frequency is asynchronous, if communication frequency synchronizes
Next communication channel just is obtained, then notifies next channel number, is ready for change channel, frequency is detected after changing channel
Whether road is changed correct, and secondary any one step in the process mistake occurs with regard to progress error handle, is recycled with this;
Step 2, judge communication error when carry out it is fast frequency-hopped, when fast frequency-hopped receiver per 20ms second change once
Channel, transmitter change a sub-channel per 3ms, and short time inner receiver is synchronous with transmitter, and Receiver And Transmitter selection is closed
Suitable communication channel, the specific steps are communication error is found, then obtains next channel number and changes to restore to communicate
Channel sends on line data after changing channel and carries out on-line retrieval, judges whether communication frequency synchronizes after checking normally, obtain
It takes next channel number to be obtained from " communication channel priority query ", and checks whether and occupied by miscellaneous equipment, if occupied,
Replace next, otherwise, it is to record phase in communication process just to use this channel, the construction method of communication channel priority query
Data are closed, related data includes but is not limited to channel access times, with frequency conflict number and communication error number, and according to these
Related data makes judge, and to obtain grade form, the judgment criteria of grade form is that each channel initially divides (100) identical,
Sequence is randomly selected, duration is used with accumulative according to channel access times, often adds one point using primary;Judge that channel conflicts with frequency
Number, often conflict is primary, and present score is more than 2000 timesharing, subtracts 1500 points, present score is more than 1000 timesharing, subtracts 800
Point, present score is more than 500 timesharing, subtracts 300 points, present score is more than 200 timesharing, subtracts 50 points, other situations subtract 3
Point;Judge communication mistake number and cumulative data packet error number, often error is primary, and present score is more than 2000 timesharing, subtracts
1500 points, present score is more than 1000 timesharing, subtracts 800 points, present score is more than 500 timesharing, subtracts 300 points, present score
More than 200 timesharing, 50 points are subtracted, other situations subtract 3 points;When channel score is less than equal to zero, which is judged as nothing
Imitate channel, do not enter back into candidate channel, when available channel number is less than warning number (such as 3), all channels add one it is initial
Divide (100), i.e., whole channels are available, but do not change relative priority, are just sequence according to scoring, build channel priority
Queue, structure channel priority query use big root heap algorithm, and big root heap algorithm is a kind of computer software data structure and calculation
Method, the complete binary tree being ordered into, root node are the maximum node of priority, sequence (initialization) time of n node
Complexity is O (nlogn), and insertion, delete operation time complexity are O (logn), can preferably meet the application of this method.It comments
Minute mark standard is logical with RF (radio frequency) chip (dominant frequency, signal modulation mode, traffic rate etc.), master chip frequency and its with RF chip chambers
Believe the correlations such as speed.
General RF (radio frequency) chip provides basic wireless communication, but it does not have high-grade communication protocol.This
Method coordinates the drive software of RF chips, high-grade communication protocol (such as:Point-to-point communication, zigbee, TCP/IP etc.) it is common
Work, to provide steady, flow, anti-interference, glitch-free communication.Some parameters of this method, such as:Hop period, mistake are tasted
Try period, mistake latent period, standards of grading etc., it is necessary to be adjusted according to specific implementation.The method of the present invention is suitable for existing
Some wireless class products of 2.4G, are particularly suitable in wireless baby monitor.
The test method of this method effect is as follows:1. a pair of of receiver, transmitter work:Basic communication is tested, including same
Online, communication speed, Fault recovery etc. 2. multigroup (10 or more) is walked to work at the same time with model receiver, transmitter:Basic
On the basis of communication test, the anti-interference ability of equipment room of the same race, the channel capability that avoids interference etc. are tested.3. mixing test:With
WIFI, bluetooth are equal to frequency range different type equipment and use simultaneously:Can test harmonious work between frequency range equipment
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped
Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should
It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
The other embodiment being appreciated that.
Claims (5)
1. a kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges, which is characterized in that be as follows:
Step 1 judges communication conditions, and slow frequency hopping is carried out when judging to communicate normal, judges whether communication frequency is same
Step carries out error handle if communication frequency is asynchronous, obtains next communication channel if communication frequency synchronizes, then
It notifies next channel number, is ready for change channel, the whether correct of channel change detected after changing channel, during secondary
There is mistake with regard to carrying out error handle in any one step, is recycled with this;
Step 2 judges to carry out fast frequency-hopped when communication error, and short time inner receiver is synchronous with transmitter, receiver and hair
Penetrating machine selects suitable communication channel to restore to communicate, and the specific steps are communication error is found, then obtains next channel
Number and change channel, on line data is sent after changing channel and carry out on-line retrieval, check it is normal after judges communication frequency
Whether synchronize.
2. the communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges according to claim 1, which is characterized in that institute
The period for stating slow frequency hopping is 350ms, and per 20ms seconds, one sub-channel of change, transmitter changed one per 3ms to receiver when fast frequency-hopped
Sub-channel.
3. the communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges according to claim 1, which is characterized in that institute
It states and obtains the acquisition from " communication channel priority query " of next channel number in step 2, and check whether and accounted for by miscellaneous equipment
With if occupied, replacement is next, otherwise, just uses this channel, the construction method of communication channel priority query is communication
Related data is recorded in the process, and related data includes but is not limited to channel access times, with frequency conflict number and communication error time
Number, and judge is made according to these related datas, to obtain grade form, it is sequence according to scoring height, builds channel priority
Queue.
4. the communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges according to claim 3, which is characterized in that institute
It states structure channel priority query and uses big root heap algorithm, big root heap algorithm is a kind of computer software Data Structure and Algorithm,
Its complete binary tree being ordered into, root node are the maximum node of priority, and sequence (initialization) time of n node is complicated
Degree is O (nlogn), is inserted into, delete operation time complexity is O (logn).
5. the communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges according to claim 3, which is characterized in that institute
State grade form judgment criteria be each channel initially divide (100) identical, randomly select sequence, according to channel access times with
It is accumulative to use duration, often add one point using primary;Channel is judged with frequency conflict number, and often conflict is primary, and present score is more than
2000 timesharing subtract 1500 points, and present score is more than 1000 timesharing, subtract 800 points, present score is more than 500 timesharing, subtracts
300 points, present score is more than 200 timesharing, subtracts 50 points, other situations subtract 3 points;Judge communication mistake number and cumulative data
Packet error number, often error is primary, and present score is more than 2000 timesharing, subtracts 1500 points, present score is more than 1000 timesharing, subtracts
800 points, present score is more than 500 timesharing, subtracts 300 points, present score is more than 200 timesharing, subtracts 50 points, other situations subtract
3 points;When channel score is less than equal to zero, which is judged as invalid channel, does not enter back into candidate channel, available channel number
When mesh is less than warning number (such as 3), all channels add one initially point (100), i.e., whole channels are available, but do not change
Relative priority.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810206012.8A CN108521286B (en) | 2018-03-13 | 2018-03-13 | Communication method for learning type self-adaptive 2.4G frequency band wireless frequency hopping |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810206012.8A CN108521286B (en) | 2018-03-13 | 2018-03-13 | Communication method for learning type self-adaptive 2.4G frequency band wireless frequency hopping |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108521286A true CN108521286A (en) | 2018-09-11 |
CN108521286B CN108521286B (en) | 2020-04-14 |
Family
ID=63433632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810206012.8A Active CN108521286B (en) | 2018-03-13 | 2018-03-13 | Communication method for learning type self-adaptive 2.4G frequency band wireless frequency hopping |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108521286B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702081A (en) * | 2020-12-29 | 2021-04-23 | 杭州当贝网络科技有限公司 | Frequency hopping audio transmission method, device, equipment and system based on 2.4G |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030060206A1 (en) * | 2001-09-27 | 2003-03-27 | Erkka Sointula | Method and apparatus for avoiding mutual interference when co-locating mobile station and bluetooth systems |
CN102142861A (en) * | 2011-01-17 | 2011-08-03 | 厦门亿联网络技术有限公司 | Frequency hopping method and device suitable for wireless voice communication of 2.4GHz industrial scientific medical (ISM) band |
CN102355281A (en) * | 2011-06-30 | 2012-02-15 | 桂林电子科技大学 | Combinable frequency hopping wireless transmitting-receiving system and operation method thereof |
CN102684754A (en) * | 2011-03-11 | 2012-09-19 | 赖之安 | Bluetooth transmission module and bluetooth device with same |
CN106332267A (en) * | 2016-08-31 | 2017-01-11 | 零度智控(北京)智能科技有限公司 | Frequency-hopping wireless communication based synchronous access method, equipment and system |
-
2018
- 2018-03-13 CN CN201810206012.8A patent/CN108521286B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030060206A1 (en) * | 2001-09-27 | 2003-03-27 | Erkka Sointula | Method and apparatus for avoiding mutual interference when co-locating mobile station and bluetooth systems |
CN102142861A (en) * | 2011-01-17 | 2011-08-03 | 厦门亿联网络技术有限公司 | Frequency hopping method and device suitable for wireless voice communication of 2.4GHz industrial scientific medical (ISM) band |
CN102684754A (en) * | 2011-03-11 | 2012-09-19 | 赖之安 | Bluetooth transmission module and bluetooth device with same |
CN102355281A (en) * | 2011-06-30 | 2012-02-15 | 桂林电子科技大学 | Combinable frequency hopping wireless transmitting-receiving system and operation method thereof |
CN106332267A (en) * | 2016-08-31 | 2017-01-11 | 零度智控(北京)智能科技有限公司 | Frequency-hopping wireless communication based synchronous access method, equipment and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702081A (en) * | 2020-12-29 | 2021-04-23 | 杭州当贝网络科技有限公司 | Frequency hopping audio transmission method, device, equipment and system based on 2.4G |
CN112702081B (en) * | 2020-12-29 | 2023-05-30 | 杭州当贝网络科技有限公司 | Frequency hopping audio transmission method, device, equipment and system based on 2.4G |
Also Published As
Publication number | Publication date |
---|---|
CN108521286B (en) | 2020-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104618926B (en) | The transmission method and device of D2D signals | |
CN109618372A (en) | Data transmission method and relevant apparatus | |
CN106851696A (en) | A kind of scheduling system of the UWB multi-tag many base stations synchronous based on Wireless clock | |
Mikhaylov | Simulation of network-level performance for Bluetooth Low Energy | |
CN106502798B (en) | A kind of task scheduling system and method suitable for portable medical | |
CN109729556A (en) | Link connection method and relevant apparatus | |
WO2006026776A3 (en) | Methods and apparatus for the transmission of configuration information to wireless terminals in a wireless communication network | |
US20110051601A1 (en) | Method and apparatus for enhanced packet traffic arbitration | |
Boulis et al. | Impact of wireless channel temporal variation on MAC design for body area networks | |
CN108521286A (en) | A kind of communication means of the learning-oriented adaptive wireless frequency hopping of 2.4G frequency ranges | |
CN107529213A (en) | A kind of resource control method and device | |
CN104618335B (en) | The method and interface processing platform of a kind of interacting message | |
CN101185248A (en) | Automatic cancellation of bp merger in multi-band OFDM alliance (mboa) ultra wide band (uwb) systems | |
CN111935797B (en) | Dynamic routing method for wireless communication network of low-voltage switch cabinet | |
CN107743313A (en) | Realize method, base station and the system of the time division duplex configuration of secondary cell | |
WO2021179389A1 (en) | Wireless networking method having low power consumption and high interference resistance | |
CN106797261A (en) | Remedial action based on receiving power between packet | |
CN109600852A (en) | A kind of resource indicating method, communication device and the network equipment | |
CN107182080A (en) | A kind of method and apparatus of the speed of adaptive configuration in a wireless local area network | |
CN111901742B (en) | Method and device for positioning electronic price tags based on neighbor relation | |
Rauniyar et al. | A reinforcement learning based game theoretic approach for distributed power control in downlink NOMA | |
CN103441931B (en) | A kind of file transmitting method and device | |
CN102045735B (en) | Method and unit for realizing automatic frequency detection network creation in frequency hopping radio network | |
CN102907052A (en) | Topological information processing method and equipment | |
CN104105160B (en) | Method for discovering equipment, base station and user equipment |
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 |