CN102439881A - Method and device for detecting conflict - Google Patents

Method and device for detecting conflict Download PDF

Info

Publication number
CN102439881A
CN102439881A CN2011800022170A CN201180002217A CN102439881A CN 102439881 A CN102439881 A CN 102439881A CN 2011800022170 A CN2011800022170 A CN 2011800022170A CN 201180002217 A CN201180002217 A CN 201180002217A CN 102439881 A CN102439881 A CN 102439881A
Authority
CN
China
Prior art keywords
response frame
radio
antenna feeder
frequency apparatus
frame
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
CN2011800022170A
Other languages
Chinese (zh)
Other versions
CN102439881B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102439881A publication Critical patent/CN102439881A/en
Application granted granted Critical
Publication of CN102439881B publication Critical patent/CN102439881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • H04B17/12Monitoring; Testing of transmitters for calibration of transmit antennas, e.g. of the amplitude or phase

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for detecting a conflict, relating to the communication technology field. The method comprises the steps of using a radio frequency device to generate a scanning frame containing identification information according to a scanning strategy, wherein, the identification information is used to seek an antenna feeder device matching the radio frequency device; using the radio frequency device to send the scanning frame and receive a response frame returned by the antenna feeder device matching successfully; using the radio frequency device to determine whether the response frame is correct; if not, determining that the response of the antenna feeder device is conflicted. The radio frequency device comprises a generating unit, a communication unit and a detection unit, a base station comprises the radio frequency device and the antenna feeder device. By using the method and the device for detecting conflict of the invention, the scanning success rate of the radio frequency device of the base station to the antenna feeder device is improved.

Description

The method and apparatus of collision detection
Technical field
The present invention relates to communication technical field, particularly a kind of method and apparatus of collision detection.
Background technology
Antenna feeder equipment is the important component part of mobile communication base station; Common antenna feeder equipment has TMA (Tower Mounted Amplifier; Tower amplifier), RCU (Remote Control Unit; Remote Control Unit) etc., wherein TMA is used for upward signal is amplified, and RCU is used to adjust the inclination angle of antenna and the sensing that changes antenna beam.
The base station generally includes a plurality of antenna feeder equipment, and a plurality of antenna feeder equipment is connected with the radio-frequency apparatus of base station through same half-duplex RS-485 bus.For convenience, can radio-frequency apparatus be called main equipment, antenna feeder equipment is called slave unit.Main equipment and slave unit, need to distinguish different slave units and also carry out with it alternately when agreement communicates based on AISG (Antenna Interface Standards Group, antennal interface standard group), for this reason, when communication, need specify corresponding address for it.Main equipment comes the address for its designated communication through searching slave unit, and this process is called scanning.Because slave unit has unique sequence number unique id, therefore, scanning process is exactly according to the process of certain rule match to corresponding sequence number unique id.
In scanning process, main equipment issues scan request, after slave unit is received scan request, returns the scanning response if sequence numbers match is successful.If main equipment receives correct response frame, then can carry out follow-up assigned address flow process; If main equipment receives wrong response frame, then show to have a plurality of slave units on the link, this situation is a conflict situation.
Pass through CPU (Central Processing Unit between existing main equipment and the slave unit; Central processing unit) asynchronous HDLC (the High Data Link Control that solidifies; High-Level Data Link Control) controller is communicated by letter; And asynchronous hdlc controller can be made discard processing to the response frame of mistake, may think not response of slave unit by mistake for conflict situation, thereby causes the power that is scanned into of antenna feeder equipment is reduced.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus of collision detection.Said technical scheme is following:
On the one hand, a kind of method of collision detection comprises:
Radio-frequency apparatus generates the scanning frame that comprises identification information according to scanning strategy, and said identification information is used to search the antenna feeder equipment that matees with said radio-frequency apparatus;
Said radio-frequency apparatus sends said scanning frame, and receives the response frame that the successful antenna feeder equipment of coupling returns;
Said radio-frequency apparatus judges whether said response frame is correct, if incorrect, then confirms the conflict of antenna feeder device responds.
On the other hand, a kind of radio-frequency apparatus comprises:
Generation unit is used for generating the scanning frame that comprises identification information according to scanning strategy, and said identification information is used to search the antenna feeder equipment that matees with said radio-frequency apparatus;
Communication unit is used to send said scanning frame, and receives the response frame that the successful antenna feeder equipment of coupling returns;
Detecting unit is used to judge whether said response frame is correct, if incorrect, then confirms the conflict of antenna feeder device responds.
On the one hand, a kind of base station comprises: said radio-frequency apparatus and antenna feeder equipment again;
Said antenna feeder equipment; Be used to receive the said scanning frame that said radio-frequency apparatus sends, judge whether said antenna feeder equipment mark meets the identification information in the said scanning frame, if meet; Then mate successfully, and return the response frame that comprises said antenna feeder equipment mark and give said radio-frequency apparatus.
The beneficial effect of the technical scheme that the embodiment of the invention provides is: generate and send the scanning frame that comprises identification information through radio-frequency apparatus; After receiving the response frame that returns of the successful antenna feeder equipment of coupling; Whether correctly determine whether the conflict of antenna feeder device responds takes place according to response frame, realized the detection of scanning conflict, guarantee that the response frame of mistake is not lost; Make radio-frequency apparatus correctly obtain conflicting information, improved the be scanned into power of radio-frequency apparatus antenna feeder equipment.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of the collision detection that provides of the embodiment of the invention 1;
Fig. 2 is the method flow diagram of the collision detection that provides of the embodiment of the invention 2;
Fig. 3 be the embodiment of the invention 2 provide judge the flow chart that response frame is whether complete;
Fig. 4 is a kind of structure chart of the radio-frequency apparatus that provides of the embodiment of the invention 3;
Fig. 5 is the another kind of structure chart of the radio-frequency apparatus that provides of the embodiment of the invention 3;
Fig. 6 is the architecture of base station figure that the embodiment of the invention 4 provides.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
The embodiment of the invention relates to the base station in the GSM, and this GSM includes but not limited to: 2G system, 3G system or LTE (Long Term Evolution, Long Term Evolution) system etc.; Said base station can be GSM (Global System for Mobile communications; Global system for mobile communications) or the BTS (Base Transceiver Station, base transceiver station) among the CDMA (Code Division Multiple Access, code division multiple access); Also can be WCDMA (Wideband Code Division Multiple Access Wireless; WCDMA) NodeB in (Node base station, base station) can also be eNodeB (the evolutional Node B among the LTE; The base station of evolution), the present invention does not limit.
Base station in the embodiment of the invention comprises: radio-frequency apparatus and antenna feeder equipment.Wherein, radio-frequency apparatus includes but not limited to: RRH (Remote Radio Head) or RRU (Remote Radio Unit, Remote Radio Unit), antenna feeder equipment includes but not limited to: TMA or RCU.In embodiments of the present invention, radio-frequency apparatus is called main equipment again, and antenna feeder equipment is called slave unit again.Communicate based on the AISG agreement between radio-frequency apparatus and the antenna feeder equipment, the antenna feeder equipment of communicating by letter with radio-frequency apparatus usually has a plurality of, thereby need scan a plurality of antenna feeder equipment, carries out subsequent communications so that radio-frequency apparatus is an antenna feeder equipment assigned address.
Embodiment 1
Referring to Fig. 1, present embodiment provides a kind of method of collision detection, comprising:
101: radio-frequency apparatus generates the scanning frame that comprises identification information according to scanning strategy, and this identification information is used to search the antenna feeder equipment that matees with radio-frequency apparatus.
102: radio-frequency apparatus sends the scanning frame that generates, and receives the response frame that the successful antenna feeder equipment of coupling returns.
103: radio-frequency apparatus judges whether the response frame of receiving is correct, if incorrect, then confirms the conflict of antenna feeder device responds.
The base station generally includes one or more antenna feeder equipment, and a plurality of antenna feeder equipment is connected with the radio-frequency apparatus of base station.Usually can radio-frequency apparatus be called main equipment, antenna feeder equipment is called slave unit.
Wherein, The pre-configured scanning strategy of antenna feeder equipment that the radio-frequency apparatus of base station can be searched as required; Comprise in this scanning strategy and the device-dependent identification information of antenna feeder to be found; This identification information can be an antenna feeder equipment mark to be found, also can be a sign scope of confirming according to antenna feeder equipment mark to be found.Said identification information is meant the information that can identify antenna feeder equipment, include but not limited to can unique identification antenna feeder equipment sequence number.For example, the sequence number of antenna feeder equipment to be found is " 12345678 ", and then the identification information in the scanning frame can be " 12345678 ", perhaps also can for " *678 " 3 of expression back are the antenna feeder equipment mark scope of " 678 ".
In the present embodiment, after radio-frequency apparatus sends scanning frame, if radio-frequency apparatus is connected with a plurality of antenna feeder equipment; Then these a plurality of antenna feeder equipment all can be received this scanning frame; After each antenna feeder equipment receives scanning frame, can judge all whether the sign of self meets the identification information in the scanning frame, if meet; Then mate successfully, and return the response frame that comprises self identification and give radio-frequency apparatus.When the identification information in the scanning frame has been specified an antenna feeder equipment mark, have only an antenna feeder equipment that meets this sign to return response frame to radio-frequency apparatus; When the identification information in the scanning frame has been specified a sign scope, then have a plurality of antenna feeder equipment that meet this sign scope and return response frame to radio-frequency apparatus, the conflict of antenna feeder device responds will take place in this case.
In the present embodiment, further, radio-frequency apparatus can also be revised said scanning strategy and scan once more being used for after the conflict of definite antenna feeder device responds.
The said method that present embodiment provides; Generate and send the scanning frame that comprises identification information through radio-frequency apparatus, after receiving the response frame that returns of the successful antenna feeder equipment of coupling, whether correctly determine whether to take place the conflict of antenna feeder device responds according to response frame; Realized the detection of scanning conflict; Guarantee that wrong response frame do not lose, make radio-frequency apparatus correctly obtain conflicting information, improved the be scanned into power of radio-frequency apparatus antenna feeder equipment.
Embodiment 2
Referring to Fig. 2, on the basis of embodiment 1, present embodiment provides a kind of method of collision detection, comprising:
201: radio-frequency apparatus generates the scanning frame that comprises identification information according to scanning strategy, and this identification information is used to search the antenna feeder equipment that matees with radio-frequency apparatus.
Usually, the radio-frequency apparatus of base station can initiate to scan flow process when starting, so that be the successful antenna feeder devices allocation address of scanning; Thereby communicate, in case after being antenna feeder devices allocation address, just need not again this antenna feeder equipment have been scanned with this antenna feeder equipment; If single pass is success not, then radio-frequency apparatus can be initiated scanning process once more, till scanning this antenna feeder equipment; Perhaps stop scanning etc. as required, the present invention does not limit this.
Wherein, said scanning strategy generates in advance, generates the process of said scanning strategy and the implication of said identification information and sees the description among the embodiment 1 for details, repeats no more here.
202: radio-frequency apparatus sends the scanning frame that has generated.
Usually, the radio-frequency apparatus of base station is connected through the RS-485 bus with one or more antenna feeder equipment, and therefore, radio-frequency apparatus can send said scanning frame through this RS-485 bus, and the antenna feeder equipment that hangs on the RS-485 bus all can be received this scanning frame.
203: the scanning frame that antenna feeder equipment received RF equipment sends, judge whether the sign of self meets the identification information in this scanning frame, if meet, then mate successfully, and return the response frame that comprises self identification and give radio-frequency apparatus; If do not meet, then coupling failure is not returned response frame and is given radio-frequency apparatus.
Be that sequence number is that example describes with identification information below.Comprise the sequence number of 1 expectation and the mask mask isometric in the scanning frame that the radio-frequency apparatus of base station issues with it.After antenna feeder equipment is received scanning frame; Earlier the mask in own real unique sequence number unique id and the scanning frame is carried out AND-operation; The result of AND-operation again with scanning frame in the expectation sequence number more consistent; If consistent, then mate and successfully return response frame to radio-frequency apparatus, comprise antenna feeder equipment complete device sequence number in this response frame; If inconsistent, then do not respond.
Be to receive that with any the antenna feeder equipment of scanning frame is that example describes in the present embodiment,, then can carry out identical handling process, do not do too much explanation if there are a plurality of antenna feeder equipment all to receive this scanning frame.
204: radio-frequency apparatus receives the response frame that the successful antenna feeder equipment of coupling returns.
205: radio-frequency apparatus judges whether the response frame of receiving is complete, if response frame is complete, then execution in step 206; If response frame is imperfect, then execution in step 208.
According to the AISG agreement, frame format mutual between radio-frequency apparatus and the antenna feeder equipment is as shown in table 1, comprises frame head " 7E ", data and CRC (Cyclic Redundancy Check, CRC), postamble " 7E ".
Table 1
7E Data and CRC 7E
When radio-frequency apparatus and antenna feeder communication between devices clash; Can produce incomplete frame; This incomplete frame format comprises any in following several kinds: the frame of no frame head or the frame that does not have the frame of postamble or not only do not had frame head but also do not had postamble, and respectively shown in table 2, table 3 and table 4.
Table 2
Data and CRC 7E
Frame in the table 2 still has the frame of data and CRC and postamble for there not being frame head.
Table 3
7E Data and CRC
Frame in the table 3 is for having frame head, data and CRC, but do not have the frame of postamble.
Table 4
Data and CRC
Frame in the table 4 does not have postamble for both there not being frame head yet, has only the frame of data and CRC.
In the present embodiment, the radio-frequency apparatus of base station can specifically judge through following mode whether the response frame of receiving is complete:
Radio-frequency apparatus judges whether to receive at the appointed time response frame, and comprises frame head and postamble in this response frame; If confirm that then this response frame is complete; Otherwise, confirm that this response frame is imperfect.
Wherein, official hour can be provided with as required in advance, and like the speed setting according to transfer of data between radio-frequency apparatus and the antenna feeder equipment, the present invention does not limit this.
In the present embodiment; When a plurality of antenna feeder equipment return response frame, the scene that radio-frequency apparatus is received a plurality of response frames can appear, need under this scene to consider whether radio-frequency apparatus receives continuous response frame; And whether continuous response frame all is complete response frame; Therefore, further, said method can also comprise:
Radio-frequency apparatus judges whether also to receive follow-up response frame after definite current response frame of receiving is complete, if also receive follow-up response frame, judges then whether this follow-up response frame is complete; If this follow-up response frame also is complete; Can confirm that then the response frame of receiving continuously all is complete, otherwise, even current response frame is complete; If follow-up response frame is imperfect, then also can confirm the conflict of antenna feeder device responds.
For example, radio-frequency apparatus is received two response frames continuously, after judging that first response frame is complete, judges second response frame and does not have frame head, and as shown in table 5, then radio-frequency apparatus can confirm that second response frame is imperfect, thereby can confirm the conflict of antenna feeder device responds.
Table 5
7E Data and CRC 7E Data and CRC 7E
Referring to Fig. 3, complete process can be specific as follows to judge the response frame received when radio-frequency apparatus is received a plurality of response frame:
1: radio-frequency apparatus judges whether the antenna feeder device acknowledge is arranged in the official hour, if then execution in step 2; Otherwise, execution in step 8.
2: radio-frequency apparatus judges in the response frame of antenna feeder device acknowledge whether comprise frame head, if then execution in step 3; Otherwise, confirm that current response frame is imperfect, execution in step 7.
3: radio-frequency apparatus judges whether receive postamble in the official hour, if then execution in step 4; Otherwise, confirm that current response frame is imperfect, execution in step 7.
4: radio-frequency apparatus confirms that the current response frame of receiving is complete response frame, and judges whether the postamble of current response frame receives the subsequent response frame afterwards, if then execution in step 5; Otherwise current response frame is complete frame and does not have follow-up response frame, execution in step 6.
5: radio-frequency apparatus judges whether this subsequent response frame is complete, if then current and follow-up response frame is complete response frame, and execution in step 6; Otherwise, confirm that the subsequent response frame is imperfect, execution in step 7.
Wherein, radio-frequency apparatus is judged that the subsequent response frame is whether complete and can be adopted and judge whether complete identical method of current response frame, do not do too much explanation here.
6: radio-frequency apparatus receives response frame and finishes in official hour, and the response frame of receiving is complete, then carries out whether correct flow of response frame that follow-up judgement receives, finishes.
7: radio-frequency apparatus receives response frame and finishes in official hour, and has incomplete frame in the response frame of receiving, then confirms the conflict of antenna feeder device responds, writes down this consequences of hostilities, is used for scanning next time so that revise scanning strategy, and current scanning flow process finishes.
8: radio-frequency apparatus is not received replying of antenna feeder equipment yet after surpassing official hour, thinks that then overtime nothing responds, and radio-frequency apparatus can write down this overtime result who makes mistakes, and is used for scanning next time so that revise scanning strategy, and current scanning flow process finishes.
Wherein, when radio-frequency apparatus confirms that overtime nothing responds, the antenna feeder equipment of expectation can be confirmed in current antenna feeder equipment, not have, therefore, scanning can be stopped; When radio-frequency apparatus is confirmed response collisions, can revise scanning strategy and dwindle sweep limits, proceed scanning.
Each official hour that relates in above-mentioned steps 1 to the step 8; Be provided with respectively as required; Duration does not separately have necessary relation, can carry out corresponding setting according to the speed of transfer of data between radio-frequency apparatus and the antenna feeder equipment, particularly; Can come to realize respectively that the present invention does not limit this through different timers is set.Said reception response frame finishes and is meant and in official hour, receives postamble, then thinks to receive to finish.In addition, said subsequent response frame can be for one or more, and the present invention does not limit.
206: radio-frequency apparatus judges whether above-mentioned to have confirmed as complete response frame correct, if this response frame is correct, then execution in step 207; If this response frame mistake, then execution in step 208.
Wherein, radio-frequency apparatus judges that whether response frame is correct, can comprise:
Radio-frequency apparatus is tested to the length and the CRC of response frame, if check successfully, thinks that then response frame is correct, if the response frame mistake is then thought in check failure.
207: the response frame that this moment, radio-frequency apparatus was received is complete; Be again correct, therefore, radio-frequency apparatus confirms that the antenna feeder device responds do not conflict; From this response frame, obtain the antenna feeder equipment mark; Be designated corresponding antenna feeder devices allocation address according to this, so that follow-uply communicate with this antenna feeder equipment, flow process finishes.
If radio-frequency apparatus receives follow-up response frame in the above-mentioned steps; And judged and currently be complete response frame with follow-up response frame; Then can judge whether current follow-up response frame is correct response frame this moment, if then definite antenna feeder device responds is not conflicted; Otherwise, confirm the conflict of antenna feeder device responds.
208: the response frame that this moment, radio-frequency apparatus was received is imperfect or incorrect, and therefore, radio-frequency apparatus is confirmed the conflict of antenna feeder device responds, has so far realized the detection of collisions, and current scanning flow process finishes.Further, on the basis of accomplishing collision detection, can also adjust, particularly, can confirm that new identification information is used for scanning once more to dwindle sweep limits said scanning strategy.
Wherein, dwindling sweep limits is to realize through definite new identification information.For example, for the first time the identification information in the scanning strategy be " *78 " sign scope, back 2 of expression radio-frequency apparatus scanning sign be the antenna feeder equipment of " 78 ", the conflict of antenna feeder device responds takes place after, the identification information in the second time scanning strategy can be adjusted into " *5678 " sign scope, back 4 of expression radio-frequency apparatus scanning sign is the antenna feeder equipment of " 5678 ", thereby has dwindled sweep limits; Certainly, can adopt other means to confirm new identification information, the embodiment of the invention is not done concrete qualification to this yet.
Further; Radio-frequency apparatus is after revising scanning strategy in the said method, the flow process that can also initiate to scan once more, and the flow process of the flow process of scanning and above-mentioned current scanning is similar once more; Difference only is that scanning strategy is amended scanning strategy; Remaining process is all identical, therefore, does not do too much explanation.Certainly, radio-frequency apparatus also can carry out scan round on the basis of current scanning, specific as follows:
Radio-frequency apparatus is revised scanning strategy after current scanning, repeat scanning process according to amended scanning strategy; The scanning strategy that each scanning all uses last scanning back to revise; Till radio-frequency apparatus receives correct response frame, stop scanning, according to the corresponding antenna feeder devices allocation address that is designated in this correct response frame; Thereby communicate with this antenna feeder equipment, flow process finishes.
The said method that present embodiment provides; Particularly; Can realize through the software that the UART (Universal Asynchronous Receiver Transmitter, UART Universal Asynchronous Receiver Transmitter) in the radio-frequency apparatus combines to have above-mentioned functions, need not the CPU of radio-frequency apparatus is improved; Cost has greatly been lowered in the restriction that not solidified by CPU.
In addition; In the present embodiment, radio-frequency apparatus can also write down the number of the errored response frame of receiving in each scanning process, and whether the number of analyzing this errored response frame is zero; If be zero; Show that then radio-frequency apparatus do not receive the errored response frame, therefore, can confirm not take place the conflict of antenna feeder device responds; If non-vanishing, show that then radio-frequency apparatus received the errored response frame, therefore, can confirm to take place the conflict of antenna feeder device responds.Particularly, can realize that the present invention does not limit this through the statistical counter that an errored response frame is set.
The said method that present embodiment provides; Generate and send the scanning frame that comprises identification information through radio-frequency apparatus, after receiving the response frame that returns of the successful antenna feeder equipment of coupling, whether correctly determine whether to take place the conflict of antenna feeder device responds according to response frame; Realized the detection of scanning conflict; Guarantee that wrong response frame do not lose, make radio-frequency apparatus correctly obtain conflicting information, improved the be scanned into power of radio-frequency apparatus antenna feeder equipment.If the conflict of antenna feeder device responds takes place, then revise scanning strategy and scan once more being used for, be scanned into power thereby can further improve.
In addition, said method is simple and reliable, and is with low cost, the restriction that not solidified by cpu chip; Utilize the subsidiary UART of general CPU to realize, and flexible and changeable, adaptability is strong, has favorable compatibility; Be convenient to function and expand, scan function is realized stable, and has the high power that is scanned into.And, can be generalized to and use the radio-frequency apparatus as master control such as single-chip microcomputer, have excellent generalization values.
Embodiment 3
Referring to Fig. 4, present embodiment provides a kind of radio-frequency apparatus, comprising: generation unit 401, communication unit 402 and detecting unit 403.
Generation unit 401 is used for generating the scanning frame that comprises identification information according to scanning strategy, and this identification information is used to search the antenna feeder equipment that matees with radio-frequency apparatus;
Communication unit 402 is used to send the scanning frame that generation unit 401 generates, and receives the response frame that the successful antenna feeder equipment of coupling returns;
Detecting unit 403 is used to judge whether the response frame that communication unit 402 receives is correct, if incorrect, then confirms the conflict of antenna feeder device responds.
Wherein, detecting unit 403 can comprise:
First judgment sub-unit is used to judge whether response frame is complete;
First confirms subelement, judges that response frame is imperfect if be used for first judgment sub-unit, then confirms the antenna feeder device conflict;
Second judgment sub-unit judges that response frame is complete if be used for first judgment sub-unit, judges then whether response frame is correct, if response frame is correct, then definite antenna feeder device responds is not conflicted; If the response frame mistake is then confirmed the conflict of antenna feeder device responds.
Further, said first judgment sub-unit can be used for: judge whether to receive at the appointed time response frame, and comprise frame head and postamble, if confirm that then response frame is complete; Otherwise, confirm that response frame is imperfect.
In the present embodiment; When detecting unit 403 comprises that first judgment sub-unit, first is confirmed the subelement and second judgment sub-unit; Second judgment sub-unit can specifically be used for: if first judgment sub-unit judges that said response frame is complete, then length and the CRC CRC to said response frame tests, if check successfully; Then said response frame is correct, confirms that the antenna feeder device responds do not conflict; If the verification failure, then said response frame mistake is confirmed the conflict of antenna feeder device responds.
In the present embodiment; When detecting unit 403 comprises that first judgment sub-unit, first is confirmed the subelement and second judgment sub-unit; Said first judgment sub-unit can also be used for: after judging that said response frame is whether complete, if said response frame is complete, judge then whether communication unit 402 also receives follow-up response frame; If also receive follow-up response frame, judge then whether follow-up response frame is complete; Correspondingly, said second judgment sub-unit specifically is used for, if first judgment sub-unit judges that follow-up response frame is complete, judges then whether said response frame and said follow-up response frame be all correct, if then definite antenna feeder device responds is not conflicted; Otherwise, confirm the conflict of antenna feeder device responds; And said first confirms that subelement specifically is used for, and is not complete if first judgment sub-unit is judged follow-up response frame, then confirms the conflict of antenna feeder device responds.
Referring to Fig. 5, in the present embodiment, radio-frequency apparatus further can also comprise:
Revise unit 404, be used for after detecting unit 403 is confirmed the conflicts of antenna feeder device responds, revise said scanning strategy and scan once more being used for.Wherein, revising the unit can specifically be used for, and after detecting unit 403 is confirmed the conflict of antenna feeder device responds, confirms that new identification information is used for scanning once more to dwindle sweep limits.
In the present embodiment, when radio-frequency apparatus comprised modification unit 404, radio-frequency apparatus further can also comprise:
Cycling element; Be used for after revising unit 404 modification scanning strategies; Repeat generation unit 401, communication unit 402, detecting unit 403 and revise unit 404; Receive correct response frame up to communication unit 402, confirm the antenna feeder equipment that coupling is successful according to the sign that comprises in the correct response frame.
The above-mentioned radio-frequency apparatus that present embodiment provides can be carried out the method that above-mentioned arbitrary method embodiment provides, and detailed process sees method embodiment for details, repeats no more here.
The above-mentioned radio-frequency apparatus that present embodiment provides; Through generating and sending the scanning frame that comprises identification information, after receiving the response frame that the successful antenna feeder equipment of coupling returns, whether correctly determine whether to take place the conflict of antenna feeder device responds according to response frame; Realized the detection of scanning conflict; Guarantee that wrong response frame do not lose, make radio-frequency apparatus correctly obtain conflicting information, improved the be scanned into power of radio-frequency apparatus antenna feeder equipment.If the conflict of antenna feeder device responds takes place, then radio-frequency apparatus is revised scanning strategy and is scanned once more being used for, and can further improve to be scanned into power.
In addition, said radio-frequency apparatus is with low cost, and the restriction that not solidified by cpu chip utilizes the subsidiary UART of general CPU to realize; And flexible and changeable, adaptability is strong, has favorable compatibility; Be convenient to function and expand, scan function is realized stable, and has the high power that is scanned into.And, can be generalized to and use the radio-frequency apparatus as master control such as single-chip microcomputer, have excellent generalization values.
Embodiment 4
Referring to Fig. 6, present embodiment provides a kind of base station, comprising: radio-frequency apparatus 601 and antenna feeder equipment 602.
Wherein, radio-frequency apparatus 601 can be the radio-frequency apparatus under the arbitrary execution mode among the embodiment 3.
Antenna feeder equipment 602; Be used for the scanning frame that received RF equipment 601 sends, judge whether the sign of antenna feeder equipment 602 meets the identification information in the scanning frame, if meet; Then mate successfully, and the response frame that returns the sign that comprises antenna feeder equipment 602 is given radio-frequency apparatus 601.
Antenna feeder equipment 602 in the present embodiment can be the antenna feeder equipment of describing among the said method embodiment.The method among above-mentioned arbitrary method embodiment can be carried out in said base station, repeats no more here.
The above-mentioned base station that present embodiment provides; Through generating and sending the scanning frame that comprises identification information, after receiving the response frame that the successful antenna feeder equipment of coupling returns, whether correctly determine whether to take place the conflict of antenna feeder device responds according to response frame; Realized the detection of scanning conflict; Guarantee that wrong response frame do not lose, make radio-frequency apparatus correctly obtain conflicting information, improved the be scanned into power of radio-frequency apparatus antenna feeder equipment.If the conflict of antenna feeder device responds takes place, then radio-frequency apparatus is revised scanning strategy and is scanned once more being used for, and is scanned into power thereby further improve.
The all or part of step that one of ordinary skill in the art will appreciate that realization the foregoing description can be accomplished through hardware; Also can instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. the method for a collision detection is characterized in that, said method comprises:
Radio-frequency apparatus generates the scanning frame that comprises identification information according to scanning strategy, and said identification information is used to search the antenna feeder equipment that matees with said radio-frequency apparatus;
Said radio-frequency apparatus sends said scanning frame, and receives the response frame that the successful antenna feeder equipment of coupling returns;
Said radio-frequency apparatus judges whether said response frame is correct, if incorrect, then confirms the conflict of antenna feeder device responds.
2. method according to claim 1 is characterized in that, said radio-frequency apparatus also comprises before judging that said response frame is whether correct:
Said radio-frequency apparatus judges whether said response frame is complete;
Correspondingly, said radio-frequency apparatus judges whether said response frame is correct, if incorrect, then confirms the conflict of antenna feeder device responds, comprising:
If said response frame is complete, judge then whether said response frame is correct, if said response frame is correct, then definite antenna feeder device responds is not conflicted; If said response frame mistake is then confirmed the conflict of antenna feeder device responds;
And said radio-frequency apparatus also comprises after judging that said response frame is whether complete:
If said response frame is imperfect, then confirm the antenna feeder device conflict.
3. method according to claim 2 is characterized in that, said radio-frequency apparatus judges that whether said response frame is complete, comprising:
Said radio-frequency apparatus judges whether to receive said response frame at the appointed time, and comprises frame head and postamble;
If confirm that then said response frame is complete; Otherwise, confirm that said response frame is imperfect.
4. method according to claim 2 is characterized in that, said radio-frequency apparatus judges that whether said response frame is correct, comprising:
Said radio-frequency apparatus is tested to the length and the CRC CRC of said response frame, if check successfully, thinks that then said response frame is correct, if said response frame mistake is then thought in check failure.
5. according to each described method among the claim 2-4, it is characterized in that said radio-frequency apparatus also comprises after judging that said response frame is whether complete:
If said response frame is complete, then said radio-frequency apparatus judges whether also to receive follow-up response frame, if also receive follow-up response frame, judges then whether said follow-up response frame is complete;
Correspondingly, judge whether said response frame is correct, if said response frame is correct, then definite antenna feeder device responds is not conflicted; If said response frame mistake is then confirmed the conflict of antenna feeder device responds, comprising:
If said follow-up response frame is complete, judge then whether said response frame and said follow-up response frame be all correct, if then definite antenna feeder device responds is not conflicted; Otherwise, confirm the conflict of antenna feeder device responds;
And, said judge that said follow-up response frame is whether complete after, also comprise:
If said follow-up response frame is not complete, then confirm the conflict of antenna feeder device responds.
6. method according to claim 1 is characterized in that, confirms also to comprise after the conflict of antenna feeder device responds:
Said radio-frequency apparatus is revised said scanning strategy and is scanned once more being used for.
7. method according to claim 6 is characterized in that, said radio-frequency apparatus is revised said scanning strategy and scanned once more being used for, and comprising:
Said radio-frequency apparatus confirms that new identification information to dwindle sweep limits, is used for scanning once more.
8. according to claim 6 or 7 described methods, it is characterized in that said radio-frequency apparatus is revised after the said scanning strategy, also comprises:
Said radio-frequency apparatus scans according to amended scanning strategy again, up to receiving correct response frame;
Said radio-frequency apparatus is confirmed the antenna feeder equipment that coupling is successful according to the sign that comprises in the said correct response frame.
9. according to the described method of each claim in the claim 1 to 7, it is characterized in that, before the response frame that the successful antenna feeder equipment of reception coupling returns, also comprise:
Antenna feeder equipment receives said scanning frame;
Said antenna feeder equipment judges whether the sign of self meets the identification information in the said scanning frame;
If meet, then mate successfully, and return the response frame that comprises self identification and give said radio-frequency apparatus.
10. a radio-frequency apparatus is characterized in that, said radio-frequency apparatus comprises:
Generation unit is used for generating the scanning frame that comprises identification information according to scanning strategy, and said identification information is used to search the antenna feeder equipment that matees with said radio-frequency apparatus;
Communication unit is used to send said scanning frame, and receives the response frame that the successful antenna feeder equipment of coupling returns;
Detecting unit is used to judge whether said response frame is correct, if incorrect, then confirms the conflict of antenna feeder device responds.
11. radio-frequency apparatus according to claim 10 is characterized in that, said detecting unit comprises:
First judgment sub-unit is used to judge whether said response frame is complete;
First confirms subelement, judges that said response frame is imperfect if be used for said first judgment sub-unit, then confirms the antenna feeder device conflict;
Second judgment sub-unit judges that said response frame is complete if be used for said first judgment sub-unit, judges then whether said response frame is correct, if said response frame is correct, then definite antenna feeder device responds is not conflicted; If said response frame mistake is then confirmed the conflict of antenna feeder device responds.
12. radio-frequency apparatus according to claim 10 is characterized in that, said first judgment sub-unit specifically is used for: judge whether to receive said response frame at the appointed time, and comprise frame head and postamble, if confirm that then said response frame is complete; Otherwise, confirm that said response frame is imperfect.
13. radio-frequency apparatus according to claim 11; It is characterized in that; Said second judgment sub-unit specifically is used for: if said first judgment sub-unit judges that said response frame is complete, then length and the CRC CRC to said response frame tests, if check successfully; Then said response frame is correct, confirms that the antenna feeder device responds do not conflict; If the verification failure, then said response frame mistake is confirmed the conflict of antenna feeder device responds.
14. according to each described radio-frequency apparatus among the claim 11-13; It is characterized in that; Said first judgment sub-unit also is used for after judging that said response frame is whether complete, if said response frame is complete, judging then whether said communication unit also receives follow-up response frame; If also receive follow-up response frame, judge then whether said follow-up response frame is complete;
Correspondingly, said second judgment sub-unit specifically is used for, if said first judgment sub-unit judges that said follow-up response frame is complete, judges then whether said response frame and said follow-up response frame be all correct, if then definite antenna feeder device responds is not conflicted; Otherwise, confirm the conflict of antenna feeder device responds;
Said first confirms that subelement specifically is used for, and is not complete if said first judgment sub-unit is judged said follow-up response frame, then confirms the conflict of antenna feeder device responds.
15. radio-frequency apparatus according to claim 10 is characterized in that, said radio-frequency apparatus also comprises:
Revise the unit, be used for after said detecting unit is confirmed the conflict of antenna feeder device responds, revise said scanning strategy and scan once more being used for.
16. radio-frequency apparatus according to claim 15 is characterized in that, said modification unit specifically is used for: after said detecting unit is confirmed the conflict of antenna feeder device responds, confirm that new identification information is used for scanning once more to dwindle sweep limits.
17., it is characterized in that said radio-frequency apparatus also comprises according to claim 15 or 16 described radio-frequency apparatus:
Cycling element; Be used for after said scanning strategy is revised in said modification unit; Repeat said generation unit, communication unit, detecting unit and modification unit; Receive correct response frame up to said communication unit, confirm the antenna feeder equipment that coupling is successful according to the sign that comprises in the said correct response frame.
18. a base station is characterized in that, said base station comprises: like the described radio-frequency apparatus of each claim in the claim 10 to 17, and antenna feeder equipment;
Said antenna feeder equipment; Be used to receive the said scanning frame that said radio-frequency apparatus sends, judge whether said antenna feeder equipment mark meets the identification information in the said scanning frame, if meet; Then mate successfully, and return the response frame that comprises said antenna feeder equipment mark and give said radio-frequency apparatus.
CN201180002217.0A 2011-09-09 2011-09-09 Method and device for detecting conflict Active CN102439881B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079514 WO2012149734A1 (en) 2011-09-09 2011-09-09 Conflict detection method and device

