CN101695019B - Method and device for message transmission - Google Patents

Method and device for message transmission Download PDF

Info

Publication number
CN101695019B
CN101695019B CN 200910210780 CN200910210780A CN101695019B CN 101695019 B CN101695019 B CN 101695019B CN 200910210780 CN200910210780 CN 200910210780 CN 200910210780 A CN200910210780 A CN 200910210780A CN 101695019 B CN101695019 B CN 101695019B
Authority
CN
China
Prior art keywords
threshold value
message
channel occupancy
parameter
module
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
CN 200910210780
Other languages
Chinese (zh)
Other versions
CN101695019A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN 200910210780 priority Critical patent/CN101695019B/en
Publication of CN101695019A publication Critical patent/CN101695019A/en
Application granted granted Critical
Publication of CN101695019B publication Critical patent/CN101695019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for message transmission. By employing channel occupying parameters and message retransmission parameters as adjustment references, message transmission treatment is conducted by dynamically enabling a channel reservation mechanism to work and stop working; accordingly, when in severe spatial environment and busy time, the channel reservation mechanism of an RTS/CTS mechanism or a CTS-To-Self mechanism is reasonably used to transmit messages; the method decreases use conflicts of system resources and improves WLAN network application quality.

Description

A kind of file transmitting method and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of file transmitting method and equipment.
Background technology
WLAN (Wireless Local Area Network, WLAN) provide a kind of wireless connections service of local area network (LAN), wireless data access at a high speed can be provided in less scope, present information technology (Information Technology, IT) one of relatively popular technology of industry also is popular wireless access way.
Access point (Access Point, AP) is an important composition equipment of WLAN (wireless local area network), is a wireless transmitting-receiving equipments.Can be with (for example, the data transaction that Internet) receives becomes wireless signal to send to terminal or other network equipments, and the wireless signal that receives is converted to data and is forwarded to cable network by cable network.
Mechanism all is the administrative message of WLAN agreement, and message length is smaller in request transmission/clear to send (Request to Send/Clear to Send, RTS/CTS), and RTS only has 20 byte-sized usually, and CTS only has 14 byte-sized.
WLAN agreement specified devices can additionally before sending message send a RTS message, and only receives that after the CTS message of destination device response, equipment just can send actual message.
In RTS and CTS message, can announce all the equipment headspace media that can hear this message to the message use that is about to send by carry information.
In addition, the RTS/CTS message is all very short, and the probability of disturbed destruction is smaller, and it is considerably less to send the space medium that takies.So when the message that sends is larger, and the space medium is busier the time, carries out message and send by using RTS/CTS mechanism, effective conserve space media resource, lifting network performance.
Oneself's clear to send (Clear to Send to self, CTS-to-self) mechanism is the simplification mechanism of RTS/CTS, when equipment need to send message, directly send a CTS announcement to target device first and oneself need to send message, the equipment headspace medium around coordinating.
Protocol definition RTS/CTS mechanism, main consideration are used this very short control message, reduce the conflict of space medium, effectively improve the wlan network effect.
But present RTS/CTS trigger mechanism all is to control by order, and usually the practice is for arranging a thresholding, when the length of message surpasses this thresholding, and then before sending this message, must be first by the machine-processed competitive space media resource of RTS/CTS.
And if not above the acquiescence thresholding (for example 2346 bytes) of protocol definition, then do not have message can use RTS/CTS mechanism.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Present mechanism, often by the message size thresholding control is set and whether enables RTS/CTS mechanism or CTS-To-Self mechanism, use very dumb, and, in the wlan network of high-density deployment, because space environment and application ceaselessly change, so, if very busy at the space medium, in the more serious environment that conflicts, then can't improve network quality by RTS/CTS mechanism and CTS-To-Self mechanism timely and effectively.
Summary of the invention
The invention provides a kind of file transmitting method and equipment, retransmit enabling of dynamic state of parameters and stop RTS/CTS mechanism or CTS-To-Self mechanism is carried out the transmission processing of message by channel occupancy parameter and message.
For achieving the above object, one aspect of the present invention provides a kind of file transmitting method, and preset channel takies threshold value and message retransmission threshold value in the packet transmission device, and described method specifically may further comprise the steps:
Described packet transmission device obtains current channel occupancy parameter according to the default cycle and message retransmits parameter;
Described packet transmission device judges whether the described channel occupancy parameter that gets access to reaches default channel occupancy threshold value;
When described channel occupancy parameter reached default channel occupancy threshold value, described packet transmission device judged that the described message that gets access to retransmits parameter and whether reaches default message retransmission threshold value;
When described message retransmitted parameter and reaches default message retransmission threshold value, described packet transmission device sent message by channel reservation mechanism;
Wherein, described channel reservation mechanism is specially:
Request sends RTS/ clear to send CTS mechanism or self-clear to send CTS-To-Self mechanism.
Preferably, preset channel takies threshold value and message retransmission threshold value in the described packet transmission device, is specially:
A default channel occupancy threshold value and a message retransmission threshold value in the described packet transmission device; Or,
Default a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in the described packet transmission device, wherein, described channel occupancy threshold value and message retransmission threshold value form a plurality of messages and send parameter group, and each message sends in the parameter group and comprises a channel occupancy threshold value and a message retransmission threshold value.
Preferably, when presetting a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in the described packet transmission device, described method is specially:
Described packet transmission device judges whether the described channel occupancy parameter that gets access to reaches a channel occupancy threshold value in the message transmission parameter group;
When described channel occupancy parameter reached message and sends channel occupancy threshold value in the parameter group, described packet transmission device judged that the described message that gets access to retransmits parameter and whether reaches the corresponding message of described channel occupancy threshold value and send message retransmission threshold value in the parameter group;
When described message retransmitted parameter and reaches the corresponding message of described channel occupancy threshold value and send message retransmission threshold value in the parameter group, described packet transmission device sent message by described channel reservation mechanism;
Wherein, the channel occupancy threshold value of presetting in the described packet transmission device and the quantity of message retransmission threshold value equate that the channel occupancy threshold value that comprises in each message transmission parameter group and the numerical value of message retransmission threshold value are different.
Preferably, creating a mechanism in the described packet transmission device starts sign, and described method also comprises:
When described channel occupancy parameter reaches default channel occupancy threshold value, and described message is when retransmitting parameter and reaching default message retransmission threshold value, and the described mechanism of described packet transmission device starts sign and is set to starting state; Or,
When described channel occupancy parameter does not reach default channel occupancy threshold value, or described channel occupancy parameter reaches default channel occupancy threshold value, but described message retransmits parameter when not reaching default message retransmission threshold value, and the described mechanism of described packet transmission device starts sign and is set to non-started state.
Preferably, when described packet transmission device was ready for sending message, described method also comprised:
Described packet transmission device judges that described mechanism starts sign and whether is in starting state;
When described packet transmission device judges that described mechanism startup sign is in starting state, described packet transmission device sends message by described channel reservation mechanism, when described packet transmission device judged that described mechanism startup sign is in non-started state, described packet transmission device sent message by common mechanism.
On the other hand, the present invention also provides a kind of packet transmission device, comprising:
Module is set, is used for arranging cycle, channel occupancy threshold value and the message retransmission threshold value of obtaining channel occupancy parameter and message re-transmission parameter;
Acquisition module is connected with the described module that arranges, and is used for arranging according to described that the set cycle of module is obtained current channel occupancy parameter and message retransmits parameter;
Judge module, be connected with described acquisition module with the described module that arranges, be used for judging whether the accessed described channel occupancy parameter of described acquisition module reaches the described set channel occupancy threshold value of module that arranges, and when judging that described channel occupancy parameter reaches described channel occupancy threshold value, judge that the accessed described message of described acquisition module retransmits parameter and whether reaches the described set message retransmission threshold value of module that arranges;
Sending module is connected with described judge module, is used for sending message by described channel reservation mechanism when described judge module judges that described message re-transmission parameter reaches described message retransmission threshold value;
Wherein, described channel reservation mechanism is specially:
Request sends RTS/ clear to send CTS mechanism or self-clear to send CTS-To-Self mechanism.
Preferably, the described set channel occupancy threshold value of module and the message retransmission threshold value of arranging is specially a channel occupancy threshold value and a message retransmission threshold value, or a plurality of channel occupancy threshold value and a plurality of message retransmission threshold value;
Wherein, when described when module being set being provided with a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value, described a plurality of channel occupancy threshold value and a plurality of message retransmission threshold value form a plurality of messages and send parameter group, each message sends in the parameter group and comprises a channel occupancy threshold value and a message retransmission threshold value, and the channel occupancy threshold value that comprises in each message transmission parameter group and the numerical value of message retransmission threshold value are different.
Preferably, when described when module being set being provided with a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value,
Described judge module judges whether the accessed channel occupancy parameter of described acquisition module reaches a channel occupancy threshold value in the message transmission parameter group, and when described judge module judges that the channel occupancy parameter reaches a message and sends channel occupancy threshold value in the parameter group, judge that further the described message that gets access to retransmits parameter and whether reaches the corresponding message of described channel occupancy threshold value and send message retransmission threshold value in the parameter group.
Preferably, described packet transmission device also comprises the identity management module, is connected with described judge module, is used for developing and managing mechanism and starts sign:
Judge the channel occupancy parameter when described judge module and reach the described set channel occupancy threshold value of module that arranges, and described message retransmits parameter and reaches described when the set message retransmission threshold value of module is set, and the described mechanism of described identity management module starts sign and is set to starting state; Or,
Judge the channel occupancy parameter when described judge module and do not reach the described set channel occupancy threshold value of module that arranges, or described judge module judges that the channel occupancy parameter reaches the described set channel occupancy threshold value of module that arranges, but described message retransmits parameter does not reach described when the set message retransmission threshold value of module is set, and the described mechanism of described identity management module starts sign and is set to non-started state.
Wherein, when described sending module was ready for sending message, described judge module was used for also judging that described mechanism starts sign and whether is in starting state:
When described judge module judges that described mechanism startup sign is in starting state, described sending module sends message by described channel reservation mechanism, when described judge module judged that described mechanism startup sign is in non-started state, described sending module sent message by common mechanism.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, retransmit parameter as adjusting foundation by channel occupancy parameter and message, enable dynamically and stop the transmission processing that channel reservation mechanism is carried out message, thereby, space environment abominable and busy in, reasonably use the channel reservation mechanism of RTS/CTS mechanism for example or CTS-To-Self mechanism to carry out message and sent, reduced the use conflict of system resource, improved the wlan network application quality.
Description of drawings
Fig. 1 is the schematic flow sheet of a kind of file transmitting method proposed by the invention;
Fig. 2 is the schematic flow sheet of a kind of file transmitting method under the concrete application scenarios proposed by the invention;
Fig. 3 is the structural representation of a kind of message transmitting apparatus proposed by the invention.
Embodiment
As stated in the Background Art, existingly by the message size thresholding control is set and whether enables in actual use underaction of RTS/CTS mechanism or CTS-To-Self mechanism, and, in the wlan network of high-density deployment, because space environment and application ceaselessly change, so, can't judge whether timely and effectively to enable RTS/CTS mechanism and CTS-To-Self mechanism is carried out the message transmission processing according to existing controlling mechanism, affected the Internet Transmission quality.
In order to address the above problem, the present invention proposes a kind of network address translation file transmitting method, in actual WLAN uses, consider that effectively the space media channel takies and message retransmits situation, enable dynamically and stop channel reservation mechanism, reduce the conflict of space medium, improve stability and the performance of wireless network.
It is to be noted; for convenience of description; in follow-up embodiment; mainly carry out the explanation of technical scheme as the example of channel reservation mechanism with RTS/CTS mechanism and CTS-To-Self mechanism; in concrete application scenarios, every mechanism that can reach constructed effect can be applied to technical scheme proposed by the invention, and the content change of concrete channel reservation mechanism can not affect protection scope of the present invention; this point is effectively same in follow-up embodiment, no longer repeat specification.
As shown in Figure 1, be the schematic flow sheet of a kind of file transmitting method proposed by the invention, the method specifically may further comprise the steps:
Cycle, channel occupancy threshold value and the message retransmission threshold value of obtaining channel occupancy parameter and message re-transmission parameter are set in step S101, the packet transmission device.
Wherein, the set-up mode of channel occupancy threshold value and message retransmission threshold value comprises following two kinds:
A default channel occupancy threshold value and a message retransmission threshold value in mode one, the packet transmission device.
Default a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in mode two, the packet transmission device.
Wherein, channel occupancy threshold value and message retransmission threshold value form a plurality of messages and send parameter group, and each message sends in the parameter group and comprises a channel occupancy threshold value and a message retransmission threshold value.
In concrete application scenarios, in order to reach the differentiated treatment for multiple situation, when having preset a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in the packet transmission device, the quantity of default channel occupancy threshold value and message retransmission threshold value equates, and the channel occupancy threshold value that comprises in each message transmission parameter group and the numerical value of message retransmission threshold value are different.
Step S102, packet transmission device obtain current channel occupancy parameter and message re-transmission parameter according to the default cycle.
Concrete obtain manner, and the specific algorithm of relevant parameter can set flexibly according to the needs of concrete application scenarios, the variation of concrete obtain manner and algorithm content can't affect protection scope of the present invention.
Step S103, packet transmission device judge whether the channel occupancy parameter that gets access to reaches default channel occupancy threshold value.
When the channel occupancy parameter reaches default channel occupancy threshold value, execution in step S104;
When the channel occupancy parameter does not reach default channel occupancy threshold value, execution in step S106.
When presetting a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in the packet transmission device, packet transmission device judges whether the channel occupancy parameter that gets access to reaches a channel occupancy threshold value in the message transmission parameter group.
Step S104, packet transmission device judge that the message that gets access to retransmits parameter and whether reaches default message retransmission threshold value.
When message retransmits parameter and reaches default message retransmission threshold value, execution in step S105;
When message retransmits parameter and does not reach default message retransmission threshold value, execution in step S106.
When presetting a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in the packet transmission device, and judge when current channel occupancy parameter reaches message and sends channel occupancy threshold value in the parameter group, packet transmission device judges further whether the message re-transmission parameter that gets access to reaches the message retransmission threshold value in the corresponding message transmission of the channel occupancy threshold value parameter group, only have when in such cases judged result when being, packet transmission device can judge that the message that gets access to retransmits parameter and reaches default message retransmission threshold value.
Step S105, packet transmission device send message by channel reservation mechanism.
In concrete application scenarios, channel reservation mechanism can be the mechanism that RTS/CTS mechanism or CTS-To-Self mechanism etc. can reach constructed effect.
Because the concluding time that the parameter of abovementioned steps is judged flow process and the transmitting time of message be the while not necessarily, so, if before message sends, the parameter of abovementioned steps is judged when flow process has just finished, need in the packet transmission device judged result is made corresponding record, for this reason, set up machine-processed startup sign in the packet transmission device, in concrete processing procedure, it is as follows that this mechanism starts the record rule that identifies:
When the channel occupancy parameter reaches default channel occupancy threshold value, and message is when retransmitting parameter and reaching default message retransmission threshold value, and packet transmission device mechanism starts sign and is set to starting state;
When the channel occupancy parameter does not reach default channel occupancy threshold value, or the channel occupancy parameter reaches default channel occupancy threshold value, but message retransmits parameter when not reaching default message retransmission threshold value, and packet transmission device mechanism starts sign and is set to non-started state.
Start sign based on above-mentioned mechanism, when packet transmission device was ready for sending message, the method also comprised following sign identification process:
The packet transmission device judgment mechanism starts sign and whether is in starting state;
When packet transmission device judgment mechanism startup sign is in starting state, packet transmission device sends message by RTS/CTS mechanism or CTS-To-Self mechanism, when packet transmission device judgment mechanism startup sign was in non-started state, packet transmission device sent message by common mechanism.
Step S106, packet transmission device send message by common mechanism.
After step S105 or step S106 are complete, further execution in step S107.
Step S107, packet transmission device judge whether that the channel occupancy parameter and the message that reach new retransmit obtaining the cycle of parameter.
Do not retransmit obtaining the cycle of parameter if judged result reaches new channel occupancy parameter and message, then keep existing message transmit mechanism;
Retransmit obtaining the cycle of parameter if judged result reaches new channel occupancy parameter and message, then return step S102, carry out a new channel occupancy parameter of taking turns and message and retransmit obtaining of parameter, and the message transmit mechanism is definite.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, retransmit parameter as adjusting foundation by channel occupancy parameter and message, enable dynamically and stop the transmission processing that channel reservation mechanism is carried out message, thereby, space environment abominable and busy in, reasonably use the channel reservation mechanism of RTS/CTS mechanism for example or CTS-To-Self mechanism to carry out message and sent, reduced the use conflict of system resource, improved the wlan network application quality.
Below, further combined with concrete example, technical scheme of the present invention is described.
In actual WLAN uses, technical scheme proposed by the invention takies by effective consideration space media channel and message retransmits situation, enable dynamically and stop the channel reservation mechanism of RTS/CTS mechanism for example or CTS-To-Self mechanism, thereby, reduce the conflict of space medium, improved stability and the performance of wireless network.
At first, need the parameter acquiring rule in the clear and definite technical scheme proposed by the invention, specifically comprise following two aspects:
1, channel occupancy calculates
How calculating the channel occupancy situation is not the claimed core of the present invention; in different application scenarioss; can realize that the method that channel occupancy calculates may have a lot; particularly the tool software of some WLAN has the computational methods of oneself, for example: Airmagnet, CommView for WiFi etc.
For AP, then can be directly obtain from radio frequency chip (realizing reception and the transmission of wireless data), the situation (busy or idle) of perhaps regularly obtaining channel by software finally calculates current channel seizure ratio (indicating the ratio of current channel busy with percentage).
For example: chip can be noted down in the channel time that sends data and the time that has data to receive, and system can these two times of timing acquisition, and further calculate according to following formula:
" channel seizure ratio "=(" sending the time of data "+" time that has data to receive ") ÷ " acquisition time cycle ".
2, message retransmits status analysis
AP successfully arrives the destination in order to guarantee message as far as possible when sending message, the WLAN protocol definition message retransmission mechanism.The eating dishes without rice or wine of AP can count the message situation of transmission and message the number of times that retransmits occurs.
By the setting of above two aspect rules, technical solution of the present invention can get access to according to certain cycle of obtaining channel occupancy parameter and message and retransmit parameter.
Technical scheme based on proposed by the invention it needs to be noted:
Some other function of WLAN wireless network also may use RTS/CTS mechanism or CTS-To-Self mechanism.That is to say, in wlan network, may start RTS/CTS mechanism or CTS-To-Self mechanism for each message, suppose that this is designated Flag1.
So, when Flag1 is 1, indicates RTS/CTS mechanism or CTS-To-Self mechanism and start, be closed otherwise Flag1 is 0 sign RTS/CTS mechanism or CTS-To-Self mechanism.
But this kind situation and technical scheme proposed by the invention do not have any conflict, treatment mechanism proposed by the invention is after the top processing, each message is carried out the secondary judgement according to the mechanism startup sign that technical scheme proposed by the invention generates, and determine whether to use RTS/CTS mechanism or CTS-To-Self mechanism, suppose that this mechanism startup is designated Flag2.
If enable RTS/CTS mechanism or CTS-To-Self mechanism (for example: Flag2 is 1) according to the mechanism startup sign sign needs that technical scheme proposed by the invention generates, then for arranging, the message that needs to send starts RTS/CTS mechanism or CTS-To-Self mechanism function, then do not need to carry out any processing for other situations (for example: Flag2 is 0), namely judge accordingly according to existing other rules and process.
And send and treatment mechanism for RTS/CTS and CTS-To-Self, be the standard of WLAN protocol definition, be the physical layer of WLAN realizes, rather than institute of the present invention outline, the difference on the concrete treatment mechanism can't affect protection scope of the present invention.
In addition, " RTS/CTS mechanism or the CTS mechanism " that this above-mentioned explanation is mentioned can be in actual applications by corresponding configuration, controls to the end to use which kind of mechanism.
Based on above-mentioned explanation, the focusing on of technical solution of the present invention dynamically enabled and stopped RTS/CTS mechanism or CTS mechanism, namely in the AP running, regular obtain " channel seizure ratio " and " message re-transmission ratio " then dynamically enabled according to these two information and stopped RTS/CTS mechanism or CTS is machine-processed.
Below, as shown in Figure 2, be the schematic flow sheet of the file transmitting method under a kind of concrete application scenarios proposed by the invention.
In this application scenarios, being provided with two channel occupancy threshold values (" channel seizure ratio ") is threshold value 1 and threshold value 2, and wherein, threshold value 1 is greater than threshold value 2; Being provided with two message retransmission threshold value (" message re-transmission ratio ") is threshold value 3 and threshold value 4, and wherein, threshold value 3 is less than threshold value 4.
For example: " threshold value 1 " and " threshold value 2 " of setting " channel seizure ratio " is respectively 90% and 70%; " threshold value 3 " and " threshold value 4 " of setting " message re-transmission ratio " is respectively 10% and 20%.
Wherein, threshold value 1 and threshold value 3 have formed a message and have sent parameter group, and threshold value 2 and threshold value 4 have formed another message and sent parameter group.
According to above-mentioned setting, the method specifically may further comprise the steps:
Step S201, packet transmission device timing acquisition " channel seizure ratio " and " message re-transmission ratio ".
For example; obtain the cycle take per 60 seconds as one; obtain the time span in cycle and be advisable with the unlikely running status that affects packet transmission device because obtain relevant parameter information too frequently, the variation of specifically obtaining the cycle can't affect protection scope of the present invention.
Step S202, packet transmission device judge the relation of " channel seizure ratio " and default each channel occupancy threshold value.
If " channel seizure ratio " is higher than " threshold value 1 ", then enter step S203;
If " channel seizure ratio " is higher than " threshold value 2 " less than " threshold value 1 ", then enter step S204;
Startup is designated non-started state (Flag2 is 0) if " channel seizure ratio ", then arranges mechanism less than " threshold value 2 ".
Step S203, packet transmission device judge whether " message re-transmission ratio " is higher than " threshold value 3 ".
If " message re-transmission ratio " is higher than " threshold value 3 ", the mechanism startup then is set is designated starting state (Flag2 is 1), start RTS/CTS mechanism or CTS mechanism;
Otherwise the mechanism startup is set is designated non-started state (Flag2 is 0).
In such cases, if surpassing " threshold value 1 ", " channel seizure ratio " can think that channel is very busy, judge further that then " message re-transmission ratio " surpasses " threshold value 3 " and then advise starting RTS/CTS mechanism or CTS mechanism method.
Step S204, packet transmission device judge whether " message re-transmission ratio " is higher than " threshold value 4 ".
If " message re-transmission ratio " is higher than " threshold value 4 ", the mechanism startup then is set is designated starting state (Flag2 is 1), start RTS/CTS mechanism or CTS mechanism;
Otherwise the mechanism startup is set is designated non-started state (Flag2 is 0).
In such cases, do not reach " threshold value 1 " if " channel seizure ratio " surpasses " threshold value 2 " and can think that channel ratio is busier, judge further that then " message re-transmission ratio " surpasses " threshold value 4 " and then advise starting RTS/CTS mechanism or CTS mechanism method.
Start sign based on above-mentioned mechanism mechanism is set, packet transmission device is when sending message, at first judgment mechanism starts the state of sign (Flag2), if be starting state, then start RTS/CTS mechanism or CTS mechanism is carried out message transmissions, if be non-started state, whether then judge currently has other mechanism need to start RTS/CTS mechanism or CTS mechanism (whether be 1 as judging Flag1), if have, then start or stop RTS/CTS mechanism or CTS mechanism according to other machine-processed desired states, if no, then directly stop RTS/CTS mechanism or CTS mechanism.
Need to further be pointed out that; provided a concrete control method in the above-mentioned declarative procedure; but being unique method, all is the category that the present invention protects as long as use the method for " channel occupancy " situation or " message re-transmission situation " control RTS/CTS or CTS.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, retransmit parameter as adjusting foundation by channel occupancy parameter and message, enable dynamically and stop the transmission processing that channel reservation mechanism is carried out message, thereby, space environment abominable and busy in, reasonably use the channel reservation mechanism of RTS/CTS mechanism for example or CTS-To-Self mechanism to carry out message and sent, reduced the use conflict of system resource, improved the wlan network application quality.
In order to realize technical scheme of the present invention, the invention allows for a kind of packet transmission device, its structural representation specifically comprises as shown in Figure 3:
Module 31 is set, is used for arranging cycle, channel occupancy threshold value and the message retransmission threshold value of obtaining channel occupancy parameter and message re-transmission parameter.
In concrete application scenarios, module 31 set channel occupancy threshold value and message retransmission threshold value are set, be specially a channel occupancy threshold value and a message retransmission threshold value, or a plurality of channel occupancy threshold value and a plurality of message retransmission threshold value.
Wherein, when module 31 being set being provided with a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value, a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value form a plurality of messages and send parameter group, each message sends in the parameter group and comprises a channel occupancy threshold value and a message retransmission threshold value, and the channel occupancy threshold value that comprises in each message transmission parameter group and the numerical value of message retransmission threshold value are different.
Acquisition module 32 and arranges module 31 and is connected, and is used for that the 31 set cycles of module are obtained current channel occupancy parameter and message retransmits parameter according to arranging.
Judge module 33, with module 31 be set be connected with acquisition module 32, be used for judging whether acquisition module 32 accessed channel occupancy parameters reach that the set channel occupancy threshold value of module 31 is set, and when judging that the channel occupancy parameter reaches the channel occupancy threshold value, judge whether acquisition module 32 accessed messages re-transmission parameters reach the set message retransmission threshold value of module 31 is set.
When module 31 being set being provided with a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value,
Judge module 33 judges whether acquisition module 32 accessed channel occupancy parameters reach a channel occupancy threshold value in the message transmission parameter group, and when judge module 33 judges that the channel occupancy parameters reach a message and send channel occupancy threshold value in the parameter group, judge that further the message that gets access to retransmits parameter and whether reaches the corresponding message of channel occupancy threshold value and send message retransmission threshold value in the parameter group.
Sending module 34 is connected with judge module 33, is used for sending message by RTS/CTS mechanism or CTS-To-Self mechanism when judge module 33 judges that message re-transmission parameter reaches the message retransmission threshold value.
Further, in concrete application scenarios, packet transmission device also comprises identity management module 35, is connected with judge module 33, is used for developing and managing mechanism and starts sign:
Judge when judge module 33 that the channel occupancy parameters reach the set channel occupancy threshold value of module 31 is set, and message retransmits parameter and reaches when the set message retransmission threshold value of module 31 is set, and identity management module 35 mechanism start sign and are set to starting state; Or,
Judge when judge module 33 that the channel occupancy parameters do not reach the set channel occupancy threshold value of module 31 is set, or judge module 33 is judged that the channel occupancy parameters reach the set channel occupancy threshold value of module 31 is set, but message retransmits parameter not to be reached when the set message retransmission threshold value of module 31 is set, and identity management module 35 mechanism start sign and are set to non-started state.
Wherein, when sending module 34 was ready for sending message, judge module 33 also was used for judgment mechanism and starts to identify whether be in starting state:
When judge module 33 judgment mechanisms startup sign is in starting state, sending module 34 sends message by RTS/CTS mechanism or CTS-To-Self mechanism, when judge module 33 judgment mechanisms startup sign was in non-started state, sending module 34 sent message by common mechanism.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention, retransmit parameter as adjusting foundation by channel occupancy parameter and message, enable dynamically and stop the transmission processing that channel reservation mechanism is carried out message, thereby, space environment abominable and busy in, reasonably use the channel reservation mechanism of RTS/CTS mechanism for example or CTS-To-Self mechanism to carry out message and sent, reduced the use conflict of system resource, improved the wlan network application quality.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred schematic diagram of implementing scene, the module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number does not represent the quality of implementing scene just to description.
More than disclosed only be several implementation scene of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (8)

1. a file transmitting method is characterized in that, preset channel takies threshold value and message retransmission threshold value in the packet transmission device, and described method specifically may further comprise the steps:
Described packet transmission device obtains current channel occupancy parameter according to the default cycle and message retransmits parameter;
Described packet transmission device judges whether the described channel occupancy parameter that gets access to reaches default channel occupancy threshold value;
When described channel occupancy parameter reached default channel occupancy threshold value, described packet transmission device judged that the described message that gets access to retransmits parameter and whether reaches default message retransmission threshold value;
When described message retransmitted parameter and reaches default message retransmission threshold value, described packet transmission device sent message by channel reservation mechanism;
Wherein, described channel reservation mechanism is specially:
Request sends RTS/ clear to send CTS mechanism or self-clear to send CTS-To-Self mechanism.
2. the method for claim 1 is characterized in that, preset channel takies threshold value and message retransmission threshold value in the described packet transmission device, is specially:
A default channel occupancy threshold value and a message retransmission threshold value in the described packet transmission device; Or,
Default a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in the described packet transmission device, wherein, described channel occupancy threshold value and message retransmission threshold value form a plurality of messages and send parameter group, and each message sends in the parameter group and comprises a channel occupancy threshold value and a message retransmission threshold value.
3. method as claimed in claim 2 is characterized in that, when presetting a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value in the described packet transmission device, described method is specially:
Described packet transmission device judges whether the described channel occupancy parameter that gets access to reaches a channel occupancy threshold value in the message transmission parameter group;
When described channel occupancy parameter reached message and sends channel occupancy threshold value in the parameter group, described packet transmission device judged that the described message that gets access to retransmits parameter and whether reaches the corresponding message of described channel occupancy threshold value and send message retransmission threshold value in the parameter group;
When described message retransmitted parameter and reaches the corresponding message of described channel occupancy threshold value and send message retransmission threshold value in the parameter group, described packet transmission device sent message by described channel reservation mechanism;
Wherein, the channel occupancy threshold value of presetting in the described packet transmission device and the quantity of message retransmission threshold value equate that the channel occupancy threshold value that comprises in each message transmission parameter group and the numerical value of message retransmission threshold value are different.
4. the method for claim 1 is characterized in that, creates a mechanism in the described packet transmission device to start sign, and described method also comprises:
When described channel occupancy parameter reaches default channel occupancy threshold value, and described message is when retransmitting parameter and reaching default message retransmission threshold value, and the described mechanism of described packet transmission device starts sign and is set to starting state; Or,
When described channel occupancy parameter does not reach default channel occupancy threshold value, or described channel occupancy parameter reaches default channel occupancy threshold value, but described message retransmits parameter when not reaching default message retransmission threshold value, and the described mechanism of described packet transmission device starts sign and is set to non-started state;
Described packet transmission device judges that described mechanism starts sign and whether is in starting state;
When described packet transmission device judges that described mechanism startup sign is in starting state, described packet transmission device sends message by described channel reservation mechanism, when described packet transmission device judged that described mechanism startup sign is in non-started state, described packet transmission device sent message by common mechanism.
5. a packet transmission device is characterized in that, comprising:
Module is set, is used for arranging cycle, channel occupancy threshold value and the message retransmission threshold value of obtaining channel occupancy parameter and message re-transmission parameter;
Acquisition module is connected with the described module that arranges, and is used for arranging according to described that the set cycle of module is obtained current channel occupancy parameter and message retransmits parameter;
Judge module, be connected with described acquisition module with the described module that arranges, be used for judging whether the accessed described channel occupancy parameter of described acquisition module reaches the described set channel occupancy threshold value of module that arranges, and when judging that described channel occupancy parameter reaches described channel occupancy threshold value, judge that the accessed described message of described acquisition module retransmits parameter and whether reaches the described set message retransmission threshold value of module that arranges;
Sending module is connected with described judge module, is used for sending message by described channel reservation mechanism when described judge module judges that described message re-transmission parameter reaches described message retransmission threshold value;
Wherein, described channel reservation mechanism is specially:
Request sends RTS/ clear to send CTS mechanism or self-clear to send CTS-To-Self mechanism.
6. packet transmission device as claimed in claim 5 is characterized in that,
The described set channel occupancy threshold value of module and the message retransmission threshold value of arranging is specially a channel occupancy threshold value and a message retransmission threshold value, or a plurality of channel occupancy threshold value and a plurality of message retransmission threshold value;
Wherein, when described when module being set being provided with a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value, described a plurality of channel occupancy threshold value and a plurality of message retransmission threshold value form a plurality of messages and send parameter group, each message sends in the parameter group and comprises a channel occupancy threshold value and a message retransmission threshold value, and the channel occupancy threshold value that comprises in each message transmission parameter group and the numerical value of message retransmission threshold value are different.
7. packet transmission device as claimed in claim 6 is characterized in that, when described when module being set being provided with a plurality of channel occupancy threshold values and a plurality of message retransmission threshold value,
Described judge module judges whether the accessed channel occupancy parameter of described acquisition module reaches a channel occupancy threshold value in the message transmission parameter group, and when described judge module judges that the channel occupancy parameter reaches a message and sends channel occupancy threshold value in the parameter group, judge that further the described message that gets access to retransmits parameter and whether reaches the corresponding message of described channel occupancy threshold value and send message retransmission threshold value in the parameter group.
8. packet transmission device as claimed in claim 5 is characterized in that, also comprises the identity management module, is connected with described judge module, is used for developing and managing mechanism and starts sign:
Judge the channel occupancy parameter when described judge module and reach the described set channel occupancy threshold value of module that arranges, and described message retransmits parameter and reaches described when the set message retransmission threshold value of module is set, and the described mechanism of described identity management module starts sign and is set to starting state; Or,
Judge the channel occupancy parameter when described judge module and do not reach the described set channel occupancy threshold value of module that arranges, or described judge module judges that the channel occupancy parameter reaches the described set channel occupancy threshold value of module that arranges, but described message retransmits parameter does not reach described when the set message retransmission threshold value of module is set, and the described mechanism of described identity management module starts sign and is set to non-started state.
Wherein, when described sending module was ready for sending message, described judge module was used for also judging that described mechanism starts sign and whether is in starting state:
When described judge module judges that described mechanism startup sign is in starting state, described sending module sends message by described channel reservation mechanism, when described judge module judged that described mechanism startup sign is in non-started state, described sending module sent message by common mechanism.
CN 200910210780 2009-11-10 2009-11-10 Method and device for message transmission Active CN101695019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910210780 CN101695019B (en) 2009-11-10 2009-11-10 Method and device for message transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910210780 CN101695019B (en) 2009-11-10 2009-11-10 Method and device for message transmission

Publications (2)

Publication Number Publication Date
CN101695019A CN101695019A (en) 2010-04-14
CN101695019B true CN101695019B (en) 2013-03-20

Family

ID=42093961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910210780 Active CN101695019B (en) 2009-11-10 2009-11-10 Method and device for message transmission

Country Status (1)

Country Link
CN (1) CN101695019B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158985B (en) * 2011-05-16 2013-09-18 福建星网锐捷网络有限公司 Method, device and equipment for coordinating data transmission in hybrid wireless local area network (WLAN)
CN102523608B (en) * 2011-12-26 2014-06-04 福建星网锐捷网络有限公司 Message sending method and device
CN102571303A (en) * 2012-02-10 2012-07-11 北京傲天动联技术有限公司 Dynamic determination device and method for request to send (RTS)-clear to send (CTS) handshaking mechanism
CN103916972B (en) * 2013-01-04 2017-06-20 中国移动通信集团公司 A kind of method and apparatus of startup RTS/CTS mechanism
US9277567B2 (en) * 2013-08-29 2016-03-01 Qualcomm Incorporated Systems and methods for improved communication efficiency in high efficiency wireless networks
CN106538026B (en) * 2014-07-11 2019-12-17 Lg 电子株式会社 Method and apparatus for transmitting WI-FI signal in unlicensed spectrum in wireless communication system
CN105338646B (en) * 2014-08-01 2019-01-04 展讯通信(上海)有限公司 The starting control method and device of RTS/CTS mechanism
CN104602265B (en) * 2015-01-09 2018-04-20 新华三技术有限公司 Measured message sending method and device in a kind of RTT measurement and positionings system
US10397796B2 (en) * 2015-07-08 2019-08-27 Qualcomm Incorporated Over-the-air signaling for an increased reuse factor in a shared radio frequency spectrum band
CN107046730B (en) * 2016-02-05 2021-01-22 中兴通讯股份有限公司 Data transmission method and device
US11259210B2 (en) 2020-01-13 2022-02-22 Mediatek Inc. Methods for data traffic switching and network selection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507704A (en) * 2001-04-09 2004-06-23 ����ɭ�绰�ɷ����޹�˾ Instantaneeous joint transmit power control and link adaptation for RTS/CTS based channel access
CN1937615A (en) * 2005-09-20 2007-03-28 株式会社Ntt都科摩 Media accessing control method and apparatus in wireless distribution type network
CN101044778A (en) * 2004-09-01 2007-09-26 英特尔公司 Performance optimization of a wireless network at different protocol layers by adjusting communication parameters simultaneously
CN101150442A (en) * 2007-10-25 2008-03-26 杭州华三通信技术有限公司 A STA management method and device in BSS network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507704A (en) * 2001-04-09 2004-06-23 ����ɭ�绰�ɷ����޹�˾ Instantaneeous joint transmit power control and link adaptation for RTS/CTS based channel access
CN101044778A (en) * 2004-09-01 2007-09-26 英特尔公司 Performance optimization of a wireless network at different protocol layers by adjusting communication parameters simultaneously
CN1937615A (en) * 2005-09-20 2007-03-28 株式会社Ntt都科摩 Media accessing control method and apparatus in wireless distribution type network
CN101150442A (en) * 2007-10-25 2008-03-26 杭州华三通信技术有限公司 A STA management method and device in BSS network

