WO2012149734A1 - 冲突检测的方法和设备 - Google Patents

冲突检测的方法和设备 Download PDF

Info

Publication number
WO2012149734A1
WO2012149734A1 PCT/CN2011/079514 CN2011079514W WO2012149734A1 WO 2012149734 A1 WO2012149734 A1 WO 2012149734A1 CN 2011079514 W CN2011079514 W CN 2011079514W WO 2012149734 A1 WO2012149734 A1 WO 2012149734A1
Authority
WO
WIPO (PCT)
Prior art keywords
response frame
radio frequency
frame
antenna feeder
conflict
Prior art date
Application number
PCT/CN2011/079514
Other languages
English (en)
French (fr)
Inventor
杨永会
李俊恒
王兰杰
周永喜
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/079514 priority Critical patent/WO2012149734A1/zh
Priority to CN201180002217.0A priority patent/CN102439881B/zh
Publication of WO2012149734A1 publication Critical patent/WO2012149734A1/zh

Links

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and device for conflict detection. Background technique
  • the antenna feeder is an important part of the mobile communication base station.
  • the common antenna feeders are TMA (Tower Mounted Amplifier), RCU (Remote Control Unit), etc., where TMA is used for uplink signals.
  • TMA Tower Mounted Amplifier
  • RCU Remote Control Unit
  • TMA is used for uplink signals.
  • the RCU is used to adjust the tilt of the antenna and change the orientation of the antenna beam.
  • the base station usually includes a plurality of antenna feeder devices, and the plurality of antenna feeder devices pass the same half-duplex RS-485 bus and the base station book
  • a radio frequency device may be referred to as a master device, and an antenna feeder device may be referred to as a slave device.
  • AISG Industry Standards Group
  • the master device communicates with the slave device based on the AISG (Antenna Interface Standards Group) protocol, it is necessary to distinguish and interact with different slave devices. To do this, you need to specify the corresponding address for communication.
  • the master device is called the scan by looking up the address from which the slave device is assigned to communicate. Since the slave device has a unique serial number unique id, the scanning process is a process of matching the corresponding serial number unique id according to certain rules.
  • the master device sends a scan request. After receiving the scan request from the device, if the serial number matches successfully, the scan response is returned. If the master receives the correct response frame, it can perform the subsequent specified address procedure. If the master receives the wrong response frame, it indicates that there may be multiple slaves on the link. This is a conflict state.
  • the existing master device and the slave device communicate with each other through an asynchronous HDLC (High Data Link Control) controller that is solidified by a CPU (Central Processing Unit), and the asynchronous HDLC controller will make an error.
  • the response frame is discarded.
  • the slave device may be mistaken for no response, resulting in a lower scan success rate for the antenna feeder.
  • Embodiments of the present invention provide a method and an apparatus for conflict detection.
  • the technical solution is as follows:
  • a method of conflict detection includes:
  • the radio frequency device generates a scan frame that includes the identifier information according to the scan policy, where the identifier information is used to search for an antenna feed device that matches the radio frequency device;
  • the radio frequency device sends the scan frame, and receives a response frame returned by the successfully matched antenna feeder device; the radio frequency device determines whether the response frame is correct, and if not, determines that the antenna feeder device responds to the conflict.
  • an RF device includes:
  • a generating unit configured to generate a scan frame that includes the identifier information according to the scan policy, where the identifier information is used to search for an antenna feeder device that matches the radio frequency device;
  • a communication unit configured to send the scan frame, and receive a response frame returned by the successfully matched antenna device; the detecting unit is configured to determine whether the response frame is correct, and if not, determine that the antenna feeder device responds to the conflict.
  • a base station includes: the radio frequency device and an antenna feeder device;
  • the antenna device is configured to receive the scan frame sent by the radio frequency device, determine whether the identifier of the antenna feeder device meets the identifier information in the scan frame, and if yes, the match succeeds, and return the inclusion A response frame of the identity of the antenna feeder device is given to the radio frequency device.
  • the scan frame containing the identification information is generated and sent by the radio frequency device, and after receiving the response frame returned by the successfully matched antenna feeder device, determining whether the response frame is correct or not depends on whether the response frame is correct.
  • the antenna feed device responds to the conflict, and implements the detection of the scan conflict, ensuring that the error response frame is not lost, so that the radio device correctly acquires the conflict information, and improves the scanning success rate of the RF device to the antenna feeder device.
  • Embodiment 1 is a flowchart of a method for conflict detection provided by Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for detecting conflicts according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of determining whether a response frame is complete according to Embodiment 2 of the present invention.
  • FIG. 4 is a structural diagram of a radio frequency device according to Embodiment 3 of the present invention.
  • FIG. 5 is another structural diagram of a radio frequency device according to Embodiment 3 of the present invention.
  • FIG. 6 is a structural diagram of a base station according to Embodiment 4 of the present invention. detailed description
  • the embodiments of the present invention relate to a base station in a mobile communication system, including but not limited to: a 2G system, a 3G system, or an LTE (Long Term Evolution) system, etc.
  • the base station may be a GSM (Global System for Mobile communications, global mobile cloud communication system) or BTS (Base Transceiver Station) in CDMA (Code Division Multiple Access), or WCDMA (Wideband Code Division Multiple Access Wireless)
  • GSM Global System for Mobile communications, global mobile cloud communication system
  • BTS Base Transceiver Station
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access Wireless
  • the NodeB (Node base station) in the multiple access) may also be an eNodeB (evolved Node B) in LTE, which is not limited in the present invention.
  • the base station in the embodiment of the present invention includes: a radio frequency device and an antenna feeder device.
  • the radio equipment includes but is not limited to: RRH (Remote Radio Head) or RRU (Remote Radio Unit).
  • the antenna feeders include but are not limited to: TMA or RCU.
  • the radio frequency device is also referred to as a master device, and the antenna feeder device is also referred to as a slave device.
  • the RF device and the antenna feeder communicate with each other based on the AISG protocol. Usually, there are multiple antenna feeders that communicate with the RF device, so that multiple antenna devices need to be scanned, so that the RF device can specify the address for the antenna device. Subsequent communication.
  • Example 1 Example 1
  • this embodiment provides a method for conflict detection, including:
  • the radio device generates a scan frame that includes the identifier information according to the scan policy, and the identifier information is used to find an antenna feeder device that matches the radio frequency device.
  • the radio equipment sends the generated scan frame, and receives a response frame returned by the successfully matched antenna device.
  • the radio equipment determines whether the received response frame is correct. If not, it determines that the antenna feeder responds to the conflict.
  • the base station usually includes one or more antenna feeders, and the plurality of antenna feeders are connected to the radio equipment of the base station.
  • a radio device can often be referred to as a master device and an antenna device as a slave device.
  • the radio equipment of the base station may pre-configure a scan policy according to the antenna feeder device that needs to be searched.
  • the scan policy includes identifier information related to the antenna feeder device to be searched, and the identifier information may be an identifier of the antenna feeder device to be searched. It may also be an identification range determined according to the identifier of the antenna feeder device to be searched for.
  • the identification information refers to information that can identify the antenna feeder device, including but not limited to a serial number that can uniquely identify the antenna feeder device. For example, if the serial number of the antenna feeder to be searched is "12345678", the identification information in the scan frame may be "12345678", or "*678" may be the antenna feeder of the following 3 digits being "678". The scope of the identification.
  • the multiple antenna feeders will receive the scan frame, and each antenna feed device will judge after receiving the scan frame. Whether the identity of the self matches the identification information in the scan frame. If it matches, the match is successful, and the response frame containing the identity is returned to the radio frequency. Ready.
  • the identification information in the scan frame specifies the identifier of an antenna feeder device
  • only one antenna feeder device that matches the identifier returns a response frame to the radio frequency device
  • the identifier information in the scan frame specifies an identification range
  • there is A plurality of antenna feeders that meet the range of the identifier return a response frame to the RF device. In this case, an antenna feeder response conflict occurs.
  • the radio frequency device may further modify the scanning policy for rescanning.
  • the scanning frame including the identification information is generated and sent by the radio frequency device, and after receiving the response frame returned by the successfully matched antenna feeder device, determining whether the antenna response device response conflict occurs according to whether the response frame is correct or not
  • the detection of the scanning conflict is implemented to ensure that the erroneous response frame is not lost, so that the radio device correctly acquires the conflict information, thereby improving the scanning success rate of the radio device to the antenna feeder device.
  • this embodiment provides a method for conflict detection, including: 201: A radio device generates a scan frame including identifier information according to a scan policy, and the identifier information is used for searching and a radio frequency device. Matching antenna feeders.
  • the radio equipment of the base station initiates a scanning process at the time of startup, so as to allocate an address for the successfully transmitted antenna feeder device, thereby communicating with the antenna feeder device, and once the address is assigned to the antenna feeder device, there is no need to The feed device scans. If the scan is unsuccessful, the radio device can initiate the scan process again until the antenna feed device is scanned, or the scan is stopped as needed, and the present invention is not limited thereto.
  • the scanning policy is generated in advance, and the process of generating the scanning policy and the meaning of the identifier information are described in detail in Embodiment 1, and details are not described herein again.
  • the radio device sends the generated scan frame.
  • the radio equipment of the base station is connected to one or more antenna feeders via an RS-485 bus. Therefore, the radio equipment transmits the scan frame through the RS-485 bus, and the antenna feeder is hung on the RS-485 bus. The scan frame will be received.
  • the antenna device receives the scan frame sent by the radio device, and determines whether the identifier of the device meets the identifier information in the scan frame. If the identifier is consistent, the match succeeds, and the response frame including the identifier is returned to the radio device; if not, If the match fails, no response frame is returned to the RF device.
  • the identification information is a serial number.
  • the scan frame delivered by the radio device of the base station includes a desired sequence number and a mask of the same length.
  • the antenna feeder device After receiving the scan frame, the antenna feeder device first performs an AND operation on its true unique serial number unique id and the mask in the scan frame, and the result of the AND operation is compared with the expected sequence number in the scan frame. If they match, the matching successfully returns a response frame to the RF device, and the response frame includes the antenna feeder. Prepare a complete device serial number; if it is inconsistent, it will not respond.
  • an antenna feed device that receives a scan frame is taken as an example. If a plurality of antenna feeders receive the scan frame, the same processing flow is executed, and no description is given.
  • the RF device receives the response frame returned by the successfully matched antenna device.
  • step 205 The radio equipment determines whether the received response frame is complete. If the response frame is complete, step 206 is performed. If the response frame is incomplete, step 208 is performed.
  • the frame format of the interaction between the RF device and the antenna feeder device is as shown in Table 1, including the frame header "7E”, data and CRC (Cyclic Redundancy Check), and the end of the frame "7E”. .
  • the incomplete frame format includes any of the following: Frameless frames, or none The frame at the end of the frame, or the frame with neither the frame header nor the frame tail, are shown in Table 2, Table 3, and Table 4, respectively.
  • the frames in Table 2 are frames without data headers, but with data and CRC and end of frame.
  • the frames in Table 3 are frames with frame header, data, and CRC, but no end of frame.
  • the frame in Table 4 is a frame with neither a frame header nor a frame tail, only data and CRC.
  • the radio equipment of the base station may determine whether the received response frame is complete by: the radio equipment determines whether the response frame is received within a specified time, and the response frame includes a frame header and a frame tail; Yes, it is determined that the response frame is complete; otherwise, it is determined that the response frame is incomplete.
  • the predetermined time may be set in advance according to requirements, for example, according to a rate setting of data transmission between the radio frequency device and the antenna feeder device, which is not limited by the present invention.
  • the method may further include:
  • the radio equipment determines whether it still receives the subsequent response frame. After the subsequent response frame, it is determined whether the subsequent response frame is complete. If the subsequent response frame is also complete, it may be determined that the continuously received response frames are complete, otherwise, even if the current response frame is complete, If the subsequent response frame is incomplete, it can also determine the response of the antenna feeder device.
  • the radio equipment continuously receives two response frames. After determining that the first response frame is complete, it determines that the second response frame has no frame header. As shown in Table 5, the radio equipment can determine that the second response frame is not Complete, so that the antenna feeder device response conflict can be determined.
  • the process of determining whether the received response frame is complete when the RF device receives multiple response frames may be as follows:
  • the RF device determines whether there is an antenna feeder response within the specified time. If yes, go to step 2; otherwise, go to step 8.
  • the RF device determines whether the response frame of the response from the antenna device includes the frame header. If yes, go to step 3. If no, determine that the current response frame is incomplete. Go to step 7.
  • step 3 The radio equipment determines whether the end of the frame is received within the specified time. If yes, go to step 4. Otherwise, if the current response frame is incomplete, go to step 7.
  • the radio equipment determines that the currently received response frame is a complete response frame, and determines whether a subsequent response frame is received after the end of the frame of the current response frame. If yes, step 5 is performed; otherwise, the current response frame is a complete frame. If there is no subsequent response frame, go to step 6.
  • the radio equipment determines whether the subsequent response frame is complete. If yes, the current and subsequent response frames are complete response frames, and step 6 is performed; otherwise, it is determined that the subsequent response frame is incomplete, and step 7 is performed.
  • the method for determining whether the subsequent response frame is complete by the radio frequency device may adopt a method for determining whether the current response frame is complete or not, and does not describe too much here.
  • the RF device After the RF device receives the response frame within the specified time and the received response frame is complete, it performs the subsequent judgment. The process of receiving the response frame is correct, and ends.
  • the RF device After receiving the response frame in the specified time, and receiving the incomplete frame in the received response frame, the RF device determines the response of the antenna device and records the conflict result, so as to modify the scanning policy for the next scan. , the current scanning process ends.
  • the RF device After the specified time has elapsed, the RF device still does not receive the response from the antenna device. The timeout is not responding. The RF device can record the result of the timeout error, so that the scanning policy can be modified for the next scan. The current scanning process ends. .
  • the radio frequency device determines that the timeout has no response, it may be determined that there is no expected antenna feed in the current antenna feeder device.
  • the device therefore, can stop scanning; when the RF device determines a response conflict, the scanning policy can be modified to narrow the scanning range and continue scanning.
  • the respective specified times involved in the above steps 1 to 8 are separately set according to requirements, and the respective durations are not necessarily related, and the corresponding setting may be performed according to the rate of data transmission between the RF device and the antenna feeder device, specifically
  • the ground can be separately implemented by setting different timers, which is not limited by the present invention.
  • the completion of the reception response frame means that the end of the frame is received within a predetermined time, and the reception is considered complete.
  • the subsequent response frames may be one or more, and the present invention is not limited.
  • step 206 The radio equipment determines whether the complete response frame is confirmed to be correct. If the response frame is correct, step 207 is performed; if the response frame is incorrect, step 208 is performed.
  • the radio equipment determines whether the response frame is correct, and may include:
  • the RF device checks the length of the response frame and the CRC. If the test is successful, the response frame is considered correct. If the test fails, the response frame is considered to be incorrect.
  • the response frame received by the radio device is both complete and correct. Therefore, the radio device determines that the response of the antenna device does not conflict, and obtains the identifier of the antenna device from the response frame, according to which the identifier is corresponding.
  • the antenna feeder allocates an address to facilitate subsequent communication with the antenna device, and the process ends.
  • the RF device receives the subsequent response frame in the above step, and has determined that the current and subsequent response frames are complete response frames, it can be determined whether the current subsequent response frames are all correct response frames. If yes, it is determined that the antenna feeder device response does not conflict; otherwise, it determines that the antenna feeder device responds to the conflict.
  • the RF device determines that the antenna device response conflicts, and thus the collision detection is implemented, and the current scanning process ends. Further, on the basis of completing the conflict detection, the scanning policy may also be adjusted. Specifically, new identification information may be determined to narrow the scanning range for rescanning.
  • the identification information in the first scanning policy is the identification range of "*78", which indicates that the last two digits of the scanning identifier of the radio device are "78". After the antenna response device conflicts, the second scanning occurs.
  • the identification information in the policy can be adjusted to the "*5678" identification range, indicating that the last 4 digits of the radio equipment scanning identifier are "5678" antenna feeder devices, thereby narrowing the scanning range; of course, other means can be used to determine
  • the new identification information is not specifically limited in this embodiment of the present invention.
  • the rescanning process may be initiated, and the rescanning process is similar to the current scanning process.
  • the scanning policy is the modified scanning policy
  • the remaining processes are all The same, therefore, do not make too much explanation.
  • the RF device can also perform cyclic scan on the basis of the current scan, as follows: After the current scan, the RF device modifies the scan policy and repeats the scan process according to the modified scan policy. Each scan uses the scan policy modified after the last scan until the RF device receives the correct response frame and stops scanning. And assigning an address to the corresponding antenna feeder device according to the identifier in the correct response frame, thereby communicating with the antenna feeder device, and the process ends.
  • Asynchronous Receiver Transmitter combined with software with the above functions, does not require improvements to the CPU of the RF device, and is not limited by CPU curing, which greatly reduces the cost.
  • the radio frequency device can also record the number of error response frames received during each scan, and analyze whether the number of the error response frames is zero. If it is zero, the radio equipment does not receive any To the error response frame, it can be determined that the antenna feeder response conflict does not occur; if it is not zero, it indicates that the RF device has received the error response frame, and therefore, it can be determined that the antenna feeder response conflict occurs. Specifically, it can be implemented by setting a statistical counter of an error response frame, which is not limited by the present invention.
  • the scanning frame including the identification information is generated and sent by the radio frequency device, and after receiving the response frame returned by the successfully matched antenna feeder device, determining whether the antenna response device response conflict occurs according to whether the response frame is correct or not
  • the detection of the scanning conflict is implemented to ensure that the erroneous response frame is not lost, so that the radio device correctly acquires the conflict information, thereby improving the scanning success rate of the radio device to the antenna feeder device. If an antenna feed device response conflict occurs, the scan strategy is modified for rescanning, so that the scan success rate can be further improved.
  • the method is simple and reliable, low in cost, and is not limited by the CPU chip curing. It can be realized by using the UART attached to the general CPU, and is flexible and adaptable, has good compatibility, and is convenient for function expansion and scanning function. Stable, and has a very high scan success rate. Moreover, it can be extended to a radio frequency device using a single-chip microcomputer as a main control, and has good promotion value.
  • Example 3
  • the embodiment provides a radio frequency device, including: a generating unit 401, a communication unit 402, and a detecting unit 403.
  • the generating unit 401 is configured to generate, according to the scanning policy, a scan frame that includes the identifier information, where the identifier information is used to search for an antenna device matched with the radio frequency device;
  • the communication unit 402 is configured to send a scan frame generated by the generating unit 401, and receive a response frame returned by the successfully matched antenna device;
  • the detecting unit 403 is configured to determine whether the response frame received by the communication unit 402 is correct, and if not, determine that the antenna feeder device responds to the conflict.
  • the detecting unit 403 may include:
  • a first determining subunit configured to determine whether the response frame is complete
  • a first determining subunit configured to determine an antenna feeder conflict if the first determining subunit determines that the response frame is incomplete
  • a second determining subunit configured to determine the response frame if the first determining subunit determines that the response frame is complete Whether it is correct, if the response frame is correct, it is determined that the antenna feeder device response does not conflict; if the response frame error, it is determined that the antenna feeder device responds to the conflict.
  • the first determining subunit may be configured to: determine whether a response frame is received within a specified time, and includes a frame header and a frame tail, and if yes, determine that the response frame is complete; otherwise, determine that the response frame is incomplete.
  • the second determining subunit may be specifically configured to: if the first determining subunit determines the response frame If complete, the length of the response frame and the cyclic redundancy check code CRC are checked. If the verification is successful, the response frame is correct, and the response of the antenna feeder device is determined to be non-collision; if the verification fails, the response frame is Error, determine the response of the antenna feeder device.
  • the first determining subunit may be further configured to: after determining whether the response frame is complete If the response frame is complete, it is determined whether the communication unit 402 further receives the subsequent response frame. If the subsequent response frame is also received, it is determined whether the subsequent response frame is complete.
  • the second determining subunit Specifically, if the first determining subunit determines that the subsequent response frame is complete, determining whether the response frame and the subsequent response frame are both correct, and if yes, determining that the antenna feeder device does not conflict; otherwise, determining the day
  • the first determining subunit is specifically configured to: if the first determining subunit determines that the subsequent response frame is not complete, determine that the antenna feeder device responds to the conflict.
  • the radio frequency device may further include:
  • the modifying unit 404 is configured to modify the scanning policy for rescanning after the detecting unit 403 determines that the antenna feeder device responds to the conflict.
  • the modifying unit may be specifically configured to: after the detecting unit 403 determines that the antenna feeder device responds to the conflict, determine new identification information to narrow the scanning range for rescanning.
  • the radio frequency device when the radio frequency device includes the modifying unit 404, the radio frequency device may further include: a looping unit, configured to repeatedly execute the generating unit 401 and the communication unit after the modifying unit 404 modifies the scanning policy
  • the detecting unit 403 and the modifying unit 404 until the communication unit 402 receives the correct response frame, and determines the successfully matched antenna feeder device according to the identifier contained in the correct response frame.
  • the foregoing radio frequency device provided in this embodiment may perform the method provided by any of the foregoing method embodiments.
  • the foregoing radio frequency device after generating and sending a scan frame containing the identifier information, after receiving the response frame returned by the successfully matched antenna feeder device, determining whether the antenna device response occurs according to whether the response frame is correct or not.
  • the detection of the scanning conflict is implemented to ensure that the erroneous response frame is not lost, so that the radio equipment correctly acquires the conflict information, and improves the scanning success rate of the radio equipment to the antenna feeder. If an antenna feeder response conflict occurs, the radio device modifies the scanning policy for rescanning, which can further improve the scanning success rate.
  • the radio frequency equipment is low in cost and is not limited by the CPU chip curing. It can be realized by using the UART attached to the general CPU, and is flexible and adaptable, has good compatibility, is convenient for function expansion, and has stable scanning function. , and has a very high scan success rate. Moreover, it can be extended to a radio frequency device using a single-chip microcomputer as a main control, and has good promotion value.
  • Example 4
  • this embodiment provides a base station, including: a radio frequency device 601 and an antenna feeder device 602.
  • the radio frequency device 601 can be the radio frequency device in any of the embodiments.
  • the antenna device 602 is configured to receive the scan frame sent by the radio frequency device 601, determine whether the identifier of the antenna feeder device 602 meets the identifier information in the scan frame, and if yes, the match succeeds, and return a response including the identifier of the antenna feeder device 602.
  • the frame is given to the radio frequency device 601.
  • the antenna feeder device 602 in this embodiment may be the antenna feeder device described in the foregoing method embodiment.
  • the base station can perform the method in any of the foregoing method embodiments, and details are not described herein again.
  • the base station after generating and transmitting a scan frame that includes the identifier information, determines whether the antenna response device response conflict occurs according to whether the response frame is correct, after receiving the response frame returned by the successfully matched antenna device.
  • the scanning conflict detection ensures that the error response frame is not lost, so that the radio equipment correctly acquires the conflict information, and improves the scanning success rate of the radio equipment to the antenna feeder. If an antenna feeder response conflict occurs, the radio device modifies the scanning policy for rescanning to further increase the scan success rate.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

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

Description

冲突检测的方法和设备 技术领域
本发明涉及通信技术领域, 特别涉及一种冲突检测的方法和设备。 背景技术
天馈设备是移动通信基站的重要说组成部分, 常见的天馈设备有 TMA (Tower Mounted Amplifier, 塔顶放大器)、 RCU (Remote Control Unit, 远端控制单元)等, 其中 TMA用于 对上行信号进行放大, RCU用于调整天线的倾角以及改变天线波束的指向。
基站通常包括多个天馈设备, 且多个天馈设备通过同一条半双工 RS-485总线与基站的 书
射频设备相连接。 为了描述方便, 可以将射频设备称为主设备, 将天馈设备称为从设备。 主设备与从设备基于 AISG (Antenna Interface Standards Group, 天线接口标准组)协议进行 通信时, 需要区分不同的从设备并与之进行交互, 为此, 在通信时需要为其指定相应的地 址。 主设备通过查找从设备来为其指定通信的地址, 该过程称为扫描。 由于从设备具有唯 一的序列号 unique id, 因此, 扫描过程就是按照一定的规则匹配到相应的序列号 unique id 的过程。
在扫描过程中, 主设备下发扫描请求, 从设备收到扫描请求后, 如果序列号匹配成功 则返回扫描响应。 如果主设备接收到正确的响应帧, 则可以执行后续的指定地址流程; 如 果主设备接收到错误的响应帧, 则表明链路上可能有多个从设备, 这种情况为冲突状态。
现有的主设备和从设备之间通过 CPU (Central Processing Unit, 中央处理器) 固化的异 步 HDLC (High Data Link Control, 高级数据链路控制)控制器来通信, 而异步 HDLC控制 器会对错误的响应帧作丢弃处理, 对于冲突状态可能会误认为从设备没有响应, 从而导致 对天馈设备的扫描成功率降低。 发明内容
本发明实施例提供了一种冲突检测的方法和设备。 所述技术方案如下:
一方面, 一种冲突检测的方法, 包括:
射频设备按照扫描策略生成包含标识信息的扫描帧, 所述标识信息用于查找和所述射 频设备匹配的天馈设备; 所述射频设备发送所述扫描帧, 并接收匹配成功的天馈设备返回的响应帧; 所述射频设备判断所述响应帧是否正确, 如果不正确, 则确定天馈设备响应冲突。 另一方面, 一种射频设备, 包括:
生成单元, 用于按照扫描策略生成包含标识信息的扫描帧, 所述标识信息用于查找和 所述射频设备匹配的天馈设备;
通信单元, 用于发送所述扫描帧, 并接收匹配成功的天馈设备返回的响应帧; 检测单元, 用于判断所述响应帧是否正确, 如果不正确, 则确定天馈设备响应冲突。 再一方面, 一种基站, 包括: 所述射频设备以及天馈设备;
所述天馈设备, 用于接收所述射频设备发送的所述扫描帧, 判断所述天馈设备的标识 是否符合所述扫描帧中的标识信息, 如果符合, 则匹配成功, 并返回包含所述天馈设备的 标识的响应帧给所述射频设备。
本发明实施例提供的技术方案的有益效果是: 通过射频设备生成并发送包含标识信息 的扫描帧, 在接收到匹配成功的天馈设备返回的响应帧后, 根据响应帧是否正确来确定是 否发生天馈设备响应冲突, 实现了扫描冲突的检测, 确保错误的响应帧不丢失, 使射频设 备正确地获取冲突信息, 提高了射频设备对天馈设备的扫描成功率。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
图 1是本发明实施例 1提供的冲突检测的方法流程图;
图 2是本发明实施例 2提供的冲突检测的方法流程图;
图 3是本发明实施例 2提供的判断响应帧是否完整的流程图;
图 4是本发明实施例 3提供的射频设备的一种结构图;
图 5是本发明实施例 3提供的射频设备的另一种结构图;
图 6是本发明实施例 4提供的基站结构图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。 本发明实施例涉及移动通信系统中的基站, 该移动通信系统包括但不限于: 2G系统、 3G系统、 或 LTE (Long Term Evolution, 长期演进)系统等, 所述基站可以是 GSM (Global System for Mobile communications, 全球移云力通信系统) 或 CDMA ( Code Division Multiple Access, 码分多址) 中的 BTS (Base Transceiver Station, 基站收发台), 也可以是 WCDMA (Wideband Code Division Multiple Access Wireless, 宽带码分多址)中的 NodeB (Node base station, 基站), 还可以是 LTE中的 eNodeB (evolutional Node B, 演进的基站), 本发明并 不限定。
本发明实施例中的基站包括: 射频设备和天馈设备。 其中, 射频设备包括但不限于: RRH (Remote Radio Head)或 RRU (Remote Radio Unit, 射频拉远单元), 天馈设备包括但 不限于: TMA或 RCU。 在本发明实施例中, 射频设备又称为主设备, 天馈设备又称为从设 备。射频设备与天馈设备之间基于 AISG协议进行通信,通常与射频设备通信的天馈设备有 多个, 从而需要对多个天馈设备进行扫描, 以便于射频设备为天馈设备指定地址来进行后 续通信。 实施例 1
参见图 1, 本实施例提供了一种冲突检测的方法, 包括:
101: 射频设备按照扫描策略生成包含标识信息的扫描帧, 该标识信息用于查找和射频 设备匹配的天馈设备。
102: 射频设备发送生成的扫描帧, 并接收匹配成功的天馈设备返回的响应帧。
103: 射频设备判断收到的响应帧是否正确, 如果不正确, 则确定天馈设备响应冲突。 基站通常包括一个或者多个天馈设备, 且多个天馈设备与基站的射频设备相连接。 通 常可以将射频设备称为主设备, 将天馈设备称为从设备。
其中, 基站的射频设备可以根据需要查找的天馈设备预先配置扫描策略, 该扫描策略 中包含与待查找的天馈设备相关的标识信息, 该标识信息可以是待查找的天馈设备的标识, 也可以是根据待查找的天馈设备的标识确定的一个标识范围。 所述标识信息是指可以标识 天馈设备的信息, 包括但不限于可以唯一标识天馈设备的序列号。 例如, 待查找的天馈设 备的序列号为 " 12345678",则扫描帧中的标识信息可以为" 12345678",或者也可以为 " *678" 表示后面 3位为 "678" 的天馈设备的标识范围。
本实施例中, 射频设备发送扫描帧后, 如果射频设备连接有多个天馈设备, 则该多个 天馈设备都会收到该扫描帧, 每个天馈设备接收到扫描帧后, 都会判断自身的标识是否符 合扫描帧中的标识信息, 如果符合, 则匹配成功, 并返回包含自身标识的响应帧给射频设 备。 当扫描帧中的标识信息指定了一个天馈设备的标识时, 只有一个符合该标识的天馈设 备返回响应帧给射频设备; 当扫描帧中的标识信息指定了一个标识范围时, 则会有多个符 合该标识范围的天馈设备返回响应帧给射频设备, 这种情况下就会发生天馈设备响应冲突。
本实施例中, 进一步地, 射频设备在确定天馈设备响应冲突后, 还可以修改所述扫描 策略以用于再次扫描。
本实施例提供的上述方法, 通过射频设备生成并发送包含标识信息的扫描帧, 在接收 到匹配成功的天馈设备返回的响应帧后, 根据响应帧是否正确来确定是否发生天馈设备响 应冲突, 实现了扫描冲突的检测, 确保错误的响应帧不丢失, 使射频设备正确地获取冲突 信息, 提高了射频设备对天馈设备的扫描成功率。 实施例 2
参见图 2, 在实施例 1的基础上, 本实施例提供了一种冲突检测的方法, 包括: 201: 射频设备按照扫描策略生成包含标识信息的扫描帧, 该标识信息用于查找和射频 设备匹配的天馈设备。
通常, 基站的射频设备在启动的时候会发起扫描流程, 以便为扫描成功的天馈设备分 配地址, 从而与该天馈设备进行通信, 一旦为天馈设备分配地址后, 就无需再对该天馈设 备进行扫描了, 如果一次扫描未成功, 则射频设备可以再次发起扫描过程, 直到扫描到该 天馈设备为止, 或者根据需要停止扫描等, 本发明对此不限定。
其中, 所述扫描策略预先生成, 生成所述扫描策略的过程以及所述标识信息的含义详 见实施例 1中的描述, 此处不再赘述。
202: 射频设备发送已生成的扫描帧。
通常, 基站的射频设备与一个或者多个天馈设备通过 RS-485总线相连接, 因此, 射频 设备会通过该 RS-485总线发送所述扫描帧, 挂在 RS-485总线上的天馈设备都会收到该扫 描帧。
203: 天馈设备接收射频设备发送的扫描帧, 判断自身的标识是否符合该扫描帧中的标 识信息, 如果符合, 则匹配成功, 并返回包含自身标识的响应帧给射频设备; 如果不符合, 则匹配失败, 不返回响应帧给射频设备。
下面以标识信息是序列号为例进行说明。 基站的射频设备下发的扫描帧中包含 1 个期 望的序列号和与其等长的 mask掩码。 天馈设备收到扫描帧后, 先将自己真实的唯一序列号 unique id和扫描帧中的 mask进行 "与"操作, "与"操作的结果再和扫描帧中的期望序列 号比较是否一致, 如果一致, 则匹配成功返回响应帧给射频设备, 该响应帧中包含天馈设 备完整的设备序列号; 如果不一致, 则不响应。
本实施例中是以任一个收到扫描帧的天馈设备为例进行说明的, 如果有多个天馈设备 都收到了该扫描帧, 则会执行相同的处理流程, 不做过多说明。
204: 射频设备接收匹配成功的天馈设备返回的响应帧。
205: 射频设备判断收到的响应帧是否完整, 如果响应帧完整, 则执行步骤 206; 如果 响应帧不完整, 则执行步骤 208。
根据 AISG协议, 射频设备和天馈设备之间交互的帧格式如表 1所示, 包括帧头" 7E"、 数据和 CRC (Cyclic Redundancy Check, 循环冗余校验码)、 帧尾 " 7E"。
表 1
7E 数据和 CRC 7E 当射频设备和天馈设备之间通信发生冲突时, 会产生不完整的帧, 该不完整的帧格式 包括以下几种中的任一种: 无帧头的帧、 或无帧尾的帧、 或既无帧头又无帧尾的帧, 分别 如表 2、 表 3和表 4所示。
表 2
数据和 CRC 7E
表 2中的帧为没有帧头, 但是有数据和 CRC以及帧尾的帧。
表 3
7E 数据和 CRC
表 3中的帧为有帧头、 数据和 CRC, 但没有帧尾的帧。
表 4
数据和 CRC
表 4中的帧为既没有帧头, 也没有帧尾, 只有数据和 CRC的帧。
本实施例中, 基站的射频设备可以具体通过如下方式来判断收到的响应帧是否完整: 射频设备判断是否在规定时间内收到响应帧, 且该响应帧中包含帧头和帧尾; 如果是, 则确定该响应帧完整; 否则, 确定该响应帧不完整。
其中, 规定的时间可以根据需要预先设置, 如根据射频设备和天馈设备之间数据传输 的速率设置, 本发明对此不限定。
本实施例中, 当有多个天馈设备返回响应帧时, 会出现射频设备收到多个响应帧的场 景, 这种场景下需要考虑射频设备是否收到连续的响应帧, 以及连续的响应帧是否都为完 整的响应帧, 因此, 进一步地, 上述方法还可以包括:
射频设备在确定当前收到的响应帧完整之后判断是否还收到后续的响应帧, 如果还收 到后续的响应帧, 则判断该后续的响应帧是否完整, 如果该后续的响应帧也是完整的, 则 可以确定连续收到的响应帧均是完整的, 否则, 即使当前的响应帧完整, 如果后续的响应 帧不完整, 则也可以确定天馈设备响应冲突。
例如, 射频设备连续收到两个响应帧, 在判断第一个响应帧完整后, 判断出第二个响 应帧无帧头, 如表 5 所示, 则射频设备可以确定第二个响应帧不完整, 从而可以确定天馈 设备响应冲突。
表 5
Figure imgf000008_0001
参见图 3, 射频设备收到多个响应帧时判断收到的响应帧是否完整的过程可以具体如 下:
1: 射频设备判断规定的时间内是否有天馈设备应答, 如果是, 则执行步骤 2; 否则, 执行步骤 8。
2: 射频设备判断天馈设备应答的响应帧中是否包含帧头, 如果是, 则执行步骤 3 ; 否 贝 U, 确定当前响应帧不完整, 执行步骤 7。
3: 射频设备判断规定的时间内是否收到帧尾, 如果是, 则执行步骤 4; 否则, 确定当 前响应帧不完整, 执行步骤 7。
4: 射频设备确定当前收到的响应帧为完整的响应帧, 并判断当前响应帧的帧尾之后是 否收到后续响应帧, 如果是, 则执行步骤 5 ; 否则, 当前响应帧为完整的帧且无后续响应帧, 执行步骤 6。
5: 射频设备判断该后续响应帧是否完整, 如果是, 则当前和后续的响应帧均为完整的 响应帧, 执行步骤 6; 否则, 确定后续响应帧不完整, 执行步骤 7。
其中, 射频设备判断后续响应帧是否完整可以采用和判断当前响应帧是否完整相同的 方法, 此处不做过多说明。
6: 射频设备在规定的时间内接收响应帧完毕, 且收到的响应帧完整, 则执行后续判断 收到的响应帧是否正确的流程, 结束。
7: 射频设备在规定的时间内接收响应帧完毕, 且收到的响应帧中存在不完整的帧, 则 确定天馈设备响应冲突, 记录该冲突结果, 以便于修改扫描策略用于下次扫描, 当前扫描 流程结束。
8: 超过规定的时间后射频设备仍未收到天馈设备的应答, 则认为超时无响应, 射频设 备可以记录该超时出错的结果, 以便于修改扫描策略用于下次扫描, 当前扫描流程结束。
其中, 当射频设备确定超时无响应时, 可以确定在当前的天馈设备中没有期望的天馈 设备, 因此, 可以停止扫描; 当射频设备确定响应冲突时, 可以修改扫描策略缩小扫描范 围, 继续进行扫描。
上述步骤 1至步骤 8中涉及的各个规定的时间, 是根据需要分别设置的, 各自的时长 没有必然的联系, 可以根据射频设备和天馈设备之间数据传输的速率来进行相应的设置, 具体地, 可以通过设置不同的定时器来分别实现, 本发明对此不限定。 所述接收响应帧完 毕是指在规定的时间内接收到帧尾, 则认为接收完毕。 另外, 所述后续响应帧可以为一个 或多个, 本发明不限定。
206: 射频设备判断上述已确认为完整的响应帧是否正确, 如果该响应帧正确, 则执行 步骤 207; 如果该响应帧错误, 则执行步骤 208。
其中, 射频设备判断响应帧是否正确, 可以包括:
射频设备对响应帧的长度和 CRC进行检验, 如果检验成功, 则认为响应帧正确, 如果 检验失败, 则认为响应帧错误。
207: 此时射频设备收到的响应帧既是完整的, 又是正确的, 因此, 射频设备确定天馈 设备响应不冲突, 从该响应帧中获取天馈设备的标识, 根据该标识为对应的天馈设备分配 地址, 以便于后续与该天馈设备进行通信, 流程结束。
如果上述步骤中射频设备接收到后续的响应帧, 且已判断出当前的和后续的响应帧均 为完整的响应帧, 则此时可以判断当前的后后续的响应帧是否均为正确的响应帧, 如果是, 则确定天馈设备响应不冲突; 否则, 确定天馈设备响应冲突。
208: 此时射频设备收到的响应帧不完整或者不正确, 因此, 射频设备确定天馈设备响 应冲突, 至此已实现对冲突的检测, 当前的扫描流程结束。 进一步地, 在完成冲突检测的 基础上, 还可以对所述扫描策略进行调整, 具体地, 可以确定新的标识信息以缩小扫描范 围用于再次扫描。
其中, 缩小扫描范围是通过确定新的标识信息来实现的。 例如, 第一次扫描策略中的 标识信息为 " *78 " 的标识范围, 表示射频设备扫描标识的后 2位为 "78 " 的天馈设备, 发 生天馈设备响应冲突后, 第二次扫描策略中的标识信息可以调整为 " *5678 " 的标识范围, 表示射频设备扫描标识的后 4位为 "5678 " 的天馈设备, 从而缩小了扫描范围; 当然, 也 可以采用其它的手段来确定新的标识信息, 本发明实施例对此不做具体限定。
进一步地, 上述方法中射频设备在修改扫描策略之后, 还可以发起再次扫描的流程, 再次扫描的流程与上述当前扫描的流程类似, 区别仅在于扫描策略为修改后的扫描策略, 其余的过程均相同, 因此, 不做过多说明。 当然, 射频设备也可以在当前扫描的基础上, 进行循环扫描, 具体如下: 射频设备在当前扫描之后, 修改扫描策略, 按照修改后的扫描策略重复执行扫描过程, 每次扫描都使用上一次扫描后修改的扫描策略, 直到射频设备接收到正确的响应帧为止, 停止扫描, 根据该正确的响应帧中的标识为对应的天馈设备分配地址, 从而与该天馈设备 进行通信, 流程结束。
本实施例提供的上述方法, 具体地, 可以通过射频设备中的 UART ( Universal
Asynchronous Receiver Transmitter, 通用异步收发器) 结合具有上述功能的软件来实现, 无 需对射频设备的 CPU进行改进, 不受 CPU固化的限制, 极大地减低了成本。
另外, 本实施例中, 射频设备还可以记录每次扫描过程中收到的错误响应帧的个数, 并分析该错误响应帧的个数是否为零, 如果为零, 则表明射频设备没有收到错误响应帧, 因此, 可以确定没有发生天馈设备响应冲突; 如果不为零, 则表明射频设备收到了错误响 应帧, 因此, 可以确定发生天馈设备响应冲突。 具体地, 可以通过设置一个错误响应帧的 统计计数器来实现, 本发明对此不限定。
本实施例提供的上述方法, 通过射频设备生成并发送包含标识信息的扫描帧, 在接收 到匹配成功的天馈设备返回的响应帧后, 根据响应帧是否正确来确定是否发生天馈设备响 应冲突, 实现了扫描冲突的检测, 确保错误的响应帧不丢失, 使射频设备正确地获取冲突 信息, 提高了射频设备对天馈设备的扫描成功率。 如果发生天馈设备响应冲突, 则修改扫 描策略以用于再次扫描, 从而可以进一步提高扫描成功率。
另外, 所述方法简单可靠, 成本低廉, 不受 CPU芯片固化的限制, 利用一般 CPU附带 的 UART即可实现, 且灵活多变, 适应性强, 具有良好的兼容性, 便于功能扩充, 扫描功 能实现稳定, 且具有极高的扫描成功率。 而且, 可以推广到使用单片机等作为主控的射频 设备, 具有良好的推广价值。 实施例 3
参见图 4, 本实施例提供了一种射频设备, 包括: 生成单元 401、 通信单元 402和检测 单元 403。
生成单元 401, 用于按照扫描策略生成包含标识信息的扫描帧, 该标识信息用于查找和 射频设备匹配的天馈设备;
通信单元 402, 用于发送生成单元 401生成的扫描帧, 并接收匹配成功的天馈设备返回 的响应帧;
检测单元 403, 用于判断通信单元 402收到的响应帧是否正确, 如果不正确, 则确定天 馈设备响应冲突。 其中, 检测单元 403可以包括:
第一判断子单元, 用于判断响应帧是否完整;
第一确定子单元, 用于如果第一判断子单元判断响应帧不完整, 则确定天馈设备冲突; 第二判断子单元, 用于如果第一判断子单元判断响应帧完整, 则判断响应帧是否正确, 如果响应帧正确, 则确定天馈设备响应不冲突; 如果响应帧错误, 则确定天馈设备响应冲 突。
进一步地, 所述第一判断子单元可以用于: 判断是否在规定时间内收到响应帧, 且包 含帧头和帧尾, 如果是, 则确定响应帧完整; 否则, 确定响应帧不完整。
本实施例中, 当检测单元 403 包括第一判断子单元、 第一确定子单元和第二判断子单 元时, 第二判断子单元可以具体用于: 如果第一判断子单元判断所述响应帧完整, 则对所 述响应帧的长度和循环冗余校验码 CRC进行检验, 如果检验成功, 则所述响应帧正确, 确 定天馈设备响应不冲突; 如果校验失败, 则所述响应帧错误, 确定天馈设备响应冲突。
本实施例中, 当检测单元 403 包括第一判断子单元、 第一确定子单元和第二判断子单 元时, 所述第一判断子单元还可以用于: 在判断所述响应帧是否完整之后, 如果所述响应 帧完整, 则判断通信单元 402是否还收到后续的响应帧, 如果还收到后续的响应帧, 则判 断后续的响应帧是否完整; 相应地, 所述第二判断子单元具体用于, 如果第一判断子单元 判断后续的响应帧完整, 则判断所述响应帧和所述后续的响应帧是否均正确, 如果是, 则 确定天馈设备响应不冲突; 否则, 确定天馈设备响应冲突; 并且, 所述第一确定子单元具 体用于, 如果第一判断子单元判断出后续的响应帧不是完整的, 则确定天馈设备响应冲突。
参见图 5, 本实施例中, 射频设备进一步还可以包括:
修改单元 404, 用于在检测单元 403确定天馈设备响应冲突之后, 修改所述扫描策略以 用于再次扫描。 其中, 修改单元可以具体用于, 在检测单元 403确定天馈设备响应冲突后, 确定新的标识信息以缩小扫描范围用于再次扫描。
本实施例中, 当射频设备包括修改单元 404时, 射频设备进一步还可以包括: 循环单元, 用于在修改单元 404修改扫描策略之后, 重复执行生成单元 401、 通信单元
402、 检测单元 403和修改单元 404, 直到通信单元 402接收到正确的响应帧, 根据正确的 响应帧中包含的标识确定匹配成功的天馈设备。
本实施例提供的上述射频设备可以执行上述任一方法实施例提供的方法, 具体过程详 见方法实施例, 此处不再赘述。
本实施例提供的上述射频设备, 通过生成并发送包含标识信息的扫描帧, 在接收到匹 配成功的天馈设备返回的响应帧后, 根据响应帧是否正确来确定是否发生天馈设备响应冲 突, 实现了扫描冲突的检测, 确保错误的响应帧不丢失, 使射频设备正确地获取冲突信息, 提高了射频设备对天馈设备的扫描成功率。 如果发生天馈设备响应冲突, 则射频设备修改 扫描策略以用于再次扫描, 可以进一步提高扫描成功率。
另外,所述射频设备成本低廉,不受 CPU芯片固化的限制,利用一般 CPU附带的 UART 即可实现, 且灵活多变, 适应性强, 具有良好的兼容性, 便于功能扩充, 扫描功能实现稳 定, 且具有极高的扫描成功率。 而且, 可以推广到使用单片机等作为主控的射频设备, 具 有良好的推广价值。 实施例 4
参见图 6, 本实施例提供了一种基站, 包括: 射频设备 601和天馈设备 602。
其中, 射频设备 601可以为实施例 3中的任一实施方式下的射频设备。
天馈设备 602, 用于接收射频设备 601发送的扫描帧, 判断天馈设备 602的标识是否符 合扫描帧中的标识信息, 如果符合, 则匹配成功, 并返回包含天馈设备 602 的标识的响应 帧给射频设备 601。
本实施例中的天馈设备 602可以为上述方法实施例中描述的天馈设备。 所述基站可以 执行上述任一方法实施例中的方法, 此处不再赘述。
本实施例提供的上述基站, 通过生成并发送包含标识信息的扫描帧, 在接收到匹配成 功的天馈设备返回的响应帧后, 根据响应帧是否正确来确定是否发生天馈设备响应冲突, 实现了扫描冲突的检测, 确保错误的响应帧不丢失, 使射频设备正确地获取冲突信息, 提 高了射频设备对天馈设备的扫描成功率。 如果发生天馈设备响应冲突, 则射频设备修改扫 描策略以用于再次扫描, 从而进一步提高扫描成功率。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1、 一种冲突检测的方法, 其特征在于, 所述方法包括:
射频设备按照扫描策略生成包含标识信息的扫描帧, 所述标识信息用于查找和所述射频 设备匹配的天馈设备;
所述射频设备发送所述扫描帧, 并接收匹配成功的天馈设备返回的响应帧;
所述射频设备判断所述响应帧是否正确, 如果不正确, 则确定天馈设备响应冲突。
2、 根据权利要求 1所述的方法, 其特征在于, 所述射频设备判断所述响应帧是否正确之 前, 还包括:
所述射频设备判断所述响应帧是否完整;
相应地, 所述射频设备判断所述响应帧是否正确, 如果不正确, 则确定天馈设备响应冲 突, 包括:
如果所述响应帧完整, 则判断所述响应帧是否正确, 如果所述响应帧正确, 则确定天馈 设备响应不冲突; 如果所述响应帧错误, 则确定天馈设备响应冲突;
并且, 所述射频设备判断所述响应帧是否完整之后, 还包括:
如果所述响应帧不完整, 则确定天馈设备冲突。
3、 根据权利要求 2所述的方法, 其特征在于, 所述射频设备判断所述响应帧是否完整, 包括:
所述射频设备判断是否在规定时间内收到所述响应帧, 且包含帧头和帧尾;
如果是, 则确定所述响应帧完整; 否则, 确定所述响应帧不完整。
4、 根据权利要求 2所述的方法, 其特征在于, 所述射频设备判断所述响应帧是否正确, 包括:
所述射频设备对所述响应帧的长度和循环冗余校验码 CRC进行检验, 如果检验成功, 则 认为所述响应帧正确, 如果检验失败, 则认为所述响应帧错误。
5、 根据权利要求 2-4中任一项所述的方法, 其特征在于, 所述射频设备判断所述响应帧 是否完整之后, 还包括: 如果所述响应帧完整, 则所述射频设备判断是否还收到后续的响应帧, 如果还收到后续 的响应帧, 则判断所述后续的响应帧是否完整;
相应地, 判断所述响应帧是否正确, 如果所述响应帧正确, 则确定天馈设备响应不冲突; 如果所述响应帧错误, 则确定天馈设备响应冲突, 包括:
如果所述后续的响应帧是完整的, 则判断所述响应帧和所述后续的响应帧是否均正确, 如果是, 则确定天馈设备响应不冲突; 否则, 确定天馈设备响应冲突;
并且, 所述判断所述后续的响应帧是否完整之后, 还包括:
如果所述后续的响应帧不是完整的, 则确定天馈设备响应冲突。
6、 根据权利要求 1所述的方法, 其特征在于, 确定天馈设备响应冲突之后, 还包括: 所述射频设备修改所述扫描策略以用于再次扫描。
7、 根据权利要求 6所述的方法, 其特征在于, 所述射频设备修改所述扫描策略以用于再 次扫描, 包括- 所述射频设备确定新的标识信息以缩小扫描范围, 用于再次扫描。
8、根据权利要求 6或 Ί所述的方法,其特征在于,所述射频设备修改所述扫描策略之后, 还包括:
所述射频设备按照修改后的扫描策略重新进行扫描, 直到接收到正确的响应帧; 所述射频设备根据所述正确的响应帧中包含的标识确定匹配成功的天馈设备。
9、 根据权利要求 1至 7中任一项权利要求所述的方法, 其特征在于, 接收匹配成功的天 馈设备返回的响应帧之前, 还包括:
天馈设备接收所述扫描帧;
所述天馈设备判断自身的标识是否符合所述扫描帧中的标识信息;
如果符合, 则匹配成功, 并返回包含自身标识的响应帧给所述射频设备。
10、 一种射频设备, 其特征在于, 所述射频设备包括- 生成单元, 用于按照扫描策略生成包含标识信息的扫描帧, 所述标识信息用于查找和所 述射频设备匹配的天馈设备; 通信单元, 用于发送所述扫描帧, 并接收匹配成功的天馈设备返回的响应帧; 检测单元, 用于判断所述响应帧是否正确, 如果不正确, 则确定天馈设备响应冲突。
11、 根据权利要求 10所述的射频设备, 其特征在于, 所述检测单元包括:
第一判断子单元, 用于判断所述响应帧是否完整;
第一确定子单元, 用于如果所述第一判断子单元判断所述响应帧不完整, 则确定天馈设 备冲突;
第二判断子单元, 用于如果所述第一判断子单元判断所述响应帧完整, 则判断所述响应 帧是否正确, 如果所述响应帧正确, 则确定天馈设备响应不冲突; 如果所述响应帧错误, 则 确定天馈设备响应冲突。
12、 根据权利要求 10所述的射频设备, 其特征在于, 所述第一判断子单元具体用于: 判 断是否在规定时间内收到所述响应帧, 且包含帧头和帧尾, 如果是, 则确定所述响应帧完整; 否则, 确定所述响应帧不完整。
13、 根据权利要求 11所述的射频设备, 其特征在于, 所述第二判断子单元具体用于: 如 果所述第一判断子单元判断所述响应帧完整, 则对所述响应帧的长度和循环冗余校验码 CRC 进行检验, 如果检验成功, 则所述响应帧正确, 确定天馈设备响应不冲突; 如果校验失败, 则所述响应帧错误, 确定天馈设备响应冲突。
14、 根据权利要求 11-13 中任一项所述的射频设备, 其特征在于, 所述第一判断子单元 还用于在判断所述响应帧是否完整之后, 如果所述响应帧完整, 则判断所述通信单元是否还 收到后续的响应帧, 如果还收到后续的响应帧, 则判断所述后续的响应帧是否完整;
相应地, 所述第二判断子单元具体用于, 如果所述第一判断子单元判断所述后续的响应 帧完整, 则判断所述响应帧和所述后续的响应帧是否均正确, 如果是, 则确定天馈设备响应 不冲突; 否则, 确定天馈设备响应冲突;
所述第一确定子单元具体用于, 如果所述第一判断子单元判断出所述后续的响应帧不是 完整的, 则确定天馈设备响应冲突。
15、 根据权利要求 10所述的射频设备, 其特征在于, 所述射频设备还包括: 修改单元, 用于在所述检测单元确定天馈设备响应冲突后, 修改所述扫描策略以用于再 次扫描。
16、 根据权利要求 15所述的射频设备, 其特征在于, 所述修改单元具体用于: 在所述检 测单元确定天馈设备响应冲突后, 确定新的标识信息以缩小扫描范围用于再次扫描。
17、 根据权利要求 15或 16所述的射频设备, 其特征在于, 所述射频设备还包括: 循环单元, 用于在所述修改单元修改所述扫描策略之后, 重复执行所述生成单元、 通信 单元、 检测单元和修改单元, 直到所述通信单元接收到正确的响应帧, 根据所述正确的响应 帧中包含的标识确定匹配成功的天馈设备。
18、 一种基站, 其特征在于, 所述基站包括: 如权利要求 10至 17中任一项权利要求所 述的射频设备, 以及天馈设备;
所述天馈设备, 用于接收所述射频设备发送的所述扫描帧, 判断所述天馈设备的标识是 否符合所述扫描帧中的标识信息, 如果符合, 则匹配成功, 并返回包含所述天馈设备的标识 的响应帧给所述射频设备。
PCT/CN2011/079514 2011-09-09 2011-09-09 冲突检测的方法和设备 WO2012149734A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/079514 WO2012149734A1 (zh) 2011-09-09 2011-09-09 冲突检测的方法和设备
CN201180002217.0A CN102439881B (zh) 2011-09-09 2011-09-09 冲突检测的方法和设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079514 WO2012149734A1 (zh) 2011-09-09 2011-09-09 冲突检测的方法和设备

