CN103391538B - A kind of micro power radio communication network address assignment method and device - Google Patents
A kind of micro power radio communication network address assignment method and device Download PDFInfo
- Publication number
- CN103391538B CN103391538B CN201310336650.9A CN201310336650A CN103391538B CN 103391538 B CN103391538 B CN 103391538B CN 201310336650 A CN201310336650 A CN 201310336650A CN 103391538 B CN103391538 B CN 103391538B
- Authority
- CN
- China
- Prior art keywords
- trunking
- network address
- address
- relaying
- rank
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a kind of micro power radio communication network address assignment method and device, wherein micro power radio communication network address assignment method is redistributed the network address by being respectively each trunking corresponding to each relaying rank, and the size of the network address is less than the size of each trunking normal address, make the network address of the trunking that packet contains same number, the size of the forward-path of its formation is less than the size of the forward-path of normal address formation, therefore the complete time shorten used of transfer of data, thereby improve the efficiency of transmission and the real-time of communicating by letter with target device of data.
Description
Technical field
The application relates to micro power radio communication field, particularly a kind of micro power radio communication networkAddress distribution method and device.
Background technology
In micro power radio communication, data can forward by trunking, finally transfer to orderMarking device. Data are forwarded and are based on each trunking comprising in data by trunkingRelay address form forward-path.
When data transmission by trunking, can, by increasing the number of trunking, expandThe transmission network scope of large data, but the number of trunking increases, and can cause comprising in dataThe size of the forward-path that the relay address of each trunking forms increases.
By trunking, data are transmitted and are mainly used in micropower wireless local network at presentIn communication system, the relay address of each trunking in micropower wireless local network in communication systemWhat use is current specified standard address, micro power radio communication field. But, because micropower is wirelessThe number of the trunking in localized network in communication system is less, makes in micropower wireless local networkThe actual needed relay address size of each trunking in communication system is large much smaller than normal addressLittle.
According to above-mentioned, use normal address as in communication system in micropower wireless local network in eachThe continue relay address of equipment, cause the same number comprising in data the current use of trunking inThe address of continuing, what the size of its forward-path forming formed much larger than the needed relay address of reality turnsSend out the size in path, therefore the complete duration used of transfer of data increases, thereby reduces the transmission effect of dataRate and the real-time of communicating by letter with target device.
Therefore, be applied at present the trunking that passes through of communication system in micropower wireless local networkData are carried out to transmission technology, exist data transmission efficiency low poor with the real-time of communicating by letter with target deviceShortcoming.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of micro power radio communication network groundLocation distribution method and device, improved the efficiency of transmission of data and the reality of communicating by letter with target device to reachThe object of time property, technical scheme is as follows:
A kind of micro power radio communication network address assignment method, comprising:
Never in each relaying rank being selected, choose relaying rank that rank is minimum as in currentRank continues;
In judging whether described current relaying rank is greater than directly and trunking traffic promoter communicatesThe corresponding relaying rank of the equipment that continues;
If not, send the relaying of broadcasting command to each unallocated network address corresponding to current relaying rankEquipment;
If so, definite relaying rank that is less than described current relaying rank one-level is intermediate relay rank;
Send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank,Forward described broadcast life by the trunking of the address of distribution network corresponding to described intermediate relay rankOrder is to the trunking of each unallocated network address corresponding to current relaying rank;
Every the first Preset Time, judge whether that the trunking that receives the described unallocated network address returnsThe normal address of returning;
If so, the normal address of described trunking being returned is stored in the first list;
If not, and the non-judgement for the first time of current judgement, this judgement stopped;
Choose any one unallocated network address corresponding to normal address of storing in described the first listTrunking as current trunking to be allocated;
Distribute and send unique network address to described current trunking to be allocated, the described network addressSize be less than the size of described normal address;
Judge in trunking corresponding to the normal address of storing in described the first list, whether to exist pointThe trunking of distribution network address;
If so, return to carry out and choose corresponding any one in the normal address of storing in described the first list notThe trunking of distribution network address is as current this step of trunking to be allocated;
If not, return in each relaying rank that execution was never selected and choose any one RelayNot as current this step of relaying rank.
Preferably, every the first Preset Time, judge whether to receive the described unallocated network addressIn the normal address that trunking returns, the study plot that the trunking of the described unallocated network address returnsLocation forwards by the trunking of the address of distribution network corresponding to described intermediate relay rank.
Preferably, described distribution also sends unique network address to described current trunking to be allocated,Comprise:
Obtain the storage in described the first list with the normal address of described current trunking to be allocatedThe digital coding that order is consistent;
Described digital coding is converted to binary number, and using described binary number as unique network groundLocation; The byte length that described binary number is corresponding is less than byte length corresponding to described normal address;
Distribute and send described binary number to described current trunking to be allocated.
Preferably, also comprise:
Confirm that the feedback that has received the described network address disappears receiving described current trunking to be allocatedWhen breath, the described network address is stored in the second list.
Preferably, described directly and the corresponding relaying of trunking that communicates of trunking traffic promoterRank is 0 grade.
Preferably, be 6 bytes at byte length corresponding to described normal address, described networkByte length corresponding to address comprises:
2 bytes; Or, 3 bytes; Or, 4 bytes; Or, 5 bytes.
A kind of micro power radio communication network address distributor, comprising:
First chooses unit, for each relaying rank being never selected choose rank minimum inThe rank that continues is as current relaying rank;
The first judging unit, for judging whether described current relaying rank is greater than directly and trunking traffic is sent outPlay the corresponding relaying rank of trunking that person communicates, if so, carry out determining unit, ifNo, carry out the first transmitting element;
The first transmitting element, for sending broadcasting command to each unallocated net corresponding to current relaying rankThe trunking of network address;
Determining unit, the relaying rank that is less than described current relaying rank one-level for determining is intermediate relayRank;
The second transmitting element, for sending broadcasting command to distribution network corresponding to described intermediate relay rankThe trunking of network address, establishes by the relaying of the address of distribution network corresponding to described intermediate relay rankStandby described broadcasting command to the relaying of each unallocated network address corresponding to current relaying rank that forwards is establishedStandby;
The second judging unit, for every the first Preset Time, judges whether to receive described unallocated netThe normal address that the trunking of network address returns, if so, carries out the first memory cell, if not,And current judgement is non-while judging for the first time, stops this judgement;
The first memory cell, is stored to the first list for the normal address that described trunking is returnedIn;
Second chooses unit, for choose normal address that described the first list stores corresponding any oneThe trunking of the individual unallocated network address is as current trunking to be allocated;
The first processing unit, for distributing and sending unique network address to described current relaying to be allocatedEquipment, the size of unique network address that described the first processing unit distributes is less than described normal addressSize;
The 3rd judging unit, for judging that relaying corresponding to normal address that described the first list is stored establishIn standby, whether there is the trunking of the unallocated network address, if so, return to execution second and choose listUnit, if not, returns to execution first and chooses unit.
Preferably, described the first processing unit comprises:
Acquiring unit, for obtaining with the normal address of described current trunking to be allocated described firstThe consistent digital coding of storage order in list;
Converting unit, for described digital coding is converted to binary number, and makes described binary numberFor unique network address;
The second processing unit, establishes to described current relaying to be allocated for distributing and sending described binary numberStandby.
Preferably, also comprise:
The second memory cell, for receiving described in described current trunking to be allocated confirms to have receivedWhen the feedback message of the network address, the described network address is stored in the second list.
Compared with prior art, the application's beneficial effect is:
In this application, redistribute by being respectively each trunking corresponding to each relaying rankThe network address, and the size of the network address is less than the size of each trunking normal address, makesThe network address of the trunking that packet contains same number, the size of the forward-path of its formationBe less than the size of the forward-path of normal address formation, the therefore complete time used contracting of transfer of dataShort, thus the efficiency of transmission and the real-time of communicating by letter with target device of raising data.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, will describe embodiment belowIn the accompanying drawing of required use be briefly described, apparently, the accompanying drawing in the following describes is onlyBe only some embodiment of the application, for those of ordinary skill in the art, do not paying woundUnder the prerequisite of the property made work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the one of a kind of micro power radio communication network address assignment method of providing of the applicationFlow chart;
Fig. 2 is the one of a kind of micro power radio communication network address assignment method of providing of the applicationSub-process figure;
Fig. 3 is the one of a kind of micro power radio communication network address distributor of providing of the applicationStructural representation;
Fig. 4 is a kind of structural representation of a kind of the first processing unit of providing of the application.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, to the technical scheme in the embodiment of the present applicationBe clearly and completely described, obviously, described embodiment is only that the application's part is realExecute example, instead of whole embodiment. Based on the embodiment in the application, ordinary skillPersonnel are not making the every other embodiment obtaining under creative work prerequisite, all belong to thisThe scope of application protection.
The application provides micro power radio communication network address assignment method, in each being never selectedIn the rank that continues, choose relaying rank that rank is minimum as current relaying rank; Judge described current RelayWhether be not greater than the corresponding relaying rank of trunking direct and that trunking traffic promoter communicates;If not, sending broadcasting command to the relaying of each unallocated network address corresponding to current relaying rank establishesStandby; If so, definite relaying rank that is less than described current relaying rank one-level is intermediate relay rank; Send outSend the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, by instituteThe trunking of stating the address of distribution network corresponding to intermediate relay rank forwards described broadcasting command to working asThe trunking of each unallocated network address corresponding to front relaying rank; Every the first Preset Time, sentenceThe normal address that the disconnected trunking that whether receives the described unallocated network address returns; If so, by instituteStating the normal address that trunking returns is stored in the first list; If not, and current judgement for the first time non-Judgement, stops this judgement; Choose corresponding any one in the normal address of storing in described the first listThe trunking of the unallocated network address is as current trunking to be allocated; Distribute and send unique netDescribed current trunking to be allocated is given in network address, and the size of the described network address is less than described normal addressSize; Judge in trunking corresponding to the normal address of storing in described the first list and whether exist notThe trunking of distribution network address; If so, return to the standard of storing in described the first list of choosing of carrying outThe trunking of any one unallocated network address corresponding to address is as current trunking to be allocatedThis step; If not, return in each relaying rank that execution was never selected and choose any oneRelaying rank is as current this step of relaying rank. Below by enumerate that embodiment provides the application onePlanting micro power radio communication network address assignment method is elaborated.
An embodiment
Refer to Fig. 1, a kind of micro power radio communication network address that it shows the application provides is dividedA kind of flow chart of method of completing the square, can comprise the following steps:
Step S11: choose the Relay that relaying rank is minimum in each relaying rank being never selectedNot as current relaying rank.
In the present embodiment, in micropower wireless local network communication system comprise a Centroid andMultiple trunkings, wherein, trunking can be used as target device. Centroid is that trunking traffic is sent outPlay person.
Each trunking in micropower wireless local network in communication system is once being determined arbitrarilyIn trunking traffic, the relaying rank of each trunking is known definite. And, once true arbitrarilyIn fixed trunking traffic, the relaying rank of multiple trunkings can identically be that same relaying rank is passableCorresponding multiple trunkings. But the normal address of each trunking corresponding to each relaying rank is not respectivelyIdentical.
The trunking institute that can directly communicate with trunking traffic promoter in the present embodiment, is correspondingRelaying rank be minimum rank in all relaying ranks, can be directly and Centroid communicateThe corresponding relaying rank of trunking is minimum rank in all relaying ranks. Can be by direct and centerThe corresponding relaying rank of trunking that node communicates is set to 0 grade, can certainly be set toOther any one relaying ranks.
In the present embodiment, arbitrarily once in definite trunking traffic, directly and Centroid communicateThe corresponding relaying rank of trunking be 0 grade.
Taking the relaying rank that was not selected as 0,1,2 and 3 as example, to the relaying being never selectedIn rank, choose the relaying rank that relaying rank is minimum and describe as other process of current Relay, fromIn the relaying rank 0,1,2 and 3 not being selected, choose 0 grade of minimum relaying rank as current relayingRank. 1,2 and 3 become the relaying rank not being selected, the relaying rank 1 that was never selected,In choosing in 2 and 3,1 grade of minimum relaying rank is as current relaying rank. 2 and 3 become and are not selectedThe relaying rank of crossing, chooses minimum relaying rank 2 in the relaying rank 2 and 3 being never selected and doesFor current relaying rank. 3 become the relaying rank not being selected, using minimum relaying rank 3 asCurrent relaying rank.
Step S12: judge whether described current relaying rank is greater than directly and trunking traffic promoter carries outThe corresponding relaying rank of trunking of communication.
The trunking that if current relaying rank is not more than directly and trunking traffic promoter communicatesCorresponding relaying rank, execution step S13, if current relaying rank is greater than directly and trunking trafficThe corresponding relaying rank of trunking that promoter communicates, execution step S14.
Step S13: send broadcasting command to each unallocated network address corresponding to current relaying rankTrunking.
In the trunking institute that current relaying rank is not more than directly and trunking traffic promoter communicatesWhen corresponding relaying rank, Centroid directly sends broadcasting command to corresponding each of current relaying rankThe trunking of the unallocated network address.
Step S14: definite relaying rank that is less than current relaying rank one-level is intermediate relay rank.
Right in the trunking institute that current relaying rank is greater than directly and trunking traffic promoter communicatesAnswer relaying rank time, Centroid has been described and to be less than other each relaying rank of current Relay eachSelf-corresponding trunking carried out trunking traffic, Centroid be less than current Relay other eachThe relaying rank separately trunking of correspondence is carried out after trunking traffic, can records center node and each relayingThe communication path of trunking corresponding to rank.
Step S15: send broadcasting command to the address of distribution network corresponding to described intermediate relay rankTrunking, forwards described wide by the trunking of the address of distribution network corresponding to intermediate relay rankBroadcast the trunking of order to each unallocated network address corresponding to current relaying rank.
Due to the trunking of each unallocated network address corresponding to current relaying rank can only with centreThe trunking of the address of distribution network corresponding to relaying rank carries out direct communication, therefore needs in centreThe trunking of the address of distribution network corresponding to the rank that continues forwards broadcasting command to current relaying rank pairThe trunking of each unallocated network address of answering.
In the present embodiment, the distribution network corresponding with intermediate relay rank recording by CentroidThe communication path of the trunking of address, sends broadcasting command to distribution network corresponding to intermediate relay rankThe trunking of network address, then establishes by the relaying of the address of distribution network corresponding to intermediate relay rankThe standby trunking of broadcasting command to each unallocated network address corresponding to current relaying rank that forward.
Step S16: every the first Preset Time, judge whether to receive the described unallocated network addressThe normal address returned of trunking.
Centroid can turn with the trunking of the address of distribution network corresponding to intermediate relay rankWhile sending out broadcasting command, the corresponding time is initial time, every the first Preset Time, judges whether to connectReceive the normal address separately that the trunking of the unallocated network address returns. Certainly initial timeThe trunking that is not limited to the address of distribution network corresponding to above-mentioned intermediate relay rank forwards broadcastCorresponding time when order.
Every the first Preset Time, judge whether to receive described each unallocated network address inThe normal address that the trunking of the unallocated network address in the normal address that the equipment of continuing returns returnsTrunking by the address of distribution network corresponding to intermediate relay rank forwards, and is forwarded toCentroid.
Be not receive the normal address that the trunking of the unallocated network address returns in judged resultTime, execution step S17. Be that the trunking that receives the unallocated network address returns in judged resultNormal address time, execution step S18.
Step S17: and the non-judgement for the first time of current judgement, this judgement stopped.
Be not receive the standard that the trunking of the unallocated network address returns in the current result judging, and be currently judged as the first judgement when the address, can't stop this judgement, but at interval Preset TimeAfter again carry out once judgement, if judged result is still no, stop judging whether to receive unallocated networkThe normal address that the trunking of address returns.
Be not receive the standard that the trunking of the unallocated network address returns in the current result judgingWhen the address, and current be judged as non-for the first time judgement, just can stop judging whether to receive unallocated networkThe normal address that the trunking of address returns. To ensure really do not had trunking to return to study plotLocation, avoids in trunking returns to the process of normal address, just stopping judgement, and in causing not receivingThe situation of the normal address that the equipment of continuing returns occurs.
Step S18: the normal address that described trunking is returned is stored in the first list.
After the normal address of returning at the trunking that receives the unallocated network address, by trunkingNormal address be stored in the first list.
Step S19: choose corresponding any one in the normal address of storing in described the first list unallocatedThe trunking of the network address is as current trunking to be allocated.
In the present embodiment, in the first list, can store multiple normal addresses, each study plot of storageLocation is corresponding the trunking of unique unallocated network address separately.
The relaying of the unallocated network address corresponding to normal address that Centroid is stored from the first listIn equipment, choose the trunking of any one trunking as the current network address to be allocated.
Due to each normal address corresponding trunking of unique unallocated network address separately, because ofThis can be by choose the normal address that any one was not chosen from the first list, by this normal addressThe trunking of the corresponding unallocated network address is as current trunking to be allocated.
Step S110: distribute and send unique network address to described current trunking to be allocated, instituteThe size of stating the network address is less than the size of described normal address.
Current trunking to be allocated is being assigned with behind the network address, be converted to distribution network address inEquipment continues.
Step S111: whether judge in trunking corresponding to the normal address of storing in described the first listThere is the trunking of the unallocated network address.
If exist and do not divide in the judged result trunking that to be the normal address of storing in the first list correspondingThe trunking of distribution network address, returns to execution step S19. If judged result is to store in the first listTrunking corresponding to normal address in there is not the trunking of the unallocated network address, illustrate firstTrunking corresponding to normal address of storing in list has all been assigned with the network address, execution step S11.
When all relaying ranks were all selected, there is not the relaying rank not being selected,While there is not the relaying rank not being selected, just no longer return to each relaying that execution was never selectedIn rank, choose any one relaying rank as current this step of relaying rank.
In this application, redistribute by being respectively each trunking corresponding to each relaying rankThe network address, and the size of the network address is less than the size of each trunking normal address, makesThe network address of the trunking that packet contains same number, the size of the forward-path of its formationBe less than the size of the forward-path of normal address formation, the therefore complete time used contracting of transfer of dataShort, thus the efficiency of transmission of data and the real-time of communicating by letter with target device improved.
A kind of micro power radio communication address distribution method shown in Fig. 1 is except comprising each shown in Fig. 1Outside method step, can also comprise: confirm to receive receiving described current trunking to be allocatedWhen the feedback message of the described network address, the described network address is stored in the second list.
In the present embodiment, the second Preset Time also can be set, for waiting for that reception is current to be allocatedWhen trunking confirms that the time of the feedback message that has received the network address exceedes the second Preset Time, deleteThe normal address corresponding to trunking current to be allocated of storing in the first list.
In said method step, in micropower wireless local network in communication system, normal address pairThe byte length of answering is generally 6 bytes. Be 6 bytes at byte length corresponding to normal address,The byte length of the network address can be set in 2 bytes, 3 bytes, 4 bytes and 5 bytes arbitrarilyOne, can choose according to the number of the trunking in communication system in micropower wireless local networkUse the network address of respective byte length. For example,, in micropower wireless local network in communication systemThe number of trunking be not more than (216-1), when individual, can use byte length is the network of 2 bytesAddress. The number of the trunking in micropower wireless local network in communication system is not more than (224-1)When individual, can use byte length is the network address of 3 bytes. Logical in micropower wireless local networkThe number of the trunking in communication system is not more than (232-1), when individual, can use byte length is 4 wordsThe network address of joint. The number of the trunking in micropower wireless local network in communication system is littleIn (240-1), when individual, can use byte length is the network address of 5 bytes.
In micropower wireless local network, in communication system, the number of trunking is generally at 10000Left and right, much smaller than (248-1) individual, therefore there is no need to use byte length is the normal address of 6 bytes,Can, according to the concrete number of the trunking in communication system in micropower wireless local network, distribute phaseAnswer the network address of byte length, improved different communication systems and choose the flexibility of the network address, andOwing to using byte length to be less than the network address of byte length corresponding to normal address, improve transmission effectRate, with the real-time of communicating by letter with target device.
Another embodiment
What illustrate in the present embodiment, is distribute and send unique network address to current relaying to be allocatedThe detailed process of equipment, refers to Fig. 2, and Fig. 2 shows a kind of micro power radio communication network address and dividesA kind of sub-process figure of method of completing the square, can comprise the following steps:
Step S21: obtain with the normal address of described current trunking to be allocated in described the first listIn the consistent digital coding of storage order.
The storage order of the normal address of current trunking to be allocated in the first list is current for storingTime sequencing in normal address to the first list of trunking to be allocated. If current relaying to be allocated is establishedThe storage order of standby normal address in the first list is 1, and the numeral consistent with storage order compiledCode is decimal number 1. If the storage of the normal address of current trunking to be allocated in the first list is suitableOrder is 2, and the digital coding consistent with storage order is decimal number 2 ... if, current to be allocated inThe normal address of the equipment storage order in the first list that continues is n, the number consistent with storage orderWord is encoded to decimal number n.
Step S22: described digital coding is converted to binary number, and using described binary number as onlyOne the network address; The byte length that described binary number is corresponding is less than byte corresponding to described normal addressLength.
Because binary system is all used in the address of the trunking in communication system in micropower wireless local networkNumber represents, therefore, digital coding need to be converted to binary number, by the binary number obtaining after conversionAs unique network address.
Step S23: distribute and send described binary number to described current trunking to be allocated.
For aforesaid each embodiment of the method, for simple description, therefore it is all expressed as a series ofCombination of actions, but those skilled in the art should know, the application is not subject to described movingThe restriction of work order, because according to the application, some step can adopt other orders or whileCarry out. Secondly, those skilled in the art also should know, the embodiment described in description is equalBelong to preferred embodiment, related action and module might not be that the application is necessary.
An embodiment
It is corresponding with the embodiment of the method that a kind of search method embodiment 1 of above-mentioned the application provides,Refer to Fig. 3, a kind of micro power radio communication network address that it shows the application provides is divided equippedA kind of structural representation of putting, micro power radio communication network address distributor comprises:
First choose unit 31, the first judging unit 32, the first transmitting element 33, determining unit 34,The second transmitting element 35, the second judging unit 36, the first memory cell 37, second choose unit 38,The first processing unit 39 and the 3rd judging unit 310. Wherein:
First chooses unit 31, chooses rank minimum for each relaying rank being never selectedRelaying rank is as current relaying rank.
The first judging unit 32, for judging whether described current relaying rank is greater than directly and trunking trafficThe corresponding relaying rank of trunking that promoter communicates, if so, carries out determining unit 34,If not, carry out the first transmitting element 33.
The first transmitting element 33, unallocated to corresponding each of current relaying rank for sending broadcasting commandThe trunking of the network address.
Determining unit 34, the relaying rank that is less than described current relaying rank one-level for determining is centreRank continues.
The second transmitting element 35, for sending broadcasting command to distribution corresponding to described intermediate relay rankThe trunking of the network address, by the relaying of the address of distribution network corresponding to described intermediate relay rankDescribed in device forwards, broadcasting command is to the relaying of each unallocated network address corresponding to current relaying rankEquipment.
The second judging unit 36, for every the first Preset Time, judges whether to receive described unallocatedThe normal address that the trunking of the network address returns, if so, carries out the first memory cell 37, asFruit is no, and current judgement is non-while judging for the first time, stops this judgement.
The first memory cell 37, is stored to the first list for the normal address that described trunking is returnedIn.
Second chooses unit 38, for choose normal address that described the first list stores corresponding arbitrarilyThe trunking of a unallocated network address is as current trunking to be allocated.
The first processing unit 39, for distributing and sending unique network address to described current to be allocatedThe equipment that continues, the size of unique network address that described the first processing unit distributes is less than described normal addressSize.
The 3rd judging unit 310, for judge normal address that described the first list stores corresponding inContinue whether there is the trunking of the unallocated network address in equipment, if so, return and carry out the second choosingGet unit, if not, return to execution first and choose unit.
Another embodiment
In the present embodiment, what illustrate is a kind of concrete structure of the first processing unit 39, Ke YicanSee Fig. 4, shown in Fig. 4 is a kind of structural representation of a kind of the first processing unit of providing of the application,The first processing unit 39 comprises:
Acquiring unit 41, converting unit 42 and the second processing unit 43. Wherein:
Acquiring unit 41, for obtaining with the normal address of described current trunking to be allocated describedThe consistent digital coding of storage order in the first list.
Converting unit 42, for described digital coding is converted to binary number, and by described binary systemNumber is as unique network address.
The second processing unit 43, for distributing and sending described binary number to described current to be allocatedEquipment continues.
Micro power radio communication network address distributor can also comprise: the second memory cell, forIn the time receiving described current trunking to be allocated and confirm to have received the feedback message of the described network address,The described network address is stored in the second list.
It should be noted that, each embodiment in this description all adopts the mode of going forward one by one to describe,What each embodiment stressed is and the difference of other embodiment, between each embodimentIdentical similar part mutually referring to. For device class embodiment, due to itself and methodEmbodiment is substantially similar, so description is fairly simple, relevant part is referring to the portion of embodiment of the methodDivide explanation.
Finally, also it should be noted that, in this article, the relation such as the first and second gradesTerm is only used for an entity or operation and another entity or operating space to separate, and notNecessarily require or imply between these entities or operation and have the relation of any this reality or suitableOrder. And term " comprises ", " comprising " or its any other variant are intended to contain nonexcludabilityComprise, thereby make to comprise that process, method, article or the equipment of a series of key elements not only compriseThose key elements, but also comprise other key elements of clearly not listing, or be also included as thisThe key element that process, method, article or equipment are intrinsic. In the situation that there is no more restrictions,The key element being limited by statement " comprising ... ", and be not precluded within the process, the side that comprise described key elementIn method, article or equipment, also there is other identical element.
A kind of micro power radio communication network address assignment method and the device that above the application are providedBe described in detail, applied principle and the embodiment of specific case to the application herein and enteredGone elaboration, the explanation of above embodiment is just for helping to understand the application's method and core thereofThought; Meanwhile, for one of ordinary skill in the art, according to the application's thought, specificallyIn embodiment and range of application, all will change, in sum, this description should notBe interpreted as the restriction to the application.
Claims (9)
1. a micro power radio communication network address assignment method, is characterized in that, comprising:
Never in each relaying rank being selected, choose relaying rank that rank is minimum as in currentRank continues;
In judging whether described current relaying rank is greater than directly and trunking traffic promoter communicatesThe corresponding relaying rank of the equipment that continues;
If not, send the relaying of broadcasting command to each unallocated network address corresponding to current relaying rankEquipment;
If so, definite relaying rank that is less than described current relaying rank one-level is intermediate relay rank;
Send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank,Forward described broadcast life by the trunking of the address of distribution network corresponding to described intermediate relay rankOrder is to the trunking of each unallocated network address corresponding to current relaying rank;
Every the first Preset Time, judge whether that the trunking that receives the described unallocated network address returnsThe normal address of returning;
If so, the normal address of described trunking being returned is stored in the first list;
If not, and the non-judgement for the first time of current judgement, this judgement stopped;
Choose any one unallocated network address corresponding to normal address of storing in described the first listTrunking as current trunking to be allocated;
Distribute and send unique network address to described current trunking to be allocated, the described network addressSize be less than the size of described normal address;
Judge in trunking corresponding to the normal address of storing in described the first list, whether to exist pointThe trunking of distribution network address;
If so, return to carry out and choose corresponding any one in the normal address of storing in described the first list notThe trunking of distribution network address is as current this step of trunking to be allocated;
If not, return in each relaying rank that execution was never selected and choose the relaying that rank is minimumRank is as current this step of relaying rank.
2. method according to claim 1, is characterized in that, every the first Preset Time,Judge whether to receive in the normal address that the trunking of the described unallocated network address returns, describedThe normal address that the trunking of distribution network address returns is corresponding by described intermediate relay rankThe trunking of distribution network address forwards.
3. method according to claim 1, is characterized in that, described distribution also sends uniqueDescribed current trunking to be allocated is given in the network address, comprising:
Obtain the storage in described the first list with the normal address of described current trunking to be allocatedThe digital coding that order is consistent;
Described digital coding is converted to binary number, and using described binary number as unique network groundLocation; The byte length that described binary number is corresponding is less than byte length corresponding to described normal address;
Distribute and send described binary number to described current trunking to be allocated.
4. method according to claim 1, is characterized in that, also comprises:
Confirm that the feedback that has received the described network address disappears receiving described current trunking to be allocatedWhen breath, the described network address is stored in the second list.
5. method according to claim 1, is characterized in that, described directly and trunking traffic send outPlaying the corresponding relaying rank of trunking that communicates of person is 0 grade.
6. according to the method described in claim 1-5 any one, it is characterized in that, in described standardByte length corresponding to address is in the situation of 6 bytes, and byte length corresponding to the described network address comprises:
2 bytes; Or, 3 bytes; Or, 4 bytes; Or, 5 bytes.
7. a micro power radio communication network address distributor, is characterized in that, comprising:
First chooses unit, for each relaying rank being never selected choose rank minimum inThe rank that continues is as current relaying rank;
The first judging unit, for judging whether described current relaying rank is greater than directly and trunking traffic is sent outPlay the corresponding relaying rank of trunking that person communicates, if so, carry out determining unit, ifNo, carry out the first transmitting element;
The first transmitting element, for sending broadcasting command to each unallocated net corresponding to current relaying rankThe trunking of network address;
Determining unit, the relaying rank that is less than described current relaying rank one-level for determining is intermediate relayRank;
The second transmitting element, for sending broadcasting command to distribution network corresponding to described intermediate relay rankThe trunking of network address, establishes by the relaying of the address of distribution network corresponding to described intermediate relay rankStandby described broadcasting command to the relaying of each unallocated network address corresponding to current relaying rank that forwards is establishedStandby;
The second judging unit, for every the first Preset Time, judges whether to receive described unallocated netThe normal address that the trunking of network address returns, if so, carries out the first memory cell, if not,And current judgement is non-while judging for the first time, stops this judgement;
The first memory cell, is stored to the first list for the normal address that described trunking is returnedIn;
Second chooses unit, for choose normal address that described the first list stores corresponding any oneThe trunking of the individual unallocated network address is as current trunking to be allocated;
The first processing unit, for distributing and sending unique network address to described current relaying to be allocatedEquipment, the size of unique network address that described the first processing unit distributes is less than described normal addressSize;
The 3rd judging unit, for judging that relaying corresponding to normal address that described the first list is stored establishIn standby, whether there is the trunking of the unallocated network address, if so, return to execution second and choose listUnit, if not, returns to execution first and chooses unit.
8. device according to claim 7, is characterized in that, described the first processing unit comprises:
Acquiring unit, for obtaining with the normal address of described current trunking to be allocated described firstThe consistent digital coding of storage order in list;
Converting unit, for described digital coding is converted to binary number, and makes described binary numberFor unique network address;
The second processing unit, establishes to described current relaying to be allocated for distributing and sending described binary numberStandby.
9. device according to claim 7, is characterized in that, also comprises:
The second memory cell, for receiving described in described current trunking to be allocated confirms to have receivedWhen the feedback message of the network address, the described network address is stored in the second list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310336650.9A CN103391538B (en) | 2013-08-05 | 2013-08-05 | A kind of micro power radio communication network address assignment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310336650.9A CN103391538B (en) | 2013-08-05 | 2013-08-05 | A kind of micro power radio communication network address assignment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103391538A CN103391538A (en) | 2013-11-13 |
CN103391538B true CN103391538B (en) | 2016-05-18 |
Family
ID=49535679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310336650.9A Active CN103391538B (en) | 2013-08-05 | 2013-08-05 | A kind of micro power radio communication network address assignment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103391538B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1437809A (en) * | 2000-03-03 | 2003-08-20 | 明亮网络公司 | Dual-mode virtual network addressing |
CN1728725A (en) * | 2004-07-29 | 2006-02-01 | 三星电子株式会社 | Change the adaptive method of redistributing node address according to wireless network capacitance |
EP2007078A1 (en) * | 2007-06-19 | 2008-12-24 | Panasonic Corporation | Header size reduction of data packets |
KR20100086173A (en) * | 2009-01-22 | 2010-07-30 | 삼성전자주식회사 | Method for reducing address waste in low power wireless personal area network |
CN101848459A (en) * | 2010-03-30 | 2010-09-29 | 北京交通大学 | Wireless transducer network address configuration method based on IEEE 802.15.4 |
CN101908910A (en) * | 2010-07-16 | 2010-12-08 | 珠海中慧微电子有限公司 | Compression algorithms for address data used for low-voltage power line carrier communication |
CN102056263A (en) * | 2011-01-31 | 2011-05-11 | 中控科技集团有限公司 | routing method and device as well as sensor equipment based on wireless sensor tree network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7672289B2 (en) * | 2005-08-09 | 2010-03-02 | Mitsubishi Electric Research Laboratories, Inc. | Method for defining, allocating and assigning addresses in ad hoc wireless networks |
-
2013
- 2013-08-05 CN CN201310336650.9A patent/CN103391538B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1437809A (en) * | 2000-03-03 | 2003-08-20 | 明亮网络公司 | Dual-mode virtual network addressing |
CN1728725A (en) * | 2004-07-29 | 2006-02-01 | 三星电子株式会社 | Change the adaptive method of redistributing node address according to wireless network capacitance |
EP2007078A1 (en) * | 2007-06-19 | 2008-12-24 | Panasonic Corporation | Header size reduction of data packets |
KR20100086173A (en) * | 2009-01-22 | 2010-07-30 | 삼성전자주식회사 | Method for reducing address waste in low power wireless personal area network |
CN101848459A (en) * | 2010-03-30 | 2010-09-29 | 北京交通大学 | Wireless transducer network address configuration method based on IEEE 802.15.4 |
CN101908910A (en) * | 2010-07-16 | 2010-12-08 | 珠海中慧微电子有限公司 | Compression algorithms for address data used for low-voltage power line carrier communication |
CN102056263A (en) * | 2011-01-31 | 2011-05-11 | 中控科技集团有限公司 | routing method and device as well as sensor equipment based on wireless sensor tree network |
Also Published As
Publication number | Publication date |
---|---|
CN103391538A (en) | 2013-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101505500B (en) | Load balance equipment, distributed base station system and communication method thereof | |
CN109672708B (en) | Communication method, device and system | |
US10560929B2 (en) | Resource request method and system, device, and network side node | |
RU2019135687A (en) | LOGIC CHANNEL PRIORITIZATION PROCEDURE FOR LOGIC SINGLE LINE COMMUNICATION CHANNELS | |
EP2810457B1 (en) | Radio module, application device and method for operating an application device that exchanges application data via a cellular radio communication network | |
CN105007340B (en) | Support the Distributed C AN network and its node address auto-allocation method of plug and play | |
CN109905160A (en) | A kind of resource allocation method and device | |
CN109561450A (en) | The exchange method and device of load information | |
CN107295610B (en) | Network access method, related equipment and system | |
CN103260196B (en) | A kind of control method of transmission bandwidth, Apparatus and system | |
CN114039798A (en) | Data transmission method and device and electronic equipment | |
CN113315717B (en) | Service balancing method and device, electronic equipment and storage medium | |
CN105338477A (en) | Multiport communication method, device and system based on radio-frequency transmission | |
CN103476029A (en) | Route type adaptive system of heterogeneous network | |
CN111314394A (en) | Resource publishing method, device, equipment and storage medium of Internet of things | |
CN103391538B (en) | A kind of micro power radio communication network address assignment method and device | |
CN102281580B (en) | M2M system and service processing method thereof | |
CN103974224A (en) | Credit control method and equipment | |
CN104104697A (en) | Multi-communication-channel data transmission system, method and transmitting device | |
CN111200808A (en) | Dual-protocol gateway data transmission method and system | |
CN110710167B (en) | Data transmission method and device | |
CN106385688B (en) | A kind of base-band resource distribution method and system and controller | |
CN106330787B (en) | Data packet transmission method, equipment and system | |
CN106506176A (en) | A kind of strategy and charging regulation generation method and system | |
CN104754558B (en) | A kind of method and relevant device of selection network connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: 610045 Wu Qing Road, Chengdu, Sichuan (Wuhou high tech Innovation Center incubator) Applicant after: CHENGDU BOOST INFORMATION TECHNOLOGY INC. Address before: 610045 Wu Qing Road, Chengdu, Sichuan (Wuhou high tech Innovation Center incubator) Applicant before: Chengdu Boost Technology Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: CHENGDU BOOST TECHNOLOGY CO., LTD. TO: CHENGDU BOST INFORMATION TECHNOLOGY CO., LTD. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |