CN101835140A - Method for distributing mark to radiofrequency unit and repeater - Google Patents
Method for distributing mark to radiofrequency unit and repeater Download PDFInfo
- Publication number
- CN101835140A CN101835140A CN 201010137345 CN201010137345A CN101835140A CN 101835140 A CN101835140 A CN 101835140A CN 201010137345 CN201010137345 CN 201010137345 CN 201010137345 A CN201010137345 A CN 201010137345A CN 101835140 A CN101835140 A CN 101835140A
- Authority
- CN
- China
- Prior art keywords
- radio frequency
- main control
- control unit
- frequency unit
- numbering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The invention is suitable for the technical field of communication and provides a method for distributing a mark to a radiofrequency unit and a repeater. The method comprises the following steps that a main control unit receives a start command self-adaptively distributing the mark; based on the start command, the main control unit sends a broadcast communication data frame to all radiofrequency units, and the broadcast communication data frame comprises a distribution number for the time and an amount of the radiofrequency unit without mark distribution; the main control unit receives a request message of applying the distribution number for the time returned by each radiofrequency unit; the main control unit detects that how many radiofrequency units simultaneously apply the distribution number for the time; and if only one radiofrequency unit is detected to apply the distribution number for the time, the main control unit returns a determination communication frame comprising the number to the corresponding radiofrequency unit which applies the distribution number for the time. The invention adopts a self-adaptive mode to distribute the mark to the radiofrequency units, thereby solving the problem that manual mark distribution to the radiofrequency units can not be realized in a special machine type in the prior art.
Description
Technical field
The invention belongs to communication technical field, relate in particular to a kind of method and repeater of distributing mark to radiofrequency unit.
Background technology
In the prior art, in the communication of repeater internal element, generally adopt the bus communication mode of IIC or 485.Fig. 1 is a description figure who adopts the bus communication mode of IIC or 485.Under this communication mode, the communications data frame that main control unit sends, each radio frequency unit all can be received, for which radio frequency unit the object element of distinguishing this communications data frame is, generally can adopt manual mode to give unique sign of each radio frequency unit, and deposit in certain field in the communications data frame.Such sign is referred to as numbering.
Under most of situation,, do not have any problem and occur by giving certain radio frequency unit manual allocation numbering.In some special types, manually distribute numbering usually can't realize to radio frequency unit.For this reason, must adopt the adaptive numbering method of salary distribution, solve this problem.
Summary of the invention
The object of the present invention is to provide a kind of repeater, be intended to solve exist in the prior art in special type, the problem that can't realize by manual distributing mark to radiofrequency unit.
The present invention is achieved in that a kind of repeater, and described repeater comprises a main control unit and at least two radio frequency units;
Main control unit is received from the enabled instruction that adapts to allocation identification; According to described enabled instruction, main control unit sends broadcast communication data frame to all radio frequency units, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign; Each radio frequency unit receives the broadcast communication data frame that main control unit sends; Radio frequency unit produces a random number; If it is 0 that radio frequency unit detects the random number of its generation, then send the request message of this sub-distribution numbering of application to main control unit; If it is not 0 that radio frequency unit detects the random number of its generation, then do not do any response; The request message of this sub-distribution numbering of the application that main control unit received RF unit returns; Main control unit detects has apply for this sub-distribution numbering simultaneously for what radio frequency units; If detect and have only this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to the corresponding radio frequency unit of this sub-distribution numbering of application; Apply for that the corresponding radio frequency unit of this sub-distribution numbering receives the affirmation communication frame that comprises described numbering that main control unit returns.
Another object of the present invention is to provide a kind of method of distributing mark to radiofrequency unit, said method comprising the steps of:
Main control unit is received from the enabled instruction that adapts to allocation identification;
According to described enabled instruction, main control unit sends broadcast communication data frame to all radio frequency units, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign;
Each radio frequency unit receives the broadcast communication data frame that main control unit sends, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign;
Radio frequency unit produces a random number;
If it is 0 that radio frequency unit detects the random number of its generation, then send the request message of this sub-distribution numbering of application to main control unit; If it is not 0 that radio frequency unit detects the random number of its generation, then do not do any response;
The request message of this sub-distribution numbering of the application that main control unit received RF unit returns;
Main control unit detects has apply for this sub-distribution numbering simultaneously for what radio frequency units;
If detect and have only this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to the corresponding radio frequency unit of this sub-distribution numbering of application;
Apply for that the corresponding radio frequency unit of this sub-distribution numbering receives the affirmation communication frame that comprises described numbering that main control unit returns.
In the present invention, adopt the self adaptation distributing mark to radiofrequency unit, thus solved exist in the prior art in special type, the problem that can't realize by manual distributing mark to radiofrequency unit.
Description of drawings
Fig. 1 is the description figure that main control unit that prior art provides is communicated by letter with radio frequency unit.
Fig. 2 is the realization flow schematic diagram of the method for the distributing mark to radiofrequency unit that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and beneficial effect clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention provides a kind of repeater, and described repeater comprises a main control unit and at least two radio frequency units.
Main control unit is received from the enabled instruction that adapts to allocation identification; According to described enabled instruction, main control unit sends broadcast communication data frame to all radio frequency units, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign; Each radio frequency unit receives the broadcast communication data frame that main control unit sends; Radio frequency unit produces a random number; If it is 0 that radio frequency unit detects the random number of its generation, then send the request message of this sub-distribution numbering of application to main control unit; If it is not 0 that radio frequency unit detects the random number of its generation, then do not do any response; The request message of this sub-distribution numbering of the application that main control unit received RF unit returns; Main control unit detects has apply for this sub-distribution numbering simultaneously for what radio frequency units; If detect and have only this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to the corresponding radio frequency unit of this sub-distribution numbering of application; Apply for that the corresponding radio frequency unit of this sub-distribution numbering receives the affirmation communication frame that comprises described numbering that main control unit returns.
As first embodiment of the invention, after described main control unit receives the enabled instruction of self adaptation allocation identification, main control unit judges that also whether the radio frequency unit quantity of sign to be allocated is greater than 1, if greater than 1, then carry out described main control unit sends step from broadcast communication data frame to all radio frequency units, otherwise, finish this self adaptation allocation identification flow process.
As second embodiment of the invention, described affirmation communication frame also comprises the random code that this radio frequency unit produces.It is main control unit returns affirmation communication frame from the random code that comprises that described numbering and this radio frequency unit produce to the corresponding radio frequency unit of this sub-distribution numbering of application.
As third embodiment of the invention, described main control unit is after the corresponding radio frequency unit of this sub-distribution numbering of application returns the affirmation communication frame that comprises described numbering, and main control unit also subtracts 1 with the radio frequency unit quantity of sign to be allocated, and will distribute number value to add 1.
As fourth embodiment of the invention, after described each radio frequency unit receives the broadcast communication data frame of main control unit transmission, each radio frequency unit judges also whether itself has distributed sign, distributed sign if judge, then this radio frequency unit finishes this operation, otherwise, carry out the step that described radio frequency unit produces a random number.
As fifth embodiment of the invention, after the affirmation communication frame that comprises described numbering that the corresponding radio frequency unit reception main control unit of this sub-distribution numbering of described application returns, this radio frequency unit also extracts the random code in the described affirmation communication frame, and the random code that extracts and the random code that itself produces compared, if consistent, then this radio frequency unit is carried out to obtain and is distributed numbering.
As sixth embodiment of the invention, after the affirmation communication frame that comprises described numbering that the corresponding radio frequency unit reception main control unit of this sub-distribution numbering of described application returns, this radio frequency unit also is recorded as himself the sign that distributes numbering.
See also Fig. 2, the realization flow of the method for the distributing mark to radiofrequency unit that provides for the embodiment of the invention, it may further comprise the steps:
In step S101, main control unit is received from the enabled instruction that adapts to allocation identification;
In embodiments of the present invention, after described main control unit is received from the step of the enabled instruction that adapts to allocation identification, further comprising the steps of: whether the radio frequency unit quantity of judging sign to be allocated is greater than 1, if greater than 1, execution in step S102 then, otherwise, finish this self adaptation allocation identification flow process.
In step S102, according to described enabled instruction, main control unit sends broadcast communication data frame to all radio frequency units, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign;
In step S103, each radio frequency unit receives the broadcast communication data frame that main control unit sends, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign;
In embodiments of the present invention, after step S103, further comprising the steps of: each radio frequency unit judges whether itself has distributed sign, has distributed sign if judge, and then this radio frequency unit finishes this operation, otherwise, execution in step S104.
In step S104, radio frequency unit produces a random number;
In embodiments of the present invention, the scope of described random number is 0~M-1, and M is the radio frequency unit quantity of unallocated sign.
In step S105, be 0 if radio frequency unit detects the random number of its generation, then send the request message of this sub-distribution numbering of application to main control unit; If it is not 0 that radio frequency unit detects the random number of its generation, then do not do any response;
In embodiments of the present invention, be 0 if radio frequency unit detects the random number of its generation, then send the request message of this sub-distribution numbering of application to main control unit; The random code that also comprises its generation in this request message, this random code can be one 32 random codes.
In step S106, the request message of this sub-distribution numbering of the application that main control unit received RF unit returns;
In embodiments of the present invention, except that comprising this sub-distribution numbering, also comprise the random code that this radio frequency unit produces in the request message that described main control unit receives.
In step S107, main control unit detects has apply for this sub-distribution numbering simultaneously for what radio frequency units;
In step S108, has only this sub-distribution numbering of a radio frequency unit application if detect; Then main control unit returns the affirmation communication frame that comprises described numbering to the corresponding radio frequency unit of this sub-distribution numbering of application;
In embodiments of the present invention, confirm in order to make radio frequency unit whether it has obtained to distribute numbering, and described step S108 also comprises: main control unit returns the affirmation communication frame of the random code that comprises that described numbering and this radio frequency unit produce to the corresponding radio frequency unit of this sub-distribution numbering of application.
In embodiments of the present invention, further comprising the steps of after described step S108: after distributing this sub-distribution numbering, main control unit subtracts 1 with the radio frequency unit quantity of sign to be allocated, and will distribute number value to add 1.
In step S109, apply for that the corresponding radio frequency unit of this sub-distribution numbering receives the affirmation communication frame that comprises described numbering that main control unit returns.
In embodiments of the present invention, apply for that the corresponding radio frequency unit of this sub-distribution numbering receives the affirmation communication frame that comprises described numbering and random code that main control unit returns.
In embodiments of the present invention, after the described step S109, further comprising the steps of, radio frequency unit extracts the random code in the described affirmation communication frame, and the random code that extracts and the random code that itself produces compared, if consistent, then this radio frequency unit is carried out to obtain and is distributed numbering.
After step S109, further comprising the steps of: radio frequency unit will himself be recorded as the sign that has distributed numbering.
In sum, the embodiment of the invention adopts the self adaptation distributing mark to radiofrequency unit, thus solved exist in the prior art in special type, the problem that can't realize by manual distributing mark to radiofrequency unit.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (14)
1. a repeater is characterized in that, described repeater comprises a main control unit and at least two radio frequency units;
Main control unit is received from the enabled instruction that adapts to allocation identification; According to described enabled instruction, main control unit sends broadcast communication data frame to all radio frequency units, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign; Each radio frequency unit receives the broadcast communication data frame that main control unit sends; Radio frequency unit produces a random number; If it is 0 that radio frequency unit detects the random number of its generation, then send the request message of this sub-distribution numbering of application to main control unit; If it is not 0 that radio frequency unit detects the random number of its generation, then do not do any response; The request message of this sub-distribution numbering of the application that main control unit received RF unit returns; Main control unit detects has apply for this sub-distribution numbering simultaneously for what radio frequency units; If detect and have only this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to the corresponding radio frequency unit of this sub-distribution numbering of application; Apply for that the corresponding radio frequency unit of this sub-distribution numbering receives the affirmation communication frame that comprises described numbering that main control unit returns.
2. repeater as claimed in claim 1, it is characterized in that, after described main control unit receives the enabled instruction of self adaptation allocation identification, main control unit judges that also whether the radio frequency unit quantity of sign to be allocated is greater than 1, if greater than 1, then carry out the step of described main control unit to all radio frequency units transmission broadcast communication data frame, otherwise, this self adaptation allocation identification flow process finished.
3. repeater as claimed in claim 1 is characterized in that, described affirmation communication frame also comprises the random code that this radio frequency unit produces.
4. repeater as claimed in claim 1, it is characterized in that, described main control unit is after the corresponding radio frequency unit of this sub-distribution numbering of application returns the affirmation communication frame that comprises described numbering, and main control unit also subtracts 1 with the radio frequency unit quantity of sign to be allocated, and will distribute number value to add 1.
5. repeater as claimed in claim 1, it is characterized in that, after described each radio frequency unit receives the broadcast communication data frame of main control unit transmission, each radio frequency unit judges also whether itself has distributed sign, distributed sign if judge, then this radio frequency unit finishes this operation, otherwise, carry out the step that described radio frequency unit produces a random number.
6. repeater as claimed in claim 3, it is characterized in that, after the affirmation communication frame that comprises described numbering that the corresponding radio frequency unit reception main control unit of this sub-distribution numbering of described application returns, this radio frequency unit also extracts the random code in the described affirmation communication frame, and the random code that extracts and the random code that itself produces compared, if consistent, then this radio frequency unit is carried out to obtain and is distributed numbering.
7. repeater as claimed in claim 1, it is characterized in that, after the affirmation communication frame that comprises described numbering that the corresponding radio frequency unit reception main control unit of this sub-distribution numbering of described application returns, this radio frequency unit also is recorded as himself the sign that distributes numbering.
8. the method for a distributing mark to radiofrequency unit is characterized in that, said method comprising the steps of:
Main control unit is received from the enabled instruction that adapts to allocation identification;
According to described enabled instruction, main control unit sends broadcast communication data frame to all radio frequency units, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign;
Each radio frequency unit receives the broadcast communication data frame that main control unit sends, and described broadcast communication data frame comprises the radio frequency unit quantity of this sub-distribution numbering and unallocated sign;
Radio frequency unit produces a random number;
If it is 0 that radio frequency unit detects the random number of its generation, then send the request message of this sub-distribution numbering of application to main control unit; If it is not 0 that radio frequency unit detects the random number of its generation, then do not do any response;
The request message of this sub-distribution numbering of the application that main control unit received RF unit returns;
Main control unit detects has apply for this sub-distribution numbering simultaneously for what radio frequency units;
If detect and have only this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to the corresponding radio frequency unit of this sub-distribution numbering of application;
Apply for that the corresponding radio frequency unit of this sub-distribution numbering receives the affirmation communication frame that comprises described numbering that main control unit returns.
9. method as claimed in claim 8 is characterized in that, and is after described main control unit is received from the step of the enabled instruction that adapts to allocation identification, further comprising the steps of:
Whether main control unit judges the radio frequency unit quantity of sign to be allocated greater than 1, if greater than 1, then carries out the step of described main control unit to all radio frequency units transmission broadcast communication data frame, otherwise, finish this self adaptation allocation identification flow process.
10. method as claimed in claim 8 is characterized in that, described affirmation communication frame also comprises the random code that this radio frequency unit produces.
11. method as claimed in claim 8 is characterized in that, described main control unit is after the corresponding radio frequency unit of this sub-distribution numbering of application returns the step of the affirmation communication frame that comprises described numbering, and is further comprising the steps of:
After distributing this sub-distribution numbering, main control unit subtracts 1 with the radio frequency unit quantity of sign to be allocated, and will distribute number value to add 1.
12. method as claimed in claim 8 is characterized in that, and is after the step of the broadcast communication data frame that described each radio frequency unit reception main control unit sends, further comprising the steps of:
Each radio frequency unit judges whether itself has distributed sign, has distributed sign if judge, and then this radio frequency unit finishes this operation, otherwise, carry out the step that described radio frequency unit produces a random number.
13. method as claimed in claim 10 is characterized in that, and is after the step of the affirmation communication frame that comprises described numbering that the corresponding radio frequency unit reception main control unit of this sub-distribution numbering of described application returns, further comprising the steps of:
Radio frequency unit extracts the random code in the described affirmation communication frame, and random code that extracts and the random code that itself produces are compared, if consistent, then this radio frequency unit is carried out to obtain and distributed numbering.
14. method as claimed in claim 8 is characterized in that, and is after the step of the affirmation communication frame that comprises described numbering that the corresponding radio frequency unit reception main control unit of this sub-distribution numbering of described application returns, further comprising the steps of:
Radio frequency unit will himself be recorded as the sign that has distributed numbering.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010137345 CN101835140B (en) | 2010-03-26 | 2010-03-26 | Method for distributing mark to radiofrequency unit and repeater |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010137345 CN101835140B (en) | 2010-03-26 | 2010-03-26 | Method for distributing mark to radiofrequency unit and repeater |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101835140A true CN101835140A (en) | 2010-09-15 |
CN101835140B CN101835140B (en) | 2013-03-06 |
Family
ID=42719030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010137345 Expired - Fee Related CN101835140B (en) | 2010-03-26 | 2010-03-26 | Method for distributing mark to radiofrequency unit and repeater |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101835140B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805566A (en) * | 2005-01-12 | 2006-07-19 | 华为技术有限公司 | Separated base station system and its networking method and baseband unit |
WO2006078454A1 (en) * | 2005-01-14 | 2006-07-27 | Thomson Licensing | Method and apparatus for intra prediction for rru |
CN101166048A (en) * | 2006-10-18 | 2008-04-23 | 中兴通讯股份有限公司 | Far end radio frequency unit data passage distribution method in radio communication system |
-
2010
- 2010-03-26 CN CN 201010137345 patent/CN101835140B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1805566A (en) * | 2005-01-12 | 2006-07-19 | 华为技术有限公司 | Separated base station system and its networking method and baseband unit |
WO2006078454A1 (en) * | 2005-01-14 | 2006-07-27 | Thomson Licensing | Method and apparatus for intra prediction for rru |
CN101166048A (en) * | 2006-10-18 | 2008-04-23 | 中兴通讯股份有限公司 | Far end radio frequency unit data passage distribution method in radio communication system |
Also Published As
Publication number | Publication date |
---|---|
CN101835140B (en) | 2013-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100596085C (en) | Login method and apparatus for AP | |
WO2007038729A3 (en) | Method and apparatus for carrier allocation and management in multi-carrier communication systems | |
CN101257698B (en) | Method for sensing multi-channel, cognition radio system, base station as well as user terminal | |
CN106341558A (en) | Virtual number processing method and device and server | |
NZ594766A (en) | Virtual service provider systems | |
CN101742480B (en) | Method and system for distributing initial key of slave security domain of intelligent card and mobile terminal | |
CN102209391A (en) | Random access resource configuration method and device | |
CN102655462B (en) | The method of batch upgrade Embedded Network Device and device | |
CN101594270A (en) | A kind of WAP (wireless access point) and bandwidth allocation methods thereof | |
CN100450114C (en) | Automatic configuration method and system for digital household terminal | |
WO2012138078A3 (en) | Method and apparatus for quality of service control for a user equipment | |
CN105704256B (en) | A kind of IP address management methods, devices and systems | |
CN103596163A (en) | Account management method of mobile phone application software | |
CN103167620A (en) | Radio resource distribution method and device | |
WO2010020615A3 (en) | Dynamic access to radio networks | |
CN101835140B (en) | Method for distributing mark to radiofrequency unit and repeater | |
CN101594642A (en) | The resource allocation methods and the device that are used for communication network element equipment | |
CN103139291B (en) | A kind of location application server obtains the method for terminal gps data | |
CN102612156B (en) | Duplex communication method based on time domain scheduling | |
CN107908992A (en) | A kind of electrical power system network safety method and system of identity-based identification | |
CN102404302A (en) | Method for dispatching service and service dispatching server | |
CN102456252A (en) | Method and system for making invoice | |
CN106878990A (en) | A kind of information-pushing method and device | |
CN103237236B (en) | A kind of information processing method, BOSS system and information processing system | |
CN102065375A (en) | Broadcast server realization method and system and broadcast system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130306 Termination date: 20150326 |
|
EXPY | Termination of patent right or utility model |