CN101835140B - Method for distributing mark to radiofrequency unit and repeater - Google Patents

Method for distributing mark to radiofrequency unit and repeater Download PDF

Info

Publication number
CN101835140B
CN101835140B CN 201010137345 CN201010137345A CN101835140B CN 101835140 B CN101835140 B CN 101835140B CN 201010137345 CN201010137345 CN 201010137345 CN 201010137345 A CN201010137345 A CN 201010137345A CN 101835140 B CN101835140 B CN 101835140B
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.)
Expired - Fee Related
Application number
CN 201010137345
Other languages
Chinese (zh)
Other versions
CN101835140A (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.)
SHENZHEN WINHAP COMMUNICATIONS Inc
Original Assignee
SHENZHEN WINHAP COMMUNICATIONS Inc
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 SHENZHEN WINHAP COMMUNICATIONS Inc filed Critical SHENZHEN WINHAP COMMUNICATIONS Inc
Priority to CN 201010137345 priority Critical patent/CN101835140B/en
Publication of CN101835140A publication Critical patent/CN101835140A/en
Application granted granted Critical
Publication of CN101835140B publication Critical patent/CN101835140B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

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

A kind of method of distributing mark to radiofrequency unit and repeater
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.
In most of situation, by giving certain radio frequency unit manual allocation numbering, do not have any problem and occur.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 simultaneously this sub-distribution numbering for what radio frequency units; If detect and only have this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to radio frequency unit corresponding to this sub-distribution numbering of application; Apply for that radio frequency unit corresponding to 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 simultaneously this sub-distribution numbering for what radio frequency units;
If detect and only have this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to radio frequency unit corresponding to this sub-distribution numbering of application;
Apply for that radio frequency unit corresponding to 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, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit 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 simultaneously this sub-distribution numbering for what radio frequency units; If detect and only have this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to radio frequency unit corresponding to this sub-distribution numbering of application; Apply for that radio frequency unit corresponding to 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 number that this radio frequency unit produces.It is main control unit returns affirmation communication frame from the random number that comprises that described numbering and this radio frequency unit produce to radio frequency unit corresponding to this sub-distribution numbering of application.
As third embodiment of the invention, described main control unit is after radio frequency unit corresponding to 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 radio frequency unit reception main control unit corresponding to this sub-distribution numbering of described application returns, this radio frequency unit also extracts the random number in the described affirmation communication frame, and the random number that extracts and the random number 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 radio frequency unit reception main control unit corresponding to 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: as to judge that whether the radio frequency unit quantity of 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 number that also comprises its generation in this request message, this random number can be one 32 random numbers.
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 comprising this sub-distribution numbering, also comprise the random number 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 simultaneously this sub-distribution numbering for what radio frequency units;
In step S108, only has 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 radio frequency unit corresponding to 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 number that comprises that described numbering and this radio frequency unit produce to radio frequency unit corresponding to 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 radio frequency unit corresponding to 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 radio frequency unit corresponding to this sub-distribution numbering receives the affirmation communication frame that comprises described numbering and random number 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 number in the described affirmation communication frame, and the random number that extracts and the random number 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 limiting the present invention, all any modifications of doing 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 simultaneously this sub-distribution numbering for what radio frequency units; If detect and only have this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to radio frequency unit corresponding to this sub-distribution numbering of application; Apply for that radio frequency unit corresponding to 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 described main control unit sends step from broadcast communication data frame to all radio frequency units, 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 number that this radio frequency unit produces.
4. repeater as claimed in claim 1, it is characterized in that, described main control unit is after radio frequency unit corresponding to 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 radio frequency unit reception main control unit corresponding to this sub-distribution numbering of described application returns, this radio frequency unit also extracts the random number in the described affirmation communication frame, and the random number that extracts and the random number 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 radio frequency unit reception main control unit corresponding to 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 simultaneously this sub-distribution numbering for what radio frequency units;
If detect and only have this sub-distribution numbering of a radio frequency unit application; Then main control unit returns the affirmation communication frame that comprises described numbering to radio frequency unit corresponding to this sub-distribution numbering of application;
Apply for that radio frequency unit corresponding to 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 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.
10. method as claimed in claim 8 is characterized in that, described affirmation communication frame also comprises the random number that this radio frequency unit produces.
11. method as claimed in claim 8 is characterized in that, described main control unit is after radio frequency unit corresponding to 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 radio frequency unit reception main control unit corresponding to this sub-distribution numbering of described application returns, further comprising the steps of:
Radio frequency unit extracts the random number in the described affirmation communication frame, and the random number that extracts and the random number 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 radio frequency unit reception main control unit corresponding to 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.
CN 201010137345 2010-03-26 2010-03-26 Method for distributing mark to radiofrequency unit and repeater Expired - Fee Related CN101835140B (en)

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 CN101835140A (en) 2010-09-15
CN101835140B true 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 (2)

* Cited by examiner, † Cited by third party
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
CN101166048A (en) * 2006-10-18 2008-04-23 中兴通讯股份有限公司 Far end radio frequency unit data passage distribution method in radio communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006078454A1 (en) * 2005-01-14 2006-07-27 Thomson Licensing Method and apparatus for intra prediction for rru

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
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
CN101835140A (en) 2010-09-15

Similar Documents

Publication Publication Date Title
CN100596085C (en) Login method and apparatus for AP
NZ594766A (en) Virtual service provider systems
CN103428696A (en) Virtual SIM card achieving method and system and relevant device
EP4297302A3 (en) Wireless communication system, wireless communication setting method, base station, mobile station, and program
WO2012033367A3 (en) Apparatus and method for supporting periodic multicast transmission in machine to machine communication system
CN104467945A (en) Virtual bus-based distributed asterism network resource management method
CN102655462B (en) The method of batch upgrade Embedded Network Device and device
CN106375075B (en) A kind of shared band uplink multi-subband resource allocation methods and base station
CN101257698A (en) Method for sensing multi-channel, cognition radio system, base station as well as user terminal
CN101867625A (en) Method for allocating IPv6 address and home gateway
CN103916274B (en) A kind of parallel network element cut-in method of many examples and system
CN102868770A (en) Method, equipment and system for distributing interface
CN106658044A (en) Live broadcast method and device
CN103167620B (en) A kind of wireless resource allocation methods and device
CN101835140B (en) Method for distributing mark to radiofrequency unit and repeater
CN101938383B (en) On-line monitoring method and system of user account with multiple services as well as monitoring service system
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
CN104010307A (en) Method for realizing authentication of remote USIM cards through internet
CN103581354A (en) Network address allocation method and system
CN106878990A (en) A kind of information-pushing method and device
CN101500072B (en) Method for transmitting digital television service on demand
CN103237236B (en) A kind of information processing method, BOSS system and information processing system
CN102456252A (en) Method and system for making invoice
CN101431351A (en) Method for node B acquiring available power of scheduling reinforced special channel

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