WO2015032058A1 - 发现ald的方法和设备 - Google Patents

发现ald的方法和设备 Download PDF

Info

Publication number
WO2015032058A1
WO2015032058A1 PCT/CN2013/083020 CN2013083020W WO2015032058A1 WO 2015032058 A1 WO2015032058 A1 WO 2015032058A1 CN 2013083020 W CN2013083020 W CN 2013083020W WO 2015032058 A1 WO2015032058 A1 WO 2015032058A1
Authority
WO
WIPO (PCT)
Prior art keywords
ald
unique
address
controller
reporting
Prior art date
Application number
PCT/CN2013/083020
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 CN201380079299.8A priority Critical patent/CN105493620A/zh
Priority to PCT/CN2013/083020 priority patent/WO2015032058A1/zh
Publication of WO2015032058A1 publication Critical patent/WO2015032058A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/085Access point devices with remote components

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to a method and apparatus for discovering ALD. Background technique
  • the Antenna Interface Standards Group (AISG) standard protocol stipulates that any Antenna Line Device (ALD) requires a globally unique identification code (ie, a unique ID, also known as a serial number).
  • ALD Antenna Line Device
  • the ALD control device is obtained from ALD by scanning.
  • the AISG standard protocol does not define a scanning algorithm for the Unique ID. Therefore, the scanning algorithm is defined by each ALD control device manufacturer.
  • the scanning algorithms defined by each ALD control device manufacturer are now mainly traditional binary tree scanning algorithms or variants thereof.
  • the standard binary tree scanning algorithm scans by bit. When scanning the unique ID of the antenna feeder device, the character set of the binary ID is limited, so the variant of the binary tree scanning algorithm is often limited for bit-bit scanning and character set limitation. These two conditions are optimized to speed up scanning and improve scanning reliability.
  • Embodiments of the present invention provide a method and apparatus for discovering ALD that can reduce the time to discover ALD.
  • a method for discovering ALD comprising: the antenna feeder control device ALD controller transmitting a command to the ALD, the reporting command for indicating that the ALD is uniquely identified by the ALD controller ID;
  • the ALD controller is connected to the AU and the unique ID of the ALD report, and the Unique ID is sent by the ALD according to the transmission mechanism of the collision detection concession through the advanced data link control HDLC bus.
  • the receiving, by the ALD controller, the Unique ID of the ALD report further includes: the ALD controller enters an observation state, and the ALD controller accepts and records the Unique ID reported by the ALD during the observation state.
  • the ALD controller exits the observation state; when the reporting time expires, the ALD controller exits the observation state, and sends a stop reporting command to the ALD, and the stop reporting command is used to indicate the ALD Stop reporting the Unique ID.
  • the ALD stops the Unique ID, and further includes: sending the report to the ALD again. Command, so that the ALD is again on the Unique ID.
  • the ALD controller receives and records the Unique ID reported by the ALD, and further includes: If the same Unique ID is received, the received Unique ID is used to overwrite the first received Unique ID; if a different Unique ID is received and the different Unique ID uses the same communication address, it is marked as an address conflict.
  • the method further includes: sending an address update command to the ALD marked as an address conflict, so that the identifier is After receiving the address update command, the ALD of the address conflict determines whether the address needs to be updated according to the information carried in the address update command. If it needs to be updated, it updates to the address specified by the ALD Controller, otherwise it does not update.
  • a method for discovering ALD comprising: receiving, by the ALD, a report command sent by the ALD controller; after receiving the report command, the ALD inwardly uploads a Unique ID to the ALD controller, so that the ALD controller is connected 4 and have recorded the Unique ID; if the ALD receives the stop report command sent by the ALD controller, the report is terminated, the stop
  • the ALD controller is on i
  • the method further includes: after receiving the upload command sent by the ALD controller, uploading the Unique ID to the ALD controller again.
  • the ALD reports the Unique ID to the HDLC bus through the advanced data link, and the reporting the Unique ID to the ALD controller includes: It is determined whether a conflict occurs on the bus. If a conflict occurs, the ALD delay reports the Unique ID.
  • the ALD allocates an address to the ALD controller after the Unique ID, and the allocated address includes: The address of the ALD that successfully reports the Unique ID is the starting address, which is the default address of the ALD controller plus one; the address of the ALD that successfully reports the Unique ID next time is the address of the ALD of the last successful Unique ID.
  • the ALD delay reporting the Unique ID further includes: updating the ALD delay when reporting the Unique ID address.
  • the address update command sent by the ALD controller is received, and the command is carried in the command according to the address update command.
  • the information determines whether the address of the ALD needs to be updated, and if it needs to be updated, it is updated to the address specified by the ALD Controller, otherwise it is not updated.
  • the third aspect provides an ALD control device ALD controller, including: a sending module, configured to send a report command to the ALD, where the report command is used to instruct the ALD to report a unique identification code Unique ID to the ALD controller; a receiving module, the receiving module is configured to receive the ALD reported Unique ID during the observation state; the storage module is configured to record the Unique ID reported by the ALD; and the processing module is configured to determine whether the reporting time is cut off And determining to determine whether the exit condition is met, and for instructing the receiving module to stop receiving when it is determined that the reporting time has not expired but satisfying the exit condition; the processing module is further configured to: when determining that the reporting time is expired And instructing the sending module to send a stop reporting command to the ALD so that the ALD stops reporting the Unique ID.
  • a sending module configured to send a report command to the ALD, where the report command is used to instruct the ALD to report a unique identification code Unique ID to the ALD controller
  • a receiving module the receiving module is configured to receive the A
  • the processing module is further configured to: when it is determined that the reporting time is cut off, instruct the sending module to resend the reporting command to the ALD, so that the ALD is again Report the Unique ID.
  • the storage module is further configured to: if the receiving module receives the same unique ID in succession, The received Unique ID overrides the first received Unique ID; the processing module is further configured to indicate an address conflict if the receiving module receives a different Unique ID and the different Unique ID uses the same communication address.
  • the sending module is further configured to send an address update command to the ALD marked as an address conflict. Therefore, after receiving the address update command, the ALD marked as an address conflict determines whether the address needs to be updated according to the information carried in the command.
  • an ALD including: a receiving module, a sending module, and a processing module; the receiving module is configured to receive a reporting command sent by the ALD controller; the processing module is configured to: after the receiving module receives the reporting command, The sending module is configured to report the Unique ID to the ALD controller; the sending module is configured to report the Unique ID to the ALD controller, so that the ALD controller receives and records the Unique ID; the receiving module is further configured to receive the stop reporting command sent by the ALD controller The processing module is configured to, after the receiving module receives the stop reporting command, command the sending module to terminate reporting.
  • the processing module is further configured to: after the receiving module receives the reporting command that is resent by the ALD controller, instructing the sending module to report the Unique ID to the ALD controller again.
  • the method further includes: assigning an address module, where the allocation address module is used to allocate an address, including: the first successful reporting of the unique ID
  • the address of the ALD is set to the start address, and the start address is the default address of the ALD controller plus one;
  • the address of the ALD that successfully reports the Unique ID next time is set to the address of the ALD of the last successfully reported Unique ID plus 1.
  • the fourth or fourth aspect is combined with the first or second A possible implementation manner, further comprising an address update module, configured to update an address of the ALD; the processing module is further configured to determine whether a conflict occurs on the bus, and if a conflict occurs, the processing module is configured to command the sending module to delay Report the Unique ID and command the address update module to update the address when reporting the Unique ID.
  • the receiving module is configured to receive an address update command sent by the ALD controller, where the processing module uses the fourth aspect or the first to the third possible implementation manners of the fourth aspect. Whether the address of the ALD needs to be updated according to the information carried in the command, if the update is required, the address update module is instructed to update to the address specified by the ALD Controller, otherwise it is not updated.
  • the ALD after the ALD receives the report command, the ALD reports the Unique ID to the ALD controller after receiving the report command, which saves the discovery of ALD by means of the bit scan.
  • the ALD's Unique ID can be obtained at a very fast rate; and the probability of a missed sweep is not increased because of the low difference in Unique ID between ALDs.
  • FIG. 1 is a schematic flow chart of a method of discovering ALD according to an embodiment of the present invention
  • FIG. 2 is another schematic flowchart of a method of discovering ALD according to an embodiment of the present invention
  • FIG. 3 is an ALD according to an embodiment of the present invention. Schematic block diagram of the controller;
  • FIG. 4 is a schematic block diagram of an ALD according to an embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of an ALD controller according to another embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of ALD according to another embodiment of the present invention.
  • the ALD controller may be a base station, a debugging tool, a Packet Control Unit (PCU), etc., and the devices listed above as the ALD controller are merely illustrative, and the present invention is not limited thereto, and other devices capable of performing ALD control All fall within the scope of protection of the present invention.
  • PCU Packet Control Unit
  • Figure 1 shows a schematic flow diagram of a method 100 for discovering ALD in accordance with the present invention. As shown in FIG. 1, the method 100 includes:
  • the ALD controller sends a report command to the ALD, where the command is used to instruct the ALD to report the unique identifier code to the ALD controller of the antenna control device; SI 20, the ALD controller receives and records the Unique ID of the ALD captain, the Unique
  • the ID is transmitted by the ALD based on the transmission mechanism of collision detection and collision backoff through the advanced data link control HDLC bus.
  • the ALD by sending a report command to the ALD, after the ALD receives the report command, the ALD reports the Unique ID to the ALD controller, which saves the time for discovering the ALD compared to the bit scan mode, and can be used extremely fast.
  • the speed acquires the Unique ID of the ALD; and does not increase the probability of a missed sweep due to the low difference in the Unique ID between the ALDs.
  • the ALD controller sends a reporting command to the ALD, the number of ALDs is multiple, and the ALD controller is connected to the plurality of ALDs via a bus.
  • Each ALD can have two serial ports, A serial port and B serial port, A serial port and B serial port and High Level Data Link Control (HDLC) bus connection, where A serial port is used to communicate with HDLC bus, and B serial port is used for collision detection detection on HDLC bus.
  • HDLC High Level Data Link Control
  • the ALD controller communicates with each ALD via an HDLC bus, which includes an ALD controller to send various commands or messages to each ALD device, and to receive Unique ID information sent by each ALD.
  • the ALD controller's communication address is fixed and the address is known to all ALDs.
  • the ALD controller broadcasts a report command on the HDLC bus to notify all ALDs on the HDLC bus to report the Unique ID.
  • each ALD After receiving the report command, each ALD reports the Unique ID to the ALD controller.
  • the Unique ID is the global unique identification code of the ALD device, which is also called the serial number.
  • the ALD controller receives and records the Unique ID reported by the ALD, and the Unique ID is sent by the ALD according to a transmission mechanism of collision detection and collision concession through the advanced data link control HDLC bus.
  • the conflict detection and return mechanism is: ALD two serial ports, A serial port is used for normal 485 communication, and B serial port is used to observe whether detecting data on the HDLC bus conflicts, in HDLC On the bus, if there is more than one ALD reported to the Unique ID, it is considered as a conflict.
  • the serial port detects a conflict, it stops transmitting immediately. The random delay is sent again after a period of time, and the address is updated again when it is sent again. until.
  • the conflict detection mechanism and the post-conflict backoff mechanism enable the unique ID to be reported in a shorter period of time, reducing the occurrence of conflicts.
  • the ALD allocates the address:
  • the starting address is ALD controller default address plus 1 , the first successfully reported ALD address of Unique ID is the starting address;
  • the next successful report of the Unique ID's ALD address is the last successfully reported ADD address of the Unique ID plus 1.
  • the default address is the address of the ALD control. Specifically, the ALD of the Unique ID is not currently observed, and the HDLC bus is observed. When the ALD is successfully reported, the address corresponding to the Unique ID is recorded when the ALD is successfully reported. , its own address is incremented by 1 for this address.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed, reducing the interaction message between the ALD Controller and the ALD, so that the ALD Controller can complete the ALD more quickly. Configuration.
  • the ALD control sends a report command to the ALD, and enters an observation state.
  • the ALD Controller records the address corresponding to each Unique ID and the Unique ID. If the same unique ID is received, the received received ones are overwritten. If the same unique address is used, the address conflict is considered, and the address conflict is identified on the unique ID of the address conflict.
  • the exit condition includes:
  • the number of ALDUnique IDs received by the ALD Controller is greater than or equal to the maximum number supported by the ALD Controller.
  • the number of ALDs that can be reported per second is limited and determined, and the length of the reporting time can be determined according to the number of ALDs.
  • the ALD controller exits the observation state, meaning that all ALDs have completed the Unique ID reporting and the corresponding communication address negotiation.
  • the ALD Controller checks whether an address exists. Conflict, if there is an address conflict, broadcast the command on the HDLC bus to notify the ALD update address corresponding to the Unique ID of the address conflict. After receiving the address update command, the ALD of the address conflict determines its own according to the information carried in the command. Whether the address needs to be updated, if it needs to be updated, update to the address specified by ALD Controller, otherwise it will not be updated. When this process is complete, the process terminates.
  • the ALD control exits the observation state, and the sending stop reporting command is sent to the ALD to stop the ALD from reporting the Unique ID;
  • the ALD Controller broadcasts a stop reporting command on the HDLC bus, informing all ALDs to stop reporting the Unique ID;
  • All ALDs stop reporting the unique ID after receiving the stop report command.
  • the ALD Controller re-initiates the Unique ID escalation process according to the policy, or directly terminates the reporting process.
  • the ALD sends the Unique ID to the ALD controller, which saves the scan time compared to the bit scan, and can be used at a very fast speed. Obtain all the ALD's Unique ID, and reduce the occurrence of the sweeping situation.
  • the communication address allocation of each ALD is completed at the same time, eliminating the process of specifically allocating the address after the scanning is completed, reducing the process.
  • the interactive message between the ALD Controller and the ALD allows the ALD Controller to complete the ALD configuration more quickly.
  • FIG. 2 shows a schematic flow diagram of a method 200 of discovering ALD in accordance with an embodiment of the present invention. 2 and its description of the disclosed method may be based on the embodiment of the present invention and the method disclosed in FIG. 1 based on an embodiment of the present invention. As shown in FIG. 2, the method 200 includes:
  • the ALD receives the reporting command sent by the ALD controller
  • the ALD reports the Unique ID to the ALD controller after receiving the report command, so that the ALD controller receives and records the Unique ID;
  • the ALD reports the Unique ID to the ALD controller, which saves the scan time by means of the bit scan, and can be obtained by the ALD controller at a very fast speed. Go to ALD's Unique ID and reduce the occurrence of missed sweeps.
  • the ALD controller sends a reporting command to the ALD, and the number of ALDs is multiple.
  • the ALD controller is connected to the plurality of ALDs via a bus.
  • Each ALD can have two serial ports, A serial port and B serial port, A serial port and B serial port.
  • HDLC connection where A serial port is used for communication with HDLC, and B serial port is used for collision detection detection on HDLC bus.
  • the ALD controller communicates with each ALD via an HDLC bus, which includes an ALD controller to send various commands or messages to each ALD device, and to receive Unique ID information sent by each ALD.
  • the ALD controller's communication address is fixed and also its default address, and the address is known to all ALDs.
  • the ALD controller broadcasts a report command on the HDLC bus to notify all ALDs on the HDLC bus to start reporting the unique ID.
  • each ALD After receiving the report command, each ALD reports the Unique ID to the ALD controller.
  • ALD two serial ports, A serial port for normal 485 communication, B serial port for viewing Check if the data on the HDLC bus is in conflict. Once the B serial port detects a collision, it stops transmitting immediately, and the random delay is sent again after a period of time. When it is sent again, the address is updated until the transmission is successful.
  • the conflict detection mechanism and the post-conflict backoff mechanism enable the reporting of the Unique ID in a shorter time and reduce the occurrence of conflicts.
  • the ALD allocates the address:
  • the starting address is the default address of the ALD controller plus one.
  • the address of the ALD for the first successful ⁇ 1 ID is the starting address. Specifically, the ALD of the Unique ID is not reported, and the HDLC bus is observed. If no conflict is detected. When the ALD successfully reports the Unique ID, the address corresponding to the Unique ID is recorded. When the next opportunity is received, the address of the own is incremented by 1.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed, reducing the interaction message between the ALD Controller and the ALD, so that the ALD Controller can complete the ALD more quickly. Configuration.
  • the ALD Controller After the ALD Controller sends the report command, it enters an observation state, and receives and records the ID reported by the ALD during the observation state;
  • the ALD Controller records the communication address corresponding to each Unique ID and the Unique ID. If the same Unique ID is received, the received one is used to receive the previously received one. If the same unique address is used, the address conflict is considered, and the address conflict is identified on the Unique ID of the address conflict.
  • the ALD controller terminates the report after receiving the stop report command sent by the ALD controller, and the stop report command is sent by the ALD controller when the report time is not completed.
  • the number of ALDs that can be reported per second is limited and determined, and the length of the reporting time can be determined according to the number of ALDs.
  • the ALD Controller When the reporting time arrives, the ALD Controller exits the observation state, and sends a stop reporting command to the ALD so that the ALD stops reporting the ID; Specifically, when the reporting time expires, the ALD Controller broadcasts a stop reporting command on the HDLC bus, informing all ALDs to stop reporting the Unique ID;
  • the ALD Controller re-initiates the Unique ID escalation process according to the policy, or directly terminates the reporting process.
  • the exit condition includes:
  • the HDLC bus idle time is greater than 10ms for no longer ALD reporting.
  • the Unique ID can also be set to other times according to the relevant standard protocol.
  • the number of ALDUnique IDs received by the ALD Controller is greater than or equal to the maximum number supported by the ALD Controller.
  • the ALD controller exits the observation state, meaning that all ALDs have completed the Unique ID reporting and the corresponding communication address negotiation.
  • the ALD Controller checks whether an address exists. Conflict, if there is an address conflict, broadcast the command to notify the ALD update address of the address conflict on the HDLC bus. After receiving the address update command, the ALD of the address conflict determines whether the address needs to be updated according to the information carried in the command, if it needs to be updated. , it is updated to the address specified by ALD Controller, otherwise it will not be updated. When this process is complete, the process terminates.
  • FIG. 3 shows a schematic block diagram of an ALD control device ALD controller according to an embodiment of the present invention. 3 and its description of the disclosed apparatus may be based on the embodiments of the present invention, FIGS. 1 through 2, and the methods disclosed in FIGS. 1 through 2, based on embodiments of the present invention.
  • the ALD controller 300 includes:
  • the sending module 310 is configured to send a report command to the ALD, where the report command is used to instruct the ALD to report the Unique ID to the ALD controller;
  • the receiving module 320 is configured to receive the unique ID reported by the ALD, and a storage module 330, configured to record the unique ID of the ALD report during the observation state;
  • the processing module 340 is configured to determine whether the reporting time is cut off, and to determine whether the exit condition is met, and to command the receiving module to stop receiving when it is determined that the reporting time has not expired but the exit condition is met;
  • the processing module 340 is further configured to, when it is determined that the reporting time is cut off, instruct the sending module 310 to send a stop reporting command to the ALD, so that the ALD stops reporting the Unique ID.
  • the sending module 310 sends a reporting command to the ALD, and after the ALD receives the reporting command, the ALD reports the Unique ID to the ALD controller, which saves the scanning time, and obtains the Unique ID of the ALD at a very fast speed, and Reduce the occurrence of missed sweeps.
  • the sending module 310 is configured to send a reporting command to the ALD.
  • the number of ALDs is multiple, and the ALD controller is connected to the plurality of ALDs through the bus.
  • Each ALD can have two serial ports, A serial port and B serial port, A serial port and B serial port and HDLC. Connection, where A serial port is used for communication with HDLC, and B serial port is used for collision detection detection on HDLC bus.
  • the ALD controller communicates with each ALD via an HDLC bus, which includes an ALD controller to send various commands or messages to each ALD device, and to receive Unique ID information sent by each ALD.
  • the ALD controller's communication address is fixed and the address is known to all ALDs.
  • the ALD controller broadcasts a report command on the HDLC bus to notify all ALDs on the HDLC bus to start reporting the unique ID. After receiving the report command, each ALD reports the Unique ID to the ALD controller.
  • the ALD Controller After the ALD Controller sends the report command, it enters the observation state, and receives and records the unique ID reported by the ALD during the observation state;
  • the receiving module 320 receives each unique ID
  • the storage module 330 records that the receiving module 320 receives each unique ID and a corresponding address corresponding to the unique ID.
  • the storage module 330 can store the communication address corresponding to the Unique ID.
  • the receiving module 320 uses the received received coverage to receive the previous received address; if the same Unique Address is used, the address is considered to be an address conflict, and the address is identified on the Unique ID of the address conflict. conflict.
  • the processing module 340 is configured to determine whether the reporting time is expired, and is used to determine whether the exit condition is met, wherein, optionally, the exiting condition includes:
  • the HDLC bus idle time can be set to be greater than 10ms, or it can be set to other times according to the relevant standard protocol.
  • the number of ALDUnique IDs received by the ALD Controller is greater than or equal to the maximum number supported by the ALD Controller.
  • the ALD controller exits the observation state, meaning that all ALDs have completed the Unique ID reporting and the corresponding communication address negotiation.
  • the ALD Controller checks whether an address exists. Conflict, if there is an address conflict, broadcast the command to notify the ALD update address of the address conflict on the HDLC bus. After receiving the address update command, the ALD of the address conflict determines whether the address needs to be updated according to the information carried in the command, if it needs to be updated. , it is updated to the address specified by ALD Controller, otherwise it will not be updated. When this process is complete, the process terminates.
  • the processing module 340 is further configured to: when it is determined that the reporting time is off, instruct the sending module 310 to send a stop reporting command to the ALD so that the ALD stops reporting the Unique ID.
  • the sending module 310 is configured to broadcast a stop reporting command on the HDLC bus, to notify all ALDs to stop reporting the Unique ID;
  • the ALD Controller re-initiates the Unique ID escalation process according to the policy, or directly terminates the reporting process.
  • the sending module 310 sends a reporting command to the ALD, and after the ALD receives the reporting command, the ALD reports the Unique ID to the ALD controller, which saves the scanning time by means of the bitwise scanning, and can be used very quickly.
  • the speed obtains all ALD's Unique ID, and reduces the occurrence of the sweeping situation.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed.
  • the interaction message between ALD Controller and ALD is reduced, enabling ALD Controller to complete ALD configuration more quickly.
  • FIG. 4 shows a schematic block diagram of an ALD in accordance with an embodiment of the present invention.
  • the apparatus disclosed in FIG. 4 and its description may be based on the embodiments of the present invention, FIGS. 1 through 2, and the methods disclosed in FIGS. 1 through 2 of the present invention.
  • the ALD400 includes:
  • the receiving module 410 is configured to receive a report command sent by the ALD controller.
  • the processing module 430 is configured to, after the receiving module 410 receives the reporting command, command the sending module 420 to upload a Unique ID to the ALD controller;
  • the sending module 420 is configured to report a Unique ID to the ALD controller, so that the ALD controller receives and records the Unique ID.
  • the receiving module 410 is further configured to receive the stop reporting command sent by the ALD controller, and the processing module 430 is configured to: after the receiving module 410 receives the stop reporting command, instruct the sending module 420 to terminate the reporting, or receive the ALD controller. After resending the message, the Unique ID is reported to the ALD controller again.
  • the sending module 420 reports the Unique ID to the ALD controller, which saves the scanning time and allows the ALD controller to obtain the ALD at an extremely fast speed. Unique ID and reduce the occurrence of missed sweeps.
  • the number of ALDs is multiple, and the ALD controller is connected to the plurality of ALDs via a bus.
  • Each ALD can have two serial ports, A serial port and B serial port, A serial port and B serial port and HDLC connection, wherein the A serial port is used for communication with the HDLC.
  • the B serial port is used for collision detection on the HDLC bus.
  • the ALD controller communicates with each ALD via an HDLC bus, which includes an ALD controller to send various commands or messages to each ALD device, and to receive Unique ID information sent by each ALD.
  • the processing module 430 is configured to report the unique ID to the ALD controller during the reporting time, so that the ALD controller receives and records the Unique ID in the observed state;
  • the sending module 420 reports the Unique ID to the ALD controller.
  • the ALD further includes an allocation address module 440.
  • the allocation address module 440 is configured to allocate the address:
  • the starting address is the default address of the primary device plus one.
  • the address of the ALD that successfully reports the Unique ID for the first time is the starting address.
  • the next successful report of the Unique ID's ALD address is the last successfully reported ADD address of the Unique ID plus 1.
  • the ALD of the Unique ID is not reported, and the HDLC bus is observed.
  • the address corresponding to the Unique ID is recorded when the ALD is successfully reported, and the next time the opportunity is sent, the next time The address of this address is incremented by 1.
  • the communication address assignment of each ALD is completed at the same time, and the The process of assigning addresses after the scan is completed reduces the interaction between the ALD Controller and the ALD, allowing the ALD Controller to complete the ALD configuration more quickly.
  • the ALD further includes an address update module 450;
  • the A serial port is used for normal 485 communication
  • the B serial port is used to observe whether the data on the HDLC bus conflicts, and the conflict detection may be completed by the processing module 430.
  • the processing module 430 instructs the sending module 420 to immediately stop sending the reporting ID, and then sends the reporting ID again after a random delay, and the address updating module 450 updates the address again when the transmission is successful, until the transmission is successful.
  • the conflict detection mechanism and the post-conflict rebate mechanism enable the unique ID to be reported in a shorter time to reduce the occurrence of conflicts.
  • the number of ALDs that can be reported per second is limited and determined, and the length of reporting time can be determined according to the number of ALDs.
  • the receiving module 410 terminates the report after receiving the stop report command sent by the ALD controller, and the stop report command is sent by the ALD controller when the report time is not completed.
  • the ALD Controller exits the observation state, and sends a stop reporting command to ALD to stop the ALD from reporting the Unique ID;
  • the ALD Controller broadcasts a stop reporting command on the HDLC bus, informing all ALDs to stop reporting the Unique ID;
  • the processing module 430 instructs the sending module to stop reporting the Unique ID.
  • the ALD controller exits the observation state, meaning that all ALDs have completed the Unique ID reporting and the corresponding communication address negotiation.
  • the ALD Controller checks whether an address exists. If there is an address conflict, the ALD update address of the command to notify the address conflict is broadcasted on the HDLC bus.
  • the processing module 430 is configured to determine according to the information carried in the command. Whether the address needs to be updated, if an update is needed, the processing module 430 instructs the address update module 450 to update to the address specified by the ALD Controller, otherwise it is not updated. When this process is complete, the process terminates.
  • the ALD reports the Unique ID to the ALD controller, which saves the scanning time, can obtain all the ALD Unique IDs at an extremely fast speed, and reduces the leakage condition.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed, and reducing the interaction message between the ALD Controller and the ALD, so that the ALD Controller can Complete ALD configuration faster.
  • FIG. 5 shows a schematic block diagram of an ALD control device ALD controller according to an embodiment of the present invention.
  • the apparatus disclosed in Figure 5 and its description may be based on the embodiments of Figures 1 through 2 of the present invention and the methods disclosed in Figures 1 through 2 of the present invention.
  • the ALD controller 500 includes:
  • a transmitter 510 configured to send a report command to the ALD, so that the ALD receives the report command and reports the Unique ID to the ALD controller;
  • Receiver 520 the receiver 520 is configured to receive the Unique ID reported by the ALD;
  • a memory 530 configured to record the unique ID reported by the ALD
  • the processor 540 is configured to determine whether the reporting time is cut off, and to determine whether the exit condition is met, and to command the receiver 520 to stop receiving when it is determined that the reporting time has not expired but the exit condition is met. ;
  • the processor 540 is further configured to, when it is determined that the reporting time is cut off, instruct the transmitter 510 to send a stop reporting command to the ALD to stop the ALD from reporting the Unique ID.
  • the transmitter 510 sends a report command to the ALD, and after the ALD receives the report command, the ALD reports the Unique ID to the ALD controller, which saves the scan time, and obtains the ALD Unique ID at an extremely fast speed, and Reduce the occurrence of missed sweeps.
  • the transmitter 510 sends a report command to the ALD, and the number of ALDs is multiple.
  • the ALD controller is connected to the plurality of ALDs through the bus.
  • Each ALD can have two serial ports, A serial port and B serial port, A serial port and B serial port and HDLC connection.
  • the A serial port is used for communication with the HDLC
  • the B serial port is used for collision detection detection on the HDLC bus.
  • the ALD controller communicates with each ALD via an HDLC bus, which includes the ALD controller transmitting various commands or messages to each ALD device, and receiving the Unique ID information transmitted by each ALD.
  • the ALD controller's communication address is fixed and the address is known to all ALDs.
  • the ALD controller broadcasts a report command on the HDLC bus to notify all ALDs on the HDLC bus to start reporting the unique ID.
  • each ALD After receiving the report command, each ALD reports to the ALD controller during the reporting time.
  • the A serial port is used for normal 485 communication
  • the B serial port is used to observe whether the data on the 485 bus conflicts.
  • the B serial port detects a collision, it immediately stops sending, and the random delay is sent again after a period of time. When it is sent again, the address is updated until the transmission is successful.
  • the conflict detection mechanism and the post-conflict backoff mechanism enable the unique ID to be reported in a shorter time and reduce the occurrence of conflicts.
  • the ALE address is assigned:
  • the starting address is the default address of the master device plus one, and the address of the ALD that successfully reports the Unique ID for the first time is the starting address;
  • the next successful report of the Unique ID's ALD address is the last successfully reported ADD address of the Unique ID plus 1.
  • the ALD of the Unique ID is not reported, and the HDLC bus is observed.
  • the address corresponding to the Unique ID is recorded when the ALD is successfully reported, and the next time the opportunity is sent, the next time The address of this address is incremented by 1.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed, reducing the interaction message between the ALD Controller and the ALD, so that the ALD Controller can complete the ALD more quickly. Configuration.
  • the ALD Controller After the ALD Controller sends the report command, enters an observation state, and receives and records the Unique ID reported by the ALD during the observation state; Optionally, in the observation state, the receiver 520 receives each Unique ID, and the memory 530 records that the receiver 520 receives each Unique ID and a communication address corresponding to the Unique ID. Optionally, the stored memory 530 can store a communication address corresponding to the Unique ID.
  • the receiver 520 receives the previously received coverage and uses the same received address; if the same unique address is used, the address conflict is considered, and the address is identified on the Unique ID of the address conflict. conflict.
  • the number of ALDs that can be reported per second is limited and determined, and the length of the reporting time can be determined according to the number of ALDs.
  • the processor 540 is configured to determine whether the reporting time is cut off, and is used to determine whether the exit condition is met, wherein, optionally, the exit condition includes:
  • the HDLC bus idle time is greater than 10ms for no longer ALD reporting.
  • the Unique ID can also be set to other times according to the relevant standard protocol.
  • the number of ALDUnique IDs received by the ALD Controller is greater than or equal to the maximum number supported by the ALD Controller.
  • the ALD controller exits the observation state, meaning that all ALDs have completed the Unique ID reporting and the corresponding communication address negotiation.
  • the ALD Controller checks whether an address exists. Conflict, if there is an address conflict, broadcast the command to notify the ALD update address of the address conflict on the HDLC bus. After receiving the address update command, the ALD of the address conflict determines whether the address needs to be updated according to the information carried in the command, if it needs to be updated. , it is updated to the address specified by ALD Controller, otherwise it will not be updated. When this process is complete, the process terminates.
  • the processor 540 is further configured to, when it is determined that the reporting time is cut off, instruct the transmitter 510 to send a stop reporting command to the ALD so that the ALD stops reporting the Unique ID. Specifically, when the reporting time expires, the transmitter 510 broadcasts a stop reporting command on the HDLC bus, and notifies all ALDs to stop reporting the Unique ID;
  • the ALD Controller re-initiates the Unique ID escalation process according to the policy, or directly terminates the reporting process.
  • the transmitter 510 sends a report command to the ALD, and after the ALD receives the report command, the ALD reports the Unique ID to the ALD controller, which saves the scan time compared to the bit scan mode. The speed obtains all ALD's Unique ID, and reduces the occurrence of the sweeping situation.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed.
  • the interaction message between ALD Controller and ALD is reduced, enabling ALD Controller to complete ALD configuration more quickly.
  • Figure 6 shows a schematic block diagram of an ALD in accordance with an embodiment of the present invention.
  • the apparatus disclosed in Fig. 6 and its description may be based on the embodiment of the present invention, Figs. 1 to 1 and the method disclosed in Figs. 1 to 2 based on the embodiment of the present invention.
  • the ALD600 includes:
  • Receiver 610 transmitter 620, processor 630;
  • the receiver 610 is configured to receive a report command sent by the ALD controller, and the ALD controller sends the report command to enter an observation state;
  • the processor 630 is configured to, after the transmitter 620 receives the reporting command, command the transmitter 620 to select a unique ID from the ALD controller;
  • the transmitter 620 is configured to report a Unique ID to the ALD controller, so that the ALD Controller receives and records the Unique ID;
  • the receiver 610 is further configured to receive a stop report command sent by the ALD controller, and the processor 630 is configured to, after the receiver 610 receives the stop report command, command the transmitter 620 to terminate the upload, or receive the ALD After the controller resends the message, the Unique ID is reported to the ALD controller again.
  • the transmitter 620 reports the Unique ID to the ALD controller, which saves the scanning time. Between the ALD controller, the ALD controller can obtain the Unique ID of the ALD and reduce the occurrence of the sweep.
  • the ALD controller sends a report command to the ALD.
  • the number of ALDs is multiple.
  • the ALD controller is connected to the multiple ALDs via a bus.
  • Each ALD can have two serial ports, A serial port and B serial port, A serial port and B serial port and HDLC connection.
  • the A serial port is used for communication with the HDLC
  • the B serial port is used for collision detection detection on the HDLC bus.
  • the ALD controller communicates with each ALD via an HDLC bus, which includes an ALD controller to send various commands or messages to each ALD device, and to receive Unique ID information sent by each ALD.
  • the ALD controller's communication address is fixed and the address is known to all ALDs.
  • the ALD controller broadcasts a report command on the HDLC bus to notify all ALDs on the HDLC bus to start reporting the unique ID.
  • the processor 630 instructs the transmitter 620 to report the unique ID to the ALD controller during the reporting time, so that the ALD controller receives and records the unique ID in the observed state.
  • each ALD After receiving the report command, each ALD reports the Unique ID to the ALD controller by the transmitter 620 during the reporting time.
  • the A serial port is used for normal 485 communication
  • the B serial port is used to observe whether the data on the 485 bus conflicts, and the conflict detection can be completed by the processor 630.
  • the processor 630 instructs the transmitter 620 to immediately stop sending the report Unique ID, and then sends the report Unique ID again after a random delay, and the address is updated by the processor 630 when it is sent again, until the transmission is successful.
  • the conflict detection mechanism and the post-conflict fallback mechanism enable the unique ID to be reported in a shorter time to reduce the occurrence of conflicts.
  • the processor 630 allocates an address:
  • the start address is the default address of the master device plus one, and the address of the ALD that successfully reports the Unique ID for the first time is the start address;
  • the address of the ALD that successfully reports the Unique ID next time is 1 plus the address of the ALD that successfully reported the Unique ID last time.
  • the ALD of the Unique ID is not reported, and the HDLC bus is observed.
  • the address corresponding to the Unique ID is recorded when the ALD is successfully reported, and the next time the opportunity is sent, the next time The address of this address is incremented by 1.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed, reducing the interaction message between the ALD Controller and the ALD, so that the ALD Controller can complete the ALD more quickly. Configuration.
  • the ALD Controller After the ALD Controller sends the report command, it enters the observation state, and receives and records the unique ID reported by the ALD during the observation state;
  • the ALD Controller records the communication address corresponding to each Unique ID and the Unique ID. If the same Unique ID is received, the received one is used to receive the previously received one. If the same unique address is used, the address conflict is considered, and the address conflict is identified on the Unique ID of the address conflict.
  • the number of ALDs that can be reported per second is limited and determined, and the length of the reporting time can be determined according to the number of ALDs.
  • the receiver 610 terminates the report after receiving the stop report command sent by the ALD controller, and the stop report command is sent by the ALD controller when the report time is not completed.
  • the ALD Controller exits the observation state, and sends a stop reporting command to ALD to stop the ALD from reporting the Unique ID;
  • the ALD Controller broadcasts a stop reporting command on the HDLC bus, informing all ALDs to stop reporting the Unique ID;
  • the processor 630 instructs the transmitter 620 to stop reporting the Unique ID.
  • the ALD Controller re-initiates the Unique ID escalation process according to the policy, or directly terminates the escalation process. Further, when the reporting time is not met but the exit condition is met, the observation state is exited; wherein, optionally, the exit condition includes:
  • the HDLC bus idle time is greater than 10ms for no longer ALD reporting.
  • the Unique ID can also be set to other times according to the relevant standard protocol.
  • the number of ALDUnique IDs received by the ALD Controller is greater than or equal to the maximum number supported by the ALD Controller.
  • the processor 630 determines according to the information carried in the command. Whether the own address needs to be updated, if an update is needed, the processor 630 updates to the address specified by the ALD Controller, otherwise it is not updated. When this process is complete, the process terminates.
  • the ALD reports the Unique ID to the ALD controller, which saves the scan time by means of the bit scan, and can acquire all the ALDs at a very fast speed. Unique ID, and reduce the occurrence of the sweeping situation.
  • the communication address assignment of each ALD is completed at the same time, eliminating the process of specifically assigning addresses after the scanning is completed, reducing ALD Controller and ALD. The interactive message between them allows the ALD Controller to complete the ALD configuration more quickly.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the computer software product of the present invention is stored in a storage medium, and includes a plurality of instructions for obtaining a computer device (which may be a personal computer, a server, or a network device, etc.) to execute various embodiments of the present invention. All or part of the steps of the method.
  • the foregoing storage medium includes: a medium that can store program codes, such as a USB flash drive, a removable hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the disclosed apparatus and method may be implemented in other manners without departing from the scope of the present application.
  • the device embodiments described above are merely illustrative.
  • the division of the device or unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the units described as the separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. .
  • Some or all of the devices may be selected according to actual needs to achieve the objectives of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
  • the described devices and methods, and the schematic diagrams of various embodiments may be combined or integrated with other systems, devices, techniques or methods without departing from the scope of the present application.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electronic, mechanical or other form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