Publications (1)

Publication Number Publication Date
WO2012149734A1 true WO2012149734A1 (zh) 2012-11-08

Family

ID=45986259

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079514 WO2012149734A1 (zh) 2011-09-09 2011-09-09 冲突检测的方法和设备

Country Status (2)

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

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577485B (zh) * 2012-08-07 2016-10-19 上海达实联欣科技发展有限公司 主从模式查询系统及方法
CN102905279B (zh) * 2012-09-28 2015-06-03 华为技术有限公司 远端控制单元序列号和天线扇区号的匹配方法及装置
CN102882582B (zh) * 2012-10-11 2015-01-14 深圳市大富科技股份有限公司 塔顶放大器解析交换标识符帧的方法,及塔顶放大器
CN103680108A (zh) * 2012-11-20 2014-03-26 国网电力科学研究院 一种电表的抄表方法及抄表装置
CN103369045B (zh) * 2013-07-11 2016-12-28 京信通信系统(中国)有限公司 变频覆盖系统的控制方法及装置
WO2015032058A1 (zh) * 2013-09-05 2015-03-12 华为技术有限公司 发现ald的方法和设备
CN106452669A (zh) * 2016-09-06 2017-02-22 中国农业大学 一种传感器终端功能检测方法及装置
CN109983716B (zh) 2016-12-09 2021-04-09 华为技术有限公司 用于数据传输的方法、终端设备和网络侧设备
CN107426757B (zh) * 2017-09-13 2020-02-04 南通大学 一种天线设备扫描方法及系统
CN112180837A (zh) * 2020-08-31 2021-01-05 深圳市优必选科技股份有限公司 一种设备冲突检测方法、装置及机器人

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257667A (zh) * 2008-02-01 2008-09-03 中兴通讯股份有限公司 一种基站收发装置
CN101626581A (zh) * 2008-07-08 2010-01-13 中国移动通信集团公司 电调天线接口中的设备扫描方法、装置及系统

