CN107682830A - A kind of ZigBee to WiFi communication means and device - Google Patents
A kind of ZigBee to WiFi communication means and device Download PDFInfo
- Publication number
- CN107682830A CN107682830A CN201710888643.8A CN201710888643A CN107682830A CN 107682830 A CN107682830 A CN 107682830A CN 201710888643 A CN201710888643 A CN 201710888643A CN 107682830 A CN107682830 A CN 107682830A
- Authority
- CN
- China
- Prior art keywords
- zigbee
- wifi
- sent
- frequency range
- data
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention provides a kind of ZigBee to WiFi communication means and device.Methods described includes obtaining the link information of WiFi links, including at least the first frequency range;Data to be sent are parsed to judge to send whether window sends ZigBee packets default, if send, then with sending window, ZigBee packets are sent in the second frequency range, wherein the second frequency range is in the coverage of the first frequency range, so that the second WiFi terminal obtains CSI sequence of the subchannel in each decoding window, and CSI sequences are parsed to obtain data to be sent, its sub-channels is in the coverage of the second frequency range, and decoding window is corresponding with sending window and both equal lengths.The embodiment of the present invention by by data to be sent in ZigBee terminals using whetheing there is ZigBee data packet codings, and decoded in the second WiFi terminal CSI information and ZigBee to WiFi communication is realized in a manner of obtaining data to be sent and add the handling capacity of information transfer.
Description
Technical field
The present embodiments relate to wireless communication technology field, more particularly to the communication means of ZigBee to WiFi a kind of and
Device.
Background technology
Large-scale Internet of Things application brings wireless aware and controls flourishing for application.Currently used wireless network
Most popular 3 of network standard is WiFi, ZigBee and bluetooth Bluetooth.WiFi, ZigBee and Bluetooth work frequency
Section is all the free ISM bands of 2.4GHz, under many scenes, these heterogeneous devices coexisting unavoidably in physical space
Meeting cause interference and mutual channel competition of the respective wireless communication system by other side.Different wireless technologys are applied to
Different application scenarios, the data transfer of various wireless technologys how is allowed to be maximized favourable factors and minimized unfavourable ones so that the whole Internet of Things world is real
Existing all things on earth interconnection is a very big challenge.In order to realize, more effectively data transfer and frequency spectrum uses between heterogeneous device, passes
The method of system avoids and disturbed what is eliminated mainly by means of collision.In the presence of having multiple wireless network protocols in coexisted environment,
First have to solve the problems, such as be heterogeneous interference source detection and identification.After detecting heterogeneous interference, wireless device is needed using altogether
Deposit efficiency of transmission of the technical guarantee under heterogeneous interference environment.
But coexisting between heterogeneous device opens a new direction across protocol communication.The work of early stage is main
It is to realize data exchange by establishing indirect communication between heterogeneous device.Such as the method for cloud server and gateway.But
It is that these method management difficulties are big, operation expanding is weak, and transmission delay is unpredictable, and has higher hardware device
Cost and maintenance cost.Based on above reason, the direct communication between different technologies should have more for comparing indirect communication
Add wide Research Prospects.Therefore, wirelessly across protocol communication CTC technologies are arisen at the historic moment.For example FreeBee is from time dimension
The direct communication from WiFi to ZigBee is realized, by the buoy beacon times for changing the broadcast singal between heterogeneous device
Carry out transmission information.Commercial WiFi beacon speed 102.4ms/beacon, so FreeBee transmission rate also can be because
Beacon inherent speed and be restricted.The data that Esense is realized from WiFi to ZigBee using the energy of signal pass
It is defeated.WiZig propositions modulate energy signal respectively using time and amplitude, improve gulping down from WiFi to ZigBee in a noisy environment
The amount of telling.B2W2 realizes the data transfer from bluetooth equipment to WiFi equipment.
But the research in terms of protocol communication from ZigBee equipment to WiFi equipment is very few, main technology is chosen
War is the asymmetry between both technologies.On the one hand it is the asymmetry of power, is on the other hand channel asymmetry.WiFi is maximum
Transmit power be 100dBm, transmit power maximum ZigBee is 0dBm.WiFi channel width is 20MHz, ZigBee's
Channel width is 2MHz.So weaker ZigBee signals are difficult to detect to obtain by the WiFi equipment in broadband.At present, only
The immediate data that two methods of Freebee and TCTC realize ZigBee to WiFi by the method for time-modulation is transmitted, still
Handling capacity is relatively low, without stronger Practical significance.
The content of the invention
The embodiment of the present invention provides a kind of ZigBee to WiFi communication means and device, to solve prior art
The problem of information transfer between ZigBee to WiFi is difficult, and data transmission throughput is low.
In a first aspect, the invention provides a kind of ZigBee to WiFi communication means, including:
ZigBee terminals obtain the link information of the WiFi links of the first WiFi terminal to the second WiFi terminal, wherein described
Link information comprises at least the first frequency range;
The ZigBee terminal-pairs data to be sent are parsed to judge corresponding with each data to be sent
It is default to send whether window sends ZigBee packets, if sending, within the period corresponding with the transmission window,
Second frequency range sends the ZigBee packets, wherein second frequency range is in the coverage of first frequency range, for
Second WiFi terminal obtains CSI sequence of the subchannel in each decoding window according to the WiFi links, and to every
One section of CSI sequence is parsed to obtain each data to be sent, wherein covering of the subchannel in second frequency range
In the range of, the decoding window is corresponding with the transmission window and both equal lengths.
Second aspect, the embodiments of the invention provide another ZigBee to WiFi communication means, including:
Second WiFi terminal obtain the first WiFi terminal to the WiFi links of second WiFi terminal link information, its
Described in link information comprise at least the CSI sequences of the first frequency range and subchannel in each decoding window;
Second WiFi terminal is parsed to each section of CSI sequence to obtain each data to be sent, wherein institute
Subchannel is stated in the coverage of the second frequency range, second frequency range is the frequency range that ZigBee terminals send ZigBee packets
And second frequency range, in the coverage of first frequency range, the ZigBee terminals are used to solve data to be sent
Analysis is to judge whether send ZigBee packets in the default transmission window corresponding with each data to be sent, if sending,
Then within the period corresponding with the transmission window, the ZigBee packets, the solution are sent in second frequency range
Code window with it is described transmission window it is corresponding and both equal length.
The third aspect, the embodiments of the invention provide a kind of ZigBee terminals, including:
Acquisition module, for obtaining the WiFi information for being persistently sent to the second WiFi terminal of existing first WiFi terminal simultaneously
Analysis obtains link information, wherein the link information comprises at least the first frequency range;
Sending module, for being parsed to data to be sent to judge corresponding with each data to be sent pre-
If sending whether window sends ZigBee packets, if sending, with transmission window corresponding period, the
Two frequency ranges send the ZigBee packets, wherein second frequency range is in the coverage of first frequency range, for institute
State the second WiFi terminal and CSI sequence of the subchannel in each decoding window is obtained according to the WiFi links, and to each
Section CSI sequences are parsed to obtain each data to be sent, wherein covering model of the subchannel in second frequency range
In enclosing, the decoding window it is corresponding with the transmission window and both equal lengths.
Fourth aspect, the embodiments of the invention provide a kind of WiFi terminal, including:
Acquisition module, the first WiFi terminal is obtained to the chain of the WiFi links of the acquisition module for the second WiFi terminal
Road information, wherein the link information comprises at least the CSI sequences of the first frequency range and subchannel in each decoding window;
Decoder module, for being parsed each section of CSI sequence to obtain each data to be sent, wherein the son
For channel in the coverage of the second frequency range, second frequency range sends frequency range and the institute of ZigBee packets for ZigBee terminals
The second frequency range is stated in the coverage of first frequency range, the ZigBee terminals be used for data to be sent are parsed with
Judge whether send ZigBee packets in the default transmission window corresponding with each data to be sent, if sending,
In the period corresponding with the transmission window, the ZigBee packets, the decoding window are sent in second frequency range
Mouthful with it is described transmission window it is corresponding and both equal length.
5th aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, including:
Processor, memory, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
The information transfer that the communication interface is used between the communication equipment of the electronic equipment;
The memory storage has and by the programmed instruction of the computing device, the processor described program can be called to refer to
Order is able to carry out following method:
ZigBee terminals obtain the link information of the WiFi links of the first WiFi terminal to the second WiFi terminal, wherein described
Link information comprises at least the first frequency range;
The ZigBee terminal-pairs data to be sent are parsed to judge corresponding with each data to be sent
It is default to send whether window sends ZigBee packets, if sending, within the period corresponding with the transmission window,
Second frequency range sends the ZigBee packets, wherein second frequency range is in the coverage of first frequency range, for
Second WiFi terminal obtains CSI sequence of the subchannel in each decoding window according to the WiFi links, and to every
One section of CSI sequence is parsed to obtain each data to be sent, wherein covering of the subchannel in second frequency range
In the range of, the decoding window is corresponding with the transmission window and both equal lengths.
6th aspect, the embodiment of the present invention additionally provide a kind of computer program, including program code, described program code
For performing following operation:
The processor is used to call the logical order in the memory, to perform following method:
ZigBee terminals obtain the link information of the WiFi links of the first WiFi terminal to the second WiFi terminal, wherein described
Link information comprises at least the first frequency range;
The ZigBee terminal-pairs data to be sent are parsed to judge corresponding with each data to be sent
It is default to send whether window sends ZigBee packets, if sending, within the period corresponding with the transmission window,
Second frequency range sends the ZigBee packets, wherein second frequency range is in the coverage of first frequency range, for
Second WiFi terminal obtains CSI sequence of the subchannel in each decoding window according to the WiFi links, and to every
One section of CSI sequence is parsed to obtain each data to be sent, wherein covering of the subchannel in second frequency range
In the range of, the decoding window is corresponding with the transmission window and both equal lengths.
7th aspect, the embodiment of the present invention additionally provides a kind of storage medium, for storing foregoing computer journey
Sequence.
ZigBee to WiFi provided in an embodiment of the present invention communication means and device, by the way that data to be sent are existed
ZigBee terminals use whether there is ZigBee data packet codings, and are treated in the second WiFi terminal by the decoding of CSI information with obtaining
Sending the mode of data realizes ZigBee to WiFi communication and considerably increases the handling capacity of information transfer.
Brief description of the drawings
Fig. 1 is ZigBee to the WiFi of embodiment of the present invention communication means flow chart;
Fig. 2 is another ZigBee to WiFi of embodiment of the present invention communication means flow chart;
Fig. 3 is the channel schematic diagram of the embodiment of the present invention;
Fig. 4 is that the packet of the embodiment of the present invention sends schematic diagram;
Fig. 5 is the ZigBee terminal structure schematic diagrames of the embodiment of the present invention;
Fig. 6 is the WiFi terminal structural representation of the embodiment of the present invention;
Fig. 7 is the electronic devices structure schematic diagram of the embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Refer at least in the following embodiments to three main devices, a ZigBee terminal and two WiFi terminals:
First WiFi terminal and the second WiFi terminal, and first WiFi terminal is established to the second WiFi terminal in the first frequency range
WiFi links, the ZigBee terminals are used to obtain sending ZigBee data in the second frequency range by the parsing to data to be sent
The transmission time of bag, to influence the channel status of the WiFi links, so that second WiFi terminal passes through to WiFi chains
The channel status on road is analyzed to obtain the transmission time of ZigBee packets, and parses and obtain data to be sent.
Fig. 1 is ZigBee to the WiFi of embodiment of the present invention communication means flow chart, and Fig. 3 is the letter of the embodiment of the present invention
Road schematic diagram, Fig. 4 is that the packet of the embodiment of the present invention sends schematic diagram, as shown in figure 1, methods described includes:
Step S01, ZigBee terminals obtain the link information of the WiFi links of the first WiFi terminal to the second WiFi terminal,
Wherein described link information comprises at least the first frequency range;
In order to realize the data transfer of ZigBee to the WiFi in the embodiment of the present invention, it is necessary to using one article by the first WiFi
Terminal is sent to the WiFi links of the second WiFi terminal, so the ZigBee terminals can be supervised first before ZigBee packets are sent
The WiFi links that whether there is in a network from the first WiFi terminal to the second WiFi terminal are listened, if it does not exist, then continuing
Listening state is kept with untill finding the WiFi links.Certain ZigBee can also not listen to required WiFi
During link, a solicited message first is sent to second WiFi terminal, so that WiFi needed for the active initiation of the second WiFi terminal
Link.In order to express easily, in the following embodiments, all by taking ZigBee terminal monitorings WiFi links needed for as an example.It is described
WiFi links need to use orthogonal frequency division multiplex OFDM technology, and now a WiFi channel is divided into multiple subcarriers.
ZigBee terminals can obtain the link information of the WiFi links by the monitoring to WiFi links, wherein described
It is 2462MHz that link information, which comprises at least the first frequency range, i.e., WiFi channels used in described WiFi links, such as centre frequency,
11 channels.
Step S02, described ZigBee terminal-pairs data to be sent parsed with judge with each data to be sent
Whether corresponding default transmission window sends ZigBee packets, if send, with it is described transmission window it is corresponding when
Between in section, the ZigBee packets are sent in the second frequency range, wherein covering model of second frequency range in first frequency range
In enclosing, so that second WiFi terminal obtains CSI sequence of the subchannel in each decoding window according to the WiFi links
Row, and each section of CSI sequence is parsed to obtain each data to be sent, wherein the subchannel is in the described second frequency
Section coverage in, the decoding window with it is described transmission window it is corresponding and both equal lengths.
When listening to WiFi links needed for presence, ZigBee terminals also need to carry out the data to be sent being ready for sending
Parsing, due to the heterogeneous character of ZigBee terminals and the second WiFi terminal in itself, i.e. both transmission band, transimission power and transmission
The otherness of agreement so that the data in ZigBee packets that the second WiFi terminal can not be sent to ZigBee terminals solve
Analysis.So the method that uses of the embodiment of the present invention for:The ZigBee sent is recognized whether in existing WiFi links
Packet, that is, second WiFi terminal is allowed to pass through the fine or not judgement of the channel status to the WiFi links described to infer
Whether the ZigBee packet is being sent in WiFi links.So the coding of ZigBee terminal-pairs data to be sent is also
Carried out by the way of packet is whether there is, each in data to be sent is parsed respectively, and it is pending to each
Send data to preset respective transmission window, then judge whether to need again in the transmission corresponding with each data to be sent
Window sends ZigBee packets.If it is determined that to need to send, then ZigBee is sent within the transmission window corresponding period
Packet.
Further, as shown in figure 4, the ZigBee terminal-pairs data to be sent parsed with judge with each
Whether the corresponding default transmission window of data to be sent sends ZigBee packets, is specially:
ZigBee terminals the putting in order by the data to be sent, often obtain one by a window that sends
Position data to be sent, it is described to send window to send the ZigBee bags of at least one ZigBee packets length plus ZigBee parlors
Every, if the value of a data to be sent is 1, judge that the transmission window needs to send the ZigBee packets, if
The value of one data to be sent is 0, then judges that the transmission window need not send the ZigBee packets.
For how by data to be sent parse with determine whether send window transmission ZigBee packets, Ke Yigen
Factually the situation on border and needs are set, and do not make specific limit herein.Directly data to be sent can be carried out
Whole parsing, the time then sent to each ZigBee packets are set, can also pressed by the way of the present embodiment
Data to be sent put in order, and one are parsed then, are finished until parsing, while complete the transmission of ZigBee packets, have
Body implementation process is as follows:
The default length for sending window is first obtained, the length for sending window is to send at least one ZigBee data
The ZigBee bags of bag are long to add ZigBee inter-packet gaps, wherein the data content for specifically sending ZigBee packets can be one random
Sequence can also be a default sequence, want to be sent to the to be sent of second WiFi terminal with the ZigBee terminals
Data are unrelated, can according to the actual needs be set, do not limited specifically herein.ZigBee terminals often pass through one
The length for sending window just obtains a position data to be sent in order from data to be sent, and the value of this data to be sent is only
1 or 0 two kind can occur, set
If the value obtained is 1, judge to need to send ZigBee packets in currently transmitted window;
If the value obtained is 0, judge that in currently transmitted window ZigBee packets need not be sent.
Such as data to be sent are 1011, then understand that ZigBee terminals need to send window transmission ZigBee numbers at first
According to bag, the length of a transmission window is then waited, is further continued for sending window transmission ZigBee packets at ensuing two.
Above-mentioned setting be a kind of for example, do not make it is specific limit, but in order to express easily, in the following embodiments all only
By taking above-mentioned setting as an example.
According to above-mentioned setting, when ZigBee terminals judge to need to send ZigBee packets in currently transmitted window,
ZigBee terminals will send ZigBee packets in the second frequency range, wherein second frequency range is according to the first frequency range institute
The scope of covering carries out selection, and second frequency range is completely covered by first frequency range.As shown in figure 3, according to various
The division of the channel of communication protocol understands a width of 20MHz of band of WiFi channel, and ZigBee channel width is 2MHz, one
WiFi channels can cover 4 ZigBee channels.Such as the channels of WiFi the 11st just cover the letters of ZigBee the 21st, 22,23 and 24
Road.After the ZigBee terminals obtain the first frequency range of the WiFi links by monitoring, so that it may know in first frequency range
Coverage in 4 ZigBee channels, then select a conduct second frequency range to send out in 4 ZigBee channels
Send ZigBee packets.The method wherein selected can be rule of thumb gained or random selection, specifically select
Mode herein and is not construed as limiting.
And because WiFi channels employ OFDM technology, a WiFi channel may be logically divided into 64 subcarriers, be carried per height
The bandwidth of ripple is 312.5KHz, and the bandwidth of ZigBee channel can cover 4 subcarriers.Although to whole WiFi chains
For road, the ZigBee packets of transmission are difficult to be detected, still, the ZigBee packet meetings sent due to ZigBee terminals
Integrated distribution is in second frequency range.So channel shape for the subcarrier that can be covered by detecting second frequency range
State, to detect whether the subcarrier is influenceed by ZigBee packets.
Now the second WiFi terminal can passes through the WiFi data to receiving according to the WiFi links in the first frequency range
Bag is analyzed to obtain the channel condition information CSI information of the WiFi links, then therefrom extracts the CSI information of subcarrier.
Have much for the acquisition method of CSI information, can also be realized using existing various CSI information collecting devices, such as can
To believe by the WiFi network interface cards Inte2300 and software platform CSITool of commercialization, but because CSITool can only collect 30 sons
The CSI sequences in road, the size per sub-channels are about twice of subcarrier, so just needing to believe the CSI for extracting subcarrier
Breath, switchs to the CSI information for extracting subchannel.The CSI letters of subchannel required for being extracted from the CSI information of WiFi links
Breath, wherein the subchannel is that immediate subchannel of centre frequency with second frequency range.The son of acquisition is believed again
The CSI information in road, CSI sequences are divided into according to decoding window.Wherein described decoding window is corresponding with the transmission window, and
And both equal lengths, i.e., each decoding window correspond to a data to be sent.So as to by each section of CSI sequence
The parsing of row, the value of each data to be sent is obtained, further according to putting in order for each section of CSI sequence, obtained complete pending
Send data.
Certainly in specific implementation process, different CSI harvesters can be used as needed, so as to obtain difference
The CSI information of precision, but in order to express easily in the following embodiments, all only with using above-mentioned CSI harvesters and son letter
Exemplified by the setting in road.
In the application process of reality, in order that the decoding window is corresponding with the time of the transmission window, and accuse
Know the second frequency range described in the second WiFi terminal, ZigBee terminals can be before carrying out data transmission, can be first whole to the 2nd WiFi
End sends a synchronizing signal so that the second WiFi terminal is ready for the collection of CSI information.
The embodiment of the present invention by by data to be sent in ZigBee terminals using whetheing there is ZigBee data packet codings, and
Second WiFi terminal obtains the ZigBee that the modes of data to be received realizes and arrived according to the collection to CSI information so as to decode
WiFi efficient communication mode, so as to considerably increase ZigBee terminals to the handling capacity of WiFi terminal information transfer, and we
Case does not need third party's gateway, need not more change ZigBee and WiFi physical layer and MAC protocol standard.
Based on above-described embodiment, further, as shown in figure 4, the link information also includes transmission WiFi data bag
The long T of WiFi bagsDWWith WiFi inter-packet gaps TIW;Correspondingly, methods described also includes:
According to the long T of WiFi bagsDWThe ZigBee bags length is obtained with the WiFi inter-packet gaps, to meet the ZigBee
Wrap long TDZThe long T of WiFi bags described at least equal to twoDWWith a WiFi inter-packet gaps TIWSum, and then further according to default
ZigBee inter-packet gaps TIzObtain the length of the transmission window.
In the link information obtained when WiFi links needed for the ZigBee terminal-pairs are monitored, it further comprises in institute
State the long T of WiFi bags that WiFi data bag is transmitted in WiFi linksDWWith the WiFi inter-packet gaps T of WiFi data parlorIW.In order to ensure
The CSI sequences that second WiFi terminal collects can significant difference go out whether by ZigBee packets influence it is necessary to
Ensure that the ZigBee packets can have influence on WiFi data bag in time domain, that is, to ensure ZigBee packets at least
It is completely superposed with a WiFi data bag in time domain.That requires the long T of ZigBee bags for transmitting the ZigBee packetsDZExtremely
It is equal to 2 long T of WiFi bags lessDWPlus 1 WiFi inter-packet gaps TIW。
If from the foregoing, it will be observed that the packet of the ZigBee were longer, i.e., the described long T of ZigBee bagsDZIt is longer, then it is affected
WiFi data bag also can be more, the CSI sequences now collected, which more obvious must be able to can also be shown, receives WiFi numbers
According to the influence of bag.But due to consideration that the limited length of ZigBee packets, and long packet also can be to data transfer
Handling capacity impact, so just need to ZigBee packets set one compromise the long T of ZigBee bagsDZMeeting to treat
It must increase handling capacity as far as possible on the premise of the decoding high-accuracy for sending data.
The method used in embodiments of the present invention is, by the long T of each ZigBee bagDZIt is equal to two WiFi bags
Long TDWPlus a WiFi inter-packet gaps TIW, that is, ensure that each ZigBee packet at least can be complete with a WiFi data bag
Overlap.Then the ZigBee packets of default quantity forwarded, each two ZigBee data are continuously transmitted in each transmission window
Default ZigBee inter-packet gaps T be present in parlorIZ, can be drawn so as to each send the length of window by below equation:
Send length of window=quantity forwarded * [(2*TDW+TIW)+TIZ]
It can be seen from above-described embodiment, the length of the decoding window is equal to the length for sending window, and every section obtained
CSI sampled points quantity in CSI sequences can be different according to the sample frequency difference of CSI information collecting devices.In the present embodiment
In, by the adjustment to CSI sample frequencys, the quantity of the CSI sampled points in every section of CSI sequence can in window with described send
The quantity forwarded of the ZigBee packets of transmission is equal, i.e., each ZigBee packet corresponds to a CSI sampled point.Wherein
The quantity forwarded can be set by the needs of itself, such as 8.
Above-mentioned for the long T of ZigBee bagsDZ, send the setting of window, decoding window and CSI sample frequencys etc. all simply pair
In one kind citing of this method, specific parameter can be carried out about between ZigBee terminals and WiFi terminal according to the actual needs
It is fixed, it is not especially limited herein, but in order to express easily, all only carried out as an example with above-mentioned setting in the following embodiments
Explanation.
The long T of WiFi bags in the embodiment of the present invention by gettingDWWith WiFi inter-packet gaps TIWThe long T of ZigBee bags is setDZWith
Window, and the length of decoding window are sent, ZigBee to WiFi data transfer can be made highly efficient, is ensureing high precision
The handling capacity of data transfer is substantially increased on the premise of rate.
It is further, described within the period corresponding with the transmission window based on above-described embodiment, in the second frequency
Section sends the ZigBee packets, specifically,
Within the period corresponding with the transmission window, the ZigBee packets are sent in the second frequency range, and send out
Power is sent in predetermined power threshold range.
When ZigBee terminals send ZigBee packets, its transmit power can not be too small, if too small can make second
WiFi terminal can not substantially distinguish the influence with the presence or absence of ZigBee packets when being parsed to CSI sequences, so as to big
Big increase understands the bit error rate of code.And if transmit power is too big, it be able to may just be incited somebody to action because of the first WiFi terminal again
The signal that ZigBee terminals are sent, as being signal that other WiFi terminals are sent, so as to take collision avoidance mechanism CSMA, make
First WiFi terminal interrupts WiFi links, so that the second WiFi terminal can not obtain correct CSI sequences to decode.
So ZigBee terminals need to choose suitable ZigBee transmit powers when sending ZigBee packets so that
CSI sequences can either occur significantly to change, and can not produce CSMA avoidance again, influence the data transfer of WiFi links.Now
Just need to preset a power threshold, such as -30dBm~0dBm, or be directly set as -20dBm.Make ZigBee transmit powers
ZigBee packets can be sent in the range of power threshold is met.
ZigBee of embodiment of the present invention terminals can put forward the second WiFi terminal by the restriction to ZigBee transmit powers
Correct and suitable CSI sequences are taken out, data to be sent must be decoded so as to more accurate, greatly improve data transfer standard
True rate and handling capacity.
Fig. 2 is another ZigBee to WiFi of embodiment of the present invention communication means flow chart, it is characterised in that including:
Step S11, the second WiFi terminal obtains the first WiFi terminal to the chain of the WiFi links of second WiFi terminal
Road information, wherein the link information comprises at least the CSI sequences of the first frequency range and subchannel in each decoding window;
Step S12, described second WiFi terminal is parsed to each section of CSI sequence to obtain each number to be sent
According to wherein the subchannel, in the coverage of the second frequency range, second frequency range is that ZigBee terminals send ZigBee numbers
According to the frequency range and second frequency range of bag in the coverage of first frequency range, the ZigBee terminals are used for to be sent
Data are parsed to judge whether send ZigBee data in the default transmission window corresponding with each data to be sent
Bag, if sending, within the period corresponding with the transmission window, the ZigBee data are sent in second frequency range
Bag, the decoding window with it is described transmission window it is corresponding and both equal length.
In order to realize the data transfer of ZigBee to the WiFi in the embodiment of the present invention, it is necessary to using a WiFi link,
It whether there is in a network from the first WiFi terminal to the second WiFi terminal so the ZigBee terminals can be monitored first
WiFi links.ZigBee terminals can obtain the link information of the WiFi links, wherein institute by the monitoring to WiFi links
State link information and comprise at least the first frequency range.
When listening to WiFi links needed for presence, ZigBee terminals also need to carry out the data to be sent being ready for sending
Parsing, due to the heterogeneous character of ZigBee terminals and the second WiFi terminal in itself, i.e. both transmission band, transimission power and transmission
The otherness of agreement so that the data in ZigBee packets that the second WiFi terminal can not be sent to ZigBee terminals solve
Analysis.So the method that uses of the embodiment of the present invention for:The ZigBee sent is recognized whether in existing WiFi links
Packet, that is, second WiFi terminal is allowed to pass through the fine or not judgement of the channel status to the WiFi links described to infer
Whether the ZigBee packet is being sent in WiFi links.So the coding of ZigBee terminal-pairs data to be sent is also
Carried out by the way of packet is whether there is, each in data to be sent is parsed respectively, and it is pending to each
Send data to preset respective transmission window, then judge whether to need again in the transmission corresponding with each data to be sent
Window sends ZigBee packets.If it is determined that to need to send, then ZigBee is sent within the transmission window corresponding period
Packet.Specifically it is set as:
If the value obtained is 1, judge to need to send ZigBee packets in currently transmitted window;
If the value obtained is 0, judge that in currently transmitted window ZigBee packets need not be sent.
According to above-mentioned setting, when ZigBee terminals judge to need to send ZigBee packets in currently transmitted window,
ZigBee terminals will send ZigBee packets in the second frequency range, wherein second frequency range is according to the first frequency range institute
The scope of covering carries out selection, and second frequency range is completely covered by first frequency range.According to various communication protocols
The division of channel understands a width of 20MHz of band of WiFi channel, and ZigBee channel width is 2MHz, a WiFi channel energy
Enough cover 4 ZigBee channels.Such as the channels of WiFi the 11st just cover ZigBee the 21st, 22,23 and 24 channels.When described
After ZigBee terminals obtain the first frequency range of the WiFi links by monitoring, so that it may know the coverage in first frequency range
4 interior ZigBee channels, a conduct second frequency range is then selected to send ZigBee numbers in 4 ZigBee channels
According to bag.The method wherein selected can be rule of thumb gained or random selection, and specific selection mode is herein simultaneously
It is not construed as limiting.
And because WiFi channels employ OFDM technology, a WiFi channel may be logically divided into 64 subcarriers, be carried per height
The bandwidth of ripple is 312.5KHz, and the bandwidth of ZigBee channel can cover 4 subcarriers.Although to whole WiFi chains
For road, the ZigBee packets of transmission are difficult to be detected, still, the ZigBee packet meetings sent due to ZigBee terminals
Integrated distribution is in second frequency range.So channel shape for the subcarrier that can be covered by detecting second frequency range
State, to detect whether the subcarrier is influenceed by ZigBee packets.
Now the second WiFi terminal can passes through the WiFi data to receiving according to the WiFi links in the first frequency range
Bag is analyzed to obtain the channel condition information CSI information of the WiFi links, then therefrom extracts the CSI information of subcarrier.
Have much for the acquisition method of CSI information, can also be realized using existing various CSI information collecting devices, such as can
To believe by the WiFi network interface cards Inte2300 and software platform CSITool of commercialization, but because CSITool can only collect 30 sons
The CSI sequences in road, the size per sub-channels are about twice of subcarrier, so just needing to believe the CSI for extracting subcarrier
Breath, switchs to the CSI information for extracting subchannel.The CSI letters of subchannel required for being extracted from the CSI information of WiFi links
Breath, wherein the subchannel is that immediate subchannel of centre frequency with second frequency range.The son of acquisition is believed again
The CSI information in road, CSI sequences are divided into according to decoding window.Wherein described decoding window is corresponding with the transmission window, and
And both equal lengths, i.e., each decoding window correspond to a data to be sent.So as to by each section of CSI sequence
The parsing of row, the value of each data to be sent is obtained, further according to putting in order for each section of CSI sequence, obtained complete pending
Send data.
The embodiment of the present invention by by data to be sent in ZigBee terminals using whetheing there is ZigBee data packet codings, and
Second WiFi terminal obtains what the modes of data to be received was realized according to the collection of the CSI information to receive information, so as to decode
ZigBee to WiFi efficient communication mode, so as to considerably increase ZigBee terminals handling up to WiFi terminal information transfer
Amount.
Based on above-described embodiment, further, it is described each section of CSI sequence is parsed it is to be sent to obtain each
Data, it is specially:
According to the variance of at least one CSI sampled points included in each section of CSI sequence and the peak peak of the CSI sampled points
Value, each section of CSI sequence is divided into by first kind CSI sequences or the second class CSI sequences using advance trained vector machine, and
Each data to be sent is obtained, wherein the first kind CSI sequences represent described within the corresponding decoding window period
Second WiFi terminal have received ZigBee packets, and the second class CSI sequences were represented in the corresponding decoding window time
Second WiFi terminal has been not received by ZigBee packets in section.
The CSI sequences are according to the differences of CSI information collecting devices, and the difference of the setting for sample frequency, institute
State to comprise at least in CSI sequences and have a CSI sampled point.And also have much for the analytic method of CSI sequences, such as can be pre-
If some threshold points, each CSI sampled point in CSI sequences is parsed respectively, then collected again to obtain CSI sequences
Analysis result.Or in CSI sequences, the correlations of each CSI sampled points is parsed.The embodiment of the present invention,
A kind of method citing therein is only provided, specific method can according to the actual needs be designed, not limit specifically herein
It is fixed.
The embodiment of the present invention employs vector machine SVM classifier to realize the decoding to CSI sequences.According to above-described embodiment
In default decoding window, 8 CSI sampled points are had in every section of CSI sequence.SVM classifier can obtain this 8 CSI and adopt
The peak-to-peak value of the variance of sampling point and each CSI sampled points.The training set of one group of data to be sent is first set, in different environment
Carry out multigroup experiment and obtain the CSI sequences under different WiFi links.So that SVM classifier can be according to every section of CSI sequence
Variance and the built-up patterns of peak-to-peak value of wherein each CSI sampled points CSI sequences were divided into the corresponding decoding window time
Second WiFi terminal receives the first kind CSI sequences of ZigBee packets and is not received by ZigBee packets in section
The second class CSI sequences.And the test set of one group of data to be sent is reset to determine the accuracy rate of the SVM classifier.When
When the rate of accuracy reached of the SVM classifier is to the value needed, such as 90%, so that it may think that the SVM classifier can be realized pair
In the decoding of CSI sequences.
In specific application process, the SVM classifier can is classified to the CSI sequences extracted, if
First kind CSI sequences, then be decoded as 1, if the second class CSI sequences, is then decoded as 0.So as to the arrangement according to each section of CSI sequence
Situation, accurately decode data to be received.
The embodiment of the present invention first passes through the training to SVM and tested to cause SVM classifier to meet to require, then utilizes
SVM classifier is classified to the CSI sequences extracted, and is accurately decoded, it is ensured that what ZigBee to WiFi data was sent
Accuracy rate and the handling capacity for greatly improving data transfer.
Fig. 5 is the structural representation of the ZigBee terminals of the embodiment of the present invention, as shown in figure 5, the terminal includes obtaining
Module 10 and sending module 11, wherein,
Acquisition module 10 is used for the WiFi information for being persistently sent to the second WiFi terminal for obtaining existing first WiFi terminal
And acquisition link information is analyzed, wherein the link information comprises at least the first frequency range;Sending module 11 is used for number to be sent
Judge whether send ZigBee packets in the default transmission window corresponding with each data to be sent according to being parsed,
If sending, within the period corresponding with the transmission window, the ZigBee packets are sent in the second frequency range, wherein
Second frequency range is in the coverage of first frequency range, so that second WiFi terminal obtains according to the WiFi links
CSI sequence of the subchannel in each decoding window is taken, and each section of CSI sequence is parsed pending to obtain each
Data are sent, wherein the subchannel is in the coverage of second frequency range, the decoding window and the transmission window phase
Corresponding and both equal lengths.Specifically:
In order to realize the data transfer of ZigBee to the WiFi in the embodiment of the present invention, it is necessary to using a WiFi link,
It whether there is in a network from the first WiFi terminal to the second WiFi terminal so the acquisition module 10 can be monitored first
WiFi links, if it does not exist, then continuing to keep listening state with untill finding the WiFi links.ZigBee terminals pass through
Monitoring to WiFi links can obtain the link information of the WiFi links, wherein the link information comprises at least the first frequency
Section.Then the link information of acquisition can be sent to sending module 11 by the acquisition module 10.
When the acquisition module 10 listens to WiFi links needed for presence, sending module 11 is also needed to being ready for sending
Data to be sent are parsed, due to the heterogeneous character of ZigBee terminals and the second WiFi terminal in itself, i.e., both transmission bands,
The otherness of transimission power and host-host protocol so that the ZigBee packets that the second WiFi terminal can not be sent to ZigBee terminals
Interior data are parsed.So the method that uses of the embodiment of the present invention for:Recognized whether just in existing WiFi links
In the ZigBee packets of transmission, that is, second WiFi terminal is allowed to pass through the fine or not of the channel status to the WiFi links
Judge to infer the ZigBee packets whether are being sent in the WiFi links.So sending module 11 is to be sent
Encoding and being carried out by the way of packet is whether there is for data, is parsed respectively to each in data to be sent,
And preset respective transmission window to each data to be sent, then judge whether again need with each number to be sent
ZigBee packets are sent according to corresponding transmission window.If it is determined that to need to send, then in the transmission window corresponding time
ZigBee packets are sent in section.
Further, it is described data to be sent to be parsed to judge corresponding with each data to be sent pre-
If sending whether window sends ZigBee packets, it is specially:
By putting in order for the data to be sent, a data to be sent often are obtained by a window that sends,
It is described to send window to send the ZigBee bags of at least one ZigBee packets length plus ZigBee inter-packet gaps, if described one is treated
The value for sending data is 1, then judges that the transmission window needs to send the ZigBee packets, if a number to be sent
According to value be 0, then judge it is described transmission window need not send the ZigBee packets.
For how by data to be sent parse with determine whether send window transmission ZigBee packets, this implementation
The method of example is putting in order by data to be sent, one is parsed then, is finished until parsing, while complete ZigBee data
The transmission of bag, specific implementation process are as follows:
The default length for sending window is first obtained, the length for sending window is to send at least one ZigBee data
The ZigBee bags of bag are long to add ZigBee inter-packet gaps, wherein the data for specifically sending ZigBee packets can be according to the actual needs
To be set, do not limit specifically herein.Sending module 11 is often by the length of a transmission window just from number to be sent
According to a position data to be sent are obtained in order, the value of this data to be sent is only possible to that 1 or 0 two kind occurs, sets
If the value obtained is 1, judge to need to send ZigBee packets in currently transmitted window;
If the value obtained is 0, judge that in currently transmitted window ZigBee packets need not be sent.
According to above-mentioned setting, when ZigBee terminals judge to need to send ZigBee packets in currently transmitted window,
Sending module 11 will send ZigBee packets in the second frequency range, and second frequency range is completely covered by first frequency range.
The a width of 20MHz of band of WiFi channel is understood, and ZigBee channel width is 2MHz, a WiFi channel can cover 4
ZigBee channels.After the acquisition module 10 obtains the first frequency range of the WiFi links by monitoring, the sending module
11 just understand 4 ZigBee channels in the coverage of first frequency range, then select one in 4 ZigBee channels
It is individual to be used as second frequency range to send ZigBee packets.
And because WiFi channels employ OFDM technology, a WiFi channel may be logically divided into 64 subcarriers, be carried per height
The bandwidth of ripple is 312.5KHz, and the bandwidth of ZigBee channel can cover 4 subcarriers.Although to whole WiFi chains
For road, the ZigBee packets of transmission are difficult to be detected, still, the ZigBee packet meetings sent due to ZigBee terminals
Integrated distribution is in second frequency range.So channel shape for the subcarrier that can be covered by detecting second frequency range
State, to detect whether the subcarrier is influenceed by ZigBee packets.
Now the second WiFi terminal can passes through the WiFi data to receiving according to the WiFi links in the first frequency range
Bag is analyzed to obtain the channel condition information CSI information of the WiFi links, then therefrom extracts the CSI information of subcarrier.
Have much for the acquisition method of CSI information, can also be realized using existing various CSI information collecting devices, such as can
To believe by the WiFi network interface cards Inte2300 and software platform CSITool of commercialization, but because CSITool can only collect 30 sons
The CSI sequences in road, the size per sub-channels are about twice of subcarrier, so just needing to believe the CSI for extracting subcarrier
Breath, switchs to the CSI information for extracting subchannel.The CSI letters of subchannel required for being extracted from the CSI information of WiFi links
Breath, wherein the subchannel is that immediate subchannel of centre frequency with second frequency range.The son of acquisition is believed again
The CSI information in road, CSI sequences are divided into according to decoding window.Wherein described decoding window is corresponding with the transmission window, and
And both equal lengths, i.e., each decoding window correspond to a data to be sent.So as to by each section of CSI sequence
The parsing of row, the value of each data to be sent is obtained, further according to putting in order for each section of CSI sequence, obtained complete pending
Send data.
Device provided in an embodiment of the present invention is used to perform the above method, its function with specific reference to above method embodiment,
Its specific method flow repeats no more here.
The embodiment of the present invention by by data to be sent in sending module 11 using whetheing there is ZigBee data packet codings, and
Second WiFi terminal obtains what the mode for receiving data was realized according to the sampling of the CSI information to receive information so as to decode
ZigBee to WiFi efficient communication mode, so as to considerably increase the handling capacity of ZigBee to WiFi information transfers.
Fig. 6 is the WiFi terminal structural representation of the embodiment of the present invention, as shown in fig. 6, the WiFi terminal includes collection
Module 20 and decoder module 21, wherein,
Link information of the acquisition module 20 for the first WiFi terminal of acquisition to the WiFi links of the acquisition module 20, its
Described in link information comprise at least the CSI sequences of the first frequency range and subchannel in each decoding window;Decoder module 21
For being parsed each section of CSI sequence to obtain each data to be sent, wherein the subchannel is in the second frequency range
In coverage, second frequency range is the frequency range of ZigBee terminals transmission ZigBee packets and second frequency range is described
In the coverage of first frequency range, the ZigBee terminals are used to parse data to be sent to judge to treat with each
Send whether the corresponding default transmission window of data sends ZigBee packets, if sending, window phase is being sent with described
In the corresponding period, the ZigBee packets, the decoding window and the transmission window are sent in second frequency range
Corresponding and both equal lengths.Specifically,
In order to realize the data transfer of ZigBee to the WiFi in the embodiment of the present invention, it is necessary to using a WiFi link,
So the ZigBee terminals can first monitor the WiFi that whether there is in a network from the first WiFi terminal to acquisition module 20
Link.ZigBee terminals can obtain the link information of the WiFi links by the monitoring to WiFi links, wherein the chain
Road information comprises at least the first frequency range.
When listening to WiFi links needed for presence, ZigBee terminals also need to carry out the data to be sent being ready for sending
Parsing, due to the heterogeneous character of ZigBee terminals and the second WiFi terminal in itself, i.e. both transmission band, transimission power and transmission
The otherness of agreement so that the data in ZigBee packets that acquisition module 20 can not be sent to ZigBee terminals solve
Analysis.So the method that uses of the embodiment of the present invention for:The ZigBee sent is recognized whether in existing WiFi links
Packet, that is, allow collection of the acquisition module 20 by the channel status to the WiFi links, and in decoder module 21
The ZigBee packets whether are being sent in the WiFi links is inferred to the fine or not judgement of the WiFi link channels.
So ZigBee terminal-pairs data to be sent encoding and being carried out by the way of packet is whether there is, to data to be sent
In each parsed respectively, and preset respective transmission window to each data to be sent, then judge again be
It is no to need to send ZigBee packets in the transmission window corresponding with each data to be sent.If it is determined that to need to send,
ZigBee packets are then sent within the transmission window corresponding period.Specifically it is set as:
If the value obtained is 1, judge to need to send ZigBee packets in currently transmitted window;
If the value obtained is 0, judge that in currently transmitted window ZigBee packets need not be sent.
According to above-mentioned setting, when ZigBee terminals judge to need to send ZigBee packets in currently transmitted window,
ZigBee terminals will send ZigBee packets in the second frequency range, wherein second frequency range is according to the first frequency range institute
The scope of covering carries out selection, and second frequency range is completely covered by first frequency range.According to various communication protocols
The division of channel understands a width of 20MHz of band of WiFi channel, and ZigBee channel width is 2MHz, a WiFi channel energy
Enough cover 4 ZigBee channels.After the ZigBee terminals obtain the first frequency range of the WiFi links by monitoring, so that it may
Know 4 ZigBee channels in the coverage of first frequency range, a conduct is then selected in 4 ZigBee channels
Second frequency range sends ZigBee packets.
And because WiFi channels employ OFDM technology, a WiFi channel may be logically divided into 64 subcarriers, be carried per height
The bandwidth of ripple is 312.5KHz, and the bandwidth of ZigBee channel can cover 4 subcarriers.Although to whole WiFi chains
For road, the ZigBee packets of transmission are difficult to be detected, still, the ZigBee packet meetings sent due to ZigBee terminals
Integrated distribution is in second frequency range.So channel shape for the subcarrier that can be covered by detecting second frequency range
State, to detect whether the subcarrier is influenceed by ZigBee packets.
Now the can of acquisition module 20 passes through the WiFi data bag to receiving according to the WiFi links in the first frequency range
Analysis obtain the channel condition information CSI information of the WiFi links, then therefrom extract the CSI information of subcarrier.It is right
Have much in the acquisition method of CSI information, can also be realized using existing various CSI information collecting devices, such as can be with
By the WiFi network interface cards Inte2300 and software platform CSITool of commercialization, but because CSITool can only collect 30 sub-channels
CSI sequences, the size per sub-channels is about twice of subcarrier, so just need that the CSI information of subcarrier will be extracted,
Switch to the CSI information for extracting subchannel.Son required for the acquisition module 20 extracts from the CSI information of WiFi links is believed
The CSI information in road, wherein the subchannel is that immediate subchannel of centre frequency with second frequency range.It will obtain again
The CSI information of the subchannel taken, CSI sequences are divided into according to decoding window.Wherein described decoding window and the transmission window
It is corresponding, and both equal lengths, i.e., each decoding window correspond to a data to be sent.The acquisition module 20 will
CSI sequences are sent to decoder module 21, so as to which the decoder module 21 can be obtained by the parsing to each section of CSI sequence
The value of each data to be sent, further according to putting in order for each section of CSI sequence, obtain complete data to be sent.
Device provided in an embodiment of the present invention is used to perform the above method, its function with specific reference to above method embodiment,
Its specific method flow repeats no more here.
The embodiment of the present invention by by data to be sent in ZigBee terminals using whetheing there is ZigBee data packet codings, and
Decoder module 21 decodes to obtain and receives the ZigBee that the mode of data is realized according to the sampling of the CSI information to WiFi links
To WiFi efficient communication mode, so as to considerably increase ZigBee terminals to the handling capacity of WiFi terminal information transfer.
Fig. 7 is the electronic devices structure schematic diagram for showing the embodiment of the present invention.As shown in fig. 7, the electronic equipment, bag
Include:Processor (processor) 601, memory (memory) 602 and bus 603;
Wherein, the processor 601 and the memory 602 complete mutual communication by the bus 603;
The processor 601 is used to call the programmed instruction in the memory 602, to perform above-mentioned each method embodiment
The method provided, such as including:The link information of the WiFi links of the first WiFi terminal to the second WiFi terminal is obtained, wherein
The link information comprises at least the first frequency range;Data to be sent are parsed with judge with each data phase to be sent
Whether corresponding default transmission window sends ZigBee packets, if sending, in the time corresponding with the transmission window
In section, the ZigBee packets are sent in the second frequency range, wherein coverage of second frequency range in first frequency range
It is interior, so that second WiFi terminal obtains CSI sequence of the subchannel in each decoding window according to the WiFi links,
And each section of CSI sequence is parsed to obtain each data to be sent, wherein the subchannel is in second frequency range
Coverage in, the decoding window is corresponding with the transmission window and both equal lengths.
Further, the embodiment of the present invention discloses a kind of computer program product, and the computer program product includes depositing
The computer program on non-transient computer readable storage medium storing program for executing is stored up, the computer program includes programmed instruction, when described
When programmed instruction is computer-executed, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:Obtain
The link information of the WiFi links of the first WiFi terminal to the second WiFi terminal is taken, wherein the link information comprises at least first
Frequency range;Data to be sent are parsed to judge whether send out in the default transmission window corresponding with each data to be sent
ZigBee packets are sent, if sending, within the period corresponding with the transmission window, described in the transmission of the second frequency range
ZigBee packets, wherein second frequency range is in the coverage of first frequency range, for second WiFi terminal
CSI sequence of the subchannel in each decoding window is obtained according to the WiFi links, and each section of CSI sequence is solved
Analysis is to obtain each data to be sent, wherein the subchannel is in the coverage of second frequency range, the decoding window
Mouthful with it is described transmission window it is corresponding and both equal lengths.
Further, the embodiment of the present invention provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient calculating
Machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer perform above-mentioned each method embodiment institute
The method of offer, such as including:Obtain the link information of the WiFi links of the first WiFi terminal to the second WiFi terminal, wherein institute
State link information and comprise at least the first frequency range;Data to be sent are parsed to judge relative with each data to be sent
Whether the default transmission window answered sends ZigBee packets, if sending, in the period corresponding with the transmission window
It is interior, the ZigBee packets are sent in the second frequency range, wherein second frequency range is in the coverage of first frequency range,
So that second WiFi terminal obtains CSI sequence of the subchannel in each decoding window according to the WiFi links, and
Each section of CSI sequence is parsed to obtain each data to be sent, wherein the subchannel is in second frequency range
In coverage, the decoding window is corresponding with the transmission window and both equal lengths.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The embodiments such as the test equipment of display device described above are only schematical, wherein described as separation
The unit of part description can be or may not be it is physically separate, can be as the part that unit is shown or
It can not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Border needs to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art
In the case where not paying performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on
The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation
Method described in some parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
- A kind of 1. ZigBee to WiFi communication means, it is characterised in that including:ZigBee terminals obtain the link information of the WiFi links of the first WiFi terminal to the second WiFi terminal, wherein the link Information comprises at least the first frequency range;The ZigBee terminal-pairs data to be sent are parsed to judge to preset in corresponding with each data to be sent Send whether window sends ZigBee packets, if sending, within the period corresponding with the transmission window, second Frequency range sends the ZigBee packets, wherein second frequency range is in the coverage of first frequency range, for described Second WiFi terminal obtains CSI sequence of the subchannel in each decoding window according to the WiFi links, and to each section CSI sequences are parsed to obtain each data to be sent, wherein coverage of the subchannel in second frequency range Interior, the decoding window is corresponding with the transmission window and both equal lengths.
- 2. according to the method for claim 1, it is characterised in that the ZigBee terminal-pairs data to be sent parsed with Judge whether send ZigBee packets in the default transmission window corresponding with each data to be sent, be specially:ZigBee terminals the putting in order by the data to be sent, often obtain one by a transmission window and treat Data are sent, it is described to send window to send the ZigBee bags of at least one ZigBee packets length plus ZigBee inter-packet gaps, if The value of one data to be sent is 1, then judges that the transmission window needs to send the ZigBee packets, if described one The value of position data to be sent is 0, then judges that the transmission window need not send the ZigBee packets.
- 3. according to the method for claim 2, it is characterised in that the link information also includes transmission WiFi data bag WiFi bags length and WiFi inter-packet gaps;Correspondingly, methods described also includes:The ZigBee terminals obtain the ZigBee bags length according to the WiFi bags are long with the WiFi inter-packet gaps, to meet The long long sum with a WiFi inter-packet gap of WiFi bags described at least equal to two of ZigBee bags is stated, and then further according to default ZigBee inter-packet gaps obtain the length of the transmission window.
- 4. according to the method for claim 1, it is characterised in that described in the period corresponding with the transmission window It is interior, the ZigBee packets are sent in the second frequency range, specifically,Within the period corresponding with the transmission window, the ZigBee packets are sent in second frequency range, and send out Power is sent in predetermined power threshold range.
- A kind of 5. ZigBee to WiFi communication means, it is characterised in that including:Second WiFi terminal obtains the first WiFi terminal to the link information of the WiFi links of second WiFi terminal, wherein institute State link information and comprise at least the CSI sequences of the first frequency range and subchannel in each decoding window;Second WiFi terminal is parsed to each section of CSI sequence to obtain each data to be sent, wherein the son For channel in the coverage of the second frequency range, second frequency range sends frequency range and the institute of ZigBee packets for ZigBee terminals The second frequency range is stated in the coverage of first frequency range, the ZigBee terminals be used for data to be sent are parsed with Judge whether send ZigBee packets in the default transmission window corresponding with each data to be sent, if sending, In the period corresponding with the transmission window, the ZigBee packets, the decoding window are sent in second frequency range Mouthful with it is described transmission window it is corresponding and both equal length.
- 6. according to the method for claim 5, it is characterised in that second WiFi terminal is carried out to each section of CSI sequence Parsing is to obtain each data to be sent, specially:Variance and the CSI of second WiFi terminal according at least one CSI sampled points included in each section of CSI sequence The peak-to-peak value of sampled point, each section of CSI sequence is divided into by first kind CSI sequences or second using advance trained vector machine Class CSI sequences, and each data to be sent is obtained, wherein the first kind CSI sequences are represented in corresponding decoding window Second WiFi terminal have received ZigBee packets in period, and the second class CSI sequences are represented corresponding Second WiFi terminal has been not received by ZigBee packets in the decoding window period.
- A kind of 7. ZigBee terminals, it is characterised in that including:Acquisition module, for obtaining the WiFi information for being persistently sent to the second WiFi terminal of existing first WiFi terminal and analyzing Link information is obtained, wherein the link information comprises at least the first frequency range;Sending module, for being parsed to data to be sent with judgement in the default hair corresponding with each data to be sent Send whether window sends ZigBee packets, if sending, within the period corresponding with the transmission window, in the second frequency Section sends the ZigBee packets, wherein second frequency range is in the coverage of first frequency range, for described the Two WiFi terminals obtain CSI sequence of the subchannel in each decoding window according to the WiFi links, and to each section of CSI Sequence is parsed to obtain each data to be sent, wherein the subchannel is in the coverage of second frequency range, The decoding window is corresponding with the transmission window and both equal lengths.
- A kind of 8. WiFi terminal, it is characterised in that including:Acquisition module, for obtaining the first WiFi terminal to the link information of the WiFi links of second WiFi terminal, wherein The link information comprises at least the CSI sequences of the first frequency range and subchannel in each decoding window;Decoder module, for being parsed each section of CSI sequence to obtain each data to be sent, wherein the subchannel In the coverage of the second frequency range, second frequency range is the frequency range and described that ZigBee terminals send ZigBee packets In the coverage of first frequency range, the ZigBee terminals are used to parse data to be sent to judge two frequency ranges Whether send ZigBee packets in the default transmission window corresponding with each data to be sent, if send, with institute State and send in window corresponding period, the ZigBee packets are sent in second frequency range, the decoding window with It is described to send that window is corresponding and both equal length.
- 9. a kind of electronic equipment, it is characterised in that including memory and processor, the processor and the memory pass through total Line completes mutual communication;The memory storage has and can adjusted by the programmed instruction of the computing device, the processor The method as described in Claims 1-4 is any is able to carry out with described program instruction.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program quilt The method as described in Claims 1-4 is any is realized during computing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710888643.8A CN107682830B (en) | 2017-09-27 | 2017-09-27 | A kind of communication means and device of ZigBee to WiFi |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710888643.8A CN107682830B (en) | 2017-09-27 | 2017-09-27 | A kind of communication means and device of ZigBee to WiFi |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107682830A true CN107682830A (en) | 2018-02-09 |
CN107682830B CN107682830B (en) | 2019-10-18 |
Family
ID=61136135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710888643.8A Active CN107682830B (en) | 2017-09-27 | 2017-09-27 | A kind of communication means and device of ZigBee to WiFi |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107682830B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113819A (en) * | 2019-04-02 | 2019-08-09 | 南京林业大学 | A kind of ZigBee node parallel transmission method based on Wifi communication |
CN110602131A (en) * | 2019-09-24 | 2019-12-20 | 清华大学 | Wi-Fi-to-BLE cross-protocol communication method and device |
CN110855713A (en) * | 2019-11-28 | 2020-02-28 | 深圳大学 | Cross-protocol communication method and system from WiFi device to ZigBee device |
CN110912619A (en) * | 2019-12-12 | 2020-03-24 | 大连理工大学 | Cross-protocol communication method from ZigBee to WiFi |
CN111835492A (en) * | 2020-06-09 | 2020-10-27 | 北京邮电大学 | Asymmetric channel-oriented symmetric cross-protocol communication method and device |
CN111935721A (en) * | 2020-08-18 | 2020-11-13 | 深圳大学 | Method and system for realizing coexistence of heterogeneous networks |
CN113286309A (en) * | 2021-05-18 | 2021-08-20 | 合肥工业大学 | Heterogeneous communication method and system based on CSI |
CN114760713A (en) * | 2022-04-19 | 2022-07-15 | 中国矿业大学 | Information transmission system and method for underground inspection robot |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106533623A (en) * | 2016-11-17 | 2017-03-22 | 清华大学 | Cross-protocol communication method and device |
CN106793051A (en) * | 2016-11-17 | 2017-05-31 | 清华大学 | Data transmission method, receiving terminal and transmitting terminal |
-
2017
- 2017-09-27 CN CN201710888643.8A patent/CN107682830B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106533623A (en) * | 2016-11-17 | 2017-03-22 | 清华大学 | Cross-protocol communication method and device |
CN106793051A (en) * | 2016-11-17 | 2017-05-31 | 清华大学 | Data transmission method, receiving terminal and transmitting terminal |
Non-Patent Citations (4)
Title |
---|
GONGLONG CHEN,ET.AL.: "Towards Accurate Corruption Estimation in ZigBee Under Cross-Technology Interference", 《2017 IEEE 37TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS》 * |
ILENIA TINNIRELLO,ET.AL.: "Cross-Technology WiFi/ZigBee Communications: Dealing With Channel Insertions and Deletions", 《IEEE COMMUNICATIONS LETTERS》 * |
WENCHAO JIANG,ET.AL.: "Transparent Cross-technology Communication over Data Traffic", 《IEEE INFOCOM 2017 - IEEE CONFERENCE ON COMPUTER COMMUNICATIONS》 * |
XIUZHEN GUO,ET.AL.: "WiZig: Cross-Technology Energy Communication over a Noisy Channel", 《IEEE INFOCOM 2017 - IEEE CONFERENCE ON COMPUTER COMMUNICATIONS》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110113819A (en) * | 2019-04-02 | 2019-08-09 | 南京林业大学 | A kind of ZigBee node parallel transmission method based on Wifi communication |
CN110113819B (en) * | 2019-04-02 | 2022-10-25 | 南京林业大学 | ZigBee node parallel transmission method based on Wifi communication |
CN110602131A (en) * | 2019-09-24 | 2019-12-20 | 清华大学 | Wi-Fi-to-BLE cross-protocol communication method and device |
CN110602131B (en) * | 2019-09-24 | 2020-10-16 | 清华大学 | Wi-Fi-to-BLE cross-protocol communication method and device |
US11212862B2 (en) | 2019-11-28 | 2021-12-28 | Shenzhen University | Method and system for cross-technology communication from WiFi device to ZigBee device |
CN110855713A (en) * | 2019-11-28 | 2020-02-28 | 深圳大学 | Cross-protocol communication method and system from WiFi device to ZigBee device |
CN110912619A (en) * | 2019-12-12 | 2020-03-24 | 大连理工大学 | Cross-protocol communication method from ZigBee to WiFi |
CN111835492A (en) * | 2020-06-09 | 2020-10-27 | 北京邮电大学 | Asymmetric channel-oriented symmetric cross-protocol communication method and device |
CN111935721A (en) * | 2020-08-18 | 2020-11-13 | 深圳大学 | Method and system for realizing coexistence of heterogeneous networks |
CN111935721B (en) * | 2020-08-18 | 2022-06-28 | 深圳大学 | Method and system for realizing coexistence of heterogeneous networks |
CN113286309A (en) * | 2021-05-18 | 2021-08-20 | 合肥工业大学 | Heterogeneous communication method and system based on CSI |
CN114760713A (en) * | 2022-04-19 | 2022-07-15 | 中国矿业大学 | Information transmission system and method for underground inspection robot |
CN114760713B (en) * | 2022-04-19 | 2024-04-09 | 中国矿业大学 | Information transmission system and method for underground inspection robot |
Also Published As
Publication number | Publication date |
---|---|
CN107682830B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107682830B (en) | A kind of communication means and device of ZigBee to WiFi | |
CN107750061A (en) | A kind of ZigBee to WiFi adaptive communication method and device | |
CN105393621B (en) | A kind of subframe processing method and equipment | |
CN106797662A (en) | Wireless communications method for data communication simultaneously and the wireless communication terminal using the method | |
CN107534637A (en) | Method and apparatus for receiving control signaling in the SCELL that is operated on unauthorized carrier wave | |
CN108370585A (en) | Use the wireless communications method and wireless communication terminal of more basic service identifier collection | |
CN111935721B (en) | Method and system for realizing coexistence of heterogeneous networks | |
CN105263155B (en) | The method and system of remote real time monitoring intelligent mobile terminal baseband processor operating status | |
CN104185297B (en) | A kind of channel competition method and apparatus | |
CN109274596A (en) | Data transmission method and relevant apparatus | |
Dziedzic et al. | Machine learning enabled spectrum sharing in dense LTE-U/Wi-Fi coexistence scenarios | |
CN107534903A (en) | System and method for reducing the conflict in wireless network | |
CN109618372A (en) | Data transmission method and relevant apparatus | |
CN104168582B (en) | A kind of microcell base station system, relevant device and data processing method | |
CN105120528B (en) | A kind of equipment room carries out the method, apparatus and system of configurability setting | |
CN102017778A (en) | Methods and systems for network channel capacity planning, measuring and analyzing of WLAN networks | |
CN111245675B (en) | Network delay and lost data packet detection method and system | |
CN110505023A (en) | A kind of exchange method of information, wearable device and storage medium | |
CN108476095A (en) | The system and method confirmed for variable-length block | |
CN106856629A (en) | A kind of data transmission protection and its device | |
CN106412809A (en) | MAC address acquisition method and system based on Bluetooth and WIFI | |
CN109076515A (en) | A kind of method and apparatus of channel measurement | |
CN104219017B (en) | A kind of physical layer data package transmission method and access node | |
CN107182127B (en) | Data transmission method for uplink and device | |
CN110996306B (en) | ZigBee-based multi-channel signal acquisition communication method |
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 |