Publications (2)

Publication Number Publication Date
CN102439881A true CN102439881A (en) 2012-05-02
CN102439881B CN102439881B (en) 2014-08-20

Family

ID=45986259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180002217.0A Active CN102439881B (en) 2011-09-09 2011-09-09 Method and device for detecting conflict

Country Status (2)

Country Link
CN (1) CN102439881B (en)
WO (1) WO2012149734A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882582A (en) * 2012-10-11 2013-01-16 深圳市大富科技股份有限公司 Method for analyzing exchanging identifier frames by using tower top amplifier and tower top amplifier
CN102905279A (en) * 2012-09-28 2013-01-30 华为技术有限公司 Method and device for matching remote-end control unit serial numbers with antenna sector numbers
CN103369045A (en) * 2013-07-11 2013-10-23 京信通信***(中国)有限公司 Control method and device of variable frequency covering system
CN103577485A (en) * 2012-08-07 2014-02-12 上海达实联欣科技发展有限公司 Master and slave mode inquiry system and method
CN103680108A (en) * 2012-11-20 2014-03-26 国网电力科学研究院 Electric meter reading method and electric meter reading device
WO2015032058A1 (en) * 2013-09-05 2015-03-12 华为技术有限公司 Method and device for discovering ald
CN106452669A (en) * 2016-09-06 2017-02-22 中国农业大学 Sensor terminal function detection method and device
CN107426757A (en) * 2017-09-13 2017-12-01 南通大学 A kind of antenna equipment scan method and system
US10805032B2 (en) 2016-12-09 2020-10-13 Huawei Technologies Co., Ltd. Data transmission method, terminal device, and network side device
CN112180837A (en) * 2020-08-31 2021-01-05 深圳市优必选科技股份有限公司 Equipment conflict detection method and device and robot

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353617B1 (en) * 2000-04-11 2002-03-05 Motorola, Inc. Method for accessing a communication medium
WO2003079484A2 (en) * 2002-03-15 2003-09-25 Andrew Corp. Antenna interface protocol
CN101072041A (en) * 2007-06-05 2007-11-14 中兴通讯股份有限公司 Address conflict detecting method and system for electric-tuning antenna device
US20080122581A1 (en) * 2006-05-10 2008-05-29 Electronics And Telecommunications Research Institute Passive rfid reader and operation control method therefor
CN101562720A (en) * 2008-04-17 2009-10-21 英华达(上海)电子有限公司 Method and system for processing ineffective data in video communication
CN101626581A (en) * 2008-07-08 2010-01-13 ***通信集团公司 Method, device and system for scanning equipment in electrically adjustable antenna interface
CN101640565A (en) * 2008-07-30 2010-02-03 英特尔公司 Techniques to improve co-existence among multiple radios

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257667B (en) * 2008-02-01 2011-11-30 中兴通讯股份有限公司 Base station transmitting/receiving device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353617B1 (en) * 2000-04-11 2002-03-05 Motorola, Inc. Method for accessing a communication medium
WO2003079484A2 (en) * 2002-03-15 2003-09-25 Andrew Corp. Antenna interface protocol
US20080122581A1 (en) * 2006-05-10 2008-05-29 Electronics And Telecommunications Research Institute Passive rfid reader and operation control method therefor
CN101072041A (en) * 2007-06-05 2007-11-14 中兴通讯股份有限公司 Address conflict detecting method and system for electric-tuning antenna device
CN101562720A (en) * 2008-04-17 2009-10-21 英华达(上海)电子有限公司 Method and system for processing ineffective data in video communication
CN101626581A (en) * 2008-07-08 2010-01-13 ***通信集团公司 Method, device and system for scanning equipment in electrically adjustable antenna interface
CN101640565A (en) * 2008-07-30 2010-02-03 英特尔公司 Techniques to improve co-existence among multiple radios

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577485B (en) * 2012-08-07 2016-10-19 上海达实联欣科技发展有限公司 Master slave mode inquiry system and method
CN103577485A (en) * 2012-08-07 2014-02-12 上海达实联欣科技发展有限公司 Master and slave mode inquiry system and method
CN102905279B (en) * 2012-09-28 2015-06-03 华为技术有限公司 Method and device for matching remote-end control unit serial numbers with antenna sector numbers
CN102905279A (en) * 2012-09-28 2013-01-30 华为技术有限公司 Method and device for matching remote-end control unit serial numbers with antenna sector numbers
WO2014048154A1 (en) * 2012-09-28 2014-04-03 华为技术有限公司 Method and apparatus for matching remote control unit serial number with antenna sector number
CN102882582A (en) * 2012-10-11 2013-01-16 深圳市大富科技股份有限公司 Method for analyzing exchanging identifier frames by using tower top amplifier and tower top amplifier
CN102882582B (en) * 2012-10-11 2015-01-14 深圳市大富科技股份有限公司 Method for analyzing exchanging identifier frames by using tower top amplifier and tower top amplifier
CN103680108A (en) * 2012-11-20 2014-03-26 国网电力科学研究院 Electric meter reading method and electric meter reading device
CN103369045A (en) * 2013-07-11 2013-10-23 京信通信***(中国)有限公司 Control method and device of variable frequency covering system
CN103369045B (en) * 2013-07-11 2016-12-28 京信通信***(中国)有限公司 The control method of frequency conversion covering system and device
WO2015032058A1 (en) * 2013-09-05 2015-03-12 华为技术有限公司 Method and device for discovering ald
CN105493620A (en) * 2013-09-05 2016-04-13 华为技术有限公司 Method and device for discovering ALD
CN106452669A (en) * 2016-09-06 2017-02-22 中国农业大学 Sensor terminal function detection method and device
US10805032B2 (en) 2016-12-09 2020-10-13 Huawei Technologies Co., Ltd. Data transmission method, terminal device, and network side device
CN107426757A (en) * 2017-09-13 2017-12-01 南通大学 A kind of antenna equipment scan method and system
CN107426757B (en) * 2017-09-13 2020-02-04 南通大学 Antenna equipment scanning method and system
CN112180837A (en) * 2020-08-31 2021-01-05 深圳市优必选科技股份有限公司 Equipment conflict detection method and device and robot

Also Published As

Publication number Publication date
CN102439881B (en) 2014-08-20
WO2012149734A1 (en) 2012-11-08

Similar Documents

Publication Publication Date Title
CN102439881B (en) Method and device for detecting conflict
EP3972170A1 (en) Multi-link communication method and related device
EP2106177B1 (en) Testing method of an IC card including a Zigbee device
CN102318431B (en) System and Method for Initial Access to Relays
US9860772B2 (en) Method and apparatus for determining connection relationship between an antenna feeding port of base station and an antenna port
CN101626581B (en) Method, device and system for scanning equipment in electrically adjustable antenna interface
US20100001843A1 (en) Apparatus and method for integrated reader and tag
CN101242593B (en) A topology scanning method and base station
EP2183699B1 (en) A method and reader to conduct a label query in a radio frequency identification system
CN112188391B (en) Multi-reference node UWB (ultra wide band) efficient ranging method, device and system
CN103379657A (en) Site access method and site
JPWO2020255424A5 (en)
CN106503603A (en) A kind of many reader RFID system fast tag recognition methods divided based on time slot
CN102156846B (en) RFID (Radio Frequency Identification) based method and device for transmitting information between reader and label
JP2007026465A (en) Method for inventorying data carrier
CN109001668B (en) Positioning tag response method and system in positioning period set
US9785803B2 (en) Method, apparatus and system for collecting tags using bit map in RFID system
CN103824039B (en) RFID accurate positioning method
CN102332083B (en) Information transmission methods and devices for radio frequency identification reader and tag
US20070100983A1 (en) Communication control device, method of determining communication control device, and storage medium for performing the method
CN100535922C (en) Radio frequency identification multiple tag access method
US6317585B1 (en) Mobile satellite communication system with quick retransmission determination function
CN102034067A (en) Multi-label anti-collision method for radio frequency identification, reader and system
CN106412657B (en) A kind of method and system of set-top box programming sequence code
CN103037496A (en) Method and device for determining sending time of uplink signals

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