提供一种发现ALD设备的方法和设备,能够快速发现ALD。该发现ALD的方法包括,ALD controller向ALD发送上报命令,该上报命令用于指示该ALD向天馈控制设备ALD controller上报唯一标识码Unique ID;该ALD controller接收和记录该ALD上报的Unique ID,该Unique ID由该ALD根据沖突检测和沖突退避的发送机制通过高级数据链路控制HDLC总线发送。

Description

发现 ALD的方法和 i殳备
技术领域
本发明实施例涉及通信领域, 尤其涉及发现 ALD的方法和设备。 背景技术
天线接口标准組织 (Antenna Interface Standards Group, AISG ) 标准协 议规定任何一个天馈设备( Antenna Line Device, ALD ) 均需要一个全球唯 一的标识码 (即 Unique ID, 又称序列号), 此标识码由 ALD控制设备通过 扫描方式从 ALD中获得。但 AISG标准协议没有定义 Unique ID的扫描算法, 因此, 该扫描算法就由各 ALD控制设备厂家自行定义。 现在各 ALD控制设 备厂家定义的扫描算法主要是传统的二叉树扫描算法或其变种。 标准的二叉 树扫描算法是按位进行扫描的, 在扫描天馈设备的 Unique ID时, 由于组成 Unique ID的字符集受限, 因此二叉树扫描算法的变种, 往往就是针对按位 扫描、 字符集受限这两个条件进行优化, 以加快扫描速度, 和提高扫描可靠 性。
二叉树扫描算法或其变种应用到天馈设备扫描中时, 完成扫描所需的时 间偏长, 即便最大程度上进行优化, 总体所耗时间仍然在分钟级别以上, 降 低了网络效率。 发明内容
本发明实施例提供了一种发现 ALD方法和设备,能够减少发现 ALD的 时间。
第一方面, 提供了一种发现 ALD的方法, 该方法包括, 天馈设备控制 设备 ALD controller向 ALD发送上 4艮命令, 该上报命令用于指示该 ALD向 该 ALD controller上艮唯一标识码 Unique ID; 该 ALD controller接 4欠和 i己录 该 ALD上报的 Unique ID, 该 Unique ID由该 ALD根据冲突检测退让的发 送机制通过高级数据链路控制 HDLC总线发送。 在第一种可能的实现方式中,该 ALD controller接收和记录该 ALD上报 的 Unique ID还包括, 该 ALD controller进入观察^ 态, 该 ALD controller 在该观察状态期间接受和记录该 ALD上报的 Unique ID; 当上报时间未到但 满足退出条件, 该 ALD controller退出该观察状态; 当该上报时间到, 该 ALD controller退出该观察状态, 发送停止上报命令给该 ALD, 该停止上报 命令用于指示该 ALD停止上报 Unique ID。
在第二种可能的实现方式中, 结合第一方面的第一种可能的实现方式, 该发送停止上报命令给该 ALD以便该 ALD停止上 Unique ID后,还包括, 重新向该 ALD发送该上报命令, 以便该 ALD再次进行上 Unique ID。
在第三种可能的实现方式中, 结合第一方面或第一方面的第一或第二任 一种可能的实现方式, 该 ALD controller接收和记录该 ALD上报的 Unique ID,还包括:如果先后接收到相同的该 Unique ID,则使用后接收到的 Unique ID覆盖先接收到的 Unique ID; 如果接收到不同的 Unique ID且该不同的 Unique ID使用了相同的通讯地址, 则标示为地址冲突。
在第三种可能的实现方式中, 结合第一方面的三种可能的实现方式, 在 该标示为地址冲突后, 还包括, 发送地址更新命令给该标示为地址冲突的 ALD, 以便该标示为地址沖突的 ALD接收到地址更新命令后, 根据该地址 更新命令中携带的信息判断自己的地址是否需要更新, 如果需要更新, 则更 新为该 ALD Controller指定的地址, 否则不更新。
第二方面, 提供了一种一种发现 ALD的方法, 该方法包括, ALD接收 ALD controller发送的上报命令; 该 ALD接收到该上报命令后内向该 ALD controller上艮 Unique ID, 以便该 ALD controller接 4 和己录该 Unique ID; 若该 ALD接收到该 ALD controller发送的停止上报命令则终止上报,该停止
'该 ALD controller在 i
在第一种可能的实现方式中, 该终止上报后, 还包括, 当接收到该 ALD controller重新发送的该上艮命令后, 再次向该 ALD controller上艮 Unique ID。 在第二种可能的实现方式中, 结合第二方面或第二方面的第一种可能的 实现方式, 该 ALD通过高级数据链路控制 HDLC总线上报 Unique ID,该向 ALD controller上报 Unique ID包括: 判断该总线上是否产生冲突, 若产生 冲突, 则该 ALD延时上报 Unique ID。
在第三种可能的实现方式中, 结合第二方面或第二方面的第一种或第二 种可能的实现方式,该 ALD向该 ALD controller上报 Unique ID后分配地址, 该分配地址包括: 首次成功上报 Unique ID的 ALD的地址为起始地址, 该 起始地址为 ALD controller的默认地址加 1;下次成功上报 Unique ID的 ALD 的地址为上次成功上 Unique ID的 ALD的地址加 1。
在第四种可能的实现方式中, 结合第二方面或第二方面的第一至三任一 种可能的实现方式, 该 ALD延时上报 Unique ID还包括, 该 ALD延时上报 Unique ID时更新地址。
在第五种可能的实现方式中, 结合第二方面或第二方面的第一至四任一 种可能的实现方式, 接收该 ALD controller发送的地址更新命令, 根据该地 址更新命令命令中携带的信息判断该 ALD的地址是否需要更新, 如果需要 更新, 则更新为该 ALD Controller指定的地址, 否则不更新。
第三方面,提供了一种 ALD控制设备 ALD controller, 包括: 发送模块, 该发送模块用于向 ALD发送上报命令, 该上报命令用于指示该 ALD向该 ALD controller上报唯一标识码 Unique ID;; 接收模块, 该接收模块用于在 观察状态期间接收该 ALD上报的 Unique ID; 存储模块, 该存储模块用于记 录该 ALD上报的 Unique ID; 处理模块, 该处理模块用于判断该上报时间是 否截止, 和用于判断是否满足退出条件, 以及用于在当判断出该上报时间未 到但满足退出条件时, 命令该接收模块停止接收; 该处理模块还用于在当判 断出该上报时间截止时, 命令该发送模块发送停止上报命令给该 ALD以便 该 ALD停止上报 Unique ID。
在第一种可能的实现方式中, 该处理模块还用于, 当判断出该上报时间 截止时, 命令该发送模块重新向该 ALD发送该上报命令, 以便该 ALD再次 进行上报 Unique ID。
在第二种可能的实现方式中, 结合第三方面或第三方面的第一种可能的 实现方式, 该存储模块还用于,如果该接收模块先后接收到相同的该 Unique ID,则使用后接收的 Unique ID覆盖先接收的 Unique ID;该处理模块还用于, 如果该接收模块接收到不同的 Unique ID且该不同的 Unique ID使用了相同 的通讯地址, 则标示为地址冲突。
在第三种可能的实现方式中, 结合第三方面的第二种可能的实现方式, 在该标示为地址冲突后, 该发送模块还用于发送地址更新命令给该标示为地 址冲突的 ALD, 以便该标示为地址冲突的 ALD接收到该地址更新命令后, 根据命令中携带的信息判断自己的地址是否需要更新。
第四方面, 提供了一种 ALD, 包括:接收模块, 发送模块, 处理模块; 该接收模块用于接收 ALD controller发送的上报命令; 该处理模块用于在该 接收模块接收到该上报命令后, 命令该发送模块向 ALD controller 上报 Unique ID;该发送模块用于向该 ALD controller上报 Unique ID,以便该 ALD controller接收和记录该 Unique ID;该接收模块还用于接收该 ALD controller 发送的停止上报命令; 该处理模块用于在该接收模块接收到该停止上报命令 后, 命令该发送模块终止上报。
在第一种可能的实现方式中, 该处理模块还用于在该接收模块接收到该 ALD controller 重新发送的该上报命令后, 命令该发送模块再次向该 ALD controller上报 Unique ID。
在第二种可能的实现方式中, 结合第四方面或第四方面的第一种可能的 实现方式, 还包括分配地址模块, 该分配地址模块用于分配地址, 包括: 将首次成功上报 Unique ID的 ALD的地址设为起始地址, 该起始地址 为该 ALD controller的默认地址加 1 ;
将下次成功上报 Unique ID的 ALD的地址设为上次成功上报 Unique ID 的 ALD的地址加 1。
在第三种可能的实现方式中, 结合第四方面或第四方面的第一种或第二 种可能的实现方式, 还包括地址更新模块, 用于更新该 ALD的地址; 该处理模块还用于判断该总线上是否产生冲突, 若产生冲突, 则该处理 模块用于命令该发送模块延时上报 Unique ID,并在延时上报 Unique ID时命 令该地址更新模块更新地址。
在第四种可能的实现方式中, 结合第四方面或第四方面的第一至三任一 种可能的实现方式, 该接收模块用于接收该 ALD controller发送的地址更新 命令, 该处理模块用于根据命令中携带的信息判断该 ALD的地址是否需要 更新, 如果需要更新, 则命令该地址更新模块更新为 ALD Controller指定的 地址, 否则不更新。
根据本发明实施例的发现 ALD的方法和设备,通过向 ALD发送上报命 令, ALD收到上报命令后, 由 ALD向 ALD controller上报 Unique ID, 相比 通过按位扫描的方式, 节省了发现 ALD的时间, 可用极快的速度获取 ALD 的 Unique ID; 并且不会因为 ALD之间的 Unique ID差异性低而增加漏扫情 况发生的概率。
附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1是根据本发明实施例的发现 ALD的方法的示意性流程图; 图 2是根据本发明实施例的发现 ALD的方法的另一示意性流程图; 图 3是根据本发明实施例的 ALD controller的示意性框图;
图 4是根据本发明实施例的 ALD的示意性框图;
图 5是根据本发明另一实施例的 ALD controller的示意性框图; 图 6是根据本发明另一实施例的 ALD的示意性框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
ALD controller可以是基站, 调试工具、 分组控制单元 (Packet Control Unit, PCU )等, 以上列举的作为 ALD controller的设备仅为示例性说明, 本发明并不限定于此, 其他能够进行 ALD控制的设备均落入本发明的保护 范围内。
图 1示出了根据本发明发现 ALD的方法 100的示意性流程图。 如图 1 所示, 该方法 100包括:
S110, ALD controller向 ALD发送上报命令, 该上 4艮命令用于指示该 ALD向天馈控制设备 ALD controller上报唯一标识码 Unique ID; SI 20,该 ALD controller接收和记录该 ALD上艮的 Unique ID,该 Unique
ID 由该 ALD 根据冲突检测和冲突退避的发送机制通过高级数据链路控制 HDLC总线发送。
在本发明实施例中,通过向 ALD发送上报命令, ALD收到上报命令后, 由 ALD向 ALD controller上报 Unique ID, 相比通过按位扫描的方式, 节省 了发现 ALD的时间, 可用极快的速度获取 ALD的 Unique ID; 并且不会因 为 ALD之间的 Unique ID差异性低而增加漏扫情况发生的概率。
在 S110中, ALD controller 向 ALD发送上报命令, ALD数量为多个, ALD controller与该多个 ALD通过总线连接, 每个 ALD可有两个串口, A 串口和 B串口, A串口和 B串口和高级数据链路控制(High Level Data Link Control, HDLC)总线连接, 其中 A串口用于和 HDLC总线进行通信, B串 口用于 HDLC总线上的冲突侦听检测。
ALD controller通过 HDLC总线与每个 ALD进通信, 该通信包括 ALD controller 向各 ALD 设备发送各种命令或消息, 以及接收各 ALD发送的 Unique ID信息。
ALD controller的通信地址为固定, 且该地址为所有 ALD所知。
ALD controller以广播的方式在 HDLC总线上发送上报命令,通知 HDLC 总线上的所有 ALD开始上报 Unique ID。
各 ALD接收到该上报命令后, 向 ALD controller上报 Unique ID。 该 Unique ID为 ALD设备的全球唯一标识码, 又称之为序列号; ALD进行上 报时, 每秒可完成上报的 ALD数量是有限和确定的, 该上报时间的长短可 根据 ALD的数量来确定。
在 S 120中,该 ALD controller接收和记录该 ALD上报的 Unique ID,该 Unique ID由该 ALD根据冲突检测和冲突退让的发送机制通过高级数据链路 控制 HDLC总线发送。
具体的, 该冲突检测退让机制为: ALD的两个串口, A 串口用于正常的 485通讯, B串口用于观察检测 HDLC总线上的数据是否产生冲突,在 HDLC 总线上, 有多于一个 ALD上报 Unique ID , 即视为产生了沖突,一旦 Β串口 检测到冲突产生, 则立即停止发送, 随机延时一段时间后再次发送, 再次发 送时更新地址, 直到发送成功为止。
该冲突检测机制以及冲突后的退让机制, 使得可以在更短的时间内完成 上报 Unique ID, 减少冲突的发生。
可选的, ALD收到上报命令后向 ALD controller上报 Unique ID后, 进 行分配地址:
起始地址为 ALD controller默认认地址加 1 ,首次成功上报 Unique ID的 ALD的地址为起始地址;
下次成功上报 Unique ID的 ALD的地址为上次成功上报 Unique ID的 ALD的地址加 1。
该默认地址为 ALD control的地址。 具体的, 当前未上 4艮 Unique ID的 ALD, 观察 HDLC 总线, 在未检测到冲突的情况下, 有 ALD 成功上报了 Unique ID时, 记录此 Unique ID对应的地址, 下次抢到发送机会时, 自身的 地址为此地址加 1。
在 ALD的扫描过程中, 同时完成了各 ALD的通信地址分配, 免去了在 扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互 消息, 使得 ALD Controller可以更快速的完成 ALD配置。
可选的, 该 ALD control向 ALD发送上报命令后, 进入观察状态, 在观 察状态中, ALD Controller记录接收到每一个 Unique ID和该 Unique ID对应 的通讯地址。 如果收到相同的 Unique ID, 则使用后接收的覆盖先前接收的; 如果接收到不同 Unique ID使用了相同的通讯地址, 则认为地址冲突, 同时 在地址冲突的 Unique ID上标识地址冲突。
可选的, 当上报时间未到但满足退出条件, 退出该观察状态; 其中, 可 选的, 退出条件包括:
( 1 ) HDLC总线上不再有 ALD上报 Unique ID, 例如可设置当 HDLC 总线空闲时间大于 10ms为不再有 ALD上报 Unique ID , 也可根据相关标准 协议设置为其它时间;
( 2 ) ALD Controller接收到的 ALDUnique ID 数量大于等于 ALD Controller支持的最大数量。
以上条件任意一条满足, 即认为满足退出条件, ALD controller退出观 察状态。
ALD进行上报时, 每秒可完成上报的 ALD数量是有限和确定的, 该上 报时间的长短可根据 ALD的数量来确定。
可选的, 当上报时间未到但满足退出条件, ALD controller退出该观察 状态, 意味着所有 ALD都已经完成了 Unique ID上报和对应的通信地址协 商, 在此情况下, ALD Controller检查是否存在地址冲突, 如果存在地址冲 突, 则在 HDLC总线上广播命令通知被标示为地址冲突的 Unique ID所对应 的 ALD更新地址, 地址冲突的 ALD接收到地址更新命令后, 根据命令中携 带的信息判断自己的地址是否需要更新, 如果需要更新, 则更新为 ALD Controller指定的地址, 否则不更新。 此过程完成后, 流程终止。
可选的, 当上报时间到, 该 ALD control退出观察状态, 发送停止上报 命令给 ALD以便 ALD停止上报 Unique ID;
具体的 , 当上报时间超时, ALD Controller在 HDLC总线上广播停止上 报命令, 通知所有 ALD停止上报 Unique ID;
所有 ALD收到停止上报命令后, 停止上报 Unique ID
ALD Controller根据策略重新发起 Unique ID上报流程, 或直接终止上 报流程。 在本发明实施例中, 通过向 ALD发送上报命令, ALD收到上报命 令后, 由 ALD向 ALD controller上艮 Unique ID,相比通过按位扫描的方式, 节省了扫描时间, 可用极快的速度获取所有 ALD的 Unique ID , 并且减少了 漏扫情况的发生, 此外, 在 ALD的扫描过程中, 同时完成了各 ALD的通信 地址分配,免去了在扫描完成后专门分配地址的过程,减少了 ALD Controller 与 ALD间的交互消息, 使得 ALD Controller可以更快速的完成 ALD配置。
图 2示出了根据本发明实施例的发现 ALD的方法 200的示意性流程图。 图 2及其说明所揭示的方法, 可基于本发明实施例图 1和基于本发明实施例 图 1所揭示的方法。 如图 2所示, 该方法 200包括:
S210, ALD接收 ALD controller发送的上报命令;
S220 ,该 ALD接收到该上报命令后向该 ALD controller上报 Unique ID , 以便该 ALD controller接收和记录该 Unique ID;
S230,若该 ALD接收到该 ALD controller发送的停止上报命令则终止上 发送。
在本发明实施例中, ALD接收到 ALD controller发送的上报命令后, 由 ALD向 ALD controller上报 Unique ID, 相比通过按位扫描的方式, 节省了 扫描时间, 可用极快的速度使得 ALD controller获取到 ALD的 Unique ID, 并且减少了漏扫情况的发生。
在 S210中, ALD controller 向 ALD发送上报命令, ALD数量为多个, ALD controller与该多个 ALD通过总线连接, 每个 ALD可有两个串口, A 串口和 B串口, A串口和 B串口和 HDLC连接, 其中 A串口用于和 HDLC 进行通信, B串口用于 HDLC总线上的冲突侦听检测。
ALD controller通过 HDLC总线与每个 ALD进通信, 该通信包括 ALD controller 向各 ALD 设备发送各种命令或消息, 以及接收各 ALD发送的 Unique ID信息。
可选的, ALD controller的通信地址为固定, 也为其默认地址, 且该地 址为所有 ALD所知。
可选的, ALD controller以广播的方式在 HDLC总线上发送上报命令, 通知 HDLC总线上的所有 ALD开始上报序列号 ( Unique ID )。
S220中, 接收到该上报命令后向该 ALD controller上报 Unique ID, 以 便该 ALD controller在该观察状态接收和记录该 Unique ID;
各 ALD接收到该上报命令后, 向 ALD controller上报 Unique ID。
可选的, ALD的两个串口, A串口用于正常的 485通讯, B串口用于观 察 HDLC总线上的数据是否产生冲突。 一旦 B 串口检测到冲突产生, 则立 即停止发送, 随机延时一段时间后再次发送, 再次发送时更新地址 , 直到 发送成功为止。 该冲突检测机制以及冲突后的退让机制, 使得可以在更短的 时间内完成上报 Unique ID, 减少冲突的发生。
可选的, ALD收到上报命令后在上报时间内向 ALD controller上报 ID 后, 进行分配地址:
起始地址为 ALD controller的默认地址加 1 , 首次成功上^ 1 ID的 ALD 的地址为起始地址,; 具体的, 当前未上报 Unique ID的 ALD, 观察 HDLC总线, 在未检测到 冲突的情况下, 有 ALD成功上报了 Unique ID时, 记录此 Unique ID对应的 地址, 下次抢到发送机会时, 自身的地址为此地址加 1。
在 ALD的扫描过程中, 同时完成了各 ALD的通信地址分配, 免去了在 扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互 消息, 使得 ALD Controller可以更快速的完成 ALD配置。
ALD Controller发送上报命令之后, 进入观察状态, 在该观察状态期间 接收和记录该 ALD上报的 ID;
可选的, 在观察状态中, ALD Controller记录接收到每一个 Unique ID 和该 Unique ID对应的通讯地址。如果收到相同的 Unique ID, 则使用后接收 的覆盖先前接收的; 如果接收到不同 Unique ID使用了相同的通讯地址, 则 认为地址冲突, 同时在地址冲突的 Unique ID上标识地址沖突。
S230中, 若在上报时间内未完成上报, 接收该 ALD controller发送的停 止上报命令后终止上报, 该停止上报命令由该 ALD controller在上报时间未 完成上报时发送。 ALD进行上报时, 每秒可完成上报的 ALD数量是有限和 确定的, 上报时间的长短可根据 ALD的数量来确定。
当上报时间到, ALD Controller退出观察状态,发送停止上报命令给 ALD 以便 ALD停止上报 ID; 具体的, 当上报时间超时, ALD Controller在 HDLC总线上广播停止上 报命令, 通知所有 ALD停止上报 Unique ID;
所有 ALD收到停止上报命令后, 停止上报 Unique ID。
ALD Controller根据策略重新发起 Unique ID上报流程, 或直接终止上 报流程。
当上报时间未到但满足退出条件, 退出该观察状态; 其中, 可选的, 退 出条件包括:
( 1 ) HDLC总线上不再有 ALD上报 Unique ID, 例如可设置当 HDLC 总线空闲时间大于 10ms为不再有 ALD上报 Unique ID也可根据相关标准协 议设置为其它时间;
( 2 ) ALD Controller接收到的 ALDUnique ID 数量大于等于 ALD Controller支持的最大数量。
以上条件任意一条满足, 即认为满足退出条件, ALD controller退出观 察状态。
可选的, 当上报时间未到但满足退出条件, ALD controller退出该观察 状态, 意味着所有 ALD都已经完成了 Unique ID上报和对应的通信地址协 商, 在此情况下, ALD Controller检查是否存在地址冲突, 如果存在地址冲 突, 则在 HDLC总线上广播命令通知地址沖突的 ALD更新地址, 地址冲突 的 ALD接收到地址更新命令后, 根据命令中携带的信息判断自己的地址是 否需要更新, 如果需要更新, 则更新为 ALD Controller指定的地址, 否则不 更新。 此过程完成后, 流程终止。
在本发明实施例中, ALD接收到 ALD controller发送的上报命令后, 由 ALD向 ALD controller上报 ID,相比通过按位扫描的方式,节省了扫描时间, 可用极快的速度获取所有 ALD的 Unique ID, 并且减少了漏扫情况的发生 , 此外, 在 ALD的扫描过程中, 同时完成了各 ALD的通信地址分配, 免去了 在扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交 互消息, 使得 ALD Controller可以更快速的完成 ALD配置。 图 3示出了根据本发明实施例的 ALD控制设备 ALD controller的示意性 框图。 图 3及其说明所揭示的装置, 可基于本发明实施例图 1至图 2以及基 于本发明实施例图 1至图 2所揭示的方法。如图 3所示,该 ALD controller 300 包括:
发送模块 310,该发送模块 310用于向 ALD发送上报命令, 该上报命令 用于指示该 ALD向该 ALD controller上报 Unique ID;
接收模块 320, 该接收模块 320用于接收该 ALD上报的 Unique ID; 存储模块 330,该存储模块 330用于在该观察状态期间记录该 ALD上报 的 Unique ID;
处理模块 340, 该处理模块 340用于判断上报时间是否截止, 和用于判 断是否满足退出条件, 以及用于在当判断出该上报时间未到但满足退出条件 时命令该接收模块停止接收;
该处理模块 340还用于在当判断出该上报时间截止时, 命令该发送模块 310发送停止上报命令给该 ALD以便该 ALD停止上报 Unique ID。
在本发明实施例中, 发送模块 310通过向 ALD发送上报命令, ALD收 到上报命令后, 由 ALD向 ALD controller上报 Unique ID, 节省了扫描时间, 可用极快的速度获取 ALD的 Unique ID , 并且减少了漏扫情况的发生。
发送模块 310 用于向 ALD 发送上报命令, ALD 数量为多个, ALD controller与该多个 ALD通过总线连接, 每个 ALD可有两个串口, A串口和 B串口, A串口和 B串口和 HDLC连接, 其中 A串口用于和 HDLC进行通 信, B串口用于 HDLC总线上的冲突侦听检测。
ALD controller通过 HDLC总线与每个 ALD进通信, 该通信包括 ALD controller 向各 ALD 设备发送各种命令或消息, 以及接收各 ALD发送的 Unique ID信息。
ALD controller的通信地址为固定, 且该地址为所有 ALD所知。
ALD controller以广播的方式在 HDLC总线上发送上报命令,通知 HDLC 总线上的所有 ALD开始上报序列号 ( Unique ID )。 各 ALD接收到该上报命令后, 向 ALD controller上报 Unique ID。
ALD Controller发送上报命令之后, 进入观察状态, 在该观察状态期间 接收和记录该 ALD上报的 Unique ID;
可选的, 在观察状态中, 该接收模块 320接收到每一个 Unique ID, 该 存储模块 330记录该接收模块 320接收到每一个 Unique ID和该 Unique ID 对应的通讯地址。 可选的, 所处存储模块 330可存储有和 Unique ID对应的 通讯地址。
如果收到相同的 Unique ID, 该接收模块 320则使用后接收的覆盖先前 接收的; 如果接收到不同 Unique ID使用了相同的通讯地址, 则认为地址冲 突, 同时在地址冲突的 Unique ID上标识地址冲突。
当上报时间未到但满足退出条件, 退出该观察状态; 该处理模块 340用 于判断该上报时间是否截止, 用于判断是否满足退出条件, 其中, 可选的, 退出条件包括:
( 1 ) HDLC总线上不再有 ALD上报 Unique ID, 例如可设置 HDLC总 线空闲时间大于 10ms , 也可根据相关标准协议设置为其它时间;
( 2 ) ALD Controller接收到的 ALDUnique ID 数量大于等于 ALD Controller支持的最大数量。
以上条件任意一条满足, 即认为满足退出条件, ALD controller退出观 察状态。
可选的, 当上报时间未到但满足退出条件, ALD controller退出该观察 状态, 意味着所有 ALD都已经完成了 Unique ID上报和对应的通信地址协 商, 在此情况下, ALD Controller检查是否存在地址冲突, 如果存在地址冲 突, 则在 HDLC总线上广播命令通知地址冲突的 ALD更新地址, 地址冲突 的 ALD接收到地址更新命令后, 根据命令中携带的信息判断自己的地址是 否需要更新, 如果需要更新, 则更新为 ALD Controller指定的地址 , 否则 不更新。 此过程完成后, 流程终止。
ALD进行上报时, 每秒可完成上报的 ALD数量是有限和确定的, 该上 报时间的长短可根据 ALD的数量来确定。 该处理模块 340还用于在当判断 出该上报时间截止时, 命令该发送模块 310发送停止上报命令给该 ALD以 便该 ALD停止上报 Unique ID。
具体的, 当上报时间超时, 发送模块 310用于在 HDLC总线上广播停止 上报命令, 通知所有 ALD停止上报 Unique ID;
所有 ALD收到停止上报命令后, 停止上报 Unique ID。
ALD Controller根据策略重新发起 Unique ID上报流程, 或直接终止上 报流程。在本发明实施例中,发送模块 310通过向 ALD发送上报命令, ALD 收到上报命令后, 由 ALD向 ALD controller上报 Unique ID, 相比通过按位 扫描的方式,节省了扫描时间,可用极快的速度获取所有 ALD的 Unique ID, 并且减少了漏扫情况的发生, 此外, 在 ALD的扫描过程中, 同时完成了各 ALD 的通信地址分配, 免去了在扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互消息,使得 ALD Controller可以更快速的完 成 ALD配置。
图 4示出了根据本发明实施例的 ALD的示意性框图。 图 4及其说明所 揭示的装置, 可基于本发明实施例图 1至图 2以及基于本发明实施例图 1至 图 2所揭示的方法。 如图 4所示, 该 ALD400包括:
接收模块 410, 发送模块 420, 处理模块 430;
该接收模块 410用于接收 ALD controller发送的上报命令;
该处理模块 430用于在该接收模块 410接收到该上报命令后, 命令该发 送模块 420向 ALD controller上艮 Unique ID;
该发送模块 420用于向该 ALD controller上报 Unique ID, 以便该 ALD controller接收和记录该 Unique ID;
该接收模块 410还用于接收该 ALD controller发送的停止上报命令, 该 处理模块 430用于在该接收模块 410接收到该停止上报命令后, 命令该发送 模块 420终止上报, 或, 接收到 ALD controller重新发送的消息后, 再次向 该 ALD controller上报 Unique ID。 在本发明实施例中, ALD通过接收模块 410接收到 ALD controller发送 的上报命令后, 由发送模块 420向 ALD controller上报 Unique ID, 节省了扫 描时间, 可用极快的速度使得 ALD controller获取到 ALD的 Unique ID , 并 且减少了漏扫情况的发生。
ALD数量为多个, ALD controller与该多个 ALD通过总线连接, 每个 ALD可有两个串口, A串口和 B串口, A串口和 B串口和 HDLC连接, 其 中 A串口用于和 HDLC进行通信 , B串口用于 HDLC总线上的沖突侦听检 测。
ALD controller通过 HDLC总线与每个 ALD进通信, 该通信包括 ALD controller 向各 ALD 设备发送各种命令或消息, 以及接收各 ALD发送的 Unique ID信息。
接收模块 410接收到该上报命令后,处理模块 430用于命令发送模块 420 在上报时间内向该 ALD controller上报 Unique ID, 以便该 ALD controller在 该观察状态接收和记录该 Unique ID;
各 ALD接收到该上报命令后, 由发送模块 420向 ALD controller上报 Unique ID。
可选的, ALD还包括分配地址模块 440, ALD收到上报命令后在上报 时间内向 ALD controller上报 Unique ID后, 分配地址模块 440用于进行分 配地址:
起始地址为主设备的默认地址加 1 , 首次成功上报 Unique ID的 ALD的 地址为起始地址,;
下次成功上报 Unique ID的 ALD的地址为上次成功上报 Unique ID的 ALD的地址加 1。
具体的, 当前未上报 Unique ID的 ALD, 观察 HDLC总线, 在未检测到 冲突的情况下, 有 ALD成功上报了 Unique ID时, 记录此 Unique ID对应的 地址, 下次抢到发送机会时, 自身的地址为此地址加 1。
在 ALD的扫描过程中, 同时完成了各 ALD的通信地址分配, 免去了在 扫描完成后专门分配地址的过程, 減少了 ALD Controller与 ALD间的交互 消息, 使得 ALD Controller可以更快速的完成 ALD配置。
可选的, ALD还包括地址更新模块 450;
可选的, ALD的两个串口, A串口用于正常的 485通讯, B串口用于观 察 HDLC总线上的数据是否产生冲突, 可由处理模块 430完成该冲突检测。 一旦 B串口检测到冲突产生,则处理模块 430命令发送模块 420立即停止发 送上报 ID, 随机延时一段时间后再次发送上报 ID, 再次发送时由地址更新 模块 450更新地址, 直到发送成功为止。 该冲突检测机制以及沖突后的退让 机制, 使得可以在更短的时间内完成上报 Unique ID , 减少冲突的发生。
ALD进行上报时, 每秒可完成上报的 ALD数量是有限和确定的, 上报 时间的长短可根据 ALD的数量来确定。
若在该上报时间内未完成上报, 接收模块 410接收该 ALD controller发 送的停止上报命令后终止上报, 该停止上报命令由该 ALD controller在上报 时间未完成上报时发送。
当上报时间到, ALD Controller退出观察状态,发送停止上报命令给 ALD 以便 ALD停止上报 Unique ID;
具体的 , 当上报时间超时, ALD Controller在 HDLC总线上广播停止 上报命令, 通知所有 ALD停止上报 Unique ID;
所有 ALD收到停止上报命令后, 处理模块 430命令发送模块停止上报 Unique ID。
可选的, 当上报时间未到但满足退出条件, ALD controller退出该观察 状态, 意味着所有 ALD都已经完成了 Unique ID上报和对应的通信地址协 商, 在此情况下, ALD Controller检查是否存在地址冲突, 如果存在地址冲 突, 则在 HDLC总线上广播命令通知地址冲突的 ALD更新地址, 地址冲突 的 ALD的接收模块 410接收到地址更新命令后, 处理模块 430用于根据命 令中携带的信息判断自己的地址是否需要更新, 如果需要更新, 则处理模块 430命令地址更新模块 450更新为 ALD Controller指定的地址 ,否则不更新。 此过程完成后, 流程终止。
在本发明实施例中, ALD接收到 ALD controller发送的上报命令后, 由 ALD向 ALD controller上报 Unique ID, 节省了扫描时间, 可用极快的速度 获取所有 ALD的 Unique ID, 并且减少了漏扫情况的发生, 此外, 在 ALD 的扫描过程中, 同时完成了各 ALD的通信地址分配, 免去了在扫描完成后 专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互消息, 使得 ALD Controller可以更快速的完成 ALD配置。
图 5示出了根据本发明实施例的 ALD控制设备 ALD controller的示意性 框图。 图 5及其说明所揭示的装置, 可基于本发明实施例图 1至图 2以及基 于本发明实施例图 1至图 2所揭示的方法。 如图 5所示, 该 ALD控制设备 ALD controller 500包括:
发送器 510, 该发送器 510用于向 ALD发送上报命令, 以便该 ALD收 到该上报命令后向 ALD controller上报 Unique ID;
接收器 520, 该接收器 520用于接收该 ALD上报的 Unique ID;
存储器 530, 该存储器 530用于记录该 ALD上报的 Unique ID;
处理器 540, 该处理器 540用于判断上报时间是否截止, 和用于判断是 否满足退出条件 , 以及用于在当判断出该上报时间未到但满足退出条件时, 命令该接收器 520停止接收;
该处理器 540还用于在当判断出该上报时间截止时, 命令该发送器 510 发送停止上报命令给该 ALD以便该 ALD停止上报 Unique ID。
在本发明实施例中, 发送器 510通过向 ALD发送上报命令, ALD收到 上报命令后, 由 ALD向 ALD controller上报 Unique ID, 节省了扫描时间, 可用极快的速度获取 ALD的 Unique ID, 并且减少了漏扫情况的发生。
发送器 510向 ALD发送上报命令, ALD数量为多个, ALD controller 与该多个 ALD通过总线连接, 每个 ALD可有两个串口, A串口和 B串口, A串口和 B串口和 HDLC连接, 其中 A串口用于和 HDLC进行通信, B串 口用于 HDLC总线上的冲突侦听检测。 ALD controller通过 HDLC总线与每个 ALD进通信, 该通信包括 ALD controller 向各 ALD 设备发送各种命令或消息, 以及接收各 ALD发送的 Unique ID信息。
可选的, ALD controller的通信地址为固定,且该地址为所有 ALD所知。 可选的, ALD controller以广播的方式在 HDLC总线上发送上报命令, 通知 HDLC总线上的所有 ALD开始上报序列号 ( Unique ID )。
各 ALD接收到该上报命令后, 在上报时间内向 ALD controller上报
Unique ID。
可选的, ALD的两个串口, A串口用于正常的 485通讯, B串口用于观 察 485总线上的数据是否产生冲突。 一旦 B串口检测到冲突产生, 则立即停 止发送, 随机延时一段时间后再次发送, 再次发送时更新地址 , 直到发送 成功为止。 该冲突检测机制以及冲突后的退让机制, 使得可以在更短的时间 内完成上报 Unique ID , 减少冲突的发生。
可选的, ALD 收到上报命令后在上报时间内向 ALD controller 上报 Unique ID后, 进行分配地址:
起始地址为主设备的默认地址加 1 , 首次成功上报 Unique ID的 ALD的 地址为起始地址;
下次成功上报 Unique ID的 ALD的地址为上次成功上报 Unique ID的 ALD的地址加 1。
具体的, 当前未上报 Unique ID的 ALD, 观察 HDLC总线, 在未检测到 冲突的情况下, 有 ALD成功上报了 Unique ID时, 记录此 Unique ID对应的 地址, 下次抢到发送机会时, 自身的地址为此地址加 1。
在 ALD的扫描过程中, 同时完成了各 ALD的通信地址分配, 免去了在 扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互 消息, 使得 ALD Controller可以更快速的完成 ALD配置。
ALD Controller发送上报命令之后, 进入观察状态, 在该观察状态期间 接收和记录该 ALD上报的 Unique ID; 可选的, 在观察状态中, 该接收器 520接收到每一个 Unique ID, 该存 储器 530记录该接收器 520接收到每一个 Unique ID和该 Unique ID对应的 通讯地址。可选的, 所处存储器 530可存储有和 Unique ID对应的通讯地址。
如果收到相同的 Unique ID, 该接收器 520则使用后接收的覆盖先前接 收的; 如果接收到不同 Unique ID使用了相同的通讯地址, 则认为地址冲突, 同时在地址冲突的 Unique ID上标识地址冲突。
ALD进行上报时 , 每秒可完成上报的 ALD数量是有限和确定的, 该上 报时间的长短可根据 ALD的数量来确定。
当上报时间未到但满足退出条件, 退出该观察状态; 该处理器 540用于 判断该上报时间是否截止, 用于判断是否满足退出条件, 其中, 可选的, 退 出条件包括:
( 1 ) HDLC总线上不再有 ALD上报 Unique ID, 例如可设置当 HDLC 总线空闲时间大于 10ms为不再有 ALD上报 Unique ID也可根据相关标准协 议设置为其它时间;
( 2 ) ALD Controller接收到的 ALDUnique ID 数量大于等于 ALD Controller支持的最大数量。
以上条件任意一条满足, 即认为满足退出条件 , ALD controller退出观 察状态。
可选的, 当上报时间未到但满足退出条件, ALD controller退出该观察 状态, 意味着所有 ALD都已经完成了 Unique ID上报和对应的通信地址协 商, 在此情况下, ALD Controller检查是否存在地址冲突, 如果存在地址冲 突, 则在 HDLC总线上广播命令通知地址冲突的 ALD更新地址, 地址冲突 的 ALD接收到地址更新命令后, 根据命令中携带的信息判断自己的地址是 否需要更新, 如果需要更新, 则更新为 ALD Controller指定的地址 , 否则 不更新。 此过程完成后, 流程终止。
该处理器 540还用于在当判断出该上报时间截止时, 命令该发送器 510 发送停止上报命令给该 ALD以便该 ALD停止上报 Unique ID。 具体的, 当上报时间超时, 发送器 510在 HDLC总线上广播停止上报命 令, 通知所有 ALD停止上报 Unique ID;
所有 ALD收到停止上报命令后, 停止上报 Unique ID。
ALD Controller根据策略重新发起 Unique ID上报流程, 或直接终止上 报流程。 在本发明实施例中, 发送器 510通过向 ALD发送上报命令, ALD 收到上报命令后, 由 ALD向 ALD controller上报 Unique ID, 相比通过按位 扫描的方式,节省了扫描时间,可用极快的速度获取所有 ALD的 Unique ID, 并且减少了漏扫情况的发生, 此外, 在 ALD的扫描过程中, 同时完成了各 ALD 的通信地址分配, 免去了在扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互消息,使得 ALD Controller可以更快速的完 成 ALD配置。
图 6示出了根据本发明实施例的 ALD的示意性框图。 图 6及其说明所 揭示的装置, 可基于本发明实施例图 1至图 1以及基于本发明实施例图 1至 图 2所揭示的方法。 如图 6所示, 该 ALD600包括:
接收器 610, 发送器 620, 处理器 630;
该接收器 610 用于接收 ALD controller 发送的上报命令, 该 ALD Controller发送该上报命令后进入观察状态;
该处理器 630用于在该发送器 620接收到该上报命令后, 命令该发送器 620向 ALD controller上才艮 Unique ID;
该发送器 620用于向该 ALD controller上报 Unique ID, 以便该 ALD Controller接收和记录该 Unique ID;
该接收器 610还用于接收该 ALD controller发送的停止上报命令, 该处 理器 630用于在该接收器 610接收到该停止上报命令后, 命令该发送器 620 终止上艮, 或, 接收到 ALD controller重新发送的消息后, 再次向该 ALD controller上报 Unique ID。
在本发明实施例中, ALD通过接收器 610接收到 ALD controller发送的 上报命令后, 由发送器 620向 ALD controller上报 Unique ID, 节省了扫描时 间, 可用极快的速度使得 ALD controller获取到 ALD的 Unique ID, 并且減 少了漏扫情况的发生。
ALD controller 向 ALD发送上报命令, ALD数量为多个, ALD controller 与该多个 ALD通过总线连接, 每个 ALD可有两个串口, A串口和 B串口, A串口和 B串口和 HDLC连接, 其中 A串口用于和 HDLC进行通信, B串 口用于 HDLC总线上的冲突侦听检测。
ALD controller通过 HDLC总线与每个 ALD进通信, 该通信包括 ALD controller 向各 ALD 设备发送各种命令或消息, 以及接收各 ALD发送的 Unique ID信息。
可选的, ALD controller的通信地址为固定,且该地址为所有 ALD所知。 可选的, ALD controller以广播的方式在 HDLC总线上发送上报命令, 通知 HDLC总线上的所有 ALD开始上报序列号 ( Unique ID )。
接收器 610接收到该上报命令后, 处理器 630命令发送器 620在上报时 间内向该 ALD controller上报 Unique ID, 以便该 ALD controller在该观察状 态接收和记录该 Unique ID;
各 ALD 接收到该上报命令后, 在上报时间内由发送器 620 向 ALD controller上报 Unique ID。
可选的, ALD的两个串口, A串口用于正常的 485通讯, B串口用于观 察 485总线上的数据是否产生冲突, 可由处理器 630完成该冲突检测。 一旦 B 串口检测到冲突产生, 则处理器 630命令发送器 620立即停止发送上报 Unique ID, 随机延时一段时间后再次发送上报 Unique ID, 再次发送时由处 理器 630更新地址 , 直到发送成功为止。 该冲突检测机制以及冲突后的退 让机制, 使得可以在更短的时间内完成上报 Unique ID , 减少冲突的发生。
可选的, ALD收到上报命令后向 ALD controller上报 Unique ID后, 处 理器 630进行分配地址:
起始地址为主设备的默认地址加 1 , 首次成功上报 Unique ID的 ALD的 地址为起始地址; 下次成功上报 Unique ID的 ALD的地址为上次成功上报 Unique ID的 ALD的地址加 1。
具体的, 当前未上报 Unique ID的 ALD, 观察 HDLC总线, 在未检测到 冲突的情况下, 有 ALD成功上报了 Unique ID时, 记录此 Unique ID对应的 地址, 下次抢到发送机会时, 自身的地址为此地址加 1。
在 ALD的扫描过程中, 同时完成了各 ALD的通信地址分配, 免去了在 扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互 消息, 使得 ALD Controller可以更快速的完成 ALD配置。
ALD Controller发送上报命令之后, 进入观察状态, 在该观察状态期间 接收和记录该 ALD上报的 Unique ID;
可选的, 在观察状态中, ALD Controller记录接收到每一个 Unique ID 和该 Unique ID对应的通讯地址。如果收到相同的 Unique ID, 则使用后接收 的覆盖先前接收的; 如果接收到不同 Unique ID使用了相同的通讯地址, 则 认为地址冲突, 同时在地址冲突的 Unique ID上标识地址沖突。
ALD进行上报时, 每秒可完成上报的 ALD数量是有限和确定的, 该上 报时间的长短可根据 ALD的数量来确定。
若在该上^艮时间内未完成上报, 接收器 610接收该 ALD controller发送 的停止上报命令后终止上报, 该停止上报命令由该 ALD controller在上报时 间未完成上报时发送。
当上报时间到, ALD Controller退出观察状态,发送停止上报命令给 ALD 以便 ALD停止上报 Unique ID;
具体的, 当上报时间超时, ALD Controller在 HDLC总线上广播停止上 报命令, 通知所有 ALD停止上报 Unique ID;
所有 ALD收到停止上报命令后, 处理器 630命令发送器 620停止上报 Unique ID。
ALD Controller根据策略重新发起 Unique ID上报流程, 或直接终止上 报流程。 进一步的, 当上报时间未到但满足退出条件, 退出该观察状态; 其中, 可选的, 退出条件包括:
( 1 ) HDLC总线上不再有 ALD上报 Unique ID, 例如可设置当 HDLC 总线空闲时间大于 10ms为不再有 ALD上报 Unique ID也可根据相关标准协 议设置为其它时间;
( 2 ) ALD Controller 接收到的 ALDUnique ID 数量大于等于 ALD Controller支持的最大数量。
以上条件任意一条满足, 即认为满足退出条件, ALD controller退出观 察状态。
可选的, 当上报时间未到但满足退出条件, ALD controller退出该观察 状态, 意味着所有 ALD都已经完成了 Unique ID上^ =艮和对应的通信地址协 商, 在此情况下, ALD Controller检查是否存在地址冲突, 如果存在地址冲 突, 则在 HDLC总线上广播命令通知地址冲突的 ALD更新地址, 地址冲突 的 ALD的接收器 610接收到地址更新命令后, 处理器 630根据命令中携带 的信息判断自己的地址是否需要更新, 如果需要更新, 则处理器 630更新为 ALD Controller指定的地址 , 否则不更新。 此过程完成后, 流程终止。
在本发明实施例中, ALD接收到 ALD controller发送的上报命令后, 由 ALD向 ALD controller上报 Unique ID, 相比通过按位扫描的方式, 节省了 扫描时间, 可用极快的速度获取所有 ALD的 Unique ID, 并且减少了漏扫情 况的发生, 此外, 在 ALD的扫描过程中, 同时完成了各 ALD的通信地址分 配, 免去了在扫描完成后专门分配地址的过程, 减少了 ALD Controller与 ALD间的交互消息, 使得 ALD Controller可以更快速的完成 ALD配置。 应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。
值得说明的是, 实施例的顺序只是为了描述的方便而使用, 而不作为实 施例之间优劣比对的依据。
所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描 述的系统、 设备、 器和单元的具体工作过程, 可以参考前述方法实施例中的 对应过程, 在此不再赘述。
通过以上的实施例的描述, 所属领域的技术人员可以清楚地了解到本发 明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案 该计算机软件产品存储在一个存储介质中, 包括若干指令用以便得一台计算 机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实 施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘、移动硬盘、 只读存储器 (ROM )、 随机存取存储器 (RAM )、 磁碟或者光盘等各种可以 存储程序代码的介质。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的设备和方法, 在没有超过本申请的范围内, 可以通过其他的方式实现。 例如, 以上所描述 的装置实施例仅仅是示意性的, 例如, 所述器或单元的划分, 仅仅为一种逻 辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可以 结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执行。 其中所 述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也 可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部 器来实现本实施例方案的目的。 本领域普通技术人员在不付出创造性劳动的 情况下, 即可以理解并实施。
另外, 所描述设备和方法以及不同实施例的示意图, 在不超出本申请的 范围内, 可以与其它系统, 器, 技术或方法结合或集成。 另一点, 所显示或 讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口, 装置或 单元的间接耦合或通信连接, 可以是电子、 机械或其它的形式。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。

Claims

权利要求
1、 一种发现天馈设备 ALD的方法, 其特征在于, 包括:
天馈设备控制设备 ALD controller向 ALD发送上艮命令,所述上艮命令 用于指示所述 ALD向所述 ALD controller上艮唯一标识码 Unique ID;
所述 ALD controller接收和记录所述 ALD上报的 Unique ID,所述 Unique ID由所述 ALD根据冲突检测退让的发送机制通过高级数据链路控制 HDLC 总线发送。
2、 根据权利要求 1所述的方法, 其特征在于,
所述 ALD controller接收和记录所述 ALD上报的 Unique ID还包括, 所 述 ALD controller进入观察状态 , 所述 ALD controller在所述观察状态期间 接受和记录所述 ALD上报的 Unique ID;
当上报时间未到但满足退出条件, 所述 ALD controller退出所述观察状 态;
当所述上 4艮时间到, 所述 ALD controller退出所述观察状态, 发送停止 上报命令给所述 ALD, 所述停止上报命令用于指示所述 ALD 停止上报 Unique ID。
3、 根据权利要求 2所述的方法, 其特征在于,
所述发送停止上报命令给所述 ALD以便所述 ALD停止上报 Unique ID 后, 还包括,
重新向所述 ALD 发送所述上报命令, 以便所述 ALD 再次进行上报 Unique ID。
4、 根据权利要求 1 至 3任一项所述的方法, 其特征在于, 所述 ALD controller接收和记录所述 ALD上报的 Unique ID , 还包括:
如果先后接收到相同的所述 Unique ID ,则使用后接收到的 Unique ID覆 盖先接收到的 Unique ID;如果接收到不同的 Unique ID且所述不同的 Unique ID使用了相同的通讯地址, 则标示为地址冲突。
5、 根据权利要求 4所述的方法, 其特征在于, 在所述标示为地址冲突 后, 还包括,
发送地址更新命令给所述标示为地址冲突的 ALD,以便所述标示为地址 冲突的 ALD接收到地址更新命令后, 根据所述地址更新命令中携带的信息 判断自己的地址是否需要更新,如果需要更新,则更新为所述 ALD Controller 指定的地址, 否则不更新。
6、 一种发现 ALD的方法, 其特征在于, 包括:
ALD接收 ALD controller发送的上报命令;
所述 ALD接收到所述上报命令后向所述 ALD controller上报 Unique ID , 以便所述 ALD controller接收和记录所述 Unique ID;
若所述 ALD接收到所述 ALD controller发送的停止上"^命令则终止上 报时发送。
7、 根据权利要求 6所述的方法, 其特征在于, 所述终止上报后, 还包 括,
当接收到所述 ALD controller重新发送的所述上 4艮命令后, 再次向所述 ALD controller上报 Unique ID。
8、 根据权利要求 6或 7所述的方法, 其特征在于, 所述 ALD通过高级 数据链路控制 HDLC总线上报 Unique ID,所述向 ALD controller上报 Unique ID包括:
判断所述总线上是否产生冲突, 若产生冲突, 则所述 ALD 延时上报 Unique ID。
9、 根据权利要求 6至 8任一项 所述的方法, 其特征在于, 所述 ALD 向所述 ALD controller上报 Unique ID后分配地址, 所述分配地址包括: 首次成功上报 Unique ID的 ALD的地址为起始地址, 所述起始地址为 ALD controller的默认地址加 1;
下次成功上报 Unique ID的 ALD的地址为上次成功上报 Unique ID的 ALD的地址加 1。
10、 根据权利要求 8或 9所述的方法, 其特征在于, 所述 ALD延时上 报 Unique ID还包括, 所述 ALD延时上报 Unique ID时更新地址。
11、 根据权利要求 6至 10任一项所述的方法, 其特征在于,
接收所述 ALD controller发送的地址更新命令, 根据所述地址更新命令 命令中携带的信息判断所述 ALD的地址是否需要更新, 如果需要更新, 则 更新为所述 ALD Controller指定的地址, 否则不更新。
12、 一种天馈设备控制设备 ALD controller, 其特征在于, 包括: 发送模块, 所述发送模块用于向 ALD发送上报命令, 所述上报命令用 于指示所述 ALD向所述 ALD controller上报唯一标识码 Unique ID; 接收模 块, 所述接收模块用于接收所述 ALD上报的 Unique ID;
存储模块, 所述存储模块用于在所述观察状态期间记录所述 ALD上报 的 Unique ID;
处理模块, 所述处理模块用于判断上报时间是否截止, 和用于判断是否 满足退出条件, 以及用于在当判断出所述上报时间未到但满足退出条件时, 命令所述接收模块停止接收;
所述处理模块还用于在当判断出所述上报时间截止时, 命令所述发送模 块发送停止上报命令给所述 ALD以便所述 ALD停止上报 Unique ID。
13、 根据权利要求 12所述的设备, 其特征在于, 所述处理模块还用于, 当判断出所述上报时间截止时, 命令所述发送模块重新向所述 ALD发送所 述上艮命令, 以便所述 ALD再次进行上^! Unique ID。
14、 根据权利要求 12或 13所述的设备, 其特征在于, 所述存储模块还 用于, 如果所述接收模块先后接收到相同的所述 Unique ID, 则使用后接收 的 Unique ID覆盖先接收的 Unique ID;
所述处理模块还用于, 如果所述接收模块接收到不同的 Unique ID且所 述不同的 Unique ID使用了相同的通讯地址, 则标示为地址冲突。
15、 根据权利要求 14所述的设备, 其特征在于, 在所述标示为地址冲 突后, 以便所述标示为地址冲突的 ALD接收到所述地址更新命令后, 根据命令中 携带的信息判断自己的地址是否需要更新。
16、 一种 ALD, 其特征在于, 包括:
接收模块, 发送模块, 处理模块;
所述接收模块用于接收 ALD controller发送的上报命令;
所述处理模块用于在所述接收模块接收到所述上报命令后, 命令所述发 送模块向 ALD controller上艮 Unique ID;
所述发送模块用于向所述 ALD controller上报 Unique ID,以便所述 ALD controller接^和 τ己录所述 Unique ID;
所述接收模块还用于接收所述 ALD controller发送的停止上报命令; 所 述处理模块用于在所述接收模块接收到所述停止上报命令后, 命令所述发送 模块终止上报。
17、 根据权利要求 16所述的设备, 其特征在于, 所述处理模块还用于 在所述接收模块接收到所述 ALD controller重新发送的所述上报命令后, 命 令所述发送模块再次向所述 ALD controller上报 Unique ID。
18、 根据权利要求 16或 17所述的设备, 其特征在于, 还包括分配地址 模块, 所述分配地址模块用于分配地址, 包括:
将首次成功上报 Unique ID的 ALD的地址设为起始地址,所述起始地址 为所述 ALD controller的默认地址加 1;
将下次成功上报 Unique ID的 ALD的地址设为上次成功上报 Unique ID 的 ALD的地址加 1。
19、 根据权利要求 16至 18任一项所述的设备, 其特征在于, 还包括地址更新模块, 用于更新所述 ALD的地址;
所述处理模块还用于判断所述总线上是否产生冲突, 若产生冲突, 则所 述处理模块用于命令所述发送模块延时上报 Unique ID , 并在延时上报 Unique ID时命令所述地址更新模块更新地址。
20、 根据权利要求 16至 19任一项所述的设备, 其特征在于, 所述接收模块用于接收所述 ALD controller发送的地址更新命令, 所述 处理模块用于根据命令中携带的信息判断所述 ALD的地址是否需要更新, 如果需要更新, 则命令所述地址更新模块更新为所述 ALD Controller指定的 地址, 否则不更新。
PCT/CN2013/083020 2013-09-05 2013-09-05 发现ald的方法和设备 WO2015032058A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380079299.8A CN105493620A (zh) 2013-09-05 2013-09-05 发现ald的方法和设备
PCT/CN2013/083020 WO2015032058A1 (zh) 2013-09-05 2013-09-05 发现ald的方法和设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/083020 WO2015032058A1 (zh) 2013-09-05 2013-09-05 发现ald的方法和设备