Family Cites Families (6)

* 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
AU2003222285A1 (en) * 2002-03-15 2003-09-29 Andrew Corp. Antenna interface protocol
US8653946B2 (en) * 2006-05-10 2014-02-18 Electronics And Telecommunications Research Institute Passive RFID reader and operation control method therefor
CN101072041B (zh) * 2007-06-05 2010-06-02 中兴通讯股份有限公司 电调天线设备的地址冲突检测方法及系统
CN101562720B (zh) * 2008-04-17 2012-07-25 英华达(上海)电子有限公司 一种在视频通信中处理无效数据的方法及系统
US8121068B2 (en) * 2008-07-30 2012-02-21 Intel Corporation Techniques to improve co-existence among multiple radios

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257667A (zh) * 2008-02-01 2008-09-03 中兴通讯股份有限公司 一种基站收发装置
CN101626581A (zh) * 2008-07-08 2010-01-13 中国移动通信集团公司 电调天线接口中的设备扫描方法、装置及系统

Also Published As

Publication number Publication date
CN102439881A (zh) 2012-05-02
CN102439881B (zh) 2014-08-20

Similar Documents

Publication Publication Date Title
WO2012149734A1 (zh) 冲突检测的方法和设备
EP3972170B1 (en) Multi-link communication method and related device
US9912446B2 (en) Device, method and computer readable medium for communication on a ZigBee network
EP3716722B1 (en) System and method for synchronous independent channel access in a wireless network
JP2020521346A (ja) ビーム構成方法および装置
KR101668768B1 (ko) 패킷 릴레이를 위한 시스템 및 방법
CN106576021B (zh) 用于管理有限无线电覆盖中的无线装置的设备与方法
TWI690226B (zh) 處理載波聚合及雙連結的網路端
WO2019136678A1 (zh) 上行信号发送方法、上行信号接收方法、装置和系统
US10789180B2 (en) SPI-based data transmission method and device
WO2009135441A1 (zh) 多模基站及其通信方法
JP6251886B2 (ja) 中継装置、および中継装置の制御方法
US20210385142A1 (en) Method and device for data transmission
WO2014176735A1 (zh) 通信控制方法、用户设备、网络服务器和系统
EP3151610A1 (en) Method for triggering registration machine protocol interaction, access point and station point
US20180368127A1 (en) Wireless communication method and wireless communication terminal
WO2022078321A1 (zh) 上行信息发送方法及相关产品
WO2019182685A1 (en) Systems and methods for generating and transmitting short low power wake-up request (wur) frames in a wireless communication system
EP3897071A1 (en) E-utran and 5gnr modem arrangement for sftd
WO2014201693A1 (zh) 功率控制方法及装置
CN108293210A (zh) 一种小区切换方法及设备
CN114303334A (zh) Scell波束失败恢复的完成
WO2019157664A1 (zh) 用于波束失败恢复的资源选择方法、装置和通信系统
CN113783665B (zh) 通信方法及装置
WO2011079771A1 (zh) 一种传输数据的方法、系统和装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180002217.0

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11864732

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11864732

Country of ref document: EP

Kind code of ref document: A1