Also Published As

Publication number Publication date
CN101695019A (en) 2010-04-14

Similar Documents

Publication Publication Date Title
CN101695019B (en) Method and device for message transmission
US7974256B2 (en) Radio communication system, radio communication apparatus and method
US20120236716A1 (en) Profile-based quality of service for wireless communication systems
JP5060618B2 (en) Wireless communication apparatus and wireless communication control method
JP2007019715A (en) Wireless lan system and communication method thereof
EP1189388A2 (en) Devices, softwares, and methods for wireless devices to form a network on the fly by performing admission control in the second layer
KR100813884B1 (en) Method of accessing media based on probability supporting priority and computer-readable medium having thereon program performing function embodying the same
WO2014094310A1 (en) Resource scheduling method and device
JP6275865B2 (en) Multi-channel access method and apparatus
TWI451720B (en) Techniques for improving the spatial reuse of wireless networks
JP5125446B2 (en) Resource reservation apparatus, system, and method
CN105491677A (en) Carrier sense multiple access with collision avoidance (CSMA-CA) method based on network coding
IL273244B1 (en) Resource allocation method, network device, and communications device
CN112188637B (en) Wireless communication method, user equipment and network equipment
US20130115992A1 (en) Method and apparatus for controlling wireless devices
CN103916972A (en) RTS/CTS starting method and device
US8509197B2 (en) Media access control method of determining data transmission order in wireless network
KR100526184B1 (en) Method of multimedia data transmssion in wireless network
CN111278163B (en) Channel access method for solving problem of hidden terminal of short-distance wireless Internet of things
EP2327267B1 (en) Prioritizing access probes using predetermined transmission delays
CN111669830B (en) WLAN communication method and device
KR20040028055A (en) Apparatus and method for transmitting real-time/non-real-time packet in wireless LAN
CN113691630B (en) DNS request processing method, device, system, electronic equipment and storage medium
CN107708158A (en) Data processing method and device
CN113498040B (en) Method and device for stopping sending scheduling request

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.