Publications (1)

Publication Number Publication Date
WO2015032058A1 true WO2015032058A1 (zh) 2015-03-12

Family

ID=52627701

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083020 WO2015032058A1 (zh) 2013-09-05 2013-09-05 发现ald的方法和设备

Country Status (2)

Country Link
CN (1) CN105493620A (zh)
WO (1) WO2015032058A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863210A (zh) * 2006-02-23 2006-11-15 华为技术有限公司 设备扫描方法
US20060277309A1 (en) * 2005-06-03 2006-12-07 Ems Technologies, Inc. Method and system for discovering antenna line devices
CN101626581A (zh) * 2008-07-08 2010-01-13 中国移动通信集团公司 电调天线接口中的设备扫描方法、装置及系统
CN102439881A (zh) * 2011-09-09 2012-05-02 华为技术有限公司 冲突检测的方法和设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100485644C (zh) * 2004-02-10 2009-05-06 上海新时达电气股份有限公司 自动分配串行总线设备地址分配器及其控制方法
CN100477554C (zh) * 2005-10-17 2009-04-08 华为技术有限公司 一种配置天线设备的方法
CN1901276B (zh) * 2006-07-07 2010-09-29 华为技术有限公司 产生扫描标识的方法以及对天线设备进行扫描的方法
KR101421558B1 (ko) * 2007-02-13 2014-07-24 에스케이텔레콤 주식회사 무선 개인 통신 네트워크에서의 효율적인 주소 할당 방법및 무선 근거리 개인 통신 기기
CN103001836A (zh) * 2011-09-09 2013-03-27 施耐德电器工业公司 无需地址分配的串行通信方法和系统
CN103246627A (zh) * 2012-02-03 2013-08-14 施耐德电器工业公司 能够自动分配地址的多级从属串行通信系统和方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277309A1 (en) * 2005-06-03 2006-12-07 Ems Technologies, Inc. Method and system for discovering antenna line devices
CN1863210A (zh) * 2006-02-23 2006-11-15 华为技术有限公司 设备扫描方法
CN101626581A (zh) * 2008-07-08 2010-01-13 中国移动通信集团公司 电调天线接口中的设备扫描方法、装置及系统
CN102439881A (zh) * 2011-09-09 2012-05-02 华为技术有限公司 冲突检测的方法和设备

Also Published As

Publication number Publication date
CN105493620A (zh) 2016-04-13

Similar Documents

Publication Publication Date Title
JP4391316B2 (ja) ワイヤレスlan用のメディア・アクセス・コントロール装置
EP3547580B1 (en) Data sending method and apparatus, and data receiving method and apparatus
JP6219960B2 (ja) リソース再構成方法、基地局、およびユーザー装置
JP2005311920A5 (zh)
JP2001160813A (ja) 無線ネットワーク
US20100235460A1 (en) Data processing device and data processing method
WO2015166959A1 (ja) 通信制御装置、無線端末、メモリーカード、集積回路、無線通信装置および無線通信方法
CN105162706A (zh) 组播传输方法、装置及系统
KR101559399B1 (ko) 전송 큐 관리가 가능한 무선 장치 및 이를 이용한 전송 큐 관리 방법
KR20060117190A (ko) 무선랜 메쉬 통신시스템의 데이터 송수신 장치 및 방법
JP2001231078A (ja) 無線パケット中継局及び無線パケット中継方法
CN110278547A (zh) 用于建立低功耗蓝牙网状网络的装置和方法
CN103650401A (zh) 一种移动终端内部通信方法
JP6132518B2 (ja) マルチキャスト送信端末、マルチキャストシステム、プログラムおよびマルチキャスト送信方法
JP4246203B2 (ja) 時分割同期無線モデム装置
US9635701B2 (en) Method for determining link quality in wireless network system
US10149139B2 (en) Connection control method by communication terminal
WO2015032058A1 (zh) 发现ald的方法和设备
US8045578B2 (en) Method for controlling event and reporting status of cable modem and apparatus thereof
CN113542150B (zh) 一种数据传输方法、装置及中心端网桥
CN112135356A (zh) 用户设备、基站及其方法
WO2022002248A1 (zh) 旁链路传输方法、传输装置和通信设备
US10111051B2 (en) Communication apparatus, control method therefor, program, and storage medium
JP6526764B2 (ja) リソース再構成方法、基地局、およびユーザー装置
JP7089592B2 (ja) 情報フィードバック方法及び装置、コンピュータ記憶媒体

Legal Events

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

Ref document number: 201380079299.8

Country of ref document: CN

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

Ref document number: 13893099

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: 13893099

Country of ref document: EP

Kind code of ref document: A1