CN107371216A - A kind of token subnet website cut-in method and device - Google Patents
A kind of token subnet website cut-in method and device Download PDFInfo
- Publication number
- CN107371216A CN107371216A CN201710822745.XA CN201710822745A CN107371216A CN 107371216 A CN107371216 A CN 107371216A CN 201710822745 A CN201710822745 A CN 201710822745A CN 107371216 A CN107371216 A CN 107371216A
- Authority
- CN
- China
- Prior art keywords
- token
- subnet
- state
- website
- access
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Abstract
The invention discloses a kind of token subnet website cut-in method and device, this method to include:The channel status for the token subnet to be accessed is intercepted, and judges whether the state is the state for allowing other websites to access;If so, sending access request to token subnet, and determine whether to receive the token of token subnet, if receiving the token of token subnet, it is determined that the success of access token subnet, if being not received by the token of token subnet, it is determined that access token subnet fails;If it is not, the step of then returning to the state for performing the channel for intercepting the token subnet to be accessed.Website to be accessed intercepts the channel status for the token subnet to be accessed in the present invention, and in the channel status for listening to token subnet for when allowing the website access token subnet, accessed by sending access request active request to token subnet, the invitation of token subnet need not be waited, also it just have sent in the absence of token subnet and invite frame but now without the situation of website to be accessed, saved bandwidth.
Description
Technical field
The present invention relates to wireless communication technology field, more specifically to a kind of token subnet website cut-in method, goes back
It is related to a kind of token subnet website access device.
Background technology
Wireless token ring protocol WTRP applies to the distributed MAC layer protocol of Ad Hoc networks, and the agreement uses token
The control mode of ring, the website in ring can send data after obtaining token, be in reception state when not obtaining token, effectively
Ground avoids transmission collision, and solves the problems, such as concealed terminal and exposed terminal.But because WTRP agreements need to build in advance
The logical loops of vertical alternative space, can not adapt to the polytropy of the network topology structure of wireless mobile website.Wireless dynamic token
Agreement WDTP is by introducing the dynamic pass-algorithm of token so that token can be according to current network topology in transmittance process
The bang path of structure choice token, it is not necessary to establish the logical loops of transmission in advance, be well adapted for network topology structure
Polytropy.
But in the prior art, website to be accessed needs to meet following condition simultaneously before access:The token subnet has
Website number is counted less than maximum allowable access station, and each website holds the summation of token time less than the maximum order allowed
Board circulation time, the token subnet just send to website to be accessed and invite frame, wait website to be accessed to access.When website to be accessed
Receive after inviting frame, the token subnet is just successfully accessed by selecting multiple slot contentions delimited in advance, after competing successfully.
The cut-in method is to invite website to be accessed to access the token subnet by token subnet when meeting above-mentioned condition, but order be present
But plate net, which have sent, invites does not have the situation that website to be accessed needs to access now, wastes bandwidth.
In summary, how a kind of token subnet website cut-in method that can save bandwidth is provided, is current this area skill
Art personnel's urgent problem to be solved.
The content of the invention
It is an object of the invention to provide a kind of token subnet website cut-in method and device, can reach the mesh for saving bandwidth
's.
To achieve these goals, the present invention provides following technical scheme:
A kind of token subnet website cut-in method, including:
The state of the channel for the token subnet to be accessed is intercepted, and judges whether the state is to allow other websites to access
State;
If so, sending access request to the token subnet, and determine whether to receive the token of the token subnet, such as
Fruit receives the token of the token subnet, it is determined that the token subnet success is accessed, if being not received by the token
The token of subnet, it is determined that access the token subnet failure;
If it is not, the step of then returning to the state for the channel for intercepting the token subnet to be accessed described in execution.
Preferably, before the state of the channel for intercepting the token subnet to be accessed, in addition to:
It is 0 to set the currently active intercepted result number;
The state of the channel for the token subnet to be accessed is intercepted, and judges whether the state is to allow other websites to access
State, including:
The state of the channel for the token subnet to be accessed is intercepted, if the letter pre-set is listened in the token subnet
Road free time length, then the currently active intercepted result number is added 1, and it is advance to judge whether the currently active intercepted result number is equal to
The value of setting, if not, it is determined that the state to allow the state that other websites access, if, it is determined that the state is
The state for allowing other websites to access.
Preferably, the token for determining whether to receive the token subnet, including:
By timing sending out the access request as initial time, if when duration obtained by timing is no more than presetting
Token is received when long, it is determined that receive the token of the token subnet, otherwise, it is determined that be not received by the token subnet
Token.
Preferably, it is determined that after accessing the token subnet failure, in addition to:
The currently active intercepted result number is reset;
The step of returning to the state for the channel for intercepting the token subnet to be accessed described in performing.
Preferably, it is determined that after accessing the token subnet failure, in addition to:
The message of access failure is sent to the website for not accessing any token subnet.
A kind of token subnet website access device, including:
Unit is intercepted, is used for:The state of the channel for the token subnet to be accessed is intercepted, and judges whether the state is fair
Perhaps the state of other websites access;
Transmitting element, it is used for:If the state of the channel for intercepting the token subnet that unit judges listen to is fair
Perhaps the state of other websites access, then send access request to the token subnet;If described intercept what unit judges listened to
The state of the token subnet is not the state of permission other websites access, it indicates that intercepts to intercept being intended to access described in unit execution
Token subnet channel state;
Receiving unit, it is used for:After the transmitting element sends access request to the token subnet, it is determined whether receive
The token of the token subnet, if receiving the token of the token subnet, it is determined that access the token subnet success, such as
Fruit is not received by the token of the token subnet, it is determined that accesses the token subnet failure.
Preferably, described device also includes:
Setting unit, it is used for:Before the state for the channel that unit intercepts the token subnet to be accessed is intercepted, set current
Effective intercepted result number is 0;
It is described to intercept unit, including:
Subelement is intercepted, is used for:
The state of the channel for the token subnet to be accessed is intercepted, if the letter pre-set is listened in the token subnet
Road free time length, then the currently active intercepted result number is added 1, and it is advance to judge whether the currently active intercepted result number is equal to
The value of setting, if not, it is determined that the state to allow the state that other websites access, if, it is determined that the state is
The state for allowing other websites to access.
Preferably, the receiving unit includes:
Receiving subelement, it is used for:It is initial time to send out the access request by transmitting element, if obtained by timing
Duration receives token when being not more than preset duration, it is determined that receives the token of the token subnet, otherwise, it is determined that do not connect
Receive the token of the token subnet.
Preferably, described device also includes:
Unit is reset, is used for:After receiving unit determines to access the token subnet failure, by the currently active intercepted result
The step of number is reset, and the state for the channel for intercepting the token subnet to be accessed described in unit execution is intercepted in instruction.
Preferably, described device also includes:
Tip element, it is used for:It is sub to any token is not accessed after receiving unit determines to access the token subnet failure
The website of net sends the message of access failure.
The invention provides a kind of token subnet website cut-in method and device, wherein this method includes:Intercept and be intended to access
Token subnet channel state, and judge the state whether be allow other websites access state;If so, to described
Token subnet sends access request, and determines whether to receive the token of the token subnet, if receiving token
The token of net, it is determined that the token subnet success is accessed, if being not received by the token of the token subnet, it is determined that connect
Enter the token subnet failure;If it is not, the step of then returning to the state for the channel for intercepting the token subnet to be accessed described in execution.
Website to be accessed intercepts the state of the channel for the token subnet to be accessed in the present invention, and is listening to the channel shape of token subnet
State is when allowing the website to access the state of the token subnet, is accessed by sending access request active request to token subnet,
The invitation of token subnet need not be waited, token subnet is also just not present and have sent invitation frame but now without website to be accessed
Situation, bandwidth is saved.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of token subnet website cut-in method provided in an embodiment of the present invention;
Fig. 2 is website G to be accessed and token in a kind of token subnet website cut-in method provided in an embodiment of the present invention
Net H schematic diagram;
Fig. 3 is a kind of structural representation of token subnet website access device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, it illustrates a kind of flow chart of token subnet website cut-in method provided in an embodiment of the present invention,
It can include:
S11:The state of the channel for the token subnet to be accessed is intercepted, and judges whether state is to allow other websites to access
State, if then performing step S12, if otherwise performing step S13.
Multiple token subnets can be included in one Token Ring, the access problem in the present invention on website refers to be accessed
Website be linked into some token subnet in the Token Ring of website selection, a kind of token provided in an embodiment of the present invention
The execution subject of web site cut-in method can be corresponding token subnet website access device, and the device can be integrated in and treat
In the website of access, therefore a kind of execution subject of token subnet website cut-in method of the embodiment of the present application offer can be to treat
The website of access, accessed using performing subject as a kind of token subnet website that website to be accessed is provided the application in the application
Method illustrates.If website M is intended to access token subnet N, then website M is token subnet N website to be accessed.Now stand
Point M intercepts the state for the channel that token subnet N is used, and the state can be channel idle or channel busy, channel idle table
Bright now channel resource does not have occupied, and channel busy shows that now channel resource is occupied.Specific in actual conditions, channel
It is busy, show there is website to send data in now token subnet N, occupy channel resource, now website M is to add
Enter into token subnet;Caused by channel idle is then likely to be the frame period for the website for sending data, because website
Send data to send one by one, there is time interval between two frame data, this, which is spaced on channel, shows as channel sky
In the spare time, certainly it could also be possible that in order to reach the interval of time that certain purpose is specially reserved, channel is in the time interval
Idle.Website M listen for after channel status, it is necessary to judged, only when channel status to can be used for accessing other stations
During point, website M is possible to access the token subnet.Wherein, website M can be real-time sense to intercepting for channel, can also
It is to intercept once at regular intervals, but because the time of channel idle is ofer short duration, if using detecing at regular intervals
Listen intercepting method once, then carved at the beginning of idle time of channel may be missed, website M with just listen to free time when
To carve and calculate idle time of channel, the calculating to idle time of channel is not accurate enough, therefore preferably with real-time sense.
S12:Access request is sent to token subnet, and determines whether to receive the token of token subnet, if received
The token of token subnet, it is determined that the success of access token subnet, if being not received by the token of token subnet, it is determined that access
Token subnet fails.
After determining that now channel can be used for website M access token subnet N, website M sends access to token subnet N please
Ask, website M address can be included in access request, inform that token subnet N wants access now with website to be accessed.Specific
In realization, access request can show as a data frame, and referred to as request adds frame.After website M have sent access request, wait
Token from token subnet N, if obtaining the token, show to be successfully joined token subnet N, if there is no,
Illustrate to add failure.
S13:Return and perform step S11.
After website M determines that now channel is not useable for website M access token subnet N, it should continue to intercept token subnet N
Channel status information, untill listening to channel and accessing the token subnet available for website M.
In the embodiment of the present invention, website to be accessed intercepts the state of the channel for the token subnet to be accessed, and is listening to
The channel status of token subnet is when allowing the state of the website access token subnet, by sending access request to token subnet
Active request accesses, it is not necessary to waits the invitation of token subnet, also just have sent in the absence of token subnet and invite frame but do not have now
Need the situation of access website, save bandwidth.
A kind of token subnet website cut-in method provided in an embodiment of the present invention, intercept the channel for the token subnet to be accessed
State before, can also include:
It is 0 to set the currently active intercepted result number;
The state of the channel for the token subnet to be accessed is intercepted, and judges whether state is the shape for allowing other websites to access
State, it can include:
The state of the channel for the token subnet to be accessed is intercepted, if it is empty that the channel pre-set is listened in token subnet
Idle is grown, then the currently active intercepted result number is added into 1, and judges whether the currently active intercepted result number is equal to and preset
Value, if not, it is determined that state for allow other websites access state, if, it is determined that state for allow other websites
The state of access.
Website in token subnet realizes the transfer for the power for sending data by transmitting token, that is, obtains the station of token
Point can just send data.In multiple websites in a token subnet, it is home site to have one, and the home site is to set in advance
Set, its difference with other websites in the token for being used to transmit in token subnet is produced by the home site
, after home site produces new token, token is handed on, when token is communicated back to home site, the home site is just again
One new token of generation is used for transmission next time, and for the ease of expression, and home site can be transmitted to a token to being somebody's turn to do
This section of flow is referred to as a cycle when token transfers back to home site.The present embodiment is in the channel that token subnet N is used, each
One section of channel idle duration is preset in cycle, in the duration, channel is idle, and any website in token subnet is all
Data are not sent, therefore website M can send access request in the duration to token subnet N.Number is being sent in view of website
According to when the frame period time be present and the frame period time insufficient for website M complete access request transmission, so in order to protect
The idle time of channel that card website M is listened to is reserved duration, rather than the frame period time, can be the reserved channel
Free time length is set as:+ 2 times of time slots of frame period time.Because in a practical situation, in addition to reserved channel idle duration,
Channel is typically not in the situation that free time length is more than the frame period time, so being when website M detects idle time of channel
During+1 times of time slot of frame period time, then it may determine that and now detected reserved duration, as once effective intercepted result, remain
1 times of remaining time slot is used for sending access request.
Website due to being intended to add same token subnet may have multiple, multiple websites be present while send access request
Situation, but the access request sent simultaneously can collide, and access request may be caused to damage, and cause the plurality of access please
Asking can not be normally received by token subnet, finally all access failures.So in order to avoid the above situation, website M is intercepting letter
Before road, a random value can be chosen, it is assumed that the random value is 3, then when website M will detect 3 reserved free time,
Send access request because choose be random value, then two enter website and meanwhile choose arrive same value probability will be very
It is small, significantly reduce due to access request collision and caused by access failure probability.
In addition, it is worth noting that, in the prior art, in a cycle, invite new site to access the spent time
Expense is:The stand-by period after inviting website number in frame required time+token subnet × transmission broadcast is sent, and sends broadcast
Stand-by period afterwards is:Number of time slots × time slot, so the time overhead of prior art is:Send and invite frame required time+order
Website number × number of time slots × time slot in plate net, wherein, time slot of the prior art is that multiple websites to be accessed receive
It is used to compete the time for adding token subnet after inviting frame, each time slot can only allow a competition, and successfully website to be accessed connects
Enter, number of time slots is determined according to actual conditions, and each slot length is the same, therefore time slot is more, and token subnet is sent
Invite the time waited after frame longer.And the time overhead of the present invention is:+ 2 times of time slots of frame period time, frame is invited due to sending
Required time interval is more than the frame period time, thus except in token subnet website number and number of time slots be 1 it is this
Rare occasion, it is that the time overhead of the present invention is less than prior art in the case of thumping majority.
A kind of token subnet website cut-in method provided in an embodiment of the present invention, it is determined whether receive the order of token subnet
Board, it can include:
By timing sending out access request as initial time, if when duration obtained by timing is not more than preset duration
Receive token, it is determined that receive the token of token subnet, otherwise, it is determined that be not received by the token of token subnet.
In the specific implementation, token is also a data frame, token frame is can be described as, the token is contained in token to be reached
Website address, further comprises the website number in the now token subnet belonging to the token.Website M is intercepting the shape of channel
During state, the token from token subnet N may be received, but because now website M is not linked into token subnet N
In, so the website that website M after successfully token is parsed, be able to should reach according to the token included in the token received
Address judges that the token is not intended to be sent to oneself in fact, but website M can also be got after successfully token is parsed
The number of website in the token subnet N included in token, and successfully parsing token to abandon this not after obtaining above- mentioned information
One's own token.Therefore, such case of token is just obtained in the state procedure for intercept channel for website M, works as station
, it is necessary to wait for a period of time after point M transmission access requests, the time could be arranged to:The number of website in token subnet N × every
The maximum token that individual website allows holds the time.And do not receive token in the state procedure for intercept channel for website M
Situation, website M can not know the number of website in now token subnet N, be only capable of uniting during the state of channel is intercepted
Its neighbor site sum is counted, therefore, it is necessary to wait one of time after website M sends access request, waiting time can
To be arranged to:The maximum token that neighbor station points × each website allows holds the time, can also be arranged to other stand-by period,
Such as:The maximum token that 2 × neighbor station points × each website allows holds time etc..The maximum order that wherein each website allows
Board, which holds the time, to be set according to actual conditions, after the website in plate net obtains token in season, can send data, still
If the time for holding token reaches maximum token when holding the time, can only also stop sending even if also having data to send, etc.
Just continue to send when token is obtained next time.In addition, website M can intercept the token when state of channel is intercepted
Website M neighbor site in subnet, website M neighbor site are the website that can be communicated with each other with website M, so only
Website M neighbor site can just receive the access request of website M transmissions.Assuming that neighbor stations of the website M in token subnet N
Point has 3, then the maximum token that the time of wait could be arranged to 3 × each website permission holds the time, when website M is sent
Just started waiting for after access request, the token that website M transmissions can be received due to this 3 neighbor site adds frame, then
This 3 website cans transmit token to website M, but have crossed after maximum holds the time, and this 3 websites will no longer hold order
Board, also just without normal direction website M transmit token, if so this 3 website maximum tokens hold the time all pass by after do not connect yet
Receive token, then it is assumed that access failure.This method is by there is provided a rational waiting time, avoiding website M and waiting
Long or terminate to wait too early, improve website M access efficiency to a certain extent.
A kind of token subnet website cut-in method provided in an embodiment of the present invention, after determining the failure of access token subnet, also
It can include:
The currently active intercepted result number is reset;
The step of returning to the state for performing the channel for intercepting the token subnet to be accessed.
After website M has found that token subnet N sends access request, the access request is possible to lose during transmission
Or damage, then the website in token subnet N all can not effectively receive the access request, therefore website M can not be predetermined
The token from token subnet N is received in time, that is to say, that this access failure.After this access failure, Ke Yizai
The secondary state by intercepting channel, the just application access again when the state of channel is allows other websites to access.Due to this
Effective intercepted result number during access failure has equalized to value set in advance, if do not reset the number now, then
Hereafter 1 will be added by often listening to the channel idle duration number once pre-set, so the currently active number of intercepting can be big
In value set in advance, also it can not just add, so needing to reset effective intercepted result number after this access failure.
During actually realizing, when more access token subnet N failures of website M, website M, which can contemplate, seeks other token
The process for netting O, access token subnet O and access token subnet N is the same, be will not be repeated here.
A kind of token subnet website cut-in method provided in an embodiment of the present invention, after determining the failure of access token subnet, also
It can include:
The message of access failure is sent to the website for not accessing any token subnet.
Due to that access request is lost or damage causes this access failure of website M be present, then when website M is accessed
The situation of this access failure can be informed other websites by sending the message of access failure to other websites after failure,
It can so know that now token subnet N is not easy to access after remaining stations aware message, then can seeks other order
Plate net accesses, and has saved the time.
Come below so that certain website in certain concrete application scene accesses the flow of certain token subnet as an example to disclosed by the invention
Above-mentioned technical characteristic is illustrated:
Such as Fig. 2, website G to be accessed and token subnet H schematic diagram are shown.Website G be intended to access by website A, B, C, D,
E, in the token subnet H that F is formed, wherein website A, B, C, D, E, F is website G neighbor site, after website G starts shooting, choosing
A random value is taken, the random value chosen is 4, then begins listening for the state of token subnet H channel.Wherein, website A is
Home site, it is a cycle that token, which spreads out of from A and transfers back to A again, and a channel sky is provided with each such cycle
Not busy duration, this when a length of+2 times of time slots of frame period, be then recorded as 1 effective intercepted result whenever website G listens to the duration,
When effective intercepted result is 4 times, website G sends access request to token subnet H, website A, B, C in token subnet,
D, E, F can receive the access request of website G transmissions, in the case where the access request is smoothly received, website A, B,
C, D, E, F know that now website G is intended to the token subnet H accessed where oneself, so website A, B, C, D, E, F are by website G
Address be added in the alternative space queue of oneself, and place it in the stem of the queue, order received the 1st time as website G
During board and without the transmission of data, but directly token is handed on, the website for receiving the token that website G is transmitted then will
Website G is moved to afterbody from the stem of oneself queue, and now website G is successfully aligned in the troop of transmission, when token is passed back to
To after home site A, website A can produce a new token, and when new alternative space is to website G, website G just starts to send number
According to.
Wherein, alternative space queue is that the website in a token subnet is respectively provided with, the alternative space queue of certain website
Head of the queue be the next transmission of the website object.
Above is the website in token subnet H is website G neighbor site, below with only part website in token subnet
Neighbor site for website G makees respective description.Fig. 2 is still can refer to, website G is intended to access the order being made up of website A, B, C, D, E, F
In plate net H, wherein website B, C is website G neighbor site, after website G starts shooting, chooses a random value, chooses
Random value is 3, then begins listening for the state of token subnet H channel.Wherein, website A is home site, and token is spread out of from A
It is a cycle to transfer back to A again, and the duration of a channel idle is provided with each such cycle, this when a length of interframe
Every+2 times of time slots, 1 effective intercepted result is then recorded as whenever website G listens to the duration, when effective intercepted result is 3 times
When, website G sends access request to token subnet H, and the access that website B, C in token subnet receive website G transmissions please
Ask, in the case where the access request is smoothly received, website B, C know that now website G is intended to token accessed where oneself
H is netted, so website G address is added in the alternative space queue of oneself by website B, C, and places it in the head of the queue
Portion, when website G receives token the 1st time and without the transmission of data, but directly token is handed on, reception is arrived at a station
Website G is then moved to afterbody by the website for the token that point G is transmitted from the stem of oneself queue, and now website G is successfully aligned to biography
In the troop passed, after token is communicated back to home site A, website A can produce a new token, when new alternative space to website
During G, website G just starts to send data.
The embodiment of the present invention additionally provides a kind of token subnet website access device, as shown in figure 3, can include:
Unit 11 is intercepted, is used for:The state of the channel for the token subnet to be accessed is intercepted, and judges whether state is permission
The state of other websites access;
Transmitting element 12, is used for:If the state for intercepting the channel for the token subnet that unit judges listen to is to allow other
The state of website access, then send access request to token subnet;If intercept the state for the token subnet that unit judges listen to
It is not the state of permission other websites access, it indicates that intercept the shape that unit performs the channel for intercepting the token subnet to be accessed
State;
Receiving unit 13, is used for:After transmitting element sends access request to token subnet, it is determined whether receive token
The token of net, if receiving the token of token subnet, it is determined that the success of access token subnet, if being not received by token
The token of net, it is determined that access token subnet fails.
A kind of subnet website access device provided in an embodiment of the present invention, can also include:
Setting unit, it is used for:Before the state for the channel that unit intercepts the token subnet to be accessed is intercepted, set current
Effective intercepted result number is 0;
Unit is intercepted, can be included:
Subelement is intercepted, is used for:The state of the channel for the token subnet to be accessed is intercepted, if listened in token subnet
The channel idle duration pre-set, then the currently active intercepted result number is added 1, and judge the currently active intercepted result number
Whether value set in advance is equal to, if not, it is determined that state is not the state of permission other websites access, if, it is determined that shape
State is the state for allowing other websites to access.
A kind of subnet website access device provided in an embodiment of the present invention, receiving unit can include:
Receiving subelement, it is used for:It is initial time to send out access request by transmitting element, if in duration obtained by timing
Token is received during no more than preset duration, it is determined that receives the token of token subnet, otherwise, it is determined that be not received by token
The token of subnet.
A kind of subnet website access device provided in an embodiment of the present invention, device can also include:
Unit is reset, is used for:After receiving unit determines the failure of access token subnet, by the currently active intercepted result number
Reset, and indicate to intercept the step of unit performs the state for the channel for intercepting the token subnet to be accessed.
A kind of subnet website access device provided in an embodiment of the present invention, device can also include:
Tip element, it is used for:After receiving unit determines the failure of access token subnet, to not accessing any token subnet
Website sends the message of access failure.
The explanation of relevant portion refers to of the invention real in a kind of subnet website access device provided in an embodiment of the present invention
The detailed description of corresponding part in a kind of subnet website cut-in method of example offer is provided, will not be repeated here.In addition, the present invention is public
The part consistent with corresponding to technical scheme realization principle in the prior art and unspecified in the above-mentioned technical proposal opened, in order to avoid
Excessively repeat.
The foregoing description of the disclosed embodiments, those skilled in the art are enable to realize or using the present invention.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
The embodiments shown herein is formed on, and is to fit to consistent with principles disclosed herein and features of novelty most wide
Scope.
Claims (10)
- A kind of 1. token subnet website cut-in method, it is characterised in that including:The state of the channel for the token subnet to be accessed is intercepted, and judges whether the state is the shape for allowing other websites to access State;If so, sending access request to the token subnet, and determine whether to receive the token of the token subnet, if connect Receive the token of the token subnet, it is determined that the token subnet success is accessed, if being not received by the token subnet Token, it is determined that access token subnet failure;If it is not, the step of then returning to the state for the channel for intercepting the token subnet to be accessed described in execution.
- 2. according to the method for claim 1, it is characterised in that the state of the channel for intercepting the token subnet to be accessed Before, in addition to:It is 0 to set the currently active intercepted result number;The state of the channel for the token subnet to be accessed is intercepted, and judges whether the state is the shape for allowing other websites to access State, including:The state of the channel for the token subnet to be accessed is intercepted, if it is empty that the channel pre-set is listened in the token subnet Idle is grown, then the currently active intercepted result number is added into 1, and judges whether the currently active intercepted result number is equal to and preset Value, if not, it is determined that the state for allow other websites access state, if, it is determined that the state for allow The state of other websites access.
- 3. according to the method for claim 2, it is characterised in that the order for determining whether to receive the token subnet Board, including:By timing sending out the access request as initial time, if when duration obtained by timing is not more than preset duration Receive token, it is determined that receive the token of the token subnet, otherwise, it is determined that be not received by the order of the token subnet Board.
- 4. according to the method for claim 3, it is characterised in that it is determined that after accessing the token subnet failure, in addition to:The currently active intercepted result number is reset;The step of returning to the state for the channel for intercepting the token subnet to be accessed described in performing.
- 5. according to the method described in claim any one of 1-4, it is characterised in that it is determined that after accessing the token subnet failure, Also include:The message of access failure is sent to the website for not accessing any token subnet.
- A kind of 6. token subnet website access device, it is characterised in that including:Unit is intercepted, is used for:The state of the channel for the token subnet to be accessed is intercepted, and judges whether the state is to allow it The state of his website access;Transmitting element, it is used for:If the state of the channel for intercepting the token subnet that unit judges listen to is to allow it The state of his website access, then send access request to the token subnet;If it is described intercept unit judges listen to it is described The state of token subnet is not the state of permission other websites access, it indicates that intercepts and intercepts the order to be accessed described in unit execution The state of the channel of plate net;Receiving unit, it is used for:After the transmitting element sends access request to the token subnet, it is determined whether receive described The token of token subnet, if receiving the token of the token subnet, it is determined that the token subnet success is accessed, if do not had There is the token for receiving the token subnet, it is determined that access the token subnet failure.
- 7. device according to claim 6, it is characterised in that described device also includes:Setting unit, it is used for:Before the state for the channel that unit intercepts the token subnet to be accessed is intercepted, set the currently active Intercepted result number is 0;It is described to intercept unit, including:Subelement is intercepted, is used for:The state of the channel for the token subnet to be accessed is intercepted, if listened in the token subnet The channel idle duration pre-set, then the currently active intercepted result number is added 1, and judge the currently active intercepted result number Whether value set in advance is equal to, if not, it is determined that the state is not to allow the state that other websites access, if so, then true The fixed state is the state for allowing other websites to access.
- 8. device according to claim 7, it is characterised in that the receiving unit includes:Receiving subelement, it is used for:It is initial time to send out the access request by transmitting element, if in duration obtained by timing Token is received during no more than preset duration, it is determined that receives the token of the token subnet, otherwise, it is determined that be not received by The token of the token subnet.
- 9. device according to claim 8, it is characterised in that described device also includes:Unit is reset, is used for:After receiving unit determines to access the token subnet failure, by the currently active intercepted result number The step of resetting, and indicating to intercept the state for the channel for intercepting the token subnet to be accessed described in unit execution.
- 10. according to the device described in claim any one of 6-9, it is characterised in that described device also includes:Tip element, it is used for:After receiving unit determines to access token subnet failure, to not accessing any token subnet Website sends the message of access failure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710822745.XA CN107371216B (en) | 2017-09-13 | 2017-09-13 | Token subnet site access method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710822745.XA CN107371216B (en) | 2017-09-13 | 2017-09-13 | Token subnet site access method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107371216A true CN107371216A (en) | 2017-11-21 |
CN107371216B CN107371216B (en) | 2020-03-27 |
Family
ID=60303091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710822745.XA Active CN107371216B (en) | 2017-09-13 | 2017-09-13 | Token subnet site access method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107371216B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068367A (en) * | 2018-09-29 | 2018-12-21 | 湖南基石通信技术有限公司 | A kind of wireless token transmission method, device, equipment and readable storage medium storing program for executing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5418785A (en) * | 1992-06-04 | 1995-05-23 | Gte Laboratories Incorporated | Multiple-channel token ring network with single optical fiber utilizing subcarrier multiplexing with a dedicated control channel |
CN101827079A (en) * | 2010-01-27 | 2010-09-08 | 南京大学 | Blocking and attacking-resistant terminal connection building method and terminal access authenticating system |
CN102624620A (en) * | 2012-03-12 | 2012-08-01 | 四川银海天怡信息技术有限公司 | Token-frame-based transmission method and system for Ethernet |
CN103533661A (en) * | 2013-10-23 | 2014-01-22 | 中国舰船研究设计中心 | Wireless channel access control method based on virtual token |
-
2017
- 2017-09-13 CN CN201710822745.XA patent/CN107371216B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5418785A (en) * | 1992-06-04 | 1995-05-23 | Gte Laboratories Incorporated | Multiple-channel token ring network with single optical fiber utilizing subcarrier multiplexing with a dedicated control channel |
CN101827079A (en) * | 2010-01-27 | 2010-09-08 | 南京大学 | Blocking and attacking-resistant terminal connection building method and terminal access authenticating system |
CN102624620A (en) * | 2012-03-12 | 2012-08-01 | 四川银海天怡信息技术有限公司 | Token-frame-based transmission method and system for Ethernet |
CN103533661A (en) * | 2013-10-23 | 2014-01-22 | 中国舰船研究设计中心 | Wireless channel access control method based on virtual token |
Non-Patent Citations (1)
Title |
---|
何敏: "移动Ad_hoc网络轮询接入控制协议", 《电子与信息学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068367A (en) * | 2018-09-29 | 2018-12-21 | 湖南基石通信技术有限公司 | A kind of wireless token transmission method, device, equipment and readable storage medium storing program for executing |
CN109068367B (en) * | 2018-09-29 | 2021-11-19 | 湖南基石通信技术有限公司 | Wireless token passing method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107371216B (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112040558B (en) | Uplink data transmission method and device in random access process | |
CN101272336B (en) | Method and apparatus for handling random access procedure in a wireless communications system | |
CN101980575B (en) | Method and terminal for processing random access | |
RU2421911C2 (en) | Method and procedures of non-synchronised connection, synchronised connection and connection synchronisation in stand-by mode and in e-utra systems | |
CN107645761B (en) | A kind of system information transmission method, user terminal, network side equipment and system | |
JP6361737B2 (en) | Wireless network access method | |
CN101507148B (en) | Method for performing random access procedure in wireless communication system | |
CN103650376B (en) | A kind of method of the group channel access based on representative | |
US20120076085A1 (en) | Group paging method and wireless communication device and base station and paging controller using the same | |
CN105264983B (en) | A kind of accidental access method and relevant apparatus | |
RU2001109351A (en) | ARBITRAL ACCESS IN MOBILE COMMUNICATION SYSTEM | |
CN104508996B (en) | Connect method for building up, apparatus and system | |
KR20070047124A (en) | Method for transmitting and receiving wireless resource information | |
CN102573097B (en) | Method for random access and terminal | |
CN101742724A (en) | Methods utilized in mobile devices and base stations, and the mobile devices and base stations thereof | |
CN109089225A (en) | A kind of system information transmission method, terminal and the network equipment | |
CN102056322A (en) | Access processing method and user equipment | |
CN110268795A (en) | Random accessing message transmission method, device and storage medium | |
CN109863816A (en) | Accidental access method, device and storage medium | |
CN103313422B (en) | A kind of accidental access method, system and evolution base station | |
CN102548012A (en) | Random access method and terminal | |
CN105264931A (en) | Data transmission method, user equipment, base station, and system | |
CN103248436A (en) | Method for avoiding hidden terminal and exposed terminal of underwater acoustic communication network | |
CN107222827A (en) | Stochastic accessing collocation method and device, at any time cut-in method, base station and UE | |
CN107026721A (en) | Method of sending and receiving, the apparatus and system of targeting sequencing |
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 |