CN104009982B - File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set - Google Patents

File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set Download PDF

Info

Publication number
CN104009982B
CN104009982B CN201410204793.9A CN201410204793A CN104009982B CN 104009982 B CN104009982 B CN 104009982B CN 201410204793 A CN201410204793 A CN 201410204793A CN 104009982 B CN104009982 B CN 104009982B
Authority
CN
China
Prior art keywords
data
frame
file
slot
crc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410204793.9A
Other languages
Chinese (zh)
Other versions
CN104009982A (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.)
China Academy of Launch Vehicle Technology CALT
Beijing Institute of Space Launch Technology
Original Assignee
China Academy of Launch Vehicle Technology CALT
Beijing Institute of Space Launch Technology
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 China Academy of Launch Vehicle Technology CALT, Beijing Institute of Space Launch Technology filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201410204793.9A priority Critical patent/CN104009982B/en
Publication of CN104009982A publication Critical patent/CN104009982A/en
Application granted granted Critical
Publication of CN104009982B publication Critical patent/CN104009982B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of file grouping group sending device based on ultrashort wave radio set, including the dispensing device for sending node and the reception device for receiving node, dispensing device also includes a data-in port, reception device also includes a data-out port, the dispensing device includes data splitting block, the first data encapsulation apparatus, the second data encapsulation apparatus, the first counter and feedback signal reception device, in communication network, when performing once transmission task, so that it may which all selected network terminals are completed with the transmission of data file.Also include the file grouping method for group sending based on breakpoint transmission, more than 90% can be maintained at by generally sending the success rate of 10K data files.The correctness of file reception is can ensure that by carrying out CRC check to whole file, so as to realize the reliable and stable mass-sending of file on ultrashort wave radio set.

Description

File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set
Technical field
The present invention relates to a kind of radio communication device, more particularly to a kind of peer-to-multiple peer wireless communication device.
Background technology
When carrying out file transmission using frequency hopping ultrashort wave radio set in the past, in order to improve the side more than efficiency of transmission using mass-sending Formula is carried out, but there is following defect:The radio station of all receptions can receive file simultaneously in net, when the communication caused by the reasons such as environment During error code, part recipient can not receive complete file;Passed if carrying out verification to file and mending, because more than receiving node quantity and Radio station inter-channel communication speed is too low (generally 4800bps), easily causes network paralysis.Received and dispatched in the past using ultrashort wave radio set Picture, file it is endless it is whole can cause fraction of loss in pixel, therefore, will not typically be verified.And in a communication network In the case that the network terminal is numerous, it is sometimes desirable to send essence to quantity or the unfixed network terminal of type using ultrashort wave radio set True data file is for being calculated, it is therefore necessary to ensure the integrality and correctness of file transmission.And existing communication mode Communications errors can not be overcome in effective bandwidth.
The content of the invention
It is an object of the invention to provide a kind of file grouping method for group sending, solving can not be quickly to more in narrowband wireless communication The technical problem of individual network terminal accurate delivery data.
It is an object of the invention to provide a kind of file grouping group sending device, solving existing group sending device can not effectively overcome logical Believe the technical problem of error code.
The file grouping group sending device based on ultrashort wave radio set of the present invention, including dispensing device for sending node and For the reception device of receiving node, dispensing device also includes a data-in port, and reception device also includes a data Output port, the dispensing device includes data splitting block, the first data encapsulation apparatus, the second data encapsulation apparatus, first Counter and feedback signal reception device, wherein:
Data splitting block, data file and control data for receiving input parse the filename of data file, expanded Name, document size are opened up, file CRC data is formed,
The data split according to control data in file are data slot, are that data slot sets up index data,
Receive and mend frame request data,
And transfer data to corresponding data encapsulation apparatus;
Control data includes data segmentation length, receiving node quantity, receiving node address, command identification, timing data Deng;
First data encapsulation apparatus, for formatted link data,
First frame is formed, and is sent according to corresponding timing signal to wireless transmit/receive units;
Second data encapsulation apparatus, for the formatted link data between frame head data and postamble data,
The total data frame of data file is formed, and is sent according to corresponding timing signal to wireless transmit/receive units;
First counter, for receiving timing data, sends corresponding timing signal, fixed length to each data encapsulation apparatus and believes Number;
Feedback signal reception device, frame request data is mended for receiving, and frame request data is mended in parsing, and is sent to segmentation dress Put.
The reception device includes data merging device, data buffer storage device, feedback signal dispensing device, the second counter And marker register, wherein:
Data merging device, receives the status data and load data in each frame code stream, parsing code stream, passes through load data Buffering area is set, data output is set by status data and duration signal or the output of frame request data is mended;
Data buffer storage device, buffering area is opened up according to the relevant parameter of load data, judges there there is payload in buffering area Effect property, if during payload failure, the failure parameter of payload is transmitted to feedback signal dispensing device, otherwise merges effective Load formation data file output,
Feedback signal dispensing device, the failure parameter for receiving payload mends frame request according to status data formation And send;
Second counter, for providing timing signal, fixed length signal to data merging device or feedback signal dispensing device;
Marker register, for providing status data to feedback signal dispensing device.
The key step that file grouping group sending device based on ultrashort wave radio set sends data method is as follows:
The data splitting block obtains data file from data-in port;
Data splitting block parses filename, extension name, the document size of data file, forms file CRC data;
Data splitting block obtains receiving node address date from data-in port;
Data splitting block forms continuous data slot, built according to the segmentation length parameter of acquisition, partition data file Lithol draws, and records highest index value;
Filename, extension name, document size, CRC data and number of fragments are packaged into first frame by the first data encapsulation apparatus;
By the first counter counts when, count, first frame is sent to wireless transmit/receive units with the fixed cycle;
Second data encapsulation apparatus is by each data slot and filename, extension name, sending node address, receiving node quantity And address, data slot index, segmentation length and data CRC encapsulation, form the data frame of continuity index;
By the first counter counts when, count, with Fixed Time Interval successively to wireless transmit/receive units send data frame;
When feedback signal reception device by receive the command identification in code stream obtain target terminal send benefit frame ask, Extract the node address and data fragment index value received in code stream;
Second data encapsulation apparatus is by corresponding data fragment index and data slot, sending node address, receiving node Location, filename, extension name and valid data CRC encapsulation, form and mend biography data frame;
By the first counter counts when, count, with Fixed Time Interval successively to wireless transmit/receive units send mend pass data Frame.
The key step that file grouping group sending device based on ultrashort wave radio set receives data method is as follows:
The data merging device receives data code flow, judgment frame type;
Headed by frame type during frame, repeat to receive and judge validity within the second counter preset time, effectively then extract Load data and control data, set up cache file and index in data buffer storage device, otherwise to marker register assignment, use Shown in error message;
When frame type is data frame, load data and control data are extracted, this section is judged according to receiving node address information Whether point receives, according to whether there is cache file of the same name, judges whether to receive, data receiver rank is judged according to command identification Section;
The stage is actively being received, load data is being covered to the same index value corresponding record in cache file of the same name, in quilt In the dynamic reception stage, load data is added in the same index of blank in cache file of the same name record;
Data buffer storage device is completed according to control data and the timing length of the second counter it is determined that passively receiving the stage, Data slot validity is determined according to the data CRC of each record;
When each data slot effectively, and each data slot order merge after CRC data it is consistent with file CRC data when, it is defeated Go out data file;
When exist data slot it is invalid when, by invalid data slot index transmission feedback signal dispensing device, to mark Register assigns the status number for actively receiving the stage for wanting supplement frame;
Invalid data slot index and marker register formation are mended frame request by feedback signal dispensing device, according to second The priority of the duration signal that counter is provided and this node address sends the data frame.
File grouping group sending device based on ultrashort wave radio set sends data method, comprises the following steps:
S09, starts to send initialization, data splitting block interception data input port;
S10, data splitting block receive data file and control data;
S11, data splitting block resolution file name, extension name, document size;
S12, data splitting block formation file CRC data;
S13, data splitting block are some data slots according to control data partition data file, are that data slot is set up Index;
S14, data splitting block transmit filename, extension name, document size, file CRC to the first data encapsulation apparatus Data, data slot largest index Value Data;
S15, the first data encapsulation apparatus form first frame, receive 3 seconds timing pips of the first counter, continuously transmit 5 first frames;
S16, data splitting block transmit command identification, sending node address, receiving node to the second data encapsulation apparatus Quantity, receiving node address, each data slot and fragment length and fragment index value, and this frame data CRC;
S17, the second data encapsulation apparatus are by the data frame of data formation continuity index, and receive the first counter 3 seconds are fixed When trigger signal, each data frame is sent successively;
S18, feedback signal reception device, which are received, mends frame data;
S19, the parsing of feedback signal reception device obtain command identification, receiving node address information, ask to reissue data frame Index value, and forward data splitting block;
S20, data splitting block send corresponding data to the second data encapsulation apparatus;
S21, the second data encapsulation apparatus are by the data frame of data formation respective index, and receive the first counter 3 seconds are fixed When trigger signal, each data frame is sent successively;
S22, end are sent.
File grouping group sending device based on ultrashort wave radio set receives data method, comprises the following steps:
S30, start initialization, data merging device receive code stream;
S31, data merging device judgment frame type, headed by frame when, perform step s32, when being data frame, perform step s41、s42;
S32, compare identical code stream in the second counter preset time, if reach three, be then perform step s33, S34, s35, s36, s38, otherwise perform step s37,38;
S33, data merging device extract load data, including filename, extension name, file CRC, data slot quantity;
S34, data merging device extract control data, including filename, extension name, data slot quantity;
S35, data buffer storage device set up cache file according to load data;
S36, data buffer storage device set up the index of cache file according to control data;
S37, the status number to the first frame bust this of marker register imparting;
S38, display information;
S41, data merging device extract status data include filename, extension name, command identification, sending node address, Receiving node quantity, receiving node address, extracting load data includes data slot length, data slot index value, data slice Section, data CRC;
When s42, judgement include this node address, step s43 is performed;
S43, judge in data buffer storage device whether there is corresponding cache file, be then execution step s44, otherwise perform Step s38;
S44, the transmission stage for judging mark, are when actively receiving the stage, to perform step s46, s47, s48, be passively to connect During the receipts stage, step s45, s47, s48 are performed;
S45, data buffer storage device write data slot, data CRC in cache file according to data slot index value;
Data slot, data CRC are covered right in cache file by s46, data buffer storage device according to data slot index value It should record;
The duration signal and control data that s47, data buffer storage device are provided according to the second counter determine that passive receive is tied Beam, each data slot validity is calculated according to data CRC;
S48, judge whether each data slot effective, effectively then perform step s49, it is invalid then perform step s51, s52, s53;
S49, judge data slot merge after CRC data and file CRC data it is whether consistent, step is then performed always S50, it is inconsistent then to perform step s38;
S50, data slot merge, output data file;
S51, data buffer storage device are by invalid data slot index transmission feedback signal dispensing device, to marker register Assign the status number for wanting supplement frame;
S52, feedback signal dispensing device formation mend frame request data frame, according to the second counter provide duration signal with The priority of this node address, sends and mends frame request data frame;
S53, end.
The file grouping method for group sending of the present invention, in communication network, when performing once transmission task, so that it may to all choosings The fixed network terminal completes the transmission of data file, generally sends the success rate of 10K data files and can be maintained at 90% More than.The correctness of file reception can ensure that by whole file CRC check, so as to realize that file is reliable on ultrashort wave radio set Stable transmission.Can be during data send and received using marker register, the otherness of determination process is distinguished actively Transmission and passive transmission, it is only necessary to which minimum communication channel can just realize the breakpoint transmission of multiple source files, it is to avoid pair The occupancy of extra channel, makes full use of the form of data frame to carry out mending frame request transmission, reduces the complexity of packaging system.
Embodiments of the invention are described further below in conjunction with the accompanying drawings.
Brief description of the drawings
Fig. 1 is the structural representation of file grouping group sending device of the present invention;
Fig. 2 is the first frame structure schematic diagram of the first data encapsulation apparatus encapsulation in file grouping group sending device of the present invention;
Fig. 3 is the data frame structure schematic diagram of the second data encapsulation apparatus encapsulation in file grouping group sending device of the present invention;
Fig. 4 is a kind of specific steps flow chart of transmission data in file grouping method for group sending of the present invention;
Fig. 5 is a kind of specific steps flow chart of reception data in file grouping method for group sending of the present invention.
Embodiment
As shown in figure 1, the packet group sending device embodiment of the present invention includes dispensing device 100 and reception device 200, In point-to-multipoint networking structure based on ultrashort wave radio set, being respectively arranged at sending node (is used for the ultrashort wave electricity for sending signal Platform) and receiving node (being used for the ultrashort wave radio set for receiving signal), the signal input output end mouthful of dispensing device 100 is saved with sending The signal input output end mouthful of point wireless transmit/receive units 300 is connected, and the signal input output end mouthful of reception device 200 is with receiving The signal input output end mouthful of node wireless Transmit-Receive Unit 300 is connected, and dispensing device 100 also includes a data input pin Mouthful, reception device 200 also includes a data-out port.
Dispensing device 100 includes data splitting block 101, the first data encapsulation apparatus 102, the second data encapsulation apparatus 103rd, the first counter 104 and feedback signal reception device 105, wherein:
Data splitting block 101, data file and control data for receiving input, parses the file of data file Name, extension name, document size, form file CRC data,
The data split according to control data in file are data slot, are that data slot sets up index data,
Receive and mend frame request data,
And transfer data to corresponding data encapsulation apparatus;
Control data includes data segmentation length, receiving node quantity, receiving node address, command identification, timing data Deng;
First data encapsulation apparatus 102, for the following control data of formatted link or load data:
Filename, extension name, document size, file CRC data, data slot maximum index value etc.,
First frame is formed, and is sent according to corresponding timing signal to wireless transmit/receive units 300;
Second data encapsulation apparatus 103, for controlling number below the formatted link between frame head data and postamble data According to or load data:
Command identification, sending node address, receiving node quantity, receiving node address, data slot, a data slot Length (being determined by data segmentation length, final data fragment length is physical length) and corresponding data fragment index value, are calculated This frame data CRC obtained,
The total data frame of data file is formed, and is sent according to corresponding timing signal to wireless transmit/receive units 300;
First counter 104, for receiving timing data, sends corresponding timing signal to each data encapsulation apparatus, determines Long signal;
Feedback signal reception device 105, frame request data is mended for receiving, parsing receiving node address, data slot rope Draw the data such as value, command identification, and send to segmenting device 101.
Data frame encapsulation format can be used by mending frame request, and the data slot for needing to reissue is filled in data slot field Index value.Empty the fields such as receiving node quantity, data slot length, data slot index value.
Reception device 200 includes data merging device 201, data buffer storage device 202, feedback signal dispensing device 203, the Two counters 204 and marker register 205, wherein:
Data merging device 201, receives the status data and load data in each frame code stream, parsing code stream, passes through load Data set buffering area, set data output by status data and duration signal or mend the output of frame request data;
Data buffer storage device 202, buffering area (form of cache file) is opened up according to the relevant parameter of load data, is judged Payload validity in buffering area, if during payload failure, payload is transmitted to feedback signal dispensing device 203 Failure parameter, otherwise merges payload formation data file output,
Feedback signal dispensing device 203, the failure parameter for receiving payload, mending frame according to status data formation please Ask and send;
Second counter 204, for data merging device 201 or feedback signal dispensing device 203 provide timing signal, Fixed length signal;
Marker register 205, for providing status data to feedback signal dispensing device 203.
Sending node and receiving node use computer network IP forms.3rd byte is group #, and nybble is section Point numbering.
As shown in Fig. 2 first frame include arranging in order filename, extension name, document size, file CRC, data slice Separate mark between being inserted between section maximum index value, each data.
First frame traffic content is the data frame of most critical in whole communication process, and receiving node only receives the frame data Reception process could be set up.The content of first frame data includes:
A. filename and extension name:The MTU (MTU) of the system is 256 bytes, good in order to reach Communication efficiency, filename length is commonly defined as below 30 bytes, if filename and extension name are more than 30 bytes, retains extension Name, filename only retains preceding 26 bytes;
B. mark is separated:Separation is masked as carriage return character " n ";
C. the size of file:2 bytes, the data file of this communication network transmission is usually no more than 5M, respectively file Length most-significant byte and least-significant byte;
D. file CRC check value:2 bytes, the result that CRC 16 is calculated is carried out to whole file content, is result of calculation The most-significant byte and least-significant byte of integer;
E. the totalframes after splitting:2 bytes, respectively totalframes most-significant byte and least-significant byte.
As shown in figure 3, data frame includes frame head, command identification, sending node address, the receiving node arranged in order Quantity, receiving node address, data slot length, data slot index value, data slot, postamble.
Data frame is every content-defined as follows:
Frame head:3 bytes, are FF, AA and 55;
Command content:When sending file, instruction flag is 0x11, it is desirable to which when mending biography, instruction flag is 0x21;
The IP of sending node:Upper section is shown in 4 bytes, the definition of IP nodes;
The number of receiving node:1 byte, it is assumed that receiving node number is n;
1~nIP addresses of receiving node:+ 3 bytes of receiving node number (n);
Frame (data slot) is long:The length of notebook data frame, 1 byte is the length of Content of Communication in data frame;
Frame (data slot) index number:The sequence number of notebook data frame, 2 bytes;
Content of Communication:Data slot;
Data CRC check:From frame head to the CRC check of all bytes of Content of Communication;
Postamble:1 byte, 0x33.
The key step that data are sent in method for group sending embodiment of the present invention is as follows:
Data splitting block 101 obtains data file from data-in port;
Data splitting block 101 parses filename, extension name, the document size of data file, forms file CRC data;
Data splitting block 101 obtains receiving node address date from data-in port;
Data splitting block 101 forms continuous data slot according to the segmentation length parameter of acquisition, partition data file, Index is set up, and records highest index value;
First data encapsulation apparatus 102 is by filename, extension name, document size, CRC data and number of fragments (highest rope Draw value) it is packaged into first frame;
By the timing of the first counter 104, count, first frame is sent to wireless transmit/receive units 300 with fixed cycle numbers;
Second data encapsulation apparatus 103 is by each data slot and filename, extension name, sending node address, receiving node Quantity and address, data slot index, segmentation length and data CRC encapsulation, form the data frame of continuity index;
By the timing of the first counter 104, count, number is sent to wireless transmit/receive units 300 with Fixed Time Interval successively According to frame;
When feedback signal reception device 105, the benefit frame that target terminal is sent is obtained by receiving the command identification in code stream Request, extracts the node address and data fragment index value received in code stream;
Second data encapsulation apparatus 103 is by corresponding data fragment index and data slot, sending node address, receiving node Address, filename, extension name and valid data CRC encapsulation, form and mend biography data frame;
By the timing of the first counter 104, count, sent and mended to wireless transmit/receive units 300 successively with Fixed Time Interval Pass data frame.
As shown in figure 4, a kind of in the present embodiment send comprising the following steps that for data:
S09, starts to send initialization, the interception data input port of data splitting block 101;
S10, data splitting block 101 receive data file and control data;
S11, the resolution file name of data splitting block 101, extension name, document size;
S12, the formation file CRC data of data splitting block 101;
S13, data splitting block 101 are some data slots according to control data partition data file, are data slot Set up index;
S14, data splitting block 101 transmit filename, extension name, document size, text to the first data encapsulation apparatus 102 Part CRC data, data slot largest index Value Data;
S15, the first data encapsulation apparatus 102 form first frame, receive 3 seconds timing pips of the first counter 104, even Supervention send 5 first frames;
S16, data splitting block 101 transmit command identification, sending node address to the second data encapsulation apparatus 103, connect Receive the data CRC of number of nodes, receiving node address, each data slot and fragment length and fragment index value, and this frame;
The data frame of data formation continuity index is received the first counter 104 by s17, the second data encapsulation apparatus 103 3 seconds timing pips, send each data frame successively;
S18, feedback signal reception device 105, which are received, mends frame data;
S19, the parsing of feedback signal reception device 105 obtain command identification, receiving node address information, ask to reissue data The index value of frame, and forward data splitting block 101;
S20, data splitting block 101 send corresponding data to the second data encapsulation apparatus 103;
The data frame of data formation respective index is received the first counter 104 by s21, the second data encapsulation apparatus 103 3 seconds timing pips, send each data frame successively;
S22, end are sent.
The key step that data are received in method for group sending embodiment of the present invention is as follows:
Data merging device 201 receives data code flow, judgment frame type;
Headed by frame type during frame, repeat to receive and judge validity within the preset time of the second counter 204, effectively then carry Load data and control data are taken, cache file and index are set up in data buffer storage device 202, otherwise to marker register 205 assignment, show for error message;
When frame type is data frame, load data and control data are extracted, this section is judged according to receiving node address information Whether point receives, according to whether there is cache file of the same name, judges whether to receive, data receiver rank is judged according to command identification Section;
The stage is actively being received, load data is being covered to the same index value corresponding record in cache file of the same name, in quilt In the dynamic reception stage, load data is added in the same index of blank in cache file of the same name record;
Data buffer storage device 202 is according to control data and the timing length of the second counter 204, it is determined that passively receiving the stage Complete, data slot validity is determined according to the data CRC of each record;
When each data slot effectively, and each data slot order merge after CRC data it is consistent with file CRC data when, it is defeated Go out stationery file;
When exist data slot it is invalid when, by invalid data slot index transmission feedback signal dispensing device 203, Xiang Biao Know register 205 and assign the status number for actively receiving the stage for wanting supplement frame;
Invalid data slot index and marker register 205 are formed benefit frame request, root by feedback signal dispensing device 203 The priority of the duration signal provided according to the second counter 204 and this node address sends the data.
As shown in figure 5, the key step that data are received in method for group sending embodiment of the present invention is as follows:
S30, start initialization, data merging device 201 receive code stream;
S31, the judgment frame type of data merging device 201, headed by frame when, perform step s32, when being data frame, perform step Rapid s41, s42;
S32, compare identical code stream in the preset time of the second counter 204, if reach three, be, perform step S33, s34, s35, s36, s38, otherwise perform step s37,38;
S33, data merging device 201 extract load data, including filename, extension name, file CRC, data slice hop count Amount;
S34, data merging device 201 extract control data, including filename, extension name, data slot quantity;
S35, data buffer storage device 202 set up cache file according to load data;
S36, data buffer storage device 202 set up the index of cache file according to control data;
S37, the status number for assigning to marker register 205 first frame bust this;
S38, display information;
S41, data merging device 201 extract status data with including filename, extension name, command identification, sending node Location, receiving node quantity, receiving node address, extracting load data includes data slot length, data slot index value, data Fragment, data CRC;
When s42, judgement include this node address, step s43 is performed;
S43, judge in data buffer storage device 202 whether there is corresponding cache file, be then execution step s44, otherwise Perform step s38;
S44, the transmission stage for judging mark, be when actively receiving the stage, execution step s46, s47, s48, when passively connect During the receipts stage, step s45, s47, s48 are performed;
Data slot, data CRC are write cache file by s45, data buffer storage device 202 according to data slot index value In;
S46, data buffer storage device 202 cover data slot, data CRC in cache file according to data slot index value Corresponding record;
The duration signal and control data that s47, data buffer storage device 202 are provided according to the second counter 204 determine passive Reception terminates, and each data slot validity is calculated according to data CRC;
S48, judge whether each data slot effective, effectively then perform step s49, it is invalid then perform step s51, s52, s53;
Whether CRC and the file CRC after s49, data slot merge are consistent, always then execution step s50, inconsistent, hold Row step s38;
S50, data slot merge, output data file;
S51, data buffer storage device 202 are by invalid data slot index transmission feedback signal dispensing device 203, to mark Register 205 assigns the status number for wanting supplement frame;
Frame request data frame is mended in s52, the formation of feedback signal dispensing device 203, the duration provided according to the second counter 204 The priority of signal and this node address, sends and mends frame request data frame;
S53, end.
Embodiment described above is only that the preferred embodiment of the present invention is described, not to the model of the present invention Enclose and be defined, on the premise of design spirit of the present invention is not departed from, technical side of the those of ordinary skill in the art to the present invention In various modifications and improvement that case is made, the protection domain that claims of the present invention determination all should be fallen into.

Claims (6)

1. a kind of file grouping group sending device based on ultrashort wave radio set, including dispensing device (100) for sending node and For the reception device (200) of receiving node, dispensing device (100) also includes a data-in port, reception device (200) Also include a data-out port, it is characterised in that:The dispensing device (100) includes data splitting block (101), first Data encapsulation apparatus (102), the second data encapsulation apparatus (103), the first counter (104) and feedback signal reception device (105), wherein:
Data splitting block (101), data file and control data for receiving input, the filename of parsing data file, Extension name, document size, form file CRC data,
The data split according to control data in file are data slot, are that data slot sets up index data,
Receive and mend frame request data,
And transfer data to corresponding data encapsulation apparatus;
Control data includes data segmentation length, receiving node quantity, receiving node address, command identification, timing data;
First data encapsulation apparatus (102), for formatted link data,
First frame is formed, and is sent according to corresponding timing signal to wireless transmit/receive units (300);
Second data encapsulation apparatus (103), for the formatted link data between frame head data and postamble data,
The total data frame of data file is formed, and is sent according to corresponding timing signal to wireless transmit/receive units (300);
First counter (104), for receiving timing data, corresponding timing signal, fixed length are sent to each data encapsulation apparatus Signal;
Feedback signal reception device (105), frame request data is mended for receiving, and frame request data is mended in parsing, and is sent to data Segmenting device (101).
2. the file grouping group sending device according to claim 1 based on ultrashort wave radio set, it is characterised in that:It is described to receive Device (200) includes data merging device (201), data buffer storage device (202), feedback signal dispensing device (203), the second meter Number device (204) and marker register (205), wherein:
Data merging device (201), receives the status data and load data in each frame code stream, parsing code stream, passes through charge number According to buffering area is set, data output is set by status data and duration signal or the output of frame request data is mended;
Data buffer storage device (202), buffering area is opened up according to the relevant parameter of load data, judges there there is payload in buffering area Effect property, if during payload failure, the failure parameter of payload being transmitted to feedback signal dispensing device (203), is otherwise closed And payload formation data file output,
Feedback signal dispensing device (203), the failure parameter for receiving payload mends frame request according to status data formation And send;
Second counter (204), believes for providing timing to data merging device (201) or feedback signal dispensing device (203) Number, fixed length signal;
Marker register (205), for providing status data to feedback signal dispensing device (203).
3. the file grouping group sending device according to claim 1 based on ultrashort wave radio set sends the main step of data method It is rapid as follows:
The data splitting block (101) obtains data file from data-in port;
Data splitting block (101) parses filename, extension name, the document size of data file, forms file CRC data;
Data splitting block (101) obtains receiving node address date from data-in port;
Data splitting block (101) forms continuous data slot, built according to the segmentation length parameter of acquisition, partition data file Lithol draws, and records highest index value;
Filename, extension name, document size, CRC data and number of fragments are packaged into head by the first data encapsulation apparatus (102) Frame;
By the first counter (104) timing, counting, first frame is sent to wireless transmit/receive units (300) with the fixed cycle;
Second data encapsulation apparatus (103) is by each data slot and filename, extension name, sending node address, receiving node number Amount and address, data slot index, segmentation length and data CRC encapsulation, form the data frame of continuity index;
By the first counter (104) timing, counting, number is sent to wireless transmit/receive units (300) with Fixed Time Interval successively According to frame;
Feedback signal reception device (105) obtains the benefit frame request that target terminal is sent by receiving the command identification in code stream, Extract the node address and data fragment index value received in code stream;
Second data encapsulation apparatus (103) is by corresponding data fragment index and data slot, sending node address, receiving node Location, filename, extension name and valid data CRC encapsulation, form and mend biography data frame;
By the first counter (104) timing, counting, sent and mended to wireless transmit/receive units (300) successively with Fixed Time Interval Pass data frame.
4. the file grouping group sending device according to claim 2 based on ultrashort wave radio set receives the main step of data method It is rapid as follows:
The data merging device (201) receives data code flow, judgment frame type;
Headed by frame type during frame, repeat to receive within the second counter (204) preset time and judge validity, effectively then extract Load data and control data, set up cache file and index, otherwise to marker register in data buffer storage device (202) (205) assignment, shows for error message;
When frame type is data frame, load data and control data are extracted, judges that this node is according to receiving node address information It is no to receive, according to whether there is cache file of the same name, judge whether to receive, data reception phase is judged according to command identification;
The stage is actively being received, load data is covered to the same index value corresponding record in cache file of the same name, is passively being connect In the receipts stage, load data is added in the same index of blank in cache file of the same name record;
Data buffer storage device (202) is according to control data and the timing length of the second counter (204), it is determined that passively receiving the stage Complete, data slot validity is determined according to the data CRC of each record;
When each data slot effectively, and each data slot order merge after CRC data it is consistent with file CRC data when, output number According to file;
When exist data slot it is invalid when, by invalid data slot index transmission feedback signal dispensing device (203), to mark Register (205) assigns the status number for actively receiving the stage for wanting supplement frame;
Feedback signal dispensing device (203) will want supplement frame in invalid data slot index and marker register (205) Frame request is mended in the status number formation for actively receiving the stage, the duration signal and this node provided according to the second counter (204) The priority of address sends benefit frame request.
5. the file grouping group sending device according to claim 3 based on ultrashort wave radio set sends data method, its feature It is to comprise the following steps:
S09, starts to send initialization, data splitting block (101) interception data input port;
S10, data splitting block (101) receive data file and control data;
S11, data splitting block (101) resolution file name, extension name, document size;
S12, data splitting block (101) formation file CRC data;
S13, data splitting block (101) are some data slots according to control data partition data file, are that data slot is built Lithol draws;
S14, data splitting block (101) transmit filename, extension name, document size, text to the first data encapsulation apparatus (102) Part CRC data, data slot largest index Value Data;
S15, the first frame of the first data encapsulation apparatus (102) formation, receive 3 seconds timing pips of the first counter (104), even Supervention send 5 first frames;
S16, data splitting block (101) transmit command identification, sending node address to the second data encapsulation apparatus (103), connect Receive the data CRC of number of nodes, receiving node address, each data slot and fragment length and fragment index value, and this frame;
The data frame of data formation continuity index is received the first counter (104) by s17, the second data encapsulation apparatus (103) 3 seconds timing pips, send each data frame successively;
S18, feedback signal reception device (105), which are received, mends frame data;
S19, feedback signal reception device (105) parsing obtain command identification, receiving node address information, ask to reissue data frame Index value, and forward data splitting block (101);
S20, data splitting block (101) send corresponding data to the second data encapsulation apparatus (103);
The data frame of data formation respective index is received the first counter (104) by s21, the second data encapsulation apparatus (103) 3 seconds timing pips, send each data frame successively;
S22, end are sent.
6. the file grouping group sending device according to claim 4 based on ultrashort wave radio set receives data method, its feature It is:Comprise the following steps:
S30, start initialization, data merging device (201) receive code stream;
S31, data merging device (201) judgment frame type, headed by frame when, perform step s32, when being data frame, perform step s41、s42;
S32, compare identical code stream in the second counter (204) preset time, if reach three, be then perform step s33, S34, s35, s36, s38, otherwise perform step s37,38;
S33, data merging device (201) extract load data, including filename, extension name, file CRC, data slot quantity;
S34, data merging device (201) extract control data, including filename, extension name, data slot quantity;
S35, data buffer storage device (202) set up cache file according to load data;
S36, data buffer storage device (202) set up the index of cache file according to control data;
S37, the status number to the first frame bust this of marker register (205) imparting;
S38, display information;
S41, data merging device (201) extract status data include filename, extension name, command identification, sending node address, Receiving node quantity, receiving node address, extracting load data includes data slot length, data slot index value, data slice Section, data CRC;
When s42, judgement include this node address, step s43 is performed;
S43, judge in data buffer storage device (202) whether there is corresponding cache file, be then execution step s44, otherwise hold Row step s38;
S44, the transmission stage for judging mark, are when actively receiving the stage, to perform step s46, s47, s48, are passive reception ranks Duan Shi, performs step s45, s47, s48;
S45, data buffer storage device (202) write data slot, data CRC in cache file according to data slot index value;
Data slot, data CRC are covered right in cache file by s46, data buffer storage device (202) according to data slot index value It should record;
The duration signal and control data that s47, data buffer storage device (202) are provided according to the second counter (204) determine passive Reception terminates, and each data slot validity is calculated according to data CRC;
S48, judge whether each data slot is effective, effectively then perform step s49, it is invalid then to perform step s51, s52, s53;
S49, judge data slot merge after CRC data and file CRC data it is whether consistent, consistent then execution step s50, no Consistent then execution step s38;
S50, data slot merge, output data file;
S51, data buffer storage device (202) are by invalid data slot index transmission feedback signal dispensing device (203), to mark Register (205) assigns the status number for wanting supplement frame;
Frame request data frame is mended in s52, feedback signal dispensing device (203) formation, the duration provided according to the second counter (204) The priority of signal and this node address, sends and mends frame request data frame;
S53, end.
CN201410204793.9A 2014-05-15 2014-05-15 File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set Active CN104009982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410204793.9A CN104009982B (en) 2014-05-15 2014-05-15 File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410204793.9A CN104009982B (en) 2014-05-15 2014-05-15 File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set

Publications (2)

Publication Number Publication Date
CN104009982A CN104009982A (en) 2014-08-27
CN104009982B true CN104009982B (en) 2017-10-31

Family

ID=51370476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410204793.9A Active CN104009982B (en) 2014-05-15 2014-05-15 File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set

Country Status (1)

Country Link
CN (1) CN104009982B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076101A (en) * 2016-11-17 2018-05-25 中车株洲电力机车研究所有限公司 It is a kind of based on group management a multiple spot reliable file transmission method
CN107607003B (en) * 2017-08-01 2019-10-22 北京航天控制仪器研究所 A kind of target missile is by intercepting time measurement device and method after hitting
CN113498625A (en) * 2020-10-13 2021-10-12 深圳市大疆创新科技有限公司 Clock synchronization method and device, chip system, unmanned aerial vehicle and terminal
CN115379020B (en) * 2022-08-08 2023-06-09 南京信息工程大学 Embedded multi-machine communication protocol design method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034959A (en) * 2006-03-10 2007-09-12 华为技术有限公司 Mixed automatic retransferring method and its device and system
CN101404565A (en) * 2007-10-02 2009-04-08 英飞凌科技股份公司 Retransmission scheme for communication systems
CN101814971A (en) * 2009-02-24 2010-08-25 肖宏声 Method for transmitting mobile phone file

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7340764B2 (en) * 2000-01-26 2008-03-04 Sony Corporation Data transmission system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101034959A (en) * 2006-03-10 2007-09-12 华为技术有限公司 Mixed automatic retransferring method and its device and system
CN101404565A (en) * 2007-10-02 2009-04-08 英飞凌科技股份公司 Retransmission scheme for communication systems
CN101814971A (en) * 2009-02-24 2010-08-25 肖宏声 Method for transmitting mobile phone file

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
可靠组播传输协议设计;刘星辰 等;《数字通信世界》;20070801;第77-80页 *
基于可靠组播文件传输协议的设计与分析;董淑松,康慕宁;《科学技术与工程》;20100331;第10卷(第9期);第2195-2198、2206页 *

Also Published As

Publication number Publication date
CN104009982A (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN104009982B (en) File grouping group sending device and file grouping method for group sending based on ultrashort wave radio set
CN103248452B (en) Data sending device, data receiving device, terminal and data transmission method
CN106612306A (en) Data sharing method and device of virtual machine
CN104158627B (en) A kind of automatic recognition system and method for heterogeneous links multi-protocols
US20170300595A1 (en) Data packet extraction method and apparatus
CN107819539A (en) A kind of device and method for realizing time triggered ethernet side system
CN106452688A (en) Beidou data lost message retransmission method and system
CN103685060B (en) data packet sending method and device
CN106788894A (en) Segmentation individual transmission method of calibration
CN108123775A (en) The method and apparatus of transmission packet
CN108023787A (en) Ethernet service test device and method based on FPGA
CN101217422B (en) A method to test the performance of net mouth
CN103944880B (en) A kind of method of ZigBee data transfers
CN108631873A (en) Receiving/transmission method, device, sending device and the receiving device of network management information
CN104378315B (en) A kind of method and device of CAPWAP tunnel packet transmission
CN106102084A (en) Wireless sensor network end-to-end time delay upper bound appraisal procedure based on retransmission feedback
CN115038125A (en) Data transmission method and device, electronic equipment and storage medium
CN110493310A (en) A kind of protocol controller and method of software definition
CN116074253B (en) Message chained forwarding method and device
CN105376118B (en) A kind of test method of AFDX interchangers sending performance
CN108833436B (en) Communication control method for realizing equipment communication interconnection
CN103580959B (en) Distributed statistical reporting implementation method
CN103973518B (en) The method and device of VLAN is detected using the Internet packets survey meter
CN104468190A (en) Wifi data package capturing method and device and intelligent terminal
CN110351202A (en) 5G core net traffic packet method, apparatus, equipment and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant