CN103391538A - Address allocation method and device for micro-power wireless communication network - Google Patents

Address allocation method and device for micro-power wireless communication network Download PDF

Info

Publication number
CN103391538A
CN103391538A CN2013103366509A CN201310336650A CN103391538A CN 103391538 A CN103391538 A CN 103391538A CN 2013103366509 A CN2013103366509 A CN 2013103366509A CN 201310336650 A CN201310336650 A CN 201310336650A CN 103391538 A CN103391538 A CN 103391538A
Authority
CN
China
Prior art keywords
trunking
address
rank
network address
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103366509A
Other languages
Chinese (zh)
Other versions
CN103391538B (en
Inventor
何世刚
肖俭伟
张保平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHENGDU BOOST TECHNOLOGY Co Ltd
Original Assignee
CHENGDU BOOST TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU BOOST TECHNOLOGY Co Ltd filed Critical CHENGDU BOOST TECHNOLOGY Co Ltd
Priority to CN201310336650.9A priority Critical patent/CN103391538B/en
Publication of CN103391538A publication Critical patent/CN103391538A/en
Application granted granted Critical
Publication of CN103391538B publication Critical patent/CN103391538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an address allocation method and device for a micro-power wireless communication network. The address allocation method comprises the step of reallocating network addresses of all trunk equipment corresponding to all trunk grades to ensure that the numbers of network addresses of the trunk equipment in all databases are the same, wherein the sizes of the network addresses are smaller than the standard addresses of the trunk equipment, and the sizes of the formed forward paths are smaller than those formed by the standard addresses. Therefore, time used for data transmission is shortened, which further improves data transmission efficiency and real-time communication of the data and target equipment.

Description

A kind of micro power radio communication network address assignment method and device
Technical field
The application relates to the micro power radio communication field, particularly a kind of micro power radio communication network address assignment method and device.
Background technology
In micro power radio communication, data can forward by trunking, finally transfer to target device.Data forward the forward-path of the relay address formation that is based on each trunking that comprises in data by trunking.
While by trunking, data being transmitted, can be by increasing the number of trunking, enlarge the transmission network scope of data, but the number of trunking increases, can cause the size of the forward-path that the relay address of each trunking that comprises in data forms to increase.
By trunking, data are transmitted and are mainly used in micropower wireless local network in communication system at present, what the relay address of each trunking in micropower wireless local network in communication system used is current specified standard address, micro power radio communication field.But,, because the number of the trunking in communication system in micropower wireless local network is less, make the actual needed relay address size of each trunking in the interior communication system of micropower wireless local network big or small much smaller than normal address.
According to above-mentioned, the Application standard address is as the relay address of each trunking in communication system in micropower wireless local network, the relay address that causes the current use of trunking of the same number that comprises in data, the size of its formed forward-path is much larger than the size of the forward-path of the needed relay address formation of reality, therefore the complete duration used of transfer of data increases, thereby reduces the efficiency of transmission and the real-time of with target device, communicating by letter of data.
Therefore the trunking that passes through that is applied at present communication system in micropower wireless local network carries out transmission technology to data, has the low shortcoming poor with the real-time of with target device, communicating by letter of data transmission efficiency.
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 address assignment method and device, and to reach the purpose of the efficiency of transmission that has improved data and the real-time of with target device, communicating by letter, technical scheme is as follows:
A kind of micro power radio communication network address assignment method comprises:
Never choose the minimum relaying rank of rank in each relaying rank that was selected as current relaying rank;
Judge that described current relaying rank is whether greater than directly and the corresponding relaying rank of trunking that communicates of trunking traffic promoter;
If not, send the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank;
If determine that the relaying rank less than described current relaying rank one-level is the intermediate relay rank;
Send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, the trunking by the address of distribution network corresponding to described intermediate relay rank forwards the trunking of described broadcasting command to each unallocated network address corresponding to current relaying rank;
, every the first Preset Time, judge whether to receive the normal address that the trunking of the described unallocated network address returns;
If the normal address that described trunking is returned is stored in the first list;
If not, and the non-judgement for the first time of current judgement, this judgement stopped;
Choose the trunking of any one unallocated network address corresponding to the normal address of storing in described the first list as current trunking to be allocated;
Distribute and send unique network address to described current trunking to be allocated, the size of the described network address is less than the size of described normal address;
Judge the trunking that whether has the unallocated network address in trunking corresponding to the normal address of storing in described the first list;
If, return carry out choose any one unallocated network address corresponding to the normal address of storing in described the first list trunking as current this step of trunking to be allocated;
If not, return in each relaying rank that execution never was selected and choose any one relaying rank as current this step of relaying rank.
Preferably, every the first Preset Time, judge whether to receive in the normal address that the trunking of the described unallocated network address returns, the normal address that the trunking of the described unallocated network address returns 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, comprising:
Obtain the digital coding consistent with the storage order of normal address in described the first list of described current trunking to be allocated;
Described digital coding is converted to binary number, and with described binary number as unique network address; Byte length corresponding to described binary number 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:
When 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.
Preferably, described directly and the corresponding relaying rank of trunking that communicates of trunking traffic promoter be 0 grade.
Preferably, in the situation that byte length corresponding to described normal address is 6 bytes, byte length corresponding to the described network address comprises:
2 bytes; Or, 3 bytes; Or, 4 bytes; Or, 5 bytes.
A kind of micro power radio communication network address distributor comprises:
First chooses unit, and each relaying rank that is used for never being selected is chosen the minimum relaying rank of rank as current relaying rank;
The first judging unit, be used for judging that described current relaying rank, whether greater than the corresponding relaying rank of trunking that directly communicates with the trunking traffic promoter, if so, carries out determining unit, if not, and execution the first transmitting element;
The first transmitting element, be used for sending the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank;
Determining unit, be used for determining that the relaying rank less than described current relaying rank one-level is the intermediate relay rank;
The second transmitting element, be used for to send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, the trunking by the address of distribution network corresponding to described intermediate relay rank forwards the trunking of described broadcasting command to each unallocated network address corresponding to current relaying rank;
The second judging unit, be used for every the first Preset Time, judges whether to receive the normal address that the trunking of the described unallocated network address returns, if so, carry 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, the normal address that is used for described trunking is returned is stored to the first list;
Second chooses unit, is used for choosing the trunking of any one unallocated network address corresponding to normal address that described the first list stores as current trunking to be allocated;
The first processing unit, be used for distributing and sending unique network address to described current trunking to be allocated, and the size of unique network address that described the first processing unit distributes is less than the size of described normal address;
The 3rd judging unit, be used for judging the trunking that whether has the unallocated network address in trunking corresponding to normal address that described the first list stores, if so, returns and carry out second and choose unit, if not, returns and carry out first and choose unit.
Preferably, described the first processing unit comprises:
Acquiring unit, be used for obtaining normal address with described current trunking to be allocated in the consistent digital coding of the storage order of described the first list;
Converting unit, be used for described digital coding is converted to binary number, and with described binary number as unique network address;
The second processing unit, be used for distributing and sending described binary number to described current trunking to be allocated.
Preferably, also comprise:
The second memory cell, be used for when receiving described current trunking to be allocated and confirm to have received the feedback message of the described network address, the described network address being stored in the second list.
Compared with prior art, the application's beneficial effect is:
In this application, redistribute 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 packet contain the network address of the trunking of same number, the size of the forward-path of its formation is less than the size of the forward-path of normal address formation, so the complete time shorten used of transfer of data, thereby the efficiency of transmission and the real-time of with target device, communicating by letter of raising data.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, in below describing embodiment, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of flow chart of a kind of micro power radio communication network address assignment method of providing of the application;
Fig. 2 is a kind of sub-process figure of a kind of micro power radio communication network address assignment method of providing of the application;
Fig. 3 is a kind of structural representation of a kind of micro power radio communication network address distributor of providing of the application;
Fig. 4 is a kind of structural representation of a kind of the first processing unit of providing of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Based on the embodiment in the application, those of ordinary skills are not making under the creative work prerequisite the every other embodiment that obtains, and all belong to the scope of the application's protection.
The application provides the micro power radio communication network address assignment method, chooses the minimum relaying rank of rank in each relaying rank that never was selected as current relaying rank; Judge that described current relaying rank is whether greater than directly and the corresponding relaying rank of trunking that communicates of trunking traffic promoter; If not, send the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank; If determine that the relaying rank less than described current relaying rank one-level is the intermediate relay rank; Send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, the trunking by the address of distribution network corresponding to described intermediate relay rank forwards the trunking of described broadcasting command to each unallocated network address corresponding to current relaying rank; , every the first Preset Time, judge whether to receive the normal address that the trunking of the described unallocated network address returns; If the normal address that described trunking is returned is stored in the first list; If not, and the non-judgement for the first time of current judgement, this judgement stopped; Choose the trunking of any one unallocated network address corresponding to the normal address of storing in described the first list as current trunking to be allocated; Distribute and send unique network address to described current trunking to be allocated, the size of the described network address is less than the size of described normal address; Judge the trunking that whether has the unallocated network address in trunking corresponding to the normal address of storing in described the first list; If, return carry out choose any one unallocated network address corresponding to the normal address of storing in described the first list trunking as current this step of trunking to be allocated; If not, return in each relaying rank that execution never was selected and choose any one relaying rank as current this step of relaying rank.Below will enumerate embodiment is elaborated to a kind of micro power radio communication network address assignment method that the application provides.
An embodiment
See also Fig. 1, a kind of flow chart that it shows a kind of micro power radio communication network address assignment method that the application provides can comprise the following steps:
Step S11: choose the minimum relaying rank of relaying rank in each relaying rank that never was selected as current relaying rank.
In the present embodiment, in micropower wireless local network, communication system comprises a Centroid and a plurality of trunking, and wherein, trunking can be used as target device.Centroid is the trunking traffic promoter.
Each trunking in micropower wireless local network in communication system is in the trunking traffic of once determining arbitrarily, and the relaying rank of each trunking is known definite.And in the trunking traffic of once determining arbitrarily, the relaying rank of a plurality of trunkings can identically be that same relaying rank can corresponding a plurality of trunkings.But the normal address of each trunking that each relaying rank is corresponding is different.
In the present embodiment, can be directly and the corresponding relaying rank of trunking that communicates of trunking traffic promoter be minimum rank in all relaying ranks, namely can be directly and the corresponding relaying rank of trunking that communicates of Centroid be minimum rank in all relaying ranks.Can be directly and the corresponding relaying rank of trunking that communicates of Centroid be set to 0 grade, can certainly be set to other any one relaying ranks.
In the present embodiment, in the trunking traffic of once determining arbitrarily, the corresponding relaying rank of trunking direct and that Centroid communicates is 0 grade.
Take the relaying rank that was not selected as 0,1,2 and 3 as example, describe as other process of current Relay choosing the minimum relaying rank of relaying rank in the relaying rank that never was selected, choose 0 grade of minimum relaying rank in the relaying rank 0,1 that never was selected, 2 and 3 as current relaying rank.1,2 and 3 become the relaying rank that was not selected, and in choosing in the relaying rank 1 that never was selected, 2 and 3,1 grade of minimum relaying rank is as current relaying rank.2 and 3 become the relaying rank that was not selected, and choose minimum relaying rank 2 in the relaying rank 2 and 3 that never was selected as current relaying rank.3 become the relaying rank that was not selected, with minimum relaying rank 3 as current relaying rank.
Step S12: judge that described current relaying rank is whether greater than directly and the corresponding relaying rank of trunking that communicates of trunking traffic promoter.
The corresponding relaying rank of trunking that if current relaying rank is not more than directly and the trunking traffic promoter communicates, execution step S13, if the corresponding relaying rank of trunking that current relaying rank communicates greater than direct and trunking traffic promoter, execution step S14.
Step S13: send the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank.
When the corresponding relaying rank of trunking that current relaying rank is not more than directly and the trunking traffic promoter communicates, Centroid directly sends the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank.
Step S14: determine that the relaying rank less than current relaying rank one-level is the intermediate relay rank.
Current relaying rank greater than directly and the trunking traffic promoter communicate the corresponding relaying rank of trunking the time, Centroid is described and less than other each relaying rank of current Relay separately corresponding trunking carried out trunking traffic, Centroid is with after corresponding trunking carries out trunking traffic separately less than other each relaying rank of current Relay, the communication path of can the records center node corresponding with each relaying rank trunking.
Step S15: send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, the trunking by the address of distribution network corresponding to intermediate relay rank forwards the trunking of described broadcasting command to each unallocated network address corresponding to current relaying rank.
The trunking of the address of distribution network that can only be corresponding with the intermediate relay rank due to the trunking of each unallocated network address corresponding to current relaying rank carries out direct communication, therefore needs the trunking of the address of distribution network corresponding to intermediate relay rank to forward the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank.
In the present embodiment, the communication path of the trunking of the distribution network address corresponding with the intermediate relay rank of by Centroid, recording, send the trunking of broadcasting command to the address of distribution network corresponding to intermediate relay rank, then the trunking by the address of distribution network corresponding to intermediate relay rank forwards the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank.
Step S16:, every the first Preset Time, judge whether to receive the normal address that the trunking of the described unallocated network address returns.
Centroid in the time of can forwarding broadcasting command take the trunking of the address of distribution network corresponding to intermediate relay rank corresponding time as zero-time,, every the first Preset Time, judge whether to receive the normal address separately that the trunking of the unallocated network address returns.Corresponding time when certainly the zero-time trunking that is not limited to the address of distribution network corresponding to above-mentioned intermediate relay rank forwards broadcasting command.
Every the first Preset Time, judge whether to receive normal address that the trunking of the unallocated network address in the normal address that the trunking of described each unallocated network address returns the returns trunking by the address of distribution network corresponding to intermediate relay rank and forward, be forwarded to Centroid.
When judgment result is that the normal address that the trunking that do not receive the unallocated network address returns, execution step S17.When judgment result is that the normal address that the trunking that receives the unallocated network address returns, execution step S18.
Step S17: and the non-judgement for the first time of current judgement, this judgement stopped.
During the normal address returned for the trunking that does not receive the unallocated network address in the result of current judgement, and current be judged as first the judgement, can't stop this judgement, but carry out again once judgement after the Preset Time of interval,, if judged result is still no, stop judging whether receiving the normal address that the trunking of the unallocated network address returns.
During the normal address returned for the trunking that does not receive the unallocated network address in the result of current judgement, and currently be judged as non-judgement for the first time, just can stop judging whether receiving the normal address that the trunking of the unallocated network address returns., to guarantee really do not had trunking to return to normal address, avoid just stopping judgement in trunking returns to the process of normal address, and the situation that causes not receiving the normal address that trunking returns occurs.
Step S18: the normal address that described trunking is returned is stored in the first list.
After the normal address that the trunking that receives the unallocated network address returns, the normal address of trunking is stored in the first list.
Step S19: choose the trunking of any one unallocated network address corresponding to the normal address of storing in described the first list as current trunking to be allocated.
In the present embodiment, can store a plurality of normal addresses in the first list, each normal address of storage is corresponding the trunking of unique unallocated network address separately.
Choose the trunking of any one trunking as the current network address to be allocated in the trunking of the unallocated network address that Centroid is stored from the first list normal address is corresponding.
Due to each normal address corresponding trunking of unique unallocated network address separately, therefore can be by to choose the normal address that any one was not chosen from the first list, the trunking of the unallocated network address that this normal address is corresponding is as current trunking to be allocated.
Step S110: distribute and send unique network address to described current trunking to be allocated, the size of the described network address is less than the size of described normal address.
Current trunking to be allocated after being assigned with the network address, is converted to the trunking of distribution network address.
Step S111: judge the trunking that whether has the unallocated network address in trunking corresponding to the normal address of storing in described the first list.
, if judgment result is that the trunking that has the unallocated network address in trunking corresponding to the normal address of storing in the first list, return to execution step S19., if judgment result is that the trunking that does not have the unallocated network address in trunking corresponding to the normal address of storing in the first list, illustrate that trunking corresponding to normal address of storing in the first list all has been assigned with the network address, execution step S11.
When all relaying ranks all were selected, there do not is the relaying rank that was not selected, when not having the relaying rank that was not selected, just no longer return in each relaying rank that execution never was selected and choose any one relaying rank as current this step of relaying rank.
In this application, redistribute 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 packet contain the network address of the trunking of 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, thus the efficiency of transmission and the real-time of with target device, communicating by letter of data improved.
A kind of micro power radio communication address distribution method shown in Fig. 1 is except comprising each method step shown in Fig. 1, can also comprise: when 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.
In the present embodiment, also the second Preset Time can be set, be used for when the time that the current trunking confirmation to be allocated of wait reception has received the feedback message of the network address surpasses the second Preset Time the normal address corresponding to trunking current to be allocated of storing in deletion the first list.
In the said method step, in communication system, byte length corresponding to normal address is generally 6 bytes in micropower wireless local network.In the situation that byte length corresponding to normal address is 6 bytes, the byte length of the network address can be set to any one in 2 bytes, 3 bytes, 4 bytes and 5 bytes, can choose the network address of using respective byte length according to the number of the trunking in communication system in micropower wireless local network.For example, the number of the trunking in communication system is not more than (2 in micropower wireless local network 16When-1) individual, can use byte length is the network address of 2 bytes.The number of the trunking in micropower wireless local network in communication system is not more than (2 24When-1) individual, can use byte length is the network address of 3 bytes.The number of the trunking in micropower wireless local network in communication system is not more than (2 32When-1) individual, can use byte length is the network address of 4 bytes.The number of the trunking in micropower wireless local network in communication system is not more than (2 40When-1) individual, can use byte length is the network address of 5 bytes.
In communication system, the number of trunking is generally 10000 left and right, much smaller than (2 in micropower wireless local network 48-1) individual, therefore there is no need to use byte length is the normal address of 6 bytes, can be according to the concrete number of the trunking in communication system in micropower wireless local network, the network address of distributing respective byte length, improve different communication systems and chosen the flexibility of the network address, and, due to the network address of using byte length less than byte length corresponding to normal address, improved efficiency of transmission, with the real-time of with target device, communicating by letter.
Another embodiment
In the present embodiment, what illustrate is distribute and send the detailed process of unique network address to current trunking to be allocated, see also Fig. 2, Fig. 2 shows a kind of a kind of sub-process figure of micro power radio communication network address assignment method, can comprise the following steps:
Step S21: obtain the digital coding consistent with the storage order of normal address in described the first list of described current trunking to be allocated.
The storage order of the normal address of current trunking to be allocated in the first list is the time sequencing in normal address to the first list of the current trunking to be allocated of storage.If the storage order of the normal address of current trunking to be allocated in the first list is 1, the digital coding consistent with storage order is decimal number 1.If the storage order of the normal address of current trunking to be allocated in the first list is 2, the digital coding consistent with storage order is decimal number 2 ... if the storage order of the normal address of current trunking to be allocated in the first list is n, the digital coding consistent with storage order is decimal number n.
Step S22: described digital coding is converted to binary number, and with described binary number as unique network address; Byte length corresponding to described binary number is less than byte length corresponding to described normal address.
Because binary number representation is all used in the address of the trunking in communication system in micropower wireless local network, therefore, digital coding need to be converted to binary number, with the binary number that obtains after conversion as 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 all is expressed as a series of combination of actions, but those skilled in the art should know, the application is not subjected to the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the application is necessary.
An embodiment
Corresponding with the embodiment of the method that a kind of search method embodiment 1 of above-mentioned the application provides, see also Fig. 3, it shows a kind of structural representation of a kind of micro power radio communication network address distributor that the application provides, and micro power radio communication network address distributor comprises:
First chooses 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 chooses unit 38, the first processing unit 39 and the 3rd judging unit 310.Wherein:
First chooses unit 31, and each relaying rank that is used for never being selected is chosen the minimum relaying rank of rank as current relaying rank.
The first judging unit 32, be used for judging that described current relaying rank, whether greater than the corresponding relaying rank of trunking that directly communicates with the trunking traffic promoter, if so, carries out determining unit 34, if not, and execution the first transmitting element 33.
The first transmitting element 33, be used for sending the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank.
Determining unit 34, be used for determining that the relaying rank less than described current relaying rank one-level is the intermediate relay rank.
The second transmitting element 35, be used for to send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, the trunking by the address of distribution network corresponding to described intermediate relay rank forwards the trunking of described broadcasting command to each unallocated network address corresponding to current relaying rank.
The second judging unit 36, be used for every the first Preset Time, judges whether to receive the normal address that the trunking of the described unallocated network address returns, if so, carry out the first memory cell 37, if not, and current judgement is non-while judging for the first time, stops this judgement.
The first memory cell 37, the normal address that is used for described trunking is returned is stored to the first list.
Second chooses unit 38, is used for choosing the trunking of any one unallocated network address corresponding to normal address that described the first list stores as current trunking to be allocated.
The first processing unit 39, be used for distributing and sending unique network address to described current trunking to be allocated, and the size of unique network address that described the first processing unit distributes is less than the size of described normal address.
The 3rd judging unit 310, be used for judging the trunking that whether has the unallocated network address in trunking corresponding to normal address that described the first list stores, if so, return and carry out second and choose 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, can be referring to Fig. 4, and 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, be used for obtaining normal address with described current trunking to be allocated in the consistent digital coding of the storage order of described the first list.
Converting unit 42, be used for described digital coding is converted to binary number, and with described binary number as unique network address.
The second processing unit 43, be used for distributing and sending described binary number to described current trunking to be allocated.
Micro power radio communication network address distributor can also comprise: the second memory cell is used for when receiving described current trunking to be allocated and confirm to have received the feedback message of the described network address, the described network address being stored in the second list.
Need to prove, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Finally, also need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operating space, and not necessarily requires or hint between these entities or operation the relation of any this reality or sequentially of existing.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby make the process, method, article or the equipment that comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.In the situation that not more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Above a kind of micro power radio communication network address assignment method and the device that the application is provided is described in detail, applied specific case herein the application's principle and execution mode are set forth, the explanation of above embodiment just is used for helping to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, the thought according to the application, all will change in specific embodiments and applications, and in sum, this description should not be construed as the restriction to the application.

Claims (9)

1. a micro power radio communication network address assignment method, is characterized in that, comprising:
Never choose the minimum relaying rank of rank in each relaying rank that was selected as current relaying rank;
Judge that described current relaying rank is whether greater than directly and the corresponding relaying rank of trunking that communicates of trunking traffic promoter;
If not, send the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank;
If determine that the relaying rank less than described current relaying rank one-level is the intermediate relay rank;
Send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, the trunking by the address of distribution network corresponding to described intermediate relay rank forwards the trunking of described broadcasting command to each unallocated network address corresponding to current relaying rank;
, every the first Preset Time, judge whether to receive the normal address that the trunking of the described unallocated network address returns;
If the normal address that described trunking is returned is stored in the first list;
If not, and the non-judgement for the first time of current judgement, this judgement stopped;
Choose the trunking of any one unallocated network address corresponding to the normal address of storing in described the first list as current trunking to be allocated;
Distribute and send unique network address to described current trunking to be allocated, the size of the described network address is less than the size of described normal address;
Judge the trunking that whether has the unallocated network address in trunking corresponding to the normal address of storing in described the first list;
If, return carry out choose any one unallocated network address corresponding to the normal address of storing in described the first list trunking as current this step of trunking to be allocated;
If not, return in each relaying rank that execution never was selected and choose any one relaying rank as current this step of relaying rank.
2. method according to claim 1, it 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, the normal address that the trunking of the described unallocated network address returns forwards by the trunking of the address of distribution network corresponding to described intermediate relay rank.
3. method according to claim 1, is characterized in that, described distribution also sends unique network address to described current trunking to be allocated, comprising:
Obtain the digital coding consistent with the storage order of normal address in described the first list of described current trunking to be allocated;
Described digital coding is converted to binary number, and with described binary number as unique network address; Byte length corresponding to described binary number is less than byte length corresponding to described normal address;
Distribute and send described binary number to described current trunking to be allocated.
According to right require 1 described method, it is characterized in that, also comprise:
When 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.
5. method according to claim 1, is characterized in that, described directly and the corresponding relaying rank of trunking that communicates of trunking traffic promoter be 0 grade.
6. according to claim 1-5 described methods of any one, is characterized in that, in the situation that byte length corresponding to described normal address is 6 bytes, 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, and each relaying rank that is used for never being selected is chosen the minimum relaying rank of rank as current relaying rank;
The first judging unit, be used for judging that described current relaying rank, whether greater than the corresponding relaying rank of trunking that directly communicates with the trunking traffic promoter, if so, carries out determining unit, if not, and execution the first transmitting element;
The first transmitting element, be used for sending the trunking of broadcasting command to each unallocated network address corresponding to current relaying rank;
Determining unit, be used for determining that the relaying rank less than described current relaying rank one-level is the intermediate relay rank;
The second transmitting element, be used for to send the trunking of broadcasting command to the address of distribution network corresponding to described intermediate relay rank, the trunking by the address of distribution network corresponding to described intermediate relay rank forwards the trunking of described broadcasting command to each unallocated network address corresponding to current relaying rank;
The second judging unit, be used for every the first Preset Time, judges whether to receive the normal address that the trunking of the described unallocated network address returns, if so, carry 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, the normal address that is used for described trunking is returned is stored to the first list;
Second chooses unit, is used for choosing the trunking of any one unallocated network address corresponding to normal address that described the first list stores as current trunking to be allocated;
The first processing unit, be used for distributing and sending unique network address to described current trunking to be allocated, and the size of unique network address that described the first processing unit distributes is less than the size of described normal address;
The 3rd judging unit, be used for judging the trunking that whether has the unallocated network address in trunking corresponding to normal address that described the first list stores, if so, returns and carry out second and choose unit, if not, returns and carry out first and choose unit.
8. device according to claim 7, is characterized in that, described the first processing unit comprises:
Acquiring unit, be used for obtaining normal address with described current trunking to be allocated in the consistent digital coding of the storage order of described the first list;
Converting unit, be used for described digital coding is converted to binary number, and with described binary number as unique network address;
The second processing unit, be used for distributing and sending described binary number to described current trunking to be allocated.
9. device according to claim 7, is characterized in that, also comprises:
The second memory cell, be used for when receiving described current trunking to be allocated and confirm to have received the feedback message of the described network address, the described network address being stored in the second list.
CN201310336650.9A 2013-08-05 2013-08-05 A kind of micro power radio communication network address assignment method and device Active CN103391538B (en)

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 true CN103391538A (en) 2013-11-13
CN103391538B 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 (8)

* Cited by examiner, † Cited by third party
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
US20070060143A1 (en) * 2005-08-09 2007-03-15 Ghulam Bhatti Method for defining, allocating and assigning addresses in ad hoc wireless networks
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
US20070060143A1 (en) * 2005-08-09 2007-03-15 Ghulam Bhatti Method for defining, allocating and assigning addresses in ad hoc wireless networks
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
CN103391538B (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN102547871B (en) Resource negotiation method and apparatus in a kind of D2D communication
CN101505500B (en) Load balance equipment, distributed base station system and communication method thereof
CN103118356B (en) Embedded smart card eUICC Activiation method, system, terminal and platform
CN103430605A (en) Grouped machine-to-machine communications
CN102196591A (en) Mobile terminal and data parallel transmission method thereof
CN105007340B (en) Support the Distributed C AN network and its node address auto-allocation method of plug and play
CN102546340A (en) Method of networking small CAN (controller area network) bus network
CN105451213A (en) Information processing method, electron equipment, and server
CN109413747A (en) Transfer resource distribution method, device, transmission resource request method and device
CN104935579B (en) Distribute the method, apparatus and system and router of home wiring control authority
CN103260196B (en) A kind of control method of transmission bandwidth, Apparatus and system
CN105338477A (en) Multiport communication method, device and system based on radio-frequency transmission
CN110015095A (en) The method and apparatus that a kind of pair of movable equipment charges
CN106465387A (en) Discovery of multi-hop capabilities and routing on a per link basis
CN102238530A (en) Method and apparatus for expanding user equipment identities of machine-type communication devices
CN105228192A (en) Cell configuring method and device
CN101848056B (en) Method and device for transmitting packets
CN103117959A (en) Resource redistribution method and information collection device and resource management device
CN105580424B (en) A kind of method and device of base station access by terminal
CN103974224A (en) Credit control method and equipment
CN108093047A (en) Data transmission method for uplink, device, electronic equipment and middleware system
CN104780120A (en) Method and device for transmitting files in local area network
CN109413598B (en) Resource allocation and management method and device
CN101877845B (en) WLAN (Wireless Local Area Network) access gateway as well as billing system and method by scenes
CN104104697A (en) Multi-communication-channel data transmission system, method and transmitting device

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 of 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