A kind of wireless system for transmitting data and its implementation that is applied to point-to-point environment
Technical field
The present invention relates to the radio network technique field, specifically, relate to a kind of wireless system for transmitting data and its implementation that is applied to point-to-point environment.
Background technology
Point-to-point Wireless Data Transmission mode refers to mutually carry out by network between the radio reception device communication of transfer of data, is mainly used in short distance environment.
The area remote for the place, that the density of population is less, existing point-to-point Wireless Data Transmission exists can't satisfy the problem that transmission range requires, the conventional wireless data transfer mode often increases the transmission range of signal by the power that increases radio reception device, yet increasing power is restricted easily in practical operation, can not infinitely increase, can't guarantee that bandwidth is fully used.Improve bandwidth availability ratio when therefore, how the directed high power antenna of employing increases distance in certain Power Limitation and then become the problem of needing solution badly.
Summary of the invention
The object of the present invention is to provide a kind of wireless system for transmitting data and its implementation that is applied to point-to-point environment, overcome the defective that traditional point-to-point Wireless Data Transmission mode can't guarantee the utilance of bandwidth, the high efficiency that guarantees bandwidth is used, thereby the increase bandwidth, and make greatly distance growth of transmission.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind of wireless system for transmitting data that is applied to point-to-point environment comprises by the transmission system that forms with lower module:
Be used for collection network interface message and the initialization module that carries out channel fix;
The transceiver module that is used for the sending and receiving operation;
Be used for carrying out the identification module that packet loss is judged;
Realization enables or closes the control module that closure is confirmed function;
Wherein initialization module, transceiver module, identification module and control module link to each other successively.
Be applied to wireless system for transmitting data under the point-to-point environment based on this, the present invention also provides its implementation, may further comprise the steps:
(1) each network interface of initialization adopts the beacon message to collect the situation of bipartite network interface;
(2) behind the control module default enable confirmation message, transceiver module begins normally to receive and dispatch, and record grouping transmitting-receiving situation, statistics packet loss number;
(3) measurement period is set, and judges whether to reach the measurement period limiting time, if, then calculate packet loss, carry out next step, otherwise continue record grouping transmitting-receiving situation;
(4) judge whether packet loss reaches the adjustment standard, if then call control module and carry out switching manipulation.
Be the function of performing step (1), adopt the beacon message to collect the situation of bipartite network interface by initialization module in the described step (1), comprise network interface number and channel fix information.
Further, after the time that whenever reaches a measurement period restriction, calculate packet loss by identification module in the described step (3), wherein the measurement period default time is made as 1 second or arranges according to keeper's designated value.
Further, judge whether packet loss reaches the adjustment standard and judge that namely whether packet loss surpasses threshold value L in the described step (4)
HighOr be lower than threshold value L
Low
For the adjustment standard being specialized described packet loss threshold value L
HighDefault value is made as 0.6, L
LowDefault value is made as 0.1, perhaps L
HighAnd L
LowAll arrange according to keeper's designated value.
As a kind of preferred, described step (4) if in packet loss be higher than threshold value L
High, then control module enables confirmation message; If packet loss is lower than threshold value L
Low, then control module is closed confirmation message.
By technique scheme, the present invention has following beneficial effect:
(1) improve bandwidth availability ratio--compare with typical high-power radio reception device, the radio data transmission method that the present invention proposes can utilize multichannel to carry out data transmit-receive, enable with controlling simultaneously confirmation message and close, thereby bandwidth resources have been saved, improve bandwidth availability ratio, increased the transmission range of radio reception device.
(2) reduce disturbance and expense--the present invention can be applicable on the radio reception device with two interfaces, wherein one two of this radio reception device interface are as transmit leg, one as the recipient, with the another one router two non-interfering wireless communication channels are set, one of them channel is as just transmission, and another channel is as just reception, not only receives but also do to send the expense of bringing thereby reduced on single channel, reduce power consumption, the space that the minimizing system takies.
(3) increasing transmission range--the present invention can be applicable on the radio reception device that adopts two high power directional antennas, has again increased to a certain extent transmission range.
Description of drawings
Fig. 1 is the schematic flow sheet of the method among the present invention-embodiment.
Fig. 2 is the theory diagram of this system among the present invention-embodiment.
Embodiment
In order to improve channel utilization, present embodiment provides a kind of wireless system for transmitting data and its implementation that is applied to point-to-point environment.
As shown in Figure 2, be applied to wireless system for transmitting data under the point-to-point environment in the present embodiment, be contained in the radio reception device, and this system can be the unit of software, hardware or software and hardware combining, radio reception device then comprises device A and equipment B, and respectively there are two network interfaces in device A and equipment B.
This system comprises initialization module, transceiver module, identification module and the control module that links to each other successively simultaneously, wherein:
Initialization module is used for the cell phone network interface message and carries out channel fix;
Transceiver module is used for carrying out the operation of sending and receiving;
Identification module is used for carrying out packet loss and judges;
Control module is used for enabling or closes closure confirming (ACK) function.
By above system, just can finish the radio data transmission method under the point-to-point environment, as shown in Figure 1, the specific implementation step of the method is as follows:
Step 101: by each network interface of initialization module initialization, and adopt beacon (Beacon) message to collect the situation of bipartite network interface, this employing beacon message collection mode is optimal platform and the instrument of server monitoring.
Step 102: if two network interfaces respectively are set on device A and equipment B, two non-interfering wireless communication channels are set then, one of them channel is as just transmission, and another channel is as just reception; If transmit leg and recipient's number are 1, then single channel is not only as sending but also the conduct reception.
Step 103: control module default enable confirmation message (ACK), beginning is transmitting-receiving normally, and record grouping transmitting-receiving situation, statistics packet loss number.
Step 104: judge whether to reach the measurement period limiting time, if so, call identification module, calculate packet loss, carry out next step; Otherwise continue record grouping transmitting-receiving situation.
Step 105: judge whether packet loss reaches the adjustment standard, if packet loss is greater than or equal to threshold value L
High, then control module enables confirmation message (ACK); If packet loss is less than or equal to threshold value L
Low, then control module is closed confirmation message (ACK).
Step 106: enter next measurement period.
In order to make things convenient for those skilled in the art's understanding, respectively there are 2 network interfaces in the below supposition radio transmission apparatus A and B.
(1) device A initialization network interface, adopt beacon (Beacon) message to collect the situation of bipartite network interface: because device A and equipment B network interface number are 2, two non-interfering wireless communication channels then are set, one of them channel is as just transmission, and another channel is as just reception.
(2) device A control module default enable confirmation message (ACK), beginning is transmitting-receiving normally, and record grouping transmitting-receiving situation.
Enter first measurement period:
(3) in first measurement period, do not reach the measurement period limiting time, then continue record grouping transmitting-receiving situation;
(4) first measurement period limiting time reaches, and then calls identification module, the statistics packet loss;
(5) packet loss is 0.09, is lower than threshold value L
Low, then control module is closed confirmation message (ACK);
(6) enter next measurement period.
After closing confirmation message, bandwidth availability ratio rises to 0.8 by 0.6.
Enter second measurement period:
In (7) second measurement periods, do not reach the measurement period limiting time, then continue record grouping transmitting-receiving situation;
(8) second measurement period limiting times reach, and then call identification module, the statistics packet loss;
(9) packet loss is 0.9, is higher than threshold value L
High, then control module enables confirmation message (ACK);
(10) enter next measurement period.
After enabling confirmation message, bandwidth availability ratio is upgraded to 0.7 by 0.8 reduction.
According to above-described embodiment, just can well realize the present invention.