CN109361490A - Data transmission method, computer equipment, data switch plate and SDR platform - Google Patents

Data transmission method, computer equipment, data switch plate and SDR platform Download PDF

Info

Publication number
CN109361490A
CN109361490A CN201810912700.6A CN201810912700A CN109361490A CN 109361490 A CN109361490 A CN 109361490A CN 201810912700 A CN201810912700 A CN 201810912700A CN 109361490 A CN109361490 A CN 109361490A
Authority
CN
China
Prior art keywords
frame
data
radio
switch plate
sent
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
Application number
CN201810912700.6A
Other languages
Chinese (zh)
Other versions
CN109361490B (en
Inventor
余义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201810912700.6A priority Critical patent/CN109361490B/en
Publication of CN109361490A publication Critical patent/CN109361490A/en
Application granted granted Critical
Publication of CN109361490B publication Critical patent/CN109361490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic or resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management, e.g. wireless traffic scheduling or selection or allocation of wireless resources
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation where an allocation plan is defined based on the type of the allocated resource
    • H04W72/0446Wireless resource allocation where an allocation plan is defined based on the type of the allocated resource the resource being a slot, sub-slot or frame

Abstract

The embodiment of the present invention provides a kind of data transmission method, computer equipment, data switch plate and SDR platform.The described method includes: the characteristics of according to including fixed frame header fields in wireless communication protocol, modulation header signal in advance, it can start the transmission of radio frames by controlling information, simultaneously, start to carry out data segment modulation, and by the data waveform transmission modulated to data switch plate, the complete transmission of wireless data frame is realized.The embodiment of the present invention carries out the preparation before data modulation using the time for eating dishes without rice or wine to send header signal, completely covers the delay of data modulation treatment, the only link delay of data transmission, and the low latency response realized in wireless communication protocol on SDR platform requires.

Description

Data transmission method, computer equipment, data switch plate and SDR platform
Technical field
The present embodiments relate to wireless network communication technique fields, and in particular to a kind of data transmission method, computer Equipment, data switch plate and SDR platform.
Background technique
Software-defined radio (Software Defined Radio, SDR) by building have open, standardization, Modular general hardware platform becomes a variety of communication mechanisms in wireless communication field by software realization physical layer and protocol stack And it deposits, interconnect difficult effective solution between each system.
Currently, there are mainly two types of architectures for SDR platform, one is be based on field programmable gate array (Field Programmable Gate Array, FPGA) or embedded dsp (Digital Signal Processor, DSP) programmable hardware, another kind be based on general purpose personal computer (Personal Computer, PC) it General processor (General-Purpose Processor, GPP) architecture of class.
Since the highly-parallel structure of FPGA is very suitable for Data Stream Processing, the SDR based on FPGA can be realized flexibly Radio and diversified Waveform Design.High speed wireless protocols, example also are realized there are many SDR platform based on FPGA at present Such as 802.11 agreements, the high-speed of protocol requirement, the technical indicator of high bandwidth and low delay can satisfy.However FPGA programming pair More difficult in developer, exploitation environment is incomplete, and development efficiency is low and the development cycle is long.
SDR platform based on GPP, using the framework of GPP plus FPGA.GPP realizes physical layer algorithm, by source data by adding Disturb, encode, interweaving, mapping, plus pilot tone, inverse fast Fourier transform (Inverse Fast Fourier Transform, IFFT) and after adding the physical layer algorithms such as protection interval (Guard Interval, GI) processing, become base band data.FPGA is then The base band data for being responsible for having modulated GPP is sent to digital-to-analogue conversion (Digital to analog converter, DAC) Chip, between FPGA and GPP by Peripheral Component Interconnect (Peripheral Component Interconnect Express, PCIE it) interacts.
However the hardware and software of general PC is not specially designed for the processing of wireless signal, and therefore, conventional base Very limited performance can only be realized in the SDR platform of general PC.For example, certain conventional SDR platforms based on general PC are logical It can only often realize the handling capacity of several Kbps, and 802.11 etc high speed wireless protocols are needed multiple at least 20MHz's The handling capacity for being up to 50Mbps or more is realized on channel.In addition, high speed wireless protocols also require low latency to respond, such as 802.11 The short interFrameGap (Short Interframe Space, SIFS) down to 16us is required in agreement.
In order to meet the SIFS index of high speed wireless protocols, for confirming character in 802.11a agreement For (Acknowledgement, ACK) frame in addition to the transmitter address of corresponding data frame, all data are fixed spy Point, the ACK frame after having modulated is stored in FPGA, when needing to reply ACK frame, only needs a control information, FPGA can It is eated dishes without rice or wine with sending ACK frame to, to meet the SIFS index of 16us.
However need to reply block confirmation (Block in other high speed wireless protocols such as 802.11ac agreement in 16us ACK, BA) frame, and BA frame be not it is fixed, need modulated in real time to send, it is clear that be directed to on-fixed frame, the prior art is difficult to full The low latency response that sufficient high speed wireless protocols require.
Summary of the invention
For the defects in the prior art, the embodiment of the invention provides a kind of data transmission method, computer equipment, numbers According to pinboard and SDR platform.
In a first aspect, the embodiment of the present invention provides a kind of data transmission method based on software-defined radio SDR, packet It includes:
Obtain radio frames to be sent;
According to default ethernet frame structure to data switch plate send the first control frame, for the data switch plate according to First control frame obtains pre-stored brewed header signal corresponding with the frame header fields of the radio frames, and leads to It crosses front radio-frequency plate and emits the header signal, wherein the frame header fields are the corresponding wireless communication protocol of the radio frames In fixation frame header fields;
The second control frame is sent to the data switch plate according to the default ethernet frame structure, so that the data turn Fishplate bar obtains the brewed radio frames pair stored after receiving first control frame according to second control frame The orthogonal signalling in addition to the header signal answered, and the orthogonal signalling are emitted by the front radio-frequency plate;
When the front radio-frequency plate emits the header signal, it is modulated in the radio frames in addition to the frame header fields The corresponding source data of his field determines the corresponding orthogonal signalling of source data in the radio frames.
Such as the above method, optionally, further includes:
Framing is carried out to the orthogonal signalling according to the default ethernet frame structure, determines data frame to be sent;
The data frame is sent to the data switch plate, so that the data switch plate is according to the default Ethernet Frame structure parses and stores the orthogonal signalling that the data frame carries.
Such as the above method, optionally, the basis presets ethernet frame structure and sends the first control frame to data switch plate, So that the data switch plate obtains the pre-stored brewed frame head with the radio frames according to first control frame The corresponding header signal of field, and the header signal is emitted by front radio-frequency plate, comprising:
The first address configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar determines brewed header signal corresponding with the frame header fields of the radio frames according to the first address configuration frame Storage address;
The first length is sent to the data switch plate according to default ethernet frame structure and configures frame, so that the data turn Fishplate bar configures the length that frame determines the header signal according to first length, and the length is read from the storage address Header signal;
The first triggering configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar sends the header signal read to the front radio-frequency plate according to the first triggering configuration frame, for the front radio-frequency Plate emits the header signal.
It is optionally, described to send the to the data switch plate according to the default ethernet frame structure such as the above method Two control frames store after receiving first control frame so that the data switch plate is obtained according to second control frame The corresponding orthogonal signalling in addition to the header signal of the brewed radio frames, and by the front radio-frequency plate send out Penetrate the orthogonal signalling, comprising:
The second address configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar determines that the radio frames modulated after receiving first control frame are corresponding according to the second address configuration frame The storage address of orthogonal signalling in addition to the header signal;
The second length is sent to the data switch plate according to default ethernet frame structure and configures frame, so that the data turn Fishplate bar configures the length that frame determines orthogonal signalling to be sent according to second length, from the storage address described in reading The orthogonal signalling of length;
The second triggering configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar sends the orthogonal signalling read to the front radio-frequency plate according to the second triggering configuration frame, for the front radio-frequency Plate emits the orthogonal signalling.
It is optionally, described when the front radio-frequency plate emits the header signal such as the above method, it modulates described wireless In frame in addition to the frame header fields the corresponding source data of other fields, determine the corresponding orthogonal signalling of the radio frames, comprising:
When the front radio-frequency plate emits the header signal, it is obtained in the radio frames in addition to the frame header fields Each symbol data in the corresponding source data of his field;
It is sequentially modulated the symbol data, determines the corresponding orthogonal signalling of the symbol data, institute is cached in the form of queue State orthogonal signalling;
Correspondingly, described that framing is carried out to the orthogonal signalling according to the default ethernet frame structure, it determines to be sent Data frame, comprising:
Queue described in poll, it is successively corresponding to symbol data each in the queue according to the default ethernet frame structure Orthogonal signalling carry out framing, determine the corresponding data frame of each symbol data;
Correspondingly, described that the data frame is sent to the data switch plate, so that the data switch plate is according to institute It states default ethernet frame structure elucidation and stores the orthogonal signalling that the data frame carries, comprising:
The corresponding data frame of each symbol data is successively sent to the data switch plate, for the data switch plate According to the default ethernet frame structure elucidation and store the orthogonal signalling that the data frame carries.
It is optionally, described that framing is carried out to the orthogonal signalling according to the default ethernet frame structure such as the above method, Determine data frame to be sent, including;
The corresponding number of frames of the orthogonal signalling is determined, according to the default ethernet frame structure to the orthogonal signalling Framing is carried out, determines data frame to be sent, wherein the data frame carries the number of frames;
Correspondingly, described that the data frame is sent to the data switch plate, so that the data switch plate is according to institute It states default ethernet frame structure elucidation and stores the corresponding orthogonal signalling of the data frame, comprising:
The data frame is sent to the data switch plate, so that the data switch plate is sentenced according to the number of frames It is disconnected whether frame losing, and according to the default ethernet frame structure elucidation and store the corresponding orthogonal signalling of the data frame.
Second aspect, further embodiment of this invention provide a kind of data transmission method based on software-defined radio SDR, Include:
Receive the first control frame that computer equipment is sent according to default ethernet frame structure;
The corresponding frame head letter of frame header fields for obtaining pre-stored brewed radio frames according to first control frame Number, the header signal is sent to front radio-frequency plate, so that the front radio-frequency plate emits the header signal, wherein institute Stating frame header fields is the fixation frame header fields in the corresponding wireless communication protocol of the radio frames;
Receive the second control frame that the computer equipment is sent according to the default ethernet frame structure;
Obtained according to second control frame stored after receiving first control frame it is brewed described wireless The orthogonal signalling are sent to front radio-frequency plate, for described by the corresponding orthogonal signalling in addition to the header signal of frame Front radio-frequency plate emits the orthogonal signalling;
When the front radio-frequency plate emits the header signal, receive that the computer equipment sends according to described pre- If the data frame of ethernet frame structure determination, the data frame carries in the radio frames other fields in addition to the frame header fields Corresponding orthogonal signalling.
Such as the above method, optionally, further includes:
According to data frame described in the default ethernet frame structure elucidation, and store the orthogonal letter that the data frame carries Number.
Such as the above method, optionally, first control for receiving computer equipment and being sent according to default ethernet frame structure Frame processed, comprising:
The computer equipment is received to be matched according to the first address configuration frame of default ethernet frame structure transmission, the first length Set frame and the first triggering configuration frame;
Correspondingly, the frame header fields pair that pre-stored brewed radio frames are obtained according to first control frame The header signal answered, comprising:
The storage address of the corresponding header signal of brewed frame header fields is determined according to the first address configuration frame;
The length that frame determines the header signal is configured according to first length, from the storage address described in reading The header signal of length;
It is correspondingly, described that the header signal is sent to front radio-frequency plate, comprising:
The header signal read is sent to the front radio-frequency plate according to the first triggering configuration frame.
It is optionally, described to receive the computer equipment according to the default ethernet frame structure transmission such as the above method The second control frame, comprising:
Receive the second address configuration frame, the second length that the computer equipment is sent according to the default ethernet frame structure Degree configuration frame and the second triggering configuration frame;
Correspondingly, it is described obtained according to second control frame stored after receiving first control frame it is brewed The corresponding orthogonal signalling in addition to the header signal of the radio frames, comprising:
The radio frames pair modulated after receiving first control frame are determined according to the second address configuration frame The storage address for the orthogonal signalling answered;
The length that frame determines orthogonal signalling to be sent is configured according to second length, is read from the storage address The orthogonal signalling of the length;
It is correspondingly, described that the orthogonal signalling are sent to front radio-frequency plate, comprising:
The orthogonal signalling read are sent to the front radio-frequency plate according to the second triggering configuration frame.
The third aspect, the embodiment of the present invention provide a kind of computer equipment, comprising:
Module is obtained, for obtaining radio frames to be sent;
First emission control module, for sending the first control frame to data switch plate according to default ethernet frame structure, So that the data switch plate obtains the pre-stored brewed frame head with the radio frames according to first control frame The corresponding header signal of field, and the header signal is emitted by front radio-frequency plate, wherein the frame header fields are the nothing Fixation frame header fields in the corresponding wireless communication protocol of line frame;
Second emission control module, for sending second to the data switch plate according to the default ethernet frame structure Control frame stores after receiving first control frame for the data switch plate according to second control frame acquisition The corresponding orthogonal signalling in addition to the header signal of the brewed radio frames, and emitted by the front radio-frequency plate The orthogonal signalling;
Modulation module, for modulating in the radio frames except institute when the front radio-frequency plate emits the header signal The corresponding source data of other outer fields of frame header fields is stated, determines the corresponding orthogonal signalling of source data in the radio frames.
Such as above-mentioned computer equipment, optionally, further includes:
Framing module determines pending for carrying out framing to the orthogonal signalling according to the default ethernet frame structure The data frame sent;
Sending module, for the data frame to be sent to the data switch plate, for the data switch plate according to The default ethernet frame structure elucidation simultaneously stores the orthogonal signalling that the data frame carries.
Such as above-mentioned computer equipment, optionally, the first emission control module includes:
First address control unit, for sending the first address to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate determines the brewed frame head with the radio frames according to the first address configuration frame The storage address of the corresponding header signal of field;
First length control unit, for sending the first length to the data switch plate according to default ethernet frame structure Frame is configured, determines the length of the header signal so that the data switch plate configures frame according to first length, from described The header signal of the length is read in storage address;
First trigger control unit, for sending the first triggering to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate sends the frame head read to the front radio-frequency plate according to the first triggering configuration frame Signal, so that the front radio-frequency plate emits the header signal.
Such as above-mentioned computer equipment, optionally, the second emission control module includes:
Second address control unit, for sending the second address to the data switch plate according to default ethernet frame structure Frame is configured, is modulated after receiving first control frame for the data switch plate according to the second address configuration frame The storage address of the corresponding orthogonal signalling in addition to the header signal of the radio frames;
Second length control unit, for sending the second length to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate configures the length that frame determines orthogonal signalling to be sent according to second length, from The orthogonal signalling of the length are read in the storage address;
Second trigger control unit, for sending the second triggering to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate sends the orthogonal of reading to the front radio-frequency plate according to the second triggering configuration frame Signal, so that the front radio-frequency plate emits the orthogonal signalling.
Fourth aspect, the embodiment of the present invention provide a kind of data switch plate, comprising:
First receiving module, the first control frame sent for receiving computer equipment according to default ethernet frame structure;
Header signal obtains module, for obtaining pre-stored brewed radio frames according to first control frame The header signal is sent to front radio-frequency plate by the corresponding header signal of frame header fields, for front radio-frequency plate transmitting The header signal, wherein the frame header fields are the fixation frame header fields in the corresponding wireless communication protocol of the radio frames;
Second receiving module, second sent for receiving the computer equipment according to the default ethernet frame structure Control frame;
Orthogonal signalling obtain module, deposit after receiving first control frame for being obtained according to second control frame The corresponding orthogonal signalling in addition to the header signal of the brewed radio frames of storage, the orthogonal signalling are sent to Front radio-frequency plate, so that the front radio-frequency plate emits the orthogonal signalling;
Third receiving module, for receiving the computer and setting when the front radio-frequency plate emits the header signal The data frame according to default ethernet frame structure determination that preparation is sent, the data frame, which carries, removes the frame head in the radio frames The corresponding orthogonal signalling of other outer fields of field.
Such as above-mentioned data switch plate, optionally, further includes:
Memory module is used for the data frame according to the default ethernet frame structure elucidation, and stores the data frame The orthogonal signalling of carrying.
5th aspect, the embodiment of the present invention provides a kind of software-defined radio SDR platform, including calculates as described above Machine equipment, data switch plate as described above and front radio-frequency plate;The front radio-frequency plate, for receiving and emitting the frame head Signal and the orthogonal signalling.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according in wireless communication protocol The characteristics of including fixed frame header fields, header signal is modulated in advance, the hair of radio frames can be started by controlling information by one It send, meanwhile, start to carry out data segment modulation, and by the data waveform transmission modulated to data switch plate, realize wireless data The complete transmission of frame.The embodiment of the present invention carries out the preparation before data modulation using the time for eating dishes without rice or wine to send header signal, complete All standing data modulation treatment delay, the only link delay of data transmission, on SDR platform realize wireless communication protocol In low latency respond require.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the data transmission method flow diagram provided in an embodiment of the present invention based on software-defined radio SDR;
Fig. 2 is the SDR platform structure schematic diagram provided in an embodiment of the present invention based on GPP;
Fig. 3 is 802.11a protocol physical layers frame structure schematic diagram;
Fig. 4 is 802.11ac protocol physical layers frame structure schematic diagram;
Fig. 5 is physical layer modulation source data process schematic provided in an embodiment of the present invention;
Fig. 6 is ethernet frame structural schematic diagram in the prior art;
Fig. 7 is the frame structure schematic diagram of data field in ethernet frame provided in an embodiment of the present invention;
Fig. 8 is the frame head form schematic diagram in ethernet frame provided in an embodiment of the present invention in data field;
Fig. 9 is that the data transmission method process based on software-defined radio SDR that further embodiment of this invention provides is shown It is intended to;
Figure 10 is the structural schematic diagram of computer equipment provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of data switch plate provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of software-defined radio SDR platform provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the data transmission method flow diagram provided in an embodiment of the present invention based on software-defined radio SDR, As shown in Figure 1, this method comprises:
Step S11, radio frames to be sent are obtained;
Specifically, under the continuous driving of Moore's Law, general processor GPP technology is fast-developing, gradually can satisfy Towards being effectively treated for the data such as digital signal, provide more choices for software-defined radio SDR.These general procedures Device new technology specifically includes that higher dominant frequency, more central processing unit (Central Processing Unit, CPU) cores, Support the single-instruction multiple-data stream (SIMD) (Single Instruction Multiple Data, SIMD) of floating-point operation, larger capacity Piece in caching, the piece external storage of low latency.These technologies ensure that high speed wireless protocols can be realized on GPP, and Fig. 2 is this The SDR platform structure schematic diagram based on GPP that inventive embodiments provide, as shown in Fig. 2, entire SDR platform contains general meter Machine equipment, data switch plate and front radio-frequency plate are calculated, is carried out between general purpose computer and data switch plate by ten thousand Broadcoms Information exchange contains control information and date information.Believed between data switch plate and front radio-frequency plate by low voltage difference Number (Low-Voltage Differential Signaling, LVDS)/complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) carries out data information interaction, is connect by serial peripheral Mouth (Serial Peripheral Interface, SPI) bus carries out control information exchange.SDR platform based on GPP, GPP It realizes physical layer algorithm, source data is modulated, becomes base band data, the base band data that FPGA has modulated GPP is sent to front end Radio frequency chip, front radio-frequency chip pass through transmitting baseband data of eating dishes without rice or wine.
Front radio-frequency plate is by eating dishes without rice or wine to receive radio frames, by Analog-digital Converter (Analog- after analog end is handled To-Digital Converter, ADC) chip passes to baseband signal in data switch plate by LVDS/CMOS, data switch Plate passes to base band data in computer equipment by ten thousand Broadcoms, and computer equipment demodulates base band data, is solved After data after tune, it is sent to medium access control (Media Access Control, MAC) layer, MAC layer is according to demodulation The radio frames are sent to physical PHY layer by the acknowledgement frame that data determination will respond, i.e., radio frames to be sent, and PHY layer obtains Radio frames to be sent.
Step S12, the first control frame is sent to data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar obtains pre-stored brewed frame head corresponding with the frame header fields of the radio frames according to first control frame Signal, and the header signal is emitted by front radio-frequency plate, wherein the frame header fields are that the radio frames are corresponding wireless Fixation frame header fields in communication protocol;
Specifically, it after PHY layer gets radio frames to be sent, needs to be modulated it, forms baseband signal, so Baseband signal is sent to data switch plate by ten thousand Broadcoms afterwards, data switch plate is sent out baseband signal by LVDS/CMOS It send to front radio-frequency plate, front radio-frequency plate transmitting baseband signal, this completes the transmittings of a radio frame signal.In order to full The SIFS index of sufficient high speed wireless protocols, the embodiment of the present invention modulate the fixation in the corresponding wireless communication protocol of radio frames in advance The data of frame header fields form header signal, header signal are stored in advance in data switch plate.In this way, front radio-frequency plate The regular hour can be occupied when emitting header signal, PHY layer only need within this period that front radio-frequency plate emits header signal, Complete the data modulation of other fields in addition to frame header fields in radio frames, so that it may completely emit radio frame signal, send out in this way The time for penetrating header signal covers the time of modulation radio frames, reduces entire radio frames from the total time for being modulated to transmitting. Therefore, it for any one radio frames, as long as frame header fields include fixed field in its corresponding wireless communication protocol, can mention It is preceding that fixed field is modulated.
For example, Fig. 3 is 802.11a protocol physical layers frame structure schematic diagram, Fig. 4 is 802.11ac protocol physical layers frame structure Schematic diagram, as shown in Figure 3 and Figure 4,802.11a protocol physical layers frame include: the short training field (Legacy of traditional mode Short Training Field, L-STF), the long instruction and guide field of traditional mode (Legacy Long Training Field, L-LTF), classical signal (Legacy Signal, L-SIG) and data (DATA).802.11ac protocol physical layers frame includes: L- STF, L-LTF, L-SIG, high throughput A1 signal (Very High Throughput Signal A1, VHT-SIG-A1), High throughput A2 signal (Very High Throughput Signal B1, VHT-SIG-A2), high throughput Short Training Field (Very High Throughput Short Training field, VHT-STF), high throughput long training field (Very High Throughput Long Training field, VHT-LTF) and high throughput data (Very High Throughput Data, VHT-DATA).
Provide that radio frames all contain L-STF and L-LTF sections, and the two fields all use according to 802.11 agreements Fixed sequence, i.e. each radio frames, this two segment data is fixed.It, can be by the L-STF modulated and L- based on this Two segment data of LTF is stored in advance on data switch plate, for example, just modulating L-STF and L-LTF two in SDR platform initialization Segment data, and be stored on data switch plate, when needing to send a new radio frames, it is only necessary to pass through a control information The transmission that can start radio frames, since the time for the signal for eating dishes without rice or wine to emit L-STF and L-LTF is 16us, as long as protecting It demonstrate,proves and new modulation data is sent to data switch plate in the 16us for sending L-STF and L-LTF, radio frames can be normal It is sent.
Therefore, PHY layer begins to send ethernet frame to data switch plate after receiving radio frames to be sent, The frame type is control frame, is denoted as the first control frame, for informing that data switch plate starts to send the fixation frame head in radio frames The corresponding signal of field, specifically, PHY layer send the first control frame, number to data switch plate according to default ethernet frame structure The first control frame is parsed according to default ethernet frame structure according to pinboard, obtains pre-stored brewed frame head word Header signal is sent to front radio-frequency plate by the corresponding header signal of section, and front radio-frequency plate is by eating dishes without rice or wine to emit header signal.Its In preset ethernet frame structure be the customized ethernet frame structure of the embodiment of the present invention, contain frame head and data segment, frame The information of the identification code of frame, frame storage address and frame length is contained in front, wherein the identification code of the first control frame is control Frame, for informing that data switch plate needs to send the corresponding signal of frame, the FPGA on data switch plate receives the first control frame Later, so that it may determine that the frame is a control frame according to frame originating point information, and obtain and need the signal emitted random in FPGA The position stored in access memory (random access memory, RAM), and corresponding length is read by frame length information Signal simultaneously emits.
Step S13, the second control frame is sent to the data switch plate according to the default ethernet frame structure, for institute State data switch plate obtained according to second control frame stored after receiving first control frame it is brewed described in The corresponding orthogonal signalling in addition to the header signal of radio frames, and the orthogonal letter is emitted by the front radio-frequency plate Number;
Specifically, after PHY layer sends the first control frame to data switch plate, it is also necessary to send the second control frame, be used for Other brewed orthogonal signalling, these orthogonal signalling are in addition to frame header fields in designation date pinboard transmission radio frames What PHY layer was modulated after sending the first control frame, it is modulated just during front radio-frequency plate emits header signal including PHY layer Other orthogonal signalling handing over signal and being modulated during emitting brewed orthogonal signalling in front radio-frequency plate, that is, remove header signal Other outer orthogonal signalling are side modulation edge emittings, emit the next orthogonal signalling of a upper orthogonal signalling time-modulation, only Guarantee that launch time is greater than the modulation time, can completely emit orthogonal signalling.When data switch plate receives the second control frame Later, it is parsed, is control frame according to frame category determination, other orthogonal letters can be obtained according to frame storage address Number, and after header signal has emitted, emit orthogonal signalling.Wherein, the second control frame can send it in the first control frame It is sent afterwards to any time between header signal transmitting completion, to guarantee that header signal emits orthogonal letter immediately after having emitted Number, to guarantee the integrality of radio frame signal.
Step S14, it when the front radio-frequency plate emits the header signal, modulates in the radio frames except the frame head The corresponding source data of other outer fields of field, determines the corresponding orthogonal signalling of source data in the radio frames;
Specifically, after PHY layer gets radio frames to be sent, the first control frame is sent to data switch plate, When the front radio-frequency plate emits the header signal, start to modulate in radio frames the corresponding source of other fields in addition to frame header fields Data determine the corresponding orthogonal signalling of source data in radio frames, realize the process of edge emitting side modulation.
Fig. 5 is physical layer modulation source data process schematic provided in an embodiment of the present invention, as shown in figure 5, PHY layer is to source Data are scrambled, encoded, interweaved, mapped plus pilot tone, inverse fast Fourier transform (Inverse Fast Fourier Transform, IFFT) and after adding cyclic prefix (Cyclic Prefix, CP) and the processing of adding window scheduling algorithm module, obtain Baseband signal, the baseband signal are orthogonal signalling.
In order to realize the low latency SIFS index of high speed wireless protocols requirement, the time of physical layer modulation source data is also required to It optimizes, such as (Streaming is extended using multiple CPU core parallelization processing, single-instruction multiple-data stream (SIMD) in physical layer process SIMD Extensions, SSE) the multiple technologies means such as instruction set, big page memory, look-up table optimize, improve physical layer Algorithm process efficiency reduces data MDL modulation delay, guarantees the modulation that other fields are completed within the period of transmitting header signal.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according in wireless communication protocol The characteristics of including fixed frame header fields, header signal is modulated in advance, the hair of radio frames can be started by controlling information by one It send, meanwhile, start to carry out data segment modulation, and by the data waveform transmission modulated to data switch plate, realize wireless data The complete transmission of frame.The embodiment of the present invention carries out the preparation before data modulation using the time for eating dishes without rice or wine to send header signal, complete All standing data modulation treatment delay, the only link delay of data transmission, on SDR platform realize wireless communication protocol In low latency respond require.
On the basis of the above embodiments, further, this method further include: according to the default ethernet frame structure pair The orthogonal signalling carry out framing, determine data frame to be sent;
Specifically, data transmission uses ethernet frame between computer equipment and data switch plate, and Fig. 6 is in the prior art Ethernet frame structural schematic diagram, as shown in fig. 6, existing ethernet frame contains destination-mac address, source MAC, data class Type/data length, data and Frame Check Sequence (Frame Check Sequence, FCS).On the basis of ethernet frame, Frame structure is redefined, Fig. 7 is the frame structure schematic diagram of data field in ethernet frame provided in an embodiment of the present invention, is such as schemed Shown in 7, the data segment of ethernet frame is divided into frame head and orthogonal data section (I/Q data).Wherein frame head and orthogonal data section use Default ethernet frame structure contains the information of the identification code of frame, frame storage address and frame length in frame head.When PHY layer is modulated After obtaining orthogonal signalling, framing is carried out to it according to default ethernet frame structure, is that frame head adds orthogonal function by data segment framing According to the form of section, data frame is formed, the information of the identification code of frame, frame storage address and frame length is contained in frame head.Wherein, just The frame identification code for handing over signal is data frame, for informing that data switch plate stores the orthogonal signalling in the data frame.
The data frame is sent to the data switch plate, so that the data switch plate is according to the default Ethernet Frame structure parses and stores the orthogonal signalling that the data frame carries.
Specifically, the data frame after framing is sent to data switch plate by PHY layer, and data switch plate carries out the data frame Parsing, so that it may determine that frame category is data frame, the orthogonal signalling storage which is carried to the corresponding frame storage address of frame head In, in this way, when receiving the second control frame, so that it may read the orthogonal signalling from corresponding frame storage address.
By taking 802.11 agreements as an example, L-STF and L-LTF are using fixed sequence, in the stage of SDR platform initialization, PHY Layer carries out the modulation of L-STF and L-LTF field, obtains header signal after having modulated, and sends ethernet frame to data switch plate, Frame type is data frame, and data switch plate stores header signal by the frame storage location in frame head.
When SDR platform needs to carry out data transmission, ethernet frame is sent to data switch plate by network interface card, frame type is Control frame, the control frame contain the signal that the baseband signal to be sent is stored in address information and transmission on data switch plate Length.Therefore, first control frame information that SDR platform is sent is that notification data pinboard starts to read L-STF and L-LTF number According to, and start toward eating dishes without rice or wine to send radio frames.Second control frame information that SDR platform is sent is that notification data pinboard is read Send the orthogonal signalling modulated stored between L-STF and L-LTF data.Meanwhile SDR platform will start to carry out other fields Data modulation, contain L-SIG section and DATA sections etc., after having modulated, to data switch plate transmission ethernet frame, frame class Type is data frame, after data switch plate receives the ethernet frame, stores the corresponding orthogonal signalling of the frame.That is data switch plate Two kinds of ethernet frame is received, one kind is control frame, and for sending baseband signal, one kind is data frame, for storing base Band signal.
Since L-STF and L-LTF have the sending time of 16us, as long as SDR platform can be in 16us by fresh base Band data are sent to data switch plate, then radio frames can completely be sent, and realize the effect sent in modulation, send Response there was only link transmission delay substantially, realize the short interFrameGap down to 16us required in 802.11 agreements.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according in wireless communication protocol The characteristics of including fixed frame header fields, header signal is modulated in advance, the hair of radio frames can be started by controlling information by one It send, meanwhile, start to carry out data segment modulation, and by the data waveform transmission modulated to data switch plate, realize wireless data The complete transmission of frame.The embodiment of the present invention carries out the preparation before data modulation using the time for eating dishes without rice or wine to send header signal, complete All standing data modulation treatment delay, the only link delay of data transmission, on SDR platform realize wireless communication protocol In low latency respond require.
On the basis of the various embodiments described above, further, the basis presets ethernet frame structure to data switch plate Send the first control frame, for the data switch plate obtained according to first control frame it is pre-stored brewed with institute The corresponding header signal of frame header fields of radio frames is stated, and the header signal is emitted by front radio-frequency plate, comprising:
The first address configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar determines brewed header signal corresponding with the frame header fields of the radio frames according to the first address configuration frame Storage address;
The first length is sent to the data switch plate according to default ethernet frame structure and configures frame, so that the data turn Fishplate bar configures the length that frame determines the header signal according to first length, and the length is read from the storage address Header signal;
The first triggering configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar sends the header signal read to the front radio-frequency plate according to the first triggering configuration frame, for the front radio-frequency Plate emits the header signal.
Specifically, Fig. 8 is the frame head form schematic diagram in ethernet frame provided in an embodiment of the present invention in data field, such as Shown in Fig. 8, frame header fields include: frame type (TYPE), starting mark (Start Of Point, SOP), terminal label (End Of Point, EOP), frame channel (Channel Number, CH_NUM), frame address (Memory Address, MEM_ADDR), Data length (LENGTH) and reserved field (Reserved, REV), in which:
TYPE:00000001 indicates that the frame is data frame.00000010 expression frame writes frame for register configuration. 00000011 indicates that the frame is that register configuration reads frame, and 10000011 run through for register configuration.Wherein, control frame is deposit Device configurable write frame.When the ethernet frame that data switch plate receives is data frame, storage baseband signal is demonstrated the need for, data are worked as When the ethernet frame that pinboard receives is that register configuration writes frame, demonstrate the need for sending baseband signal.
SOP: when TYPE be data frame type when, the field indicate the data frame whether include radio frames data packet head Portion indicates the data frame packet containing a wireless data packet header when SOP is 0xF.When SOP is 0x0, the data frame is indicated Not comprising wireless data packet header.For other types of frame, defaulting the field is 0xF.Furthermore when the radio frames include one When the full content of wireless data packet, which is similarly 0xF.
EOP: when TYPE be data frame type when, the field indicate the data frame whether include radio frames data packet tail Portion indicates the data frame packet containing a wireless data packet tail portion when EOP is 0xF.When EOP is 0x0, the data frame is indicated Not comprising wireless data packet tail portion.For other types of frame, defaulting the field is 0xF.Furthermore when the radio frames include one When the full content of wireless data packet, which is similarly 0xF.
CH_NUM: when TYPE is that register configuration writes frame, the transmitting antenna channel of front radio-frequency plate is indicated, 0-9 is indicated Channel indicates local register when highest order is 1.
MEM_ADDR: when TYPE is data frame, MEM_ADDR [30:0] indicates its destination address, that is, is stored in data and turns Address in fishplate bar on FPGA.MEM_ADDR [31] indicates the memory of write-in.When MEM_ADDR [31] is 1, write data into Random access memory (random access memory, RAM) writes data into synchronous dynamic when MEM_ADDR [31] is 0 Random access memory (Synchronous Dynamic Random Access Memory, DDR).When TYPE matches for register It sets when writing frame, indicates its front passage number, i.e., which transmitting antenna to launch data by, MEM_ADDR [31] setting It indicates to configure local register for 1.
LENGTH: when TYPE data frame, the valid data length that the frame carries is indicated.When TYPE writes for register configuration When frame, it is fixed as 0x8, indicates valid data length.
In addition, the DATA field in addition to frame head, is also provided with different agreements:
DATA: when TYPE data frame, which is its data load;When TYPE is that register configuration writes frame, length Degree is the integral multiple of 8 bytes, is no more than 160 bytes, and every high 32bit of 8 byte is register address, and low 32bit is write-in deposit The value of device, default fill out 0.
The customized frame structure contains the transmission of data frame and control frame, ensure that SDR platform can identify every number According to the address that frame stores on data switch plate, while the data information of corresponding address can be sent by control frame.Using this Kind frame structure, SDR platform be free to selection data segment and be sent, for example can first select to send and have stored in data The data of fixation frame header fields on pinboard, and in the transmission process of header signal, SDR platform will carry out the tune of data segment System, and be sent on data switch plate by data frame, at this point, SDR platform can tell data by another control frame Pinboard sends data segment, finally forms the transmission of entire radio frames in this way.
Specifically, according to customized default ethernet frame structure, when needs send the first control frame to data switch plate When, PHY layer can send three groups of register configurations to data switch plate and write frame, be denoted as the first address configuration frame, the first length respectively Degree configuration frame and the first triggering configuration frame, wherein the first address configuration frame is for informing data switch plate frame head letter to be sent Number storage address, the first length configuration frame be used for inform data switch plate send header signal length, first triggering match Frame is set for informing that data switch plate starts to send header signal.
For example, the corresponding register address of three register configuration frames is respectively 0x010,0x011,0x012, then:
TYPE is 00000010, SOP 0xF in first address configuration frame, and EOP 0xF, CH_NUM 1, MEM_ADDR are The day wire size of transmitting, high 32bit is 0x010 in LENGTH 0x8, DATA, and low 32bit is that rising for header signal is stored in FPGA Beginning address.
It is 00000010, SOP 0xF that first length, which configures TYPE in frame, and EOP 0xF, CH_NUM 1, MEM_ADDR are The day wire size of transmitting, high 32bit is 0x011 in LENGTH 0x8, DATA, and low 32bit is the length of header signal in FPGA.
TYPE is 00000010, SOP 0xF in first triggering configuration frame, and EOP 0xF, CH_NUM 1, MEM_ADDR are The day wire size of transmitting, high 32bit is 0x012 in LENGTH 0x8, DATA, and low 32bit is START signal, and expression needs to start Send header signal.
When data switch plate receives the first address configuration frame, which is parsed, determines brewed frame head word The initial position of the storage address of the corresponding header signal of section, it is right when data switch plate receives the first length configuration information The frame is parsed, and determines the length of header signal, i.e., from initial position, reads signal how long as header signal.When When data switch plate receives the first triggering configuration frame, start for header signal to be sent to front radio-frequency plate, front radio-frequency plate is logical It crosses the corresponding transmitting antenna of the transmitting antenna number carried in the first trigger frame and sends header signal.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according to default ethernet frame knot Structure writes the transmission that frame starts radio frames by three register configurations, meanwhile, start to carry out data segment modulation, and will modulate Data waveform transmission to data switch plate, realize the complete transmission of wireless data frame, using eat dishes without rice or wine to send header signal when Between carry out the preparation before data modulation, completely cover the delay of data modulation treatments, the only link delay of data transmission, into One step reduces data transmission delay.
On the basis of the various embodiments described above, further, it is described according to the default ethernet frame structure to the number The second control frame is sent according to pinboard, is receiving described first so that the data switch plate is obtained according to second control frame The corresponding orthogonal signalling in addition to the header signal of the brewed radio frames stored after control frame, and pass through institute It states front radio-frequency plate and emits the orthogonal signalling, comprising:
The second address configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar determines that the radio frames modulated after receiving first control frame are corresponding according to the second address configuration frame The storage address of orthogonal signalling in addition to the header signal;
The second length is sent to the data switch plate according to default ethernet frame structure and configures frame, so that the data turn Fishplate bar configures the length that frame determines orthogonal signalling to be sent according to second length, from the storage address described in reading The orthogonal signalling of length;
The second triggering configuration frame is sent to the data switch plate according to default ethernet frame structure, so that the data turn Fishplate bar sends the orthogonal signalling read to the front radio-frequency plate according to the second triggering configuration frame, for the front radio-frequency Plate emits the orthogonal signalling.
Specifically, according to customized default ethernet frame structure, when needs send the second control frame to data switch plate When, PHY layer can send three groups of register configurations to data switch plate and write frame, be denoted as the second address configuration frame, the second length respectively Degree configuration frame and the second triggering configuration frame, wherein the second address configuration frame is for informing data switch plate orthogonal letter to be sent Number storage address, the second length configuration frame be used for inform data switch plate send orthogonal signalling length, second triggering match Frame is set for informing that data switch plate starts to send orthogonal signalling.
For example, the corresponding register address of three register configuration frames is respectively 0x020,0x021,0x022, then:
TYPE is 00000010, SOP 0xF in second address configuration frame, and EOP 0xF, CH_NUM 1, MEM_ADDR are The day wire size of transmitting, high 32bit is 0x020 in LENGTH 0x8, DATA, and low 32bit is that rising for orthogonal signalling is stored in FPGA Beginning address.
It is 00000010, SOP 0xF that second length, which configures TYPE in frame, and EOP 0xF, CH_NUM 1, MEM_ADDR are The day wire size of transmitting, high 32bit is 0x021 in LENGTH 0x8, DATA, and low 32bit is the orthogonal signalling that this needs to send Length.
TYPE is 00000010, SOP 0xF in second triggering configuration frame, and EOP 0xF, CH_NUM 1, MEM_ADDR are The day wire size of transmitting, high 32bit is 0x022 in LENGTH 0x8, DATA, and low 32bit is START signal, and expression needs to start Send orthogonal signalling.
When data switch plate receives the second address configuration frame, which is parsed, determines and is controlled in reception first The initial position of the storage address for the corresponding orthogonal signalling of other fields modulated after frame, when data switch plate receives second When length configuration information, which is parsed, determines the length of the orthogonal signalling of this secondary transmission, i.e., from initial position, Signal how long is read as orthogonal signalling.When data switch plate receives the second triggering configuration frame, start orthogonal signalling It is sent to front radio-frequency plate, front radio-frequency plate is sent by the corresponding transmitting antenna of the transmitting antenna number carried in the second trigger frame Orthogonal signalling.
In practical applications, the initial address of orthogonal signalling to be sent is just had determined that when PHY layer sends the second control frame And length information, therefore PHY layer has just informed data switch plate store frames of data when sending data frame to data switch plate Storage address, and the storage address of each data frame is continuous, wherein the storage address of the orthogonal signalling of first modulation with Initial address in second control frame is identical, in this way, by initial address and length information in the second control frame, data switch Plate just may be read into the brewed orthogonal signalling of storage.In practical applications, data switch plate can be read orthogonal several times Signal, orthogonal signalling of every reading, emits an orthogonal signalling, in this way during emitting the orthogonal signalling, and can modulate Subsequent orthogonal signalling, by successively storing and emitting, the method for edge emitting side modulation can be true for longer radio frames Protect the integrality of the radio frame signal of transmitting.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according to default ethernet frame knot Structure writes the transmission that frame starts radio frames by three register configurations, meanwhile, start to carry out data segment modulation, and will modulate Data waveform transmission to data switch plate, during this period, by three register configurations of another set write frame started send Modulated data waveform realizes the complete transmission of wireless data frame, is counted using the time for eating dishes without rice or wine to send header signal According to the preparation before modulation, the delay of data modulation treatment, the only link delay of data transmission are completely covered, further reduced Data transmission delay.
It is further, described to emit the header signal in the front radio-frequency plate on the basis of the various embodiments described above When, the corresponding source data of other fields in addition to the frame header fields is modulated in the radio frames, determines that the radio frames are corresponding Orthogonal signalling, comprising:
When the front radio-frequency plate emits the header signal, it is obtained in the radio frames in addition to the frame header fields Each symbol data in the corresponding source data of his field;
It is sequentially modulated the symbol data, determines the corresponding orthogonal signalling of the symbol data, institute is cached in the form of queue State orthogonal signalling;
Correspondingly, described that framing is carried out to the orthogonal signalling according to the default ethernet frame structure, it determines to be sent Data frame, comprising:
Queue described in poll, successively according to the default ethernet frame structure to each symbol data pair in the queue The orthogonal signalling answered carry out framing, determine the corresponding data frame of each symbol data;
Correspondingly, described that the data frame is sent to the data switch plate, so that the data switch plate is according to institute It states default ethernet frame structure elucidation and stores the orthogonal signalling that the data frame carries, comprising:
The corresponding data frame of each symbol data is successively sent to the data switch plate, for the data switch plate According to the default ethernet frame structure elucidation and store the orthogonal signalling that the data frame carries.
It specifically, can also be by " source data " module as all as shown in figure 5, in order to reduce the time delay of modulation data The initiate point of modulation algorithm module calls other modules in cascaded fashion, passes through First Input First Output between algoritic module (First Input First Output, FIFO) isolation, each algoritic module both define the data type of input and output And data number, it can first judge to input number data cached in FIFO before starting to carry out algorithm process, when the number in FIFO According to number less than input data number required by the algoritic module, then the algoritic module is exited, upper level algoritic module continues to locate Reason then continues toward higher level, until exporting in " source data " when the data cached in the input FIFO of higher level's algoritic module are also inadequate New data;When the data number in FIFO be more than or equal to required input data number, then these numbers are read from FIFO According to and start to be handled, the data handled are then output in next stage FIFO and are cached, and call next stage algorithm mould Block is handled.Until cyclic prefix is added in data after IFFT has been handled, then the modulation of a baseband signal is completed.
The processing of PHY layer is as unit of symbol, in order to further decrease the time delay of modulation data, can modulate one with every A symbol then starts to send the symbol, within the period for sending the symbol, modulates next symbol, as long as guaranteeing to adjust in this way The time of symbol processed is less than the time for sending symbol, so that it may completely send radio frame signal.
Specifically, PHY layer front radio-frequency plate emit header signal when, obtain radio frames in addition to frame header fields other words Each symbol data in the corresponding source data of section, is then sequentially modulated each symbol data, determines that symbol data is corresponding just Hand over signal.Framing and data modulation use the processing mode of dual-thread parallelization, after the completion of wireless signal modulation, using queue Mode is cached, and framing module is by continuous snoop queue, when there is data in queue, reads data, and fill out corresponding Frame originating point information finally calls network interface card transmission interface to send data frame on data switch plate.
By taking 802.11 agreements as an example, it is flat that SDR platform operates in Intel (R) Xeon (R) CPU E5-2690v3@2.60GHz On platform, after SDR platform correctly demodulates a frame wireless signal, MAC layer needs to parse the type of acknowledgement frame, obtains response frame number According to calculating cyclic redundancy check (Cyclic Redundancy Check, CRC) and framing, then will organize the data after frame and passed It passs PHY layer to be modulated, PHY layer is successively scrambled, coding, interweave, mapping, adds pilot tone, IFFT plus GI and adding window etc. After the processing of algoritic module, a radio frame signal is formed.In actual machine test, by taking shortest ACK frame as an example, the place of PHY layer Reason is as unit of symbol, and test IFFT module contains 128 multiplication and calculates, and 320 sub-additions calculate, and 208 displacements calculate And other exclusive or, table lookup operation etc., the calculating of each IFFT of actual machine test need 450ns or so, similarly, test other processing The processing that module obtains each symbol is delayed in 1.5us or so, and ACK frame contains the radio frames of 10 symbols, and PHY layer processing is prolonged When just need 15us or so, processing and link transmission delay along with MAC layer, entire operating lag need on the left side 17us The right side alreadys exceed the short interFrameGap of the 16us required in 802.11 agreements.
Using scheme provided in an embodiment of the present invention, after the PHY layer in SDR platform has correctly demodulated radio frames, so that it may Data switch plate is told to send wireless data to send control information, therefore, the delay entirely sent is with regard to only one control frame The link delay of information contains frame head and data segment, wherein the TYPE in frame head according to the customized frame structure of SDR platform Section extends this as 00000010, indicates that the frame is that register configuration writes frame, three register writes is filled in data segment, three are posted Storage respectively indicates the initial position for needing to read from data switch plate, reads the length of data and starts to send order, According to the information of these three registers, data switch plate can read data from the corresponding position being stored in FPGA, and open Beginning radio frames are sent.
Within the 16us time for sending L-STF and L-LTF, SDR platform can be carried out framing and new radio frames tune System.According to 802.11 agreements, data are modulated as unit of symbol, and each symbol contains 160 I/Q data points, and each IQ point is 4 byte datas, in actual machine test, the modulation time of each symbol is about 1.5us, and the sending time of each symbol is 4us, thus it is guaranteed that the wireless frame data that the radio frames of each symbol are sent completely rear new symbol can modulate completion, it is real The function of sending in modulation is showed.It completes to receive data demodulation from PHY layer, issues the radio frames responded to eating dishes without rice or wine, it is only whole The 2us or so of a link delay is completely covered PHY layer and sends modulation treatment delay, postpones compared to the 17us retransmited after modulation, There is huge improvement, and for sending long frame, advantage is more obvious.
Data transmission method provided in an embodiment of the present invention based on software-defined radio is flat by means of general purpose computer The perfect programming of platform and debugging tool, and the architecture and exploitation environment that are much more familiar with for developer, on the one hand benefit Data modulation is carried out with the time for eating dishes without rice or wine to send fixed header signal, the sending time of each symbol is on the other hand utilized Carry out PHY layer data modulation, using this scheme, the processing for completely covering MAC layer and PHY layer is delayed, and only data pass Defeated link delay, it is versatile, portable good, suitable for the various wireless frame protocols comprising fixed frame header fields, realize The data-transformation facility of SDR platform low delay.
On the basis of the various embodiments described above, further, it is described according to the default ethernet frame structure to it is described just It hands over signal to carry out framing, determines data frame to be sent, including;
The corresponding number of frames of the orthogonal signalling is determined, according to the default ethernet frame structure to the orthogonal signalling Framing is carried out, determines data frame to be sent, wherein the data frame carries the number of frames;
Correspondingly, described that the data frame is sent to the data switch plate, so that the data switch plate is according to institute Default frame structure is stated to parse and store the corresponding orthogonal signalling of the data frame, comprising:
The data frame is sent to the data switch plate, so that the data switch plate is sentenced according to the number of frames It is disconnected whether frame losing, and parsed according to the default frame structure and store the corresponding orthogonal signalling of the data frame.
Specifically, as shown in figure 8, can also include number of frames (Sequence ID, SEQ_ID), table in frame head structure Show which sub-frame data of the radio frame transmission, SDR platform can identify each subframe by SEQ_ID, and select corresponding Subframe is by eating dishes without rice or wine to be sent, in addition, SEQ_ID value carries out assignment by the way of being incremented by, when data switch plate receives number After frame, can judge in Ethernet transmission whether frame losing if there is frame losing then passes through mistake by SEQ_ID Control frame retransmits.
Wherein, the SEQ_ID of Error Control frame is the sequence number of Error Control frame, such as which mistake control transmission is Frame processed, TYPE field 00000100, SOP field are 0xF.EOP field is 0xF.CH_NUM field is 1, MEM_ADDR field It is 0.LENGTH field is fixed as 0x8.In DATA field high 32bit and low 32bit be respectively written into expect obtain SEQ_ID with Fragment ID (FRAG_ID) number.Error Control frame is that data switch plate is sent to PHY layer, when PHY layer receives Error Control frame Later, according to SEQ_ID and FRAG_ID, so that it may determine the ethernet frame lost, then be sent to data switch plate corresponding Data frame, data switch plate just would know that the data frame of frame losing.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, is on the one hand utilized and eats dishes without rice or wine to send out The time of fixed header signal is sent to carry out data modulation, the sending time of each symbol is utilized on the other hand to carry out PHY Layer data modulation, and the ethernet frame of transmission is verified, frame losing is avoided, the processing of MAC layer and PHY layer is completely covered The link delay of delay, only data transmission, it is versatile, portable good, suitable for various comprising fixing frame header fields Wireless frame protocol realizes the data-transformation facility of SDR platform low delay, improves the system performance of SDR platform.
Fig. 9 is that the data transmission method process based on software-defined radio SDR that further embodiment of this invention provides is shown It is intended to, as shown in figure 9, this method comprises:
Step S91, the first control frame that computer equipment is sent according to default ethernet frame structure is received;
Specifically, in SDR platform, front radio-frequency plate is by eating dishes without rice or wine to receive radio frames, by ADC after analog end is handled Chip passes to baseband signal in data switch plate by LVDS/CMOS, and base band data is passed through ten thousand Broadcoms by data switch plate It passes in computer equipment, computer equipment demodulates base band data, after the data after being demodulated, is sent to MAC The radio frames are sent to by layer, the acknowledgement frame that MAC layer will be responded according to the data determination of demodulation, i.e., radio frames to be sent Physical PHY layer after PHY layer gets radio frames to be sent, begins to send the first control frame, data to data switch plate Pinboard receives the first control frame, wherein the first control frame is computer equipment according to default ethernet frame structure determination.
Step S92, the frame header fields for obtaining pre-stored brewed radio frames according to first control frame are corresponding Header signal, the header signal is sent to front radio-frequency plate, so that the front radio-frequency plate emits the header signal, Wherein, the frame header fields are the fixation frame header fields in the corresponding wireless communication protocol of the radio frames;
Specifically, data switch plate parses the first control frame according to default ethernet frame structure, and acquisition is deposited in advance The corresponding header signal of brewed frame header fields of storage, is sent to front radio-frequency plate for header signal, front radio-frequency plate passes through It eats dishes without rice or wine to emit header signal.It wherein presets ethernet frame structure and contains frame head and data segment, the knowledge of frame is contained in frame head The information of other code, frame storage address and frame length, wherein the identification code of the first control frame is control frame.On data switch plate FPGA is received after the first control frame, so that it may be determined that the frame is a control frame according to frame originating point information, and be obtained and need to send out The position that the signal penetrated stores on RAM in FPGA, and pass through the signal of frame length information reading corresponding length and transmitting.
Step S93, the second control frame that the computer equipment is sent according to the default ethernet frame structure is received;
Specifically, after PHY layer sends the first control frame to data switch plate, it is also necessary to according to default ethernet frame structure The second control frame is sent, other brewed orthogonal letters in addition to frame header fields are used to indicate in data switch plate transmission radio frames Number, these orthogonal signalling are that PHY layer modulates after sending the first control frame to data switch plate and is sent to data switch plate On for data switch plate storage, include the corresponding all orthogonal signalling in addition to header signal of radio frames, data switch Plate receives the second control frame by Ethernet.
Step S94, it is stored after receiving first control frame according to second control frame acquisition brewed The orthogonal signalling are sent to front radio-frequency plate by the corresponding orthogonal signalling in addition to the header signal of the radio frames, So that the front radio-frequency plate emits the orthogonal signalling;
Specifically, data switch plate parses the second control frame, is control frame according to frame category determination, is deposited according to frame Storage address can obtain other orthogonal signalling, and after header signal has emitted, emit in addition to the header signal Orthogonal signalling.Wherein, to be PHY layer modulate orthogonal signalling after sending the first control frame to data switch plate, including front end PHY layer tune after PHY layer is modulated during rf board emits header signal orthogonal signalling and front radio-frequency plate transmitting header signal The orthogonal signalling of system.PHY layer one orthogonal signalling of every modulation, then be sent to data switch plate for the orthogonal signalling, turns for data Fishplate bar stores the orthogonal signalling.Data switch plate reads out the orthogonal signalling stored during emitting header signal, sends Onto front radio-frequency plate, front radio-frequency plate emits these orthogonal signalling, and during front radio-frequency plate emits orthogonal signalling, data turn Fishplate bar continues to read next orthogonal signalling and is sent to front radio-frequency plate, realizes the process sent in modulation.
Step S95, when the front radio-frequency plate emits the header signal, pressing for the computer equipment transmission is received According to the data frame of the default ethernet frame structure determination, the data frame is carried in the radio frames in addition to the frame header fields The corresponding orthogonal signalling of other fields.
Specifically, after PHY layer gets radio frames to be sent, the first control frame is sent to data switch plate, Front radio-frequency plate send header signal when, start modulate radio frames in addition to frame header fields the corresponding source data of other fields, really Determine the corresponding orthogonal signalling of radio frames.Framing is carried out to it according to default ethernet frame structure, data segment framing is added for frame head The form of orthogonal data section, forms data frame, and the information of the identification code of frame, frame storage address and frame length is contained in frame head, Data switch plate is sent a dataframe to, data switch plate receives data frame.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according in wireless communication protocol The characteristics of including fixed frame header fields, header signal is modulated in advance, the hair of radio frames can be started by controlling information by one It send, meanwhile, start to carry out data segment modulation, and by the data waveform transmission modulated to data switch plate, realize wireless data The complete transmission of frame.The embodiment of the present invention carries out the preparation before data modulation using the time for eating dishes without rice or wine to send header signal, complete All standing data modulation treatment delay, the only link delay of data transmission, on SDR platform realize wireless communication protocol In low latency respond require.
On the basis of the above embodiments, further, this method further include:
The data frame is parsed according to the default frame structure, and stores the orthogonal signalling that the data frame carries.
Specifically, after data switch plate receives data frame, according to default ethernet frame structure elucidation data frame, storage The orthogonal signalling that data frame carries send out orthogonal signalling later after the second control frame for receiving computer equipment transmission It send to front radio-frequency plate, so that front radio-frequency plate emits orthogonal signalling.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according in wireless communication protocol The characteristics of including fixed frame header fields, header signal is modulated in advance, the hair of radio frames can be started by controlling information by one It send, meanwhile, start to carry out data segment modulation, and by the data waveform transmission modulated to data switch plate, realize wireless data The complete transmission of frame.The embodiment of the present invention carries out the preparation before data modulation using the time for eating dishes without rice or wine to send header signal, complete All standing data modulation treatment delay, the only link delay of data transmission, on SDR platform realize wireless communication protocol In low latency respond require.
On the basis of the above embodiments, further, the reception computer equipment is according to default ethernet frame structure The first control frame sent, comprising:
The computer equipment is received to be matched according to the first address configuration frame of default ethernet frame structure transmission, the first length Set frame and the first triggering configuration frame;
Correspondingly, the frame header fields pair that pre-stored brewed radio frames are obtained according to first control frame The header signal answered, comprising:
The storage address of the corresponding header signal of brewed frame header fields is determined according to the first address configuration frame;
The length that frame determines the header signal is configured according to first length, from the storage address described in reading The header signal of length;
It is correspondingly, described that the header signal is sent to front radio-frequency plate, comprising:
The header signal read is sent to the front radio-frequency plate according to the first triggering configuration frame.
Specifically, according to customized default ethernet frame structure, when needs send the first control frame to data switch plate When, PHY layer can send three groups of register configurations to data switch plate and write frame, be denoted as the first address configuration frame, the first length respectively Degree configuration frame and the first triggering configuration frame, wherein the first address configuration frame is for informing data switch plate frame head letter to be sent Number storage address, the first length configuration frame be used for inform data switch plate send header signal length, first triggering match Frame is set for informing that data switch plate starts to send header signal.
When data switch plate receives the first address configuration frame, which is parsed, determines brewed frame head word The initial position of the storage address of the corresponding header signal of section, it is right when data switch plate receives the first length configuration information The frame is parsed, and determines the length of header signal, i.e., from initial position, reads signal how long as header signal.When When data switch plate receives the first triggering configuration frame, start for header signal to be sent to front radio-frequency plate, front radio-frequency plate is logical It crosses the corresponding transmitting antenna of the transmitting antenna number carried in the first trigger frame and sends header signal.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according to default ethernet frame knot Structure writes the transmission that frame starts radio frames by three register configurations, meanwhile, start to carry out data segment modulation, and will modulate Data waveform transmission to data switch plate, realize the complete transmission of wireless data frame, using eat dishes without rice or wine to send header signal when Between carry out the preparation before data modulation, completely cover the delay of data modulation treatments, the only link delay of data transmission, into One step reduces data transmission delay.
On the basis of the various embodiments described above, further, it is described receive the computer equipment according to it is described it is default with Too the second control frame of net frame structure transmission, comprising:
Receive the second address configuration frame, the second length that the computer equipment is sent according to the default ethernet frame structure Degree configuration frame and the second triggering configuration frame;
Correspondingly, it is described obtained according to second control frame stored after receiving first control frame it is brewed The corresponding orthogonal signalling of the radio frames, comprising:
The radio frames pair modulated after receiving first control frame are determined according to the second address configuration frame The storage address for the orthogonal signalling answered;
The length that frame determines orthogonal signalling to be sent is configured according to second length, is read from the storage address The orthogonal signalling of the length;
It is correspondingly, described that the orthogonal signalling are sent to front radio-frequency plate, comprising:
The orthogonal signalling read are sent to the front radio-frequency plate according to the second triggering configuration frame.
Specifically, according to customized default ethernet frame structure, when needs send the second control frame to data switch plate When, PHY layer can send three groups of register configurations to data switch plate and write frame, be denoted as the second address configuration frame, the second length respectively Degree configuration frame and the second triggering configuration frame, wherein the second address configuration frame is for informing data switch plate orthogonal letter to be sent Number storage address, the second length configuration frame be used for inform data switch plate send orthogonal signalling length, second triggering match Frame is set for informing that data switch plate starts to send orthogonal signalling.
When data switch plate receives the second address configuration frame, which is parsed, determines other brewed words The initial position of the storage address of the corresponding orthogonal signalling of section, it is right when data switch plate receives the second length configuration information The frame is parsed, and determines the length of the orthogonal signalling of this secondary transmission, i.e., from initial position, reads signal conduct how long Orthogonal signalling.When data switch plate receives the second triggering configuration frame, start for orthogonal signalling to be sent to front radio-frequency plate, it is preceding End rf board sends orthogonal signalling by the corresponding transmitting antenna of the transmitting antenna number carried in the second trigger frame.
Data transmission method provided in an embodiment of the present invention based on software-defined radio, according to default ethernet frame knot Structure writes the transmission that frame starts radio frames by three register configurations, meanwhile, start to carry out data segment modulation, and will modulate Data waveform transmission to data switch plate, during this period, by three register configurations of another set write frame started send Modulated data waveform realizes the complete transmission of wireless data frame, is counted using the time for eating dishes without rice or wine to send header signal According to the preparation before modulation, the delay of data modulation treatment, the only link delay of data transmission are completely covered, further reduced Data transmission delay.
Figure 10 is the structural schematic diagram of computer equipment provided in an embodiment of the present invention, and as shown in Figure 10, which sets Standby includes: to obtain module 101, the first emission control module 102, the second emission control module 103 and modulation module 104, in which:
Module 101 is obtained for obtaining radio frames to be sent;First emission control module 102 is used for according to default ether Net frame structure sends the first control frame to data switch plate, so that the data switch plate obtains in advance according to first control frame The brewed header signal corresponding with the frame header fields of the radio frames first stored, and by described in the transmitting of front radio-frequency plate Header signal, wherein the frame header fields are the fixation frame header fields in the corresponding wireless communication protocol of the radio frames;Second Emission control module 103 is used to send the second control frame to the data switch plate according to the default ethernet frame structure, with Obtained for the data switch plate according to second control frame stored after receiving first control frame it is brewed The corresponding orthogonal signalling in addition to the header signal of the radio frames, and it is described orthogonal by front radio-frequency plate transmitting Signal;Modulation module 104 is used to modulate in the radio frames when the front radio-frequency plate emits the header signal except described The corresponding source data of other outer fields of frame header fields, determines the corresponding orthogonal signalling of source data in the radio frames.
Specifically, it obtains module 101 and obtains radio frames to be sent, the first emission control module 102 is according to default ether Net frame structure sends the first control frame to data switch plate, and data switch plate is according to default ethernet frame structure to the first control frame It is parsed, obtains the corresponding header signal of frame header fields of pre-stored brewed radio frames, header signal is sent To front radio-frequency plate, front radio-frequency plate is by eating dishes without rice or wine to emit header signal.Second emission control module 103 sends the second control Frame is used to indicate in data switch plate transmission radio frames other brewed orthogonal signalling in addition to frame header fields, these are orthogonal Signal is that PHY layer is modulated after sending the first control frame to data switch plate and is sent on data switch plate for data switch Plate storage, the orthogonal signalling and front end that PHY layer is modulated during these orthogonal signalling include front radio-frequency plate transmitting header signal Rf board emits the orthogonal signalling of PHY layer modulation after header signal.It is right after data switch plate receives the second control frame It is parsed, and is control frame according to frame category determination, can be obtained other orthogonal signalling according to frame storage address, and in frame After head signal has emitted, emit orthogonal signalling.Modulation module 104 starts to modulate when front radio-frequency plate emits header signal In radio frames in addition to frame header fields the corresponding source data of other fields, determine the corresponding orthogonal signalling of radio frames.In this way, working as data When pinboard receives the second control frame, so that it may read the orthogonal signalling from corresponding frame storage address.The embodiment of the present invention The device of offer, for realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
Computer equipment provided in an embodiment of the present invention, according to the spy comprising fixed frame header fields in wireless communication protocol Point, modulates header signal in advance, and the transmission of radio frames can be started by controlling information by one, meanwhile, start to carry out data Section modulation, and by the data waveform transmission modulated to data switch plate, realize the complete transmission of wireless data frame.The present invention is real It applies using the time for eating dishes without rice or wine to send header signal and carries out the preparation before data modulation, completely cover data modulation treatment and prolong When, only data transmission link delay, realized on SDR platform required in wireless communication protocol low latency response.
On the basis of the above embodiments, further, the computer equipment further include:
Framing module determines pending for carrying out framing to the orthogonal signalling according to the default ethernet frame structure The data frame sent;
Sending module, for the data frame to be sent to the data switch plate, for the data switch plate according to The default ethernet frame structure elucidation simultaneously stores the orthogonal signalling that the data frame carries.
Specifically, framing module carries out framing to it according to default ethernet frame structure, and data segment framing is added for frame head The form of orthogonal data section, forms data frame, and the information of the identification code of frame, frame storage address and frame length is contained in frame head. Data frame after framing is sent to data switch plate by sending module, and data switch plate parses the data frame, so that it may Determine that frame category is data frame, the orthogonal signalling which is carried are stored into the corresponding frame storage address of frame head, in this way, when connecing When receiving the second control frame, so that it may read the orthogonal signalling from corresponding frame storage address.Dress provided in an embodiment of the present invention It sets, for realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
Computer equipment provided in an embodiment of the present invention, according to the spy comprising fixed frame header fields in wireless communication protocol Point, modulates header signal in advance, and the transmission of radio frames can be started by controlling information by one, meanwhile, start to carry out data Section modulation, and by the data waveform transmission modulated to data switch plate, realize the complete transmission of wireless data frame.The present invention is real It applies using the time for eating dishes without rice or wine to send header signal and carries out the preparation before data modulation, completely cover data modulation treatment and prolong When, only data transmission link delay, realized on SDR platform required in wireless communication protocol low latency response.
On the basis of the various embodiments described above, further, the first emission control module includes:
First address control unit, for sending the first address to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate determines the brewed frame head with the radio frames according to the first address configuration frame The storage address of the corresponding header signal of field;
First length control unit, for sending the first length to the data switch plate according to default ethernet frame structure Frame is configured, determines the length of the header signal so that the data switch plate configures frame according to first length, from described The header signal of the length is read in storage address;
First trigger control unit, for sending the first triggering to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate sends the frame head read to the front radio-frequency plate according to the first triggering configuration frame Signal, so that the front radio-frequency plate emits the header signal.
Specifically, according to customized default ethernet frame structure, when needs send the first control frame to data switch plate When, the first address control unit sends the first address configuration frame to data switch plate, for informing that data switch plate will be sent Header signal storage address, the first length control unit to data switch plate send the first length configure frame, for informing The length for the header signal that data switch plate is sent, the first trigger control unit send the first triggering configuration to data switch plate Frame, for informing that data switch plate starts to send header signal.
When data switch plate receives the first address configuration frame, which is parsed, determines brewed frame head word The initial position of the storage address of the corresponding header signal of section, it is right when data switch plate receives the first length configuration information The frame is parsed, and determines the length of header signal, i.e., from initial position, reads signal how long as header signal.When When data switch plate receives the first triggering configuration frame, start for header signal to be sent to front radio-frequency plate, front radio-frequency plate is logical It crosses the corresponding transmitting antenna of the transmitting antenna number carried in the first trigger frame and sends header signal.Dress provided in an embodiment of the present invention It sets, for realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
Computer equipment provided in an embodiment of the present invention passes through three register configurations according to default ethernet frame structure The transmission that frame starts radio frames is write, meanwhile, start to carry out data segment modulation, and the data waveform transmission modulated to data is turned Fishplate bar realizes the complete transmission of wireless data frame, carries out the standard before data modulation using the time for eating dishes without rice or wine to send header signal It is standby, the delay of data modulation treatment, the only link delay of data transmission are completely covered, when further reduced data transmission Prolong.
On the basis of the various embodiments described above, further, the second emission control module includes:
Second address control unit, for sending the second address to the data switch plate according to default ethernet frame structure Frame is configured, is adjusted after receiving first control frame so that the data switch plate is determined according to the second address configuration frame The storage address of the corresponding orthogonal signalling of the radio frames of system;
Second length control unit, for sending the second length to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate configures the length that frame determines orthogonal signalling to be sent according to second length, from The orthogonal signalling of the length are read in the storage address;
Second trigger control unit, for sending the second triggering to the data switch plate according to default ethernet frame structure Frame is configured, so that the data switch plate sends the orthogonal of reading to the front radio-frequency plate according to the second triggering configuration frame Signal, so that the front radio-frequency plate emits the orthogonal signalling.
Specifically, according to customized default ethernet frame structure, when needs send the second control frame to data switch plate When, the second address control unit sends the second address configuration frame to data switch plate, for informing that data switch plate will be sent Orthogonal signalling storage address, the second length control unit to data switch plate send the second length configure frame, for informing The length for the orthogonal signalling that data switch plate is sent, the second trigger control unit send the second triggering configuration to data switch plate Frame, for informing that data switch plate starts to send orthogonal signalling.
When data switch plate receives the second address configuration frame, which is parsed, determines other brewed words The initial position of the storage address of the corresponding orthogonal signalling of section, it is right when data switch plate receives the second length configuration information The frame is parsed, and determines the length of the orthogonal signalling of this secondary transmission, i.e., from initial position, reads signal conduct how long Orthogonal signalling.When data switch plate receives the second triggering configuration frame, start for orthogonal signalling to be sent to front radio-frequency plate, it is preceding End rf board sends orthogonal signalling by the corresponding transmitting antenna of the transmitting antenna number carried in the second trigger frame.The present invention is implemented The device that example provides, for realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
Computer equipment provided in an embodiment of the present invention passes through three register configurations according to default ethernet frame structure The transmission that frame starts radio frames is write, meanwhile, start to carry out data segment modulation, and the data waveform transmission modulated to data is turned Fishplate bar writes frame by three register configurations of another set and starts to send modulated data waveform, realize nothing during this period The complete transmission of line data frame carries out the preparation before data modulation using the time for eating dishes without rice or wine to send header signal, is completely covered The delay of data modulation treatments, the only link delay of data transmission, further reduced data transmission delay.
Figure 11 is the structural schematic diagram of data switch plate provided in an embodiment of the present invention, as shown in figure 11, the data switch Plate includes: the first receiving module 111, header signal acquisition module 112, the second receiving module 113, orthogonal signalling acquisition module 114 and third receiving module 115, in which:
First receiving module 111 is used to receive the first control that computer equipment is sent according to default ethernet frame structure Frame;Header signal obtains the frame that module 112 is used to obtain pre-stored brewed radio frames according to first control frame The header signal is sent to front radio-frequency plate by the corresponding header signal of head file, so that the front radio-frequency plate emits institute State header signal, wherein the frame header fields are the fixation frame header fields in the corresponding wireless communication protocol of the radio frames;The Two receiving modules 113 are used to receive the second control frame that the computer equipment is sent according to the default ethernet frame structure; Orthogonal signalling obtain module 114 and are used to be stored after receiving first control frame according to second control frame acquisition The orthogonal signalling are sent to preceding end-fire by the corresponding orthogonal signalling in addition to the header signal of the radio frames of modulation Frequency plate, so that the front radio-frequency plate emits the orthogonal signalling;Third receiving module 115 is used to send out in the front radio-frequency plate When penetrating the header signal, the data frame according to default ethernet frame structure determination that the computer equipment is sent, institute are received It states data frame and carries in the radio frames the corresponding orthogonal signalling of other fields in addition to the frame header fields.
Specifically, after PHY layer gets radio frames to be sent, the first receiving module 111 receives the first control frame, In the first control frame according to default ethernet frame structure determination.Header signal obtains module 112 according to default ethernet frame Structure parses the first control frame, the corresponding header signal of pre-stored brewed frame header fields is obtained, by frame head Signal is sent to front radio-frequency plate, and front radio-frequency plate is by eating dishes without rice or wine to emit header signal.Second receiving module 113 passes through Ethernet The second control frame is received, the second control frame is used to indicate other modulated in addition to frame header fields in data switch plate transmission radio frames The orthogonal signalling of system.Orthogonal signalling obtain module 114 and parse to the second control frame, are control frames according to frame category determination, Other orthogonal signalling can be obtained according to frame storage address, and after header signal has emitted, emit orthogonal signalling.Third Receiving module 115 receive data frame, wherein data frame carry radio frames in addition to frame header fields the corresponding orthogonal letter of other fields Number.Device provided in an embodiment of the present invention, for realizing the above method, function is referring in particular to above method embodiment, herein It repeats no more.
Data switch plate provided in an embodiment of the present invention, according to the spy comprising fixed frame header fields in wireless communication protocol Point, modulates header signal in advance, and the transmission of radio frames can be started by controlling information by one, meanwhile, start to carry out data Section modulation, and by the data waveform transmission modulated to data switch plate, realize the complete transmission of wireless data frame.The present invention is real It applies using the time for eating dishes without rice or wine to send header signal and carries out the preparation before data modulation, completely cover data modulation treatment and prolong When, only data transmission link delay, realized on SDR platform required in wireless communication protocol low latency response.
On the basis of the above embodiments, further, the data switch plate further include:
Memory module is used for the data frame according to the default ethernet frame structure elucidation, and stores the data frame The orthogonal signalling of carrying.
Specifically, after third receiving module receives data frame, memory module is according to default ethernet frame structure elucidation Data frame, the orthogonal signalling that store frames of data carries will later after the second control frame for receiving computer equipment transmission Orthogonal signalling are sent to front radio-frequency plate, so that front radio-frequency plate emits orthogonal signalling.Device provided in an embodiment of the present invention is used In realizing the above method, function is referring in particular to above method embodiment, and details are not described herein again.
Data switch plate provided in an embodiment of the present invention, according to the spy comprising fixed frame header fields in wireless communication protocol Point, modulates header signal in advance, and the transmission of radio frames can be started by controlling information by one, meanwhile, start to carry out data Section modulation, and by the data waveform transmission modulated to data switch plate, realize the complete transmission of wireless data frame.The present invention is real It applies using the time for eating dishes without rice or wine to send header signal and carries out the preparation before data modulation, completely cover data modulation treatment and prolong When, the only link delay of data transmission, the low latency response realized in wireless communication protocol on SDR platform requires.
Figure 12 is the structural schematic diagram of software-defined radio SDR platform provided in an embodiment of the present invention, as shown in figure 12, The SDR platform includes: computer equipment 121, data switch plate 122 and front radio-frequency plate 123, the meter in the SDR platform Machine equipment 121 is calculated, function is referring in particular to above-mentioned computer equipment embodiment, data switch plate 122 in the SDR platform, Its function is referring in particular to above-mentioned data switch plate embodiment, and details are not described herein again, and front radio-frequency plate is for connecing in the SDR platform It receives and emits header signal and orthogonal signalling.
The embodiments such as device described above are only schematical, wherein the unit as illustrated by the separation member It may or may not be physically separated, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution The range of various embodiments of the present invention technical solution.

Claims (17)

1. a kind of data transmission method based on software-defined radio SDR characterized by comprising
Obtain radio frames to be sent;
The first control frame is sent to data switch plate according to default ethernet frame structure, so that the data switch plate is according to First control frame obtains pre-stored brewed header signal corresponding with the frame header fields of the radio frames, and before passing through Rf board is held to emit the header signal, wherein the frame header fields are in the corresponding wireless communication protocol of the radio frames Fixed frame header fields;
The second control frame is sent to the data switch plate according to the default ethernet frame structure, for the data switch plate It is corresponding that the brewed radio frames stored after receiving first control frame are obtained according to second control frame Orthogonal signalling in addition to the header signal, and the orthogonal signalling are emitted by the front radio-frequency plate;
When the front radio-frequency plate emits the header signal, other words in addition to the frame header fields are modulated in the radio frames The corresponding source data of section, determines the corresponding orthogonal signalling of source data in the radio frames.
2. the method according to claim 1, wherein further include:
Framing is carried out to the orthogonal signalling according to the default ethernet frame structure, determines data frame to be sent;
The data frame is sent to the data switch plate, so that the data switch plate is according to the default ethernet frame knot Structure parses and stores the orthogonal signalling that the data frame carries.
3. the method according to claim 1, wherein the basis presets ethernet frame structure to data switch plate Send the first control frame, for the data switch plate obtained according to first control frame it is pre-stored brewed with institute The corresponding header signal of frame header fields of radio frames is stated, and the header signal is emitted by front radio-frequency plate, comprising:
The first address configuration frame is sent to the data switch plate according to default ethernet frame structure, for the data switch plate The storage of brewed header signal corresponding with the frame header fields of the radio frames is determined according to the first address configuration frame Address;
The first length is sent to the data switch plate according to default ethernet frame structure and configures frame, for the data switch plate The length that frame determines the header signal is configured according to first length, the frame of the length is read from the storage address Head signal;
The first triggering configuration frame is sent to the data switch plate according to default ethernet frame structure, for the data switch plate The header signal read is sent to the front radio-frequency plate according to the first triggering configuration frame, for front radio-frequency plate hair Penetrate the header signal.
4. the method according to claim 1, wherein it is described according to the default ethernet frame structure to the number The second control frame is sent according to pinboard, is receiving described first so that the data switch plate is obtained according to second control frame The corresponding orthogonal signalling in addition to the header signal of the brewed radio frames stored after control frame, and pass through institute It states front radio-frequency plate and emits the orthogonal signalling, comprising:
The second address configuration frame is sent to the data switch plate according to default ethernet frame structure, for the data switch plate Determine that the radio frames modulated after receiving first control frame are corresponding except institute according to the second address configuration frame State the storage address of the orthogonal signalling except header signal;
The second length is sent to the data switch plate according to default ethernet frame structure and configures frame, for the data switch plate The length that frame determines orthogonal signalling to be sent is configured according to second length, the length is read from the storage address Orthogonal signalling;
The second triggering configuration frame is sent to the data switch plate according to default ethernet frame structure, for the data switch plate The orthogonal signalling read are sent to the front radio-frequency plate according to the second triggering configuration frame, for front radio-frequency plate hair Penetrate the orthogonal signalling.
5. according to the method described in claim 2, it is characterized in that, described emit the header signal in the front radio-frequency plate When, the corresponding source data of other fields in addition to the frame header fields is modulated in the radio frames, determines that the radio frames are corresponding Orthogonal signalling, comprising:
When the front radio-frequency plate emits the header signal, other words in addition to the frame header fields are obtained in the radio frames Each symbol data in the corresponding source data of section;
It is sequentially modulated the symbol data, determines the corresponding orthogonal signalling of the symbol data, caching is described just in the form of queue Hand over signal;
Correspondingly, described that framing is carried out to the orthogonal signalling according to the default ethernet frame structure, determine number to be sent According to frame, comprising:
Queue described in poll, it is successively corresponding to each symbol data in the queue according to the default ethernet frame structure Orthogonal signalling carry out framing, determine the corresponding data frame of each symbol data;
Correspondingly, described that the data frame is sent to the data switch plate, so that the data switch plate is according to described pre- If ethernet frame structure elucidation simultaneously stores the orthogonal signalling that the data frame carries, comprising:
The corresponding data frame of each symbol data is successively sent to the data switch plate, for the data switch plate according to The default ethernet frame structure elucidation simultaneously stores the orthogonal signalling that the data frame carries.
6. according to any method of claim 2-5, which is characterized in that described according to the default ethernet frame structure pair The orthogonal signalling carry out framing, determine data frame to be sent, including;
It determines the corresponding number of frames of the orthogonal signalling, the orthogonal signalling is carried out according to the default ethernet frame structure Framing determines data frame to be sent, wherein the data frame carries the number of frames;
Correspondingly, described that the data frame is sent to the data switch plate, so that the data switch plate is according to described pre- If ethernet frame structure elucidation simultaneously stores the corresponding orthogonal signalling of the data frame, comprising:
The data frame is sent to the data switch plate, so that the data switch plate is according to number of frames judgement No frame losing, and according to the default ethernet frame structure elucidation and store the corresponding orthogonal signalling of the data frame.
7. a kind of data transmission method based on software-defined radio SDR characterized by comprising
Receive the first control frame that computer equipment is sent according to default ethernet frame structure;
The corresponding header signal of frame header fields of pre-stored brewed radio frames is obtained according to first control frame, it will The header signal is sent to front radio-frequency plate, so that the front radio-frequency plate emits the header signal, wherein the frame head Field is the fixation frame header fields in the corresponding wireless communication protocol of the radio frames;
Receive the second control frame that the computer equipment is sent according to the default ethernet frame structure;
The brewed radio frames pair stored after receiving first control frame are obtained according to second control frame The orthogonal signalling are sent to front radio-frequency plate, for the front end by the orthogonal signalling in addition to the header signal answered Rf board emits the orthogonal signalling;
When the front radio-frequency plate emits the header signal, receive that the computer equipment sends according to it is described it is default with The too data frame that determines of net frame structure, the data frame carry in the radio frames that other fields are corresponding in addition to the frame header fields Orthogonal signalling.
8. the method according to the description of claim 7 is characterized in that further include:
According to data frame described in the default ethernet frame structure elucidation, and store the orthogonal signalling that the data frame carries.
9. the method according to the description of claim 7 is characterized in that the reception computer equipment is according to default ethernet frame knot The first control frame that structure is sent, comprising:
Receive the first address configuration frame, the first length configuration frame that the computer equipment is sent according to default ethernet frame structure With the first triggering configuration frame;
Correspondingly, the frame header fields for obtaining pre-stored brewed radio frames according to first control frame are corresponding Header signal, comprising:
The storage address of the corresponding header signal of brewed frame header fields is determined according to the first address configuration frame;
The length that frame determines the header signal is configured according to first length, the length is read from the storage address Header signal;
It is correspondingly, described that the header signal is sent to front radio-frequency plate, comprising:
The header signal read is sent to the front radio-frequency plate according to the first triggering configuration frame.
10. according to any method of claim 7-9, which is characterized in that described to receive the computer equipment according to institute State the second control frame that default ethernet frame structure is sent, comprising:
The computer equipment is received to be matched according to the second address configuration frame of the default ethernet frame structure transmission, the second length Set frame and the second triggering configuration frame;
Correspondingly, described that the brewed institute stored after receiving first control frame is obtained according to second control frame State the corresponding orthogonal signalling of radio frames, comprising:
Determine that the radio frames modulated after receiving first control frame are corresponding according to the second address configuration frame The storage address of orthogonal signalling in addition to the header signal;
The length that frame determines orthogonal signalling to be sent is configured according to second length, from the storage address described in reading The orthogonal signalling of length;
It is correspondingly, described that the orthogonal signalling are sent to front radio-frequency plate, comprising:
The orthogonal signalling read are sent to the front radio-frequency plate according to the second triggering configuration frame.
11. a kind of computer equipment characterized by comprising
Module is obtained, for obtaining radio frames to be sent;
First emission control module, for sending the first control frame to data switch plate according to default ethernet frame structure, for The data switch plate obtains the pre-stored brewed frame header fields with the radio frames according to first control frame Corresponding header signal, and the header signal is emitted by front radio-frequency plate, wherein the frame header fields are the radio frames Fixation frame header fields in corresponding wireless communication protocol;
Second emission control module, for sending the second control to the data switch plate according to the default ethernet frame structure Frame, for the data switch plate obtained according to second control frame stored after receiving first control frame it is modulated The corresponding orthogonal signalling in addition to the header signal of the radio frames of system, and by described in front radio-frequency plate transmitting Orthogonal signalling;
Modulation module, for modulating in the radio frames except the frame when the front radio-frequency plate emits the header signal The corresponding source data of other outer fields of head file, determines the corresponding orthogonal signalling of source data in the radio frames.
12. computer equipment according to claim 11, which is characterized in that further include:
Framing module determines to be sent for carrying out framing to the orthogonal signalling according to the default ethernet frame structure Data frame;
Sending module, for the data frame to be sent to the data switch plate, so that the data switch plate is according to Default ethernet frame structure elucidation simultaneously stores the orthogonal signalling that the data frame carries.
13. computer equipment according to claim 11, which is characterized in that the first emission control module includes:
First address control unit, for sending the first address configuration to the data switch plate according to default ethernet frame structure Frame, so that the data switch plate determines the brewed frame header fields with the radio frames according to the first address configuration frame The storage address of corresponding header signal;
First length control unit, for sending the configuration of the first length to the data switch plate according to default ethernet frame structure Frame, so that the data switch plate configures the length that frame determines the header signal according to first length, from the storage The header signal of the length is read in address;
First trigger control unit, for sending the first triggering configuration to the data switch plate according to default ethernet frame structure Frame is believed so that the data switch plate sends the frame head read to the front radio-frequency plate according to the first triggering configuration frame Number, so that the front radio-frequency plate emits the header signal.
14. any computer equipment of 1-13 according to claim 1, which is characterized in that the second emission control module Include:
Second address control unit, for sending the second address configuration to the data switch plate according to default ethernet frame structure Frame is modulated after receiving first control frame for the data switch plate according to the second address configuration frame determination The storage address of the corresponding orthogonal signalling in addition to the header signal of the radio frames;
Second length control unit, for sending the configuration of the second length to the data switch plate according to default ethernet frame structure Frame determines the length of orthogonal signalling to be sent so that the data switch plate configures frame according to second length, from described The orthogonal signalling of the length are read in storage address;
Second trigger control unit, for sending the second triggering configuration to the data switch plate according to default ethernet frame structure Frame, so that the data switch plate sends the orthogonal letter read to the front radio-frequency plate according to the second triggering configuration frame Number, so that the front radio-frequency plate emits the orthogonal signalling.
15. a kind of data switch plate characterized by comprising
First receiving module, the first control frame structure sent for receiving computer equipment according to default ethernet frame structure;
Header signal obtains module, for obtaining the frame head of pre-stored brewed radio frames according to first control frame The header signal is sent to front radio-frequency plate by the corresponding header signal of field, for described in front radio-frequency plate transmitting Header signal, wherein the frame header fields are the fixation frame header fields in the corresponding wireless communication protocol of the radio frames;
Second receiving module, the second control sent for receiving the computer equipment according to the default ethernet frame structure Frame;
Orthogonal signalling obtain module, for what is stored after receiving first control frame according to second control frame acquisition The orthogonal signalling are sent to front end by the corresponding orthogonal signalling in addition to the header signal of the brewed radio frames Rf board, so that the front radio-frequency plate emits the orthogonal signalling;
Third receiving module, for when the front radio-frequency plate emits the header signal, receiving the computer equipment hair The data frame according to default ethernet frame structure determination sent, the data frame, which carries, removes the frame header fields in the radio frames The corresponding orthogonal signalling of other outer fields.
16. data switch plate according to claim 15, which is characterized in that further include: memory module, for according to Data frame described in default ethernet frame structure elucidation, and store the orthogonal signalling that the data frame carries.
17. a kind of software-defined radio SDR platform, it is characterised in that: including the calculating as described in claim 11-14 is any Machine equipment, data switch plate and front radio-frequency plate as described in claim 15 or 16;
The front radio-frequency plate, for receiving and emitting the header signal and the orthogonal signalling.
CN201810912700.6A 2018-08-10 2018-08-10 Data transmission method, computer equipment, data adapter board and SDR platform Active CN109361490B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810912700.6A CN109361490B (en) 2018-08-10 2018-08-10 Data transmission method, computer equipment, data adapter board and SDR platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810912700.6A CN109361490B (en) 2018-08-10 2018-08-10 Data transmission method, computer equipment, data adapter board and SDR platform

Publications (2)

Publication Number Publication Date
CN109361490A true CN109361490A (en) 2019-02-19
CN109361490B CN109361490B (en) 2021-06-18

Family

ID=65349909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810912700.6A Active CN109361490B (en) 2018-08-10 2018-08-10 Data transmission method, computer equipment, data adapter board and SDR platform

Country Status (1)

Country Link
CN (1) CN109361490B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101466168A (en) * 2008-12-17 2009-06-24 华为技术有限公司 Radio equipment controller, radio communication system and communication data transmission method
CN102014277A (en) * 2010-12-03 2011-04-13 杭州海康威视数字技术股份有限公司 Video monitoring system, video monitoring method and spherical camera
CN102395189A (en) * 2011-06-28 2012-03-28 中兴通讯股份有限公司 Clock synchronization method and system in BBU (Building Base band Unit) stacking system
CN102667742A (en) * 2009-09-30 2012-09-12 微软公司 Radio control board for software-defined radio platform
CN102740511A (en) * 2011-04-12 2012-10-17 中兴通讯股份有限公司 Baseband radio frequency interface based on software defined radio (SDR) and application method thereof
CN104393958A (en) * 2014-11-28 2015-03-04 成都航天通信设备有限责任公司 Data frame transmitting method and receiving method based on pipelining
US9973723B2 (en) * 2014-02-24 2018-05-15 Apple Inc. User interface and graphics composition with high dynamic range video

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101466168A (en) * 2008-12-17 2009-06-24 华为技术有限公司 Radio equipment controller, radio communication system and communication data transmission method
CN102667742A (en) * 2009-09-30 2012-09-12 微软公司 Radio control board for software-defined radio platform
CN102014277A (en) * 2010-12-03 2011-04-13 杭州海康威视数字技术股份有限公司 Video monitoring system, video monitoring method and spherical camera
CN102740511A (en) * 2011-04-12 2012-10-17 中兴通讯股份有限公司 Baseband radio frequency interface based on software defined radio (SDR) and application method thereof
CN102395189A (en) * 2011-06-28 2012-03-28 中兴通讯股份有限公司 Clock synchronization method and system in BBU (Building Base band Unit) stacking system
US9973723B2 (en) * 2014-02-24 2018-05-15 Apple Inc. User interface and graphics composition with high dynamic range video
CN104393958A (en) * 2014-11-28 2015-03-04 成都航天通信设备有限责任公司 Data frame transmitting method and receiving method based on pipelining

Also Published As

Publication number Publication date
CN109361490B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN106100807B (en) Wireless device for efficient (HE) communication with additional subcarrier
US9680563B2 (en) System and method for partial bandwidth communication
CN108200000B (en) Transmit method, the Wireless LAN device of information
CN101273603B (en) Mechanisms for data rate improvement in a wireless network
CN105379217A (en) Access point and methods for distinguishing HEW physical layer packets with backwards compatibility
CN102667742B (en) For the wireless electric-controlled making sheet of software-defined radio platform
EP3416343A1 (en) Systems, methods, and devices for extending range of wireless networks
CN107431676A (en) For sending device, method and the computer-readable medium of efficient wireless lan signal field for small bandwidth allocation and big bandwidth allocation
CN106716944A (en) Wireless device, method, and computer readable media for a high efficiency signal-a field in a high efficiency wireless local- area network
CN107005526A (en) Method, device and the computer-readable medium of efficient packet format are sent with signal using the conventional part of lead code in a wireless local area network
CN108551434A (en) The method and apparatus for transmitting HE-LTF sequences
CN105939186A (en) Usage of early bits in wireless communications
US10425513B2 (en) Method and device for indicating transmission frame structure, and system
WO2017118253A1 (en) Transmission method and apparatus in extended range mode
US8588221B2 (en) Method and interface for interfacing a radio frequency transceiver with a baseband processor
CN103490870B (en) A kind of frequency band utilization method and equipment
CN106487490B (en) The method and apparatus of trigger frame transmission in a kind of WLAN
CN109361490A (en) Data transmission method, computer equipment, data switch plate and SDR platform
CN106921476A (en) A kind of resource indicating method and device based on many time periods
CN104396206B (en) Signal the method and arrangement of the confirmation strategy in short frame
CN109792637A (en) Pass through the transmission of the user plane data of cutting forward pass interface
CN108702654A (en) A kind of data transmission method and device in WLAN
CN106604203A (en) Method and related equipment for inter-site direct communication in wireless local area network
WO2017076020A1 (en) Ppdu transmission method and apparatus, wireless access point, and station
CN106464448B (en) A kind of communication means, device, user equipment and communication system

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