CN107204824A - A kind of data transmission method and system for low rate channel - Google Patents

A kind of data transmission method and system for low rate channel Download PDF

Info

Publication number
CN107204824A
CN107204824A CN201610151355.XA CN201610151355A CN107204824A CN 107204824 A CN107204824 A CN 107204824A CN 201610151355 A CN201610151355 A CN 201610151355A CN 107204824 A CN107204824 A CN 107204824A
Authority
CN
China
Prior art keywords
data
signal
signal end
sent
data transmission
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
CN201610151355.XA
Other languages
Chinese (zh)
Other versions
CN107204824B (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 Aerospace Ke Gong Group 4th Research Institute's Command Automation Technical Research And Application Center
Original Assignee
China Aerospace Ke Gong Group 4th Research Institute's Command Automation Technical Research And Application Center
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 Aerospace Ke Gong Group 4th Research Institute's Command Automation Technical Research And Application Center filed Critical China Aerospace Ke Gong Group 4th Research Institute's Command Automation Technical Research And Application Center
Priority to CN201610151355.XA priority Critical patent/CN107204824B/en
Publication of CN107204824A publication Critical patent/CN107204824A/en
Application granted granted Critical
Publication of CN107204824B publication Critical patent/CN107204824B/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

Abstract

This application provides a kind of data transmission method for low rate channel, belong to field of data transmission, solve the problem of slow data transmission is unstable in the prior art, including:Inquiry signal is sent, and the answer signal that the inquiry signal is responded from signal end is received in the first preset duration;Whether there are data to be sent from signal end according to judging the answer signal, and, judge whether the main signal end there are data to be sent according to the answer signal;Synchronizing signal is sent, to there is the signal end of data to be sent to distribute the sequence number of data transmission slots;The signal end performs data transfer in the serial number data transmission time slot of distribution.Embodiments herein distributes data transmission slots by only the signal end for having data to be sent, solves in the prior art due to loss of data, the stability of the data transfer effectively ensured caused by the collision that occurs in data transmission procedure.

Description

A kind of data transmission method and system for low rate channel
Technical field
The application is related to field of data transmission, more particularly to a kind of data transfer for low rate channel Method and system.
Background technology
With the development of wireless technology, the application being wirelessly transferred is more and more extensive, and such as honeycomb movement is logical Letter, radio call, mobile video etc. are applied.Realized using wireless communication technology in WLAN The issue of stock, geographical position, public information etc. is also more prevalent.Storage, thing in modernization In stream, military war, realize that the data in WLAN between equipment are passed using wireless communication technology Defeated is even more an important application.
During being communicated between equipment is realized using wireless communication technology, for data transfer Speed, accuracy, stability be to ensure the premise based on network system normal work.With military affairs war Exemplified by striving, battlefield geographical position changes at any time in basic modernized war, and terrain environment factor is not true Fixed, army is motor-driven sometimes fast and sometimes slow, and boundary is obscured between ourselves and the enemy, and is set on battlefield without any network foundation Apply, quickly networking is realized in Tactical Internet requirement under these conditions, and Logistics networks are unimpeded at any time, refer to Wave order to pass in time, the safe and reliable transmission of voice data.But inherently there is transmission in wireless channel Speed is relatively low, Bandwidth-Constrained and be vulnerable to external environmental disturbances, the problems such as channel quality is poor, and this is just Need to improve data transmission credibility and efficiency of transmission between equipment in net.
In existing technology, each signal end transmits data in net using same frequency, wireless facing , when outburst data is big, easily there are data caused by data transmission conflict in bad channel quality Loss, mistake, re-transmission problem.Therefore, how to be carried in low bandwidth, low-quality low-speed wireless channel The problem of stability of high data transfer is one in the urgent need to address.
The content of the invention
Technical problems to be solved in this application are:A kind of transmission side data for low rate channel is provided Method, solves the problem of data transmission stability is poor in the prior art.
In order to solve the above problems, the embodiment of the present application provides a kind of data for low rate channel and passed Transmission method, including:Signal is inquired about to default sent from signal end, and is received in the first preset duration The answer signal that the inquiry signal is responded from signal end;According to the answer signal judge described in from Whether signal end has data to be sent, and, whether the main signal end is judged according to the answer signal There are data to be sent;Synchronizing signal is sent, to there is the signal end of data to be sent to distribute data transfer The sequence number of time slot;The signal end performs data transfer in the serial number data transmission time slot of distribution.
In one embodiment of the application, methods described also includes:With the data transmission slots After the second duration matched somebody with somebody, repeat to send inquiry signal, start next round data transfer.
The answer signal includes:The identity from signal end;It is described according to the answer signal Judge whether the main signal end there are data to be sent, further comprise:If the main signal end is default Have data cached in memory space, and the identity in the answer signal with it is described it is data cached in take The target identities mark of band is identical, determines that there are data to be sent at the main signal end.
The answer signal also includes:For indicating the data for whether having data to be sent from signal end Mark;It is described whether to have data to be sent from signal end according to judging the answer signal, further Including:Whether there are data to be sent from signal end according to judging the Data Identification.
The transmission synchronizing signal, to there is the signal end of data to be sent to distribute data transmission slots Sequence number, further comprises:According to the quantity for the signal end for having data to be sent, it is determined that the data of distribution are passed The quantity of defeated time slot;The corresponding data transmission slots of identity of signal end are distributed in synchronizing signal Sequence number;The synchronizing signal is sent, to indicate the signal end in the serial number data transmission time slot of distribution Perform data transfer.
The signal end performs data transfer in the serial number data transmission time slot of distribution, is specially:Signal End is sent in default sliding window in the serial number data transmission time slot of distribution according to sliding window protocol The data to be sent of caching, and receive the response for the data of other side's signal end transmission.
The second duration matched with the data transmission slots, more than or equal to the data transmission slots of distribution Quantity and default slot length product.
Disclosed herein as well is a kind of data transmission method for low rate channel, including:Receive default Main signal end send inquiry signal, send back answer it is described inquiry signal answer signal, for indicating Corresponding data transmission slots are distributed in the main signal end according to answer signal;Synchronizing signal is received, in institute State and data transfer is performed in the serial number data transmission time slot distributed in synchronizing signal.
Data transfer is performed in the serial number data transmission time slot distributed in the synchronizing signal, specifically For:Sent in the serial number data transmission time slot of distribution according to sliding window protocol in default sliding window The data to be sent of caching, and receive the response for the data of other side's signal end transmission.
Accordingly, disclosed herein as well is a kind of data transmission system for low rate channel, including:Look into Module is ask, for from signal end sending inquiry signal to default, and institute is received in the first preset duration State the answer signal that the inquiry signal is responded from signal end;Data judge module, for being answered according to described Whether answer described in signal judgement has data to be sent from signal end, and, judged according to the answer signal Whether the main signal end has data to be sent;Time slot distribute module, for sending synchronizing signal, to have The signal end of data to be sent distributes the sequence number of data transmission slots;First data transmission module, is used In the signal end data transfer is performed in the serial number data transmission time slot of distribution.
In another embodiment of the application, the system also includes:Loop module, for institute After the second duration for stating data transmission slots matching, repeat to send inquiry signal, start next round data and pass It is defeated.
The answer signal includes:The identity from signal end;It is described according to the answer signal Judge whether the main signal end there are data to be sent, further comprise:If the main signal end is default Have data cached in memory space, and the identity in the answer signal with it is described it is data cached in take The target identities mark of band is identical, determines that there are data to be sent at the main signal end.
When it is implemented, the answer signal also includes:Whether have pending for indicating described from signal end Send the Data Identification of data;It is described whether to have to be sent from signal end according to judging the answer signal Data, further comprise:Whether there is number to be sent from signal end according to judging the Data Identification According to.
In one embodiment of the application, the time slot distribute module further comprises:Number of timeslots is true Stator modules, for the quantity according to the signal end for having data to be sent, it is determined that during the data transfer of distribution The quantity of gap;Slot index distribution sub module, the identity for distributing signal end in synchronizing signal The sequence number of corresponding data transmission slots;Time slot distribution sub module, for sending the synchronizing signal, with Indicate that the signal end performs data transfer in the serial number data transmission time slot of distribution.
The first data transmission module is further used for:In the serial number data transmission time slot of distribution according to Sliding window protocol sends the data to be sent cached in default sliding window, and receives other side's signal end The response for the data sent.
Disclosed herein as well is a kind of data transmission system for low rate channel, including:Signal transmitting and receiving Module, for receiving the inquiry signal that default main signal end is sent, sends back and answers the inquiry signal Answer signal, for indicating the main signal end according to the corresponding data transmission slots of answer signal distribution;
The signal transmitting and receiving module, is additionally operable to receive synchronizing signal;Second data transmission module, for Data transfer is performed in the serial number data transmission time slot distributed in the synchronizing signal.
Second data transmission module is further used for:In the serial number data transmission time slot of distribution according to Sliding window protocol sends the data to be sent cached in default sliding window, and receives other side's signal end The response for the data sent.
Embodiments herein inquires about signal by main signal end to default sent from signal end, and root It is investigated that the answer signal for asking signal determines main signal end with data to be sent and from signal end;Then, Only there is the sequence number of the signal end distribution data transmission slots of data to be sent, the signal end is existed Data transfer is performed in the serial number data transmission time slot of distribution, different signal ends there are respective transmission data Time slot, efficiently avoid in the prior art due to caused by the collision that occurs in data transmission procedure Loss of data, the stability of the data transfer effectively ensured, meanwhile, only there is the letter of data to be sent Number end distribution data transmission slots, it is ensured that the timely transmission of data, the waste of bandwidth is reduced again, is carried High channel utilization.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the technical scheme of the embodiment of the present application The accompanying drawing used required in technology description is briefly described, it should be apparent that, in describing below Accompanying drawing is only some embodiments of the present application, for those of ordinary skill in the art, is not being paid On the premise of going out creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the application data transmission method one embodiment;
Fig. 2 is the flow chart of another embodiment of the application data transmission method;
Fig. 3 is sliding window storage schematic diagram in the application data transmission method one embodiment;
Fig. 4 is the flow chart of the application data transmission method further embodiment;
Fig. 5 is the structure chart of the application data transmission system one embodiment;
Fig. 6 is the structure chart of another embodiment of the application data transmission system;
Fig. 7 is the structure chart of the application data transmission system further embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is entered Row is clearly and completely described, it is clear that described embodiment is some embodiments of the present application, and The embodiment being not all of.Based on the embodiment in the application, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, the model of the application protection is belonged to Enclose.
In present embodiments, the signal transmitting equipment of communication is actively is initiated in main signal end, from letter Number end be according to main signal end triggering perform data send operation signal launch equipment, signal transmitting sets The standby configuration according to user performs main signal end or operated from the role of signal end, wherein, main signal end and Can be same signal end (i.e. same signal transmitting equipment) or different from signal end Signal transmitting equipment (i.e. different signal transmitting equipment), the application is not limited this.The application institute The other side's signal end said is different from for local signal end, when it is implemented, may be main signal end, May also be from signal end.
Embodiment one:
A kind of data transmission method for low rate channel disclosed in the present application, applied to mobile terminal, such as Shown in Fig. 1, this method includes:
Step 110, signal is inquired about to default sent from signal end, and is received in the first preset duration The answer signal that the inquiry signal is responded from signal end;
Step 120, whether there are data to be sent from signal end according to judging the answer signal, with And, judge whether the main signal end there are data to be sent according to the answer signal;
Step 130, synchronizing signal is sent, to there is the signal end of data to be sent to distribute data transfer The sequence number of time slot;
Step 140, the signal end performs data transfer in the serial number data transmission time slot of distribution.
In above-mentioned steps 110, signal transmitting equipment is previously provided with pair to be communicated in identity information and net The identity information of end equipment, wherein, identity information includes:It is main signal end or from signal end, signal Hold own identification mark, the identity of other side's signal end to be communicated.Signal launches equipment according in advance When the identity information of setting judges itself for main signal end, inquiry frame is sent to opposite equip. to be communicated, Then, according to the quantity of opposite equip. to be communicated, and the response time of default each opposite equip. is true Fixed first preset duration, and receive in the first preset duration from signal end respond the inquiry signal should Answer signal.First preset duration is more than or equal to the summation of opposite equip. response time to be communicated.
When it is implemented, the answer signal includes the identity from signal end.Above-mentioned steps 120 In, it is described to judge whether the main signal end has data to be sent according to the answer signal, further wrap Include:If have data cached in the default memory space at the main signal end, and the body in the answer signal Part mark is identical with the target identities mark of the data cached middle carrying, determines that the main signal end needs Send data.For example, when the main signal end judge to have in default memory space it is data cached be, institute State main signal end and the data cached middle carrying is matched in the identity that the answer signal of reception is carried Target identities mark, if the match is successful, illustrate reception the data it is online from client, it is determined that institute Stating main signal end has data to be sent;If it fails to match, illustrate receive the data from client not in net, Can not successful data reception, it is determined that the main signal end does not have data to be sent.Combining target client Network state and primary client data buffer storage situation determine whether send data, it is invalid to avoid Data transfer, further improves data transmission efficiency.
For from signal end, it is believed that sent answer signal has number to be sent from signal end According to, be sent answer signal from signal end distribute appointed sequence number data transmission slots.
In the preferred embodiment of the application, the answer signal includes described from signal for indicating Whether end has the Data Identification of data to be sent;It is described according to the answer signal in above-mentioned steps 120 Whether there are data to be sent from signal end described in judging, further comprise:Judged according to the Data Identification It is described whether to have data to be sent from signal end.Main signal end is receiving the answer signal from signal end transmission Afterwards, if Data Identification in the answer signal indicate described in have data to be sent from signal end, for this The data transmission slots of appointed sequence number are distributed from signal end;If the Data Identification in the answer signal is indicated It is described there is no data to be sent from signal end, then not for data transmission slots should be distributed from signal end, so that Data transmission slots are made full use of, the efficiency of data transfer is improved.
In the another specific embodiment of the application, in above-mentioned steps 130, the transmission synchronizing signal, To there is the signal end of data to be sent to distribute the sequence number of data transmission slots, further comprise:According to There is the quantity of the signal end of data to be sent, it is determined that the quantity of the data transmission slots of distribution;In synchronous letter The sequence number of the corresponding data transmission slots of identity of signal end is distributed in number;Send the synchronous letter Number, to indicate that the signal end performs data transfer in the serial number data transmission time slot of distribution.It is described same Walk signal and carry the corresponding data transmission slots sequence number of each signal end.Assuming that there is five signal hairs in LAN Jet device, the wherein identity at main signal end are 0, four from the identity tag of signal end be respectively 1, 2nd, 3,4, wherein, identity has a data to be sent for 0 main signal end, identity is 1,3, 4 have data to be sent from signal end, then main signal end needs to be respectively the signal end for having data to be sent 0th, signal end 1, signal end 3, the distribution data transmission slots of signal end 4, main signal end need to distribute 4 altogether Individual data transmission slots.Then, the corresponding signal end of 4 data transmission slots is set in synchronizing signal Identity position, skew of the serial number signal end identity position relative to frame head of data transmission slots. For example, setting the form of synchronizing signal see the table below:
Frame head Time slot 1 Time slot 2 Time slot 3 Time slot 4 Other
0xA4 0 1 3 4 --
Wherein, 0xA4 is used to indicate that the data frame is synchronization frame;0th, 1,3,4 be to have data to be sent Signal end identity.Assuming that 0 is the identity of main signal end, 1,3,4 be respectively from letter The identity at number end, the data in upper table are used to indicate:The data transmission slots distributed for main signal end Serial number 1, be identity be 1 from signal end distribute data transmission slots serial number 2, The serial number 3 for the data transmission slots distributed from signal end for being 3 for identity, is that identity is The serial number 4 of 4 data transmission slots distributed from signal end.It is to have data to be sent to be only above The signal end distribution appointed sequence number data transmission slots an example, those skilled in the art also Can be designed that other concrete schemes is the data that appointed sequence number is distributed from signal end by data to be sent Transmission time slot, the application is not limited this.
Then, in step 140, main signal end is in the 1st data transmission slots transmission data, from letter Number end 1 is in the 2nd data transmission slots transmission data, from signal end 3 in the 3rd data transmission slots Data are transmitted, from signal end 4 in the 4th data transmission slots transmission data.
Embodiments herein sends inquiry signal by main signal end, and according to the response of inquiry signal Signal determines main signal end with data to be sent and from signal end;Then, only there are data to be sent The signal end distribute data transmission slots sequence number, make the signal end distribution serial number data pass Data transfer is performed in defeated time slot, different signal ends has the time slot of respective transmission data, effectively kept away Exempt from the prior art due to loss of data caused by the collision that occurs in data transmission procedure, effectively The stability of the data transfer of guarantee, meanwhile, only there is the signal end distribution data transfer of data to be sent Time slot, it is ensured that the timely transmission of data, reduces the waste of bandwidth, improves channel utilization again.
Embodiment two:
In the another specific embodiment of the application, as shown in Fig. 2 after step 130, the side Method also includes:
Step 150, the main signal end is after the second duration matched with the data transmission slots, weight Inquiry signal is sent in recurrence, starts next round data transfer.Main signal end send synchronizing signal after, etc. The data transfer cycle of second duration is treated, after this data transfer cycle terminates, main signal end weight Inquiry signal is sent in recurrence, starts the data transfer of next round.In each data transfer cycle, need Send the client of data, including primary client and from client, data transfer is specified according to primary client Time slot, completes data transfer, for example:Send data to be sent, receive response etc..When it is implemented, The second duration matched with the data transmission slots, more than or equal to the number of the data transmission slots of distribution The product of amount and default slot length.
By setting the waiting time matched with the data transmission slots, it can both ensure data to be sent Transmission time, the empty channel bandwidth waste for waiting and bringing can be avoided again.
Embodiment three:
In the another specific embodiment of the application, also include before the step 110:Number of threshold values is set The step of first pre-set dimension memory space of amount, for data cached, and, number of thresholds is set The step of second pre-set dimension memory space, the first pre-set dimension memory space for storing number of thresholds In data send information.When it is implemented, according to the tranmitting frequency of signal end, data-handling capacity etc. Factor, based on the principle for maximizing signal end transmission data efficiency, determines the maximum word of a data transfer Joint number, using this maximum number of byte as pre-set dimension, the pre-set dimension for setting number of thresholds in signal end is deposited Store up space.Wherein, the number of thresholds is according to signal end data volume to be sent and the memory space of signal end Size, which is integrated, to be determined, the application is not limited this.
The signal end performs data transfer in the serial number data transmission time slot of distribution, is specially:Signal End is sent in default sliding window in the serial number data transmission time slot of distribution according to sliding window protocol The data to be sent of caching, and receive the response for the data of other side's signal end transmission.The application's In embodiment, the first pre-set dimension memory space of number of thresholds as sliding window data storage sky Between, the second pre-set dimension memory space of number of thresholds as sliding window state memory space.Specifically During implementation.Assuming that number of thresholds is 10, the first pre-set dimension is 126 bytes, and the second pre-set dimension is 12 bytes, the data store organisation of sliding window as shown in figure 3, wherein, 310 be data space, 320 be the memory space of sliding window state, each sliding window state memory space 320 correspondence one Individual data space 310.The form of data space such as following table:
Source ID Target id Data sequence number Data
1 byte 1 byte 6 bytes 118 bytes
Wherein, source ID is sends the identity of the signal end of data, and Target id is the letter for receiving data The identity at number end, data sequence number is used to representing the sequence number of the current data packet sent, and data is treat Send data.When it is implemented, signal end is parsed to the data gathered from network interface card, delete network and pass Defeated protocol-dependent data, extract initial data in packet.
The storage format of sliding window state such as following table:
Protocol-identifier Use state Send numbering Expired times Retransmit mark Read-write mark Retain
6 bytes 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte
Wherein, protocol-identifier (Seq for ComSever) is used to indicate that Communication service software transmission is used Agreement;Use state (USED) is used for the sky for indicating the sliding window data storage that current address is represented Between whether used;Numbering (SEQ) is sent to represent to be added by upper layer data transmitting software when sending data Transmission numbering;Expired times (TIMEOUT) are for indicating in the sliding window that current address is represented Data send expired times;Retransmit the data in the sliding window that mark (RESEND) current address is represented Retransmission flag;Read-write mark (READ) is used to indicate that the data in the sliding window of current address representative to be It is no to be read.
Sliding window protocol, is a kind of flow control methods that TCP is used.The agreement allows sender to exist Stop and wait for that before confirming multiple packets can be continuously transmitted.Because sender need not often send out a packet just It is stopped for confirming, therefore the agreement can accelerate the transmission of data.HARQ (Automatic Repeat-reQuest, ARQ) is the error correcting of data link layer in osi model One of agreement.It is realized by using confirmation and the two overtime mechanism on the basis of unreliable service Reliable information transfer.If sender does not receive acknowledgement frame within a period of time after transmission, it leads to It can often resend.ARQ potentially includes stopping and waits ARQ agreements, rollback ARQ and Continual ARQ agreement, It is error detection (Error Detection), positive confirmation (Positive Acknowledgment), super Shi Chongchuan (Retransmission after Timeout) and negative confirmation and re-transmission (Negative Acknowledgment and Retransmission) etc. mechanism.
The application in the specific implementation, when the space of data storage in the sliding window of signal end has to be sent During data, the read-write flag byte quilt of appropriate address in the corresponding sliding window state memory space in the space Set, current demand signal end determine up to for itself specify data transmission slots when, detect sliding window shape Read-write flag byte in state memory space, if " not reading ", and use state instruction is when advancing slip Dynamic window " unused ", the then use state for setting current sliding window mouthful is " in use ", to send current Data to be sent in sliding window.In the time range that data transmission slots allow, signal end can be with Currently transmitted data answering need not be waited, is continued to send in sliding window in the space of other data storages Data to be sent.The application is in the specific implementation using sliding window protocol combination Continual ARQ agreement hair Data are sent, data autonomous retransmission to be sent is realized using selective repeat protocol, to ensure the steady of data transfer It is qualitative.The signal end of data is sent after a bag data to be sent have been sent, it is not necessary to wait to square signal The response at end, continuously transmits next bag data in specified data transmission slots.If in setting time The response for a certain bag data of other side's signal end is not received, then resends what that was not replied Packet.It is sent completely, and is successfully received after response in data, is emptied corresponding empty in sliding window Between state.Used in case caching next bag data.
Data are sent by using sliding window protocol combination Continual ARQ agreement, when realizing data transfer Making full use of for gap, improves data transmission efficiency, simultaneously for the data not sent normally, energy It is enough to realize automatic repeating transmission, further ensure the stability of data transfer.
Example IV:
A kind of data transmission method for low rate channel is disclosed in the another embodiment of the application, such as Shown in Fig. 4, including:
Step 410, the inquiry signal that default main signal end is sent is received, sends back and answer the inquiry letter Number answer signal, for indicate the main signal end according to answer signal distribute corresponding data transfer when Gap;
Step 420, synchronizing signal, the serial number data transmission time slot distributed in the synchronizing signal are received Interior execution data transfer.
From signal end after the inquiry signal of main signal end transmission is received, answer signal is sent, institute is responded Inquiry signal is stated, wherein, the answer signal includes the identity of signal end.Preferably, response is believed Also include being used to indicate the Data Identification for from signal end whether having and sending data greatly in number.
When it is implemented, synchronizing signal carries the sequence of the corresponding data transmission slots of signal end identity Number.
The present embodiment in the data transmission slots that main signal end is specified by performing data transfer, Ke Yiyou Avoid loss of data caused by channel confliction to effect, it is ensured that the stability of data transfer.
When it is implemented, the step of the first pre-set dimension memory space of number of thresholds is set, for caching Data, and, the step of the second pre-set dimension memory space of number of thresholds is set, for storing threshold value Data in first pre-set dimension memory space of quantity send information.It is described to divide in the synchronizing signal Data transfer is performed in the serial number data transmission time slot matched somebody with somebody, is specially:In the serial number data transmission of distribution The data to be sent cached in default sliding window, and reception pair are sent in gap according to sliding window protocol The response for the data that square signal end is sent.Memory space is preset in the present embodiment, and using cunning The embodiment that dynamic window protocol carries out data transmission is referring to embodiment three, and here is omitted.
Realize that continuous data is sent by using sliding window protocol, realize the abundant of data transmission slots Utilize, improve data transmission efficiency, simultaneously for the data not sent normally, can realize certainly It is dynamic to retransmit, further ensure the stability of data transfer.
Embodiment five:
It is specific with using scene, the use that detailed description is applied in itself with reference to one in a military war In the data transmission method of low rate channel.
According to practical situations, signal end is short-wave radio set, and the short-wave radio set is being sought command car, connected Used in command car and fixed command post, at most use one to four networking.When it is implemented, short-wave radio set Be preferred to use FPGA process chips realization, perform data transfer during, FPGA processor according to The role of short-wave radio set carrys out dynamically distributes time slot.Due in actual use, only occur battalion command car to Even command car and data transmitted by fixed commander, or even command car and fixed command post are sent out to battalion's command car Send the situation of data.Therefore platform (i.e. main signal end) based on command car setting will be sought, connects command car and solid Determine command post to be set to from platform (i.e. from signal end), specific networking principal and subordinate configuration relation uses configuration file Or the mode set manually is configured to each signal end, configuration information includes:Identity, role, Other roles and identity in net.In following examples description exemplified by including five signal ends in netting Illustrate.Five signal ends are respectively:Command car is sought, connects command car 1, connects command car 2, even refers to Car 3, fixed command post are waved, wherein, battalion's command car is main signal end, and its identity is 0;Even refer to It is that, from signal end, its identity is 1 to wave car 1;Even command car 2 is from signal end, its identity For 2;Even command car 3 is that, from signal end, its identity is 3;From signal end carried out by fixed commander, Its identity is 4.
First, battalion's command car and even command car 1, even command car 2, even command car 3, fixed command post are each From the data space for the storage data to be sent for allocating 10 126 bytes in advance, and, 10 The state memory space of the data storage memory space state of 12 bytes.
Then, battalion's command car judges itself for main signal end according to the configuration information of storage, then sends inquiry Signal 0xA3 to net in other four from signal end, including:Connect command car 1, connect command car 2, connect Command car 3, fixed command post), and according to each estimated duration T that answer signal is returned from signal end, It is determined that wait at least for 4T time, with ensure four from signal end it is all online when, wait long enough Receive four responses fed back from signal end.
Main signal end is received from signal end to send after inquiry signal, is sent back and is answered answering for the inquiry signal Signal is answered, for indicating the main signal end according to the corresponding data transmission slots of answer signal distribution.Should Answering signal includes:Identity from signal end, the Data Identification for whether having data to be sent.
Main signal end is received after the answer signal fed back from signal end of net, the number in answer signal According to mark, judge whether there are data to be sent from signal end, and to there is dividing from signal end for data to be sent Shellfish data transmission slots.And whether data to be sent are cached with according to main signal end, and, number to be sent According to echo signal end whether in net, it is determined whether for main signal end distribute data transmission slots.This implementation The answer signal that four have sent inquiry signal from signal end in example, also, two of which is from signal end (connecting command car 2 and even command car 3) has data to be sent, and main signal end (battalion's command car) does not have Data to be sent, therefore, main signal end (battalion's command car) distribute 2 data transmission slots:1st Data transmission slots distribute to even command car 2, and the 2nd data transmission slots distribute to even command car 3.
Command car is sought by sending synchronizing signal, (connects command car from signal end for there are a data to be sent 2 and even command car 3) data transmission slots specified of distribution.Battalion command car send synchronizing signal be: 0xA4,0x02,0x03, wherein, 0xA4 is synchronous frame identification, and it is 2 that 0x02, which is used to be designated as identity, From signal end (connecting command car 2) distribute the 1st data transmission slots, 0x03 be used for be designated as body Part be designated 3 from signal end (connecting command car 3) distribute the 2nd data transmission slots.
Even command car 2 sends data storage empty after synchronizing signal is received in the 1st data transmission slots Between in data to be sent, and wait answer signal in the time slot;Even command car 3 is receiving synchronous letter After number, the data to be sent in the 2nd data transmission slots send data space, and at this Answer signal is waited in gap.
Command car is sought after synchronizing signal has been sent, the duration of 2 data transmission slots is waited, is used for The company's of wait command car 2 and the even transmission of command car 3 data.If even command car 2 and even treating in command car 3 The Target id for sending data is 0, that is, seeks the identity of command car, then seeks command car and sending synchronization After signal, the meeting data that the company's of receiving command car 2 is sent in the 1st data transmission slots, and Reply data is sent in 1st data transmission slots to even command car 2;In the 2nd data transmission slots The data that inside company's of receiving command car 3 is sent, and send reply data in the 2nd data transmission slots To even command car 3.After seeking command car 2 data transmission slots of wait, again according to the configuration of itself It is each from signal end, the data transfer of unlatching next round in netting that information sends inquiry signal.
Embodiment six:
Accordingly, a kind of data transmission system for low rate channel, as shown in figure 5, including:
Enquiry module 510, for inquiring about signal to default sent from signal end, and when first is default The answer signal that the inquiry signal is responded from signal end is received in long;
Data judge module 520, for whether needing from signal end according to answer signal judgement Data are sent, and, judge whether the main signal end there are data to be sent according to the answer signal;
Time slot distribute module 530, for sending synchronizing signal, to there is the signal end of data to be sent Distribute the sequence number of data transmission slots;
First data transmission module 540, for the signal end in the serial number data transmission time slot of distribution Perform data transfer.
The synchronizing signal carries the sequence number of the corresponding data transmission slots of identity of each signal end.
Embodiments herein sends inquiry signal by main signal end, and according to the response of inquiry signal Signal determines main signal end with data to be sent and from signal end;Then, only there are data to be sent The signal end distribute data transmission slots sequence number, make the signal end distribution serial number data pass Data transfer is performed in defeated time slot, different signal ends has the time slot of respective transmission data, effectively kept away Exempt from the prior art due to loss of data caused by the collision that occurs in data transmission procedure, effectively The stability of the data transfer of guarantee, meanwhile, only there is the signal end distribution data transfer of data to be sent Time slot, it is ensured that the timely transmission of data, reduces the waste of bandwidth, improves channel utilization again.
When it is implemented, the answer signal includes:The identity from signal end;The basis The answer signal judges whether the main signal end has data to be sent, further comprises:If the master Have data cached in the default memory space of signal end, and the identity in the answer signal with it is described The target identities mark of data cached middle carrying is identical, determines that there are data to be sent at the main signal end.Knot Close the network state of destination client and the data buffer storage situation of primary client determines whether to send data, can To avoid invalid data transfer, data transmission efficiency is further improved.
In another embodiment of the application, the answer signal also includes:It is described from letter for indicating Whether number end has the Data Identifications of data to be sent;It is described according to judging the answer signal from signal Whether end has data to be sent, further comprises:It is from signal end according to judging the Data Identification It is no to have data to be sent.
In the another specific embodiment of the application, the time slot distribute module 530 further comprises:
Number of timeslots determination sub-module, for the quantity according to the signal end for having data to be sent, it is determined that point The quantity for the data transmission slots matched somebody with somebody;
Slot index distribution sub module, the identity for distributing signal end in synchronizing signal is corresponding The sequence number of data transmission slots;
Time slot distribution sub module, for sending the synchronizing signal, to indicate the signal end in distribution Data transfer is performed in serial number data transmission time slot.
When it is implemented, the first data transmission module 540 is further used for:In the sequence number number of distribution The data to be sent cached according to being sent in transmission time slot according to sliding window protocol in default sliding window, And receive the response for the data of other side's signal end transmission.Data send embodiment referring to Embodiment of the method part, here is omitted.Realize that continuous data is sent by using sliding window protocol, Realize making full use of for data transmission slots, improve data transmission efficiency, simultaneously for it is just The data often sent, can realize automatic repeating transmission, further ensure the stability of data transfer.
In the another specific embodiment of the application, based on embodiment five, as shown in fig. 6, the system Also include:
Loop module 550, for after the second duration matched with the data transmission slots, repeating to send out Inquiry signal is sent, starts next round data transfer.
When it is implemented, the second duration matched with the data transmission slots, more than or equal to distribution The product of the quantity of data transmission slots and default slot length.
Embodiment seven:
A kind of data transmission system for low rate channel is disclosed in the another specific embodiment of the application, As shown in fig. 7, the system includes:
Signal transmitting and receiving module 710, for receiving the inquiry signal that default main signal end is sent, sends back The answer signal of the inquiry signal is answered, for indicating that the main signal end is distributed accordingly according to answer signal Data transmission slots;
The signal transmitting and receiving module 710, is additionally operable to receive synchronizing signal;
Second data transmission module 720, when the serial number data for being distributed in the synchronizing signal is transmitted Data transfer is performed in gap.
When it is implemented, second data transmission module is further used for:
In the serial number data transmission time slot of distribution default sliding window is sent according to sliding window protocol The data to be sent of middle caching, and receive the response for the data of other side's signal end transmission.
The present embodiment in the data transmission slots that main signal end is specified by performing data transfer, Ke Yiyou Avoid loss of data caused by channel confliction to effect, it is ensured that the stability of data transfer.
Each embodiment in this specification is described by the way of progressive, and each embodiment emphasis is said Bright is all that identical similar part is mutual between the difference with other embodiment, each embodiment Referring to.For device embodiment, because it is substantially similar to embodiment of the method, so retouching That states is fairly simple, and the relevent part can refer to the partial explaination of embodiments of method.
The application is carried out to a kind of data transmission method and system for low rate channel of offer above It is discussed in detail, specific case used herein is explained the principle and embodiment of the application State, the explanation of above example is only intended to help and understands the present processes and its core concept;Together When, for those of ordinary skill in the art, according to the thought of the application, in embodiment and It will change in application, in summary, this specification content should not be construed as to this Shen Limitation please.
Through the above description of the embodiments, those skilled in the art can be understood that respectively Embodiment can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical Cross hardware realization.Understood based on such, above-mentioned technical proposal is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product can be deposited In a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used for storage To cause a computer equipment (can be personal computer, server, or network equipment etc.) to hold Method described in some parts of each embodiment of row or embodiment.

Claims (17)

1. a kind of data transmission method for low rate channel, it is characterised in that including:
Signal is inquired about to default sent from signal end, and receives described from signal in the first preset duration Respond the answer signal of the inquiry signal in end;
Whether there are data to be sent from signal end according to judging the answer signal, and, according to institute State answer signal and judge whether the main signal end there are data to be sent;
Synchronizing signal is sent, to there is the signal end of data to be sent to distribute the sequence of data transmission slots Number;
The signal end performs data transfer in the serial number data transmission time slot of distribution.
2. the method as described in claim 1, it is characterised in that methods described also includes:With institute After the second duration for stating data transmission slots matching, repeat to send inquiry signal, start next round data and pass It is defeated.
3. method as claimed in claim 1 or 2, it is characterised in that the answer signal includes: The identity from signal end;
It is described to judge whether the main signal end has data to be sent according to the answer signal, further wrap Include:If have data cached in the default memory space at the main signal end, and the body in the answer signal Part mark is identical with the target identities mark of the data cached middle carrying, determines that the main signal end needs Send data.
4. method as claimed in claim 3, it is characterised in that the answer signal also includes:With In the Data Identification for whether having data to be sent described in instruction from signal end;
It is described whether to have data to be sent from signal end according to judging the answer signal, further wrap Include:Whether there are data to be sent from signal end according to judging the Data Identification.
5. method as claimed in claim 4, it is characterised in that the transmission synchronizing signal, to have The signal end of data to be sent distributes the sequence number of data transmission slots, further comprises:
According to the quantity for the signal end for having data to be sent, it is determined that the quantity of the data transmission slots of distribution;
The sequence number of the corresponding data transmission slots of identity of signal end is distributed in synchronizing signal;
The synchronizing signal is sent, to indicate that the signal end is held in the serial number data transmission time slot of distribution Row data transfer.
6. method as claimed in claim 5, it is characterised in that sequence number of the signal end in distribution Data transfer is performed in data transmission slots, is specially:
Signal end sends default cunning in the serial number data transmission time slot of distribution according to sliding window protocol The data to be sent cached in dynamic window, and receive the response for the data of other side's signal end transmission.
7. method as claimed in claim 6, it is characterised in that matched with the data transmission slots The second duration, more than or equal to the quantity of the data transmission slots of distribution and multiplying for default slot length Product.
8. a kind of data transmission method for low rate channel, it is characterised in that including:
The inquiry signal that default main signal end is sent is received, the response letter for answering the inquiry signal is sent back Number, for indicating the main signal end according to the corresponding data transmission slots of answer signal distribution;
Receive in synchronizing signal, the serial number data transmission time slot distributed in the synchronizing signal and perform data Transmission.
9. method as claimed in claim 8, it is characterised in that described to divide in the synchronizing signal Data transfer is performed in the serial number data transmission time slot matched somebody with somebody, is specially:
In the serial number data transmission time slot of distribution default sliding window is sent according to sliding window protocol The data to be sent of middle caching, and receive the response for the data of other side's signal end transmission.
10. a kind of data transmission system for low rate channel, it is characterised in that including:
Enquiry module, for inquiring about signal to default sent from signal end, and in the first preset duration Receive the answer signal that the inquiry signal is responded from signal end;
Data judge module, for whether having to be sent from signal end according to answer signal judgement Data, and, judge whether the main signal end there are data to be sent according to the answer signal;
Time slot distribute module, for sending synchronizing signal, to there is the distribution of the signal end of data to be sent The sequence number of data transmission slots;
First data transmission module, is performed for the signal end in the serial number data transmission time slot of distribution Data transfer.
11. system as claimed in claim 10, it is characterised in that the system also includes:
Loop module, is looked into for after the second duration matched with the data transmission slots, repeating transmission Signal is ask, starts next round data transfer.
12. the system as described in claim 10 or 11, it is characterised in that the answer signal includes: The identity from signal end;
It is described to judge whether the main signal end has data to be sent according to the answer signal, further wrap Include:If have data cached in the default memory space at the main signal end, and the body in the answer signal Part mark is identical with the target identities mark of the data cached middle carrying, determines that the main signal end needs Send data.
13. system as claimed in claim 12, it is characterised in that the answer signal also includes: For indicating the Data Identification for whether having data to be sent from signal end;
It is described whether to have data to be sent from signal end according to judging the answer signal, further wrap Include:Whether there are data to be sent from signal end according to judging the Data Identification.
14. system as claimed in claim 13, it is characterised in that the time slot distribute module enters one Step includes:
Number of timeslots determination sub-module, for the quantity according to the signal end for having data to be sent, it is determined that point The quantity for the data transmission slots matched somebody with somebody;
Slot index distribution sub module, the identity for distributing signal end in synchronizing signal is corresponding The sequence number of data transmission slots;
Time slot distribution sub module, for sending the synchronizing signal, to indicate the signal end in distribution Data transfer is performed in serial number data transmission time slot.
15. system as claimed in claim 14, it is characterised in that the first data transmission module It is further used for:
In the serial number data transmission time slot of distribution default sliding window is sent according to sliding window protocol The data to be sent of middle caching, and receive the response for the data of other side's signal end transmission.
16. a kind of data transmission system for low rate channel, it is characterised in that including:
Signal transmitting and receiving module, for receiving the inquiry signal that default main signal end is sent, sends back and answers institute The answer signal of inquiry signal is stated, for indicating the main signal end according to the corresponding number of answer signal distribution According to transmission time slot;
The signal transmitting and receiving module, is additionally operable to receive synchronizing signal;
Second data transmission module, in the serial number data transmission time slot that is distributed in the synchronizing signal Perform data transfer.
17. system as claimed in claim 16, it is characterised in that second data transmission module It is further used for:
In the serial number data transmission time slot of distribution default sliding window is sent according to sliding window protocol The data to be sent of middle caching, and receive the response for the data of other side's signal end transmission.
CN201610151355.XA 2016-03-16 2016-03-16 Data transmission method and system for low-speed channel Active CN107204824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610151355.XA CN107204824B (en) 2016-03-16 2016-03-16 Data transmission method and system for low-speed channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610151355.XA CN107204824B (en) 2016-03-16 2016-03-16 Data transmission method and system for low-speed channel

Publications (2)

Publication Number Publication Date
CN107204824A true CN107204824A (en) 2017-09-26
CN107204824B CN107204824B (en) 2020-06-05

Family

ID=59903592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610151355.XA Active CN107204824B (en) 2016-03-16 2016-03-16 Data transmission method and system for low-speed channel

Country Status (1)

Country Link
CN (1) CN107204824B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100142496A1 (en) * 2008-12-04 2010-06-10 Electronics And Telecommunications Research Institute Method for dynamically allocating slot and apparatus thereof
CN101902818A (en) * 2009-06-01 2010-12-01 中兴通讯股份有限公司 Wireless resource scheduling method and system
CN103297974A (en) * 2012-02-27 2013-09-11 中兴通讯股份有限公司 Dynamic spectrum distributing method and device based on information channel management
CN103687044A (en) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 Data transmission method and equipment
CN103905343A (en) * 2013-05-17 2014-07-02 杭州东创科技股份有限公司 Method for dynamically allocating broadband resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100142496A1 (en) * 2008-12-04 2010-06-10 Electronics And Telecommunications Research Institute Method for dynamically allocating slot and apparatus thereof
CN101902818A (en) * 2009-06-01 2010-12-01 中兴通讯股份有限公司 Wireless resource scheduling method and system
CN103297974A (en) * 2012-02-27 2013-09-11 中兴通讯股份有限公司 Dynamic spectrum distributing method and device based on information channel management
CN103687044A (en) * 2012-08-31 2014-03-26 中兴通讯股份有限公司 Data transmission method and equipment
CN103905343A (en) * 2013-05-17 2014-07-02 杭州东创科技股份有限公司 Method for dynamically allocating broadband resources

Also Published As

Publication number Publication date
CN107204824B (en) 2020-06-05

Similar Documents

Publication Publication Date Title
KR100796846B1 (en) Voice and data wireless communications network and method
US20180248657A1 (en) Method and system for improving wireless link efficiency
CN102217258B (en) Detection processing method, data sending terminal, data receiver and communication system
EP2866395B1 (en) Maximum transmission unit negotiation method and data terminal
CN109076475B (en) Method and system for maintaining synchronization in connectionless transmission
CN103517409B (en) Information transferring method, system and equipment
CN105187175B (en) Base station down transfer control method and system
CN107005560A (en) A kind of data transmission method for uplink, data receiver method and relevant device
CN105530686B (en) A kind of cut-in method for realizing intelligent vehicle mounted terminal based on udp protocol
CN107682128A (en) Data transmission method, device, equipment and storage medium
CN109981566B (en) Inter-system synchronous safety protocol communication method for train control center system
US20210243780A1 (en) Transmission processing method and apparatus, device, and storage medium
CN112261106A (en) File transmission method suitable for satellite communication mode
CN108235379A (en) A kind of method and apparatus of data transmission
US9949300B2 (en) Packet transmission method and system, and station
CN104168273A (en) Method and system for achieving TCP proxy in thin AP mode
CN103974339B (en) A kind of method and apparatus of data buffer storage
CN102340828A (en) Method for improving terminal processing performance through base station and base station thereof
CN109996261A (en) Data transmission method and device based on MAC layer data packet replication
CN109067506A (en) A kind of lightweight asynchronous message implementation method concurrent based on multi-slide-windows mouth
CN103490870B (en) A kind of frequency band utilization method and equipment
CN107204824A (en) A kind of data transmission method and system for low rate channel
JP2023062123A (en) Wireless communication device, wireless communication method, and wireless communication system
CN116963175A (en) Data transmission method, device and system
CN113207190B (en) Method, device and equipment for processing access layer IP packet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant