WO2009036680A1 - Procédé, dispositif et système d'identification de configuration de matériel d'accès d'essai - Google Patents

Procédé, dispositif et système d'identification de configuration de matériel d'accès d'essai Download PDF

Info

Publication number
WO2009036680A1
WO2009036680A1 PCT/CN2008/072266 CN2008072266W WO2009036680A1 WO 2009036680 A1 WO2009036680 A1 WO 2009036680A1 CN 2008072266 W CN2008072266 W CN 2008072266W WO 2009036680 A1 WO2009036680 A1 WO 2009036680A1
Authority
WO
WIPO (PCT)
Prior art keywords
identifier
access device
test access
configuration
test
Prior art date
Application number
PCT/CN2008/072266
Other languages
English (en)
French (fr)
Inventor
Enbo Feng
Li Tang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Priority to ES08800778T priority Critical patent/ES2375322T3/es
Priority to EP08800778A priority patent/EP2093935B1/en
Priority to AT08800778T priority patent/ATE534209T1/de
Publication of WO2009036680A1 publication Critical patent/WO2009036680A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]

Definitions

  • the present invention relates to testing techniques, and more particularly to methods, devices, and systems for testing access device configuration identification. Background technique
  • xDSL X Digital Subscriber Line
  • client devices client devices
  • central office devices are usually tested.
  • test device under test In order to test the device under test, it is common practice to connect the device under test and the test device through the test bus.
  • the test device can test the connected device under test through the test bus.
  • most central office devices It does not provide a test bus, nor does it support automatic line grabbing (mainly refers to automatically connecting the line of the user under test to the test equipment).
  • automatic line grabbing mainly refers to automatically connecting the line of the user under test to the test equipment.
  • a more mature solution is to connect the above-mentioned equipment under test to the test equipment through the test access system. Refer to the test system framework diagram of FIG.
  • the test access system usually includes multiple test access devices, and multiple devices under test with similar geographical locations can access the test device through the same test access device.
  • the test access system can be networked by star, bus, or cascade. When the cascading mode is used for networking, the test access system has the characteristics of large capacity, wide coverage, and good scalability. Therefore, the test access system using the cascading mode network is receiving more and more attention. .
  • test access system includes a primary control device and a test access device in a cascaded manner.
  • the main control device side is connected to the test device, and the other side communicates with the lower level test access device through the downlink expansion port.
  • Each test access device is configured with two uplink ports and one downlink port, and the uplink cascade port and its upper device ( The main control device or other test access device can communicate, and the downlink cascade port communicates with its lower test access device.
  • a plurality of test access devices are connected to each other through a cascade port to form a cascade link.
  • the primary control device communicates with a test access device, the device between the two devices needs to forward information.
  • there are many test access devices that access the main control device through the cascade link generally dozens to hundreds of devices). In order to distinguish different test access devices on the link, it is necessary to Each test access device is configured with its own unique device identifier.
  • the identification configuration scheme of the test access device based on the cascading mode networking is: configuring a hardware configuration switch group and a test access controller in the test access device, where the hardware configuration switch group is a group Manually operated hardware switches (such as jumpers or dip switches), because the on state of the hardware switch can be used to represent a binary number (for example, 1 when the switch is on, 0 when it is off), therefore, the hardware A set of binary numbers corresponding to the on states of the switches in the switch group can be used as the device number of the test access controller. To test the access device configuration number, set the switch in the hardware configuration switch group of the device to be on or off.
  • the hardware configuration switch group is a group Manually operated hardware switches (such as jumpers or dip switches)
  • the state, on or off state may correspond to a binary 0 or 1, and the test access controller may obtain the device number by reading the state of the hardware switch group.
  • the engineer when testing the access device configuration number, the engineer must set the switch in the hardware configuration switch group of the device in the field. When the number of test access devices in the system is large, the engineer needs to configure the test. The number of access devices is also large. In order to achieve the purpose of distinguishing devices, the number of switches in the hardware configuration switch group that need to be configured in the device is also large. Therefore, the number configuration of the engineering personnel is large and cumbersome, and it is easy to occur. In the case of an incorrect configuration; on the other hand, when the hardware switch fails, the state of the switch read by the test access controller may be inconsistent with the actual state of the switch, resulting in the wrong device number.
  • An identification configuration scheme for testing an access device is also provided in the prior art, in which a nonvolatile memory and a test access controller are configured in the test access device.
  • the test access device is configured with a number
  • the number is loaded into the non-volatile memory, and when the test access controller obtains the device number, the stored number is simply read from the non-volatile memory.
  • the engineer when configuring the access device configuration number, it is necessary for the engineer to load the number in the field through dedicated software and tools. In the non-volatile memory, and the implementation is more complicated, the configuration work is less efficient.
  • the technical problem to be solved by the embodiment of the present invention is to provide a method for testing an access device configuration identifier, a test access device, a main control device, and a test access system, which can implement automatic configuration of the test access device identifier.
  • an embodiment of the present invention provides the following technical solutions:
  • a method for testing an access device configuration identifier includes:
  • the device identifier of the test access device itself is obtained and stored according to the acquired device identifier.
  • a test access device includes:
  • An uplink cascading port configured to communicate with a superior device, including receiving an identification configuration command sent by the upper device;
  • the identifier obtaining unit is configured to obtain the device identifier carried in the identifier configuration command
  • the identifier configuration unit is configured to obtain and store the device identifier of the test access device according to the device identifier.
  • a main control device comprising:
  • the identifier configuration command generating unit is configured to generate an identifier configuration command that carries the device identifier, and the downlink cascade port is configured to communicate with the lower-level test access device, and the lower-level test access device sends the identifier configuration command.
  • a test access system includes a main control device and at least one test access device that is connected in a cascade manner:
  • the main control device is configured to communicate with the subordinate test access device, and the subordinate test access device sends an identifier configuration command that carries the device identifier.
  • the test access device is configured to receive an identifier configuration command sent by the upper device, and obtain the identifier
  • the device identifier carried in the command is obtained, and the device identifier of the test access device itself is obtained and stored according to the obtained device identifier.
  • the device and the dedicated device are no longer required to perform device ID configuration on the test access device site, but the test access device automatically updates according to the device identifier provided by the main control device.
  • the configuration of the device identifier is completed. Therefore, the embodiment of the present invention can implement automatic configuration of the test access device identifier, which greatly improves the efficiency of the configuration work.
  • the configuration error can be effectively reduced by avoiding a large number of manual operations. The situation has happened.
  • Figure 1 is a diagram of a prior art test system framework
  • FIG. 2 is a structural diagram of an example of a test system in the prior art
  • FIG. 3 is a structural diagram of an embodiment of a test access device of the present invention.
  • test access device 4 is a structural diagram of another embodiment of the test access device of the present invention.
  • Figure 5 is a structural diagram of an embodiment of a main control device of the present invention.
  • FIG. 6 is a flowchart of an embodiment of a method for configuring an access device identification according to the present invention.
  • FIG. 7 is a flowchart of another embodiment of a method for configuring an access device identifier according to the present invention.
  • FIG. 8 is a flowchart of still another embodiment of a method for configuring an access device identifier according to the present invention.
  • FIG. 9 is a test access device identifier of the present invention.
  • Configuration Method A flowchart of still another embodiment. detailed description
  • test access system of the present invention includes a main control device and at least one test access device that is connected in a cascade manner:
  • the main control device is configured to communicate with the subordinate test access device, and includes the subordinate test access device to send an identifier configuration command carrying the device identifier.
  • the test access device is configured to receive the identifier configuration command sent by the upper-level device, obtain the device identifier carried in the identifier configuration command, and obtain and store the device identifier of the test access device according to the acquired device identifier.
  • FIG. 3 is a structural diagram of an embodiment of the test access device of the present invention, including an uplink cascade port 510, an identifier obtaining unit 520, and an identifier configuration unit 530:
  • the uplink cascading port 510 is configured to communicate with the upper device, and includes an identifier configuration command sent by the upper device.
  • the identifier obtaining unit 520 is configured to obtain the device identifier carried in the identifier configuration command.
  • the identifier configuration unit 530 is configured to obtain and store a device identifier of the test access device according to the device identifier.
  • FIG. 4 is a structural diagram of another embodiment of the test access device according to the present invention, which includes an uplink cascade port 610, an identifier obtaining unit 620, an identifier configuration unit 630, The determining unit 640, the identifier determining unit 650 and the downlink cascade port 660 are:
  • the uplink cascading port 610 is configured to communicate with the upper device, and includes an identifier configuration command sent by the upper device.
  • the identifier obtaining unit 620 is configured to obtain the device identifier carried in the identifier configuration command.
  • the identifier configuration unit 630 is configured to obtain and store the device identifier of the test access device according to the device identifier.
  • the determining unit 640 is configured to determine whether there is a subordinate test access device, and if yes, output a determination identifier control command.
  • the identifier determining unit 650 is configured to determine, after receiving the determining the identity control command, the device identifier to be sent to the lower-level test access device.
  • the downlink cascading port 660 is configured to communicate with the cascading sub-test access device, and includes a sub-test access device that sends an identities configuration command, where the device identifier determined by the identifier determining unit 650 is carried.
  • the downlink concatenation port 660 is in communication with the subordinate test access device, and further includes: receiving information sent by the subordinate test access device.
  • the determining unit 640 determines whether the lower-level test access device is: determining whether the downlink cascade port 660 receives the expected information, and if yes, confirming that there is a lower-level test access device; if not, determining that there is no lower-level test access device .
  • the uplink cascading port 610 and the upper-level device may further include: sending, by the upper-level device, a link change notification message, where the link change notification message may specifically indicate that there is a new
  • the link change notification message of the device may also be a link change notification message indicating that there is an exit device.
  • FIG. 5 is a structural diagram of an embodiment of the main control device of the present invention, including an identification configuration command generating unit 710 and a downstream concatenation port 720:
  • the identifier configuration command generating unit 710 is configured to generate an identifier configuration command that carries the device identifier, and the downlink cascade port 720 is configured to communicate with the cascaded lower-level test access device, including testing the access to the lower level when the predetermined condition is met.
  • the device sends the identity configuration command.
  • the downlink cascading port 720 and the subordinate test access device are further configured to: receive a link change notification message sent by the subordinate test access device, and the link change notification
  • the message may be a link change notification message indicating that there is a newly added device, and may also be a link change notification message indicating that there is an exit device.
  • the main control device may have the features of the main control device in any embodiment of the main control device of the present invention, and the test access device may have any of the test access devices of the present invention. The features of the access device are tested as described in the embodiments.
  • the first embodiment of the method for testing the configuration of the access device of the present invention in this embodiment, can automatically configure the number of all test access devices in the entire cascaded link.
  • FIG. 6 is the test access of the present invention.
  • a flowchart of an embodiment of a device identifier configuration method includes:
  • the main control device sends a configuration command to the lower-level test access device, the device configuration identifier is included in the configuration command, and a letter indicating that all test access devices in the entire link are configured. Interest.
  • the device identifier carried in the device may be a device identifier configured by the primary control device for its neighboring test access device, or may be a preset initial device identifier, and the adjacent lower-level test access device passes the device.
  • the identifier performs a specific process, and obtains the device identifier of the subordinate test access device itself.
  • test access device parses the received identity configuration command to obtain the device identifier.
  • the device identifier of each test access device may be a digital sequence, or may be a character sequence or the like.
  • the test access device obtains its own device identifier according to the acquired device identifier, and stores the obtained device identifier locally.
  • Testing the device identification of the access device itself is mainly based on the pre-setting of the test access device.
  • the test access device in the step is a test access device adjacent to the main control device (in this case, the upper device of the test access device is the main control device)
  • the acquired device identifier is the master device
  • the control device is the device identifier configured for the test access device
  • the device identifier of the test access device is the obtained device identifier itself. If the obtained device identifier is the initial device identifier preset by the master control device, the test access is performed.
  • the identifier of the device itself is the device identifier obtained by performing specific processing on the acquired device identifier.
  • the test access device is not a test access device adjacent to the main control device in this step (in this case, the upper device of the test access device is also a test access device), if the acquired device identifier If the device ID of the access device is the device ID of the access device, the device ID of the device is the device ID itself. If the device ID is the device ID of the peer device.
  • the identifier of the test access device itself is a device identifier obtained by performing specific processing on the acquired device identifier.
  • the obtained device number and the step size can be summed.
  • the change step size may be a positive integer or a negative integer, and the value may be selected according to actual needs.
  • test access device determines whether there is a subordinate test access device. If yes, execute A5; Nobe' J, send a configuration success message to the upper device, and end the process.
  • the test access device may determine whether there is a cascaded subordinate test access device by detecting whether the downlink concatenation port receives the expected information, and if yes, confirm that there is a subordinate test access device; if not, it is considered that there is no subordinate Test the access device.
  • the test access device directly outputs a predetermined query command through the downlink cascade port. If the downlink cascade port receives the expected response information within the predetermined time, it is confirmed that there is a lower-level test access device. If not, it is considered that there is no lower-level test. Access device.
  • the test access device determines, according to the obtained device identifier, the device identifier to be sent to the lower-level test access device.
  • the device identifier to be sent to the subordinate test access device may be the device identifier of the test access device itself, or the device identifier configured for the subordinate test access device, which is mainly determined according to the preset setting of the test access device.
  • the device identifier configured for the subordinate test access device may be obtained by performing specific processing on the device identifier of the test access device itself. For example, when the device identifier of the test access device is a digital number, the pair is itself The device identification can be specifically processed by summing its own device number and changing step size.
  • test access device sends an identifier configuration command to the lower-level test access device, where The determined device ID; return to execution A2.
  • the change step size may be sent to each test access device by using an identifier configuration command, or may be pre-configured in the test access device.
  • the configuration of the device identifier is not required to be performed by the engineering personnel on the site of the test access device, but the test access device automatically completes the configuration of the device identifier according to the device identifier provided by the superior device. Therefore, the present invention is implemented. For example, the automatic configuration of the test access device identifier can be realized, which greatly improves the efficiency of the configuration work; on the other hand, due to avoiding a large number of manual operations, the configuration error can also be effectively reduced.
  • the method for testing the access device configuration identifier of the present invention is the second embodiment.
  • the automatic configuration of the test access device identifier added to the cascade link can be implemented.
  • the test access is added.
  • the device and all the sub-test access devices of the device are configured.
  • FIG. 7 is a flowchart of another embodiment of the method for configuring the test access device identifier according to the present invention. As shown in FIG. 7, the embodiment includes:
  • the link change notification message is sent to the adjacent upper-level test access device, where the message carries information indicating that the device is added.
  • the upper test access device of the newly added test access device is the first level upper device (referred to as the first level upper device) of the test access device, and the upper device phase
  • the neighboring superior device is the second-level superior device (referred to as the second-level superior device) of the test access device, and so on.
  • the link change notification message may specifically be an identifier configuration request message.
  • the first level upper device receives the link change notification message, generates a link change notification message carrying the information indicating the newly added device and the device identifier of the device, and sends the link change notification message to the main through the cascade link.
  • Control device on the other hand, record that its subordinate device is the new test access device.
  • the first-level upper-level device After the first-level upper-level device generates the link change notification message, it sends the message to the second-level upper-level device; if the second-level upper-level device is the main control device, executes B3; otherwise, the third-level upper-level device Forwarding the received link change notification message; and so on, until the link change notification message is sent to the primary control device.
  • the main control device receives the link change notification message, and sends an identifier configuration command indicating that the newly added device is configured to the subordinate test access device according to the information indicating that the new device is carried in the message.
  • the device identifier in the link change notification message is carried in the device.
  • the adjacent lower-level device of the main control device is referred to as the first-level lower-level device of the primary control device (referred to as the first-level lower-level device), and the lower-level device adjacent to the lower-level device is The second level lower level device of the main control device (referred to as the second level lower level device), and so on.
  • the subordinate device of the first level determines whether the information of the subordinate device is a newly added test access device, and if so, executes B5; otherwise, the subordinate device of the first level passes the cascading link.
  • the identification configuration command is sent to the test access device that records the information that the lower-level device is newly added to test the access device (that is, the first-level superior device that newly tests the access device).
  • the received identity configuration command is sent to the second-level lower-level device;
  • the level 2 lower-level device After receiving the identifier configuration command, the level 2 lower-level device determines whether the information of the lower-level device is a newly-added test access device, and if so, executes B5; otherwise, sends the received identifier configuration command to the third-level lower-level device; And so on, until the link change notification message is sent to the test access device that records that the lower device is the information of the newly added test access device.
  • test access device (hereinafter referred to as a test access device with recorded information) that newly records the information of the access device is obtained, and the device to be sent to the newly added test access device is obtained according to the device identifier of the device.
  • the identifier is sent to the newly added test access device after generating the identifier configuration command, and carries the determined device identifier.
  • the device identifier to be sent to the newly added test access device may be the device identifier of the test access device itself with the recorded information, or the device identifier configured for the newly added test access device, mainly based on the test access.
  • the preset of the device is determined.
  • the device identifier configured for the newly added test access device may be the record information
  • the device ID of the test access device is obtained by performing specific processing. For example, when the device identifier of the test access device is a digital number, the specific processing of the device identifier of the device may be the device number of the device. The summation operation is performed with the change step size.
  • the newly added test access device receives the identifier configuration command, and parses the command to obtain the device identifier.
  • the newly added test access device obtains its own device identifier according to the acquired device identifier, and stores the obtained device identifier locally.
  • the device identification of the newly added test access device is mainly based on the pre-set of the test access device.
  • the device identifier of the test access device is the obtained device identifier itself; if the acquired device identifier is the superior test When the device identifier of the access device is accessed, the identifier of the test access device itself is the device identifier obtained by performing specific processing on the acquired device identifier.
  • the device identifier is specifically processed. For example, when the device identifier of the test access device is a digital number, the acquired device number and the change step size may be summed.
  • the change step size may be a positive integer or a negative integer, and the value may be selected according to actual needs.
  • the newly-tested access device determines whether there is a sub-test access device, and if so, starts the process of performing device identification configuration on the lower-level test access device; otherwise, the upper device sends a configuration success message, and the process ends.
  • test access device determines whether there is a lower-level test access device, refer to the method provided in step A4 of the first embodiment of the method for testing the access device configuration identifier of the present invention, and details are not described herein again.
  • the new test access device can be used as the normal test access device, and the content of the first embodiment of the method for testing the access device configuration identifier is implemented.
  • FIG. 8 is a flowchart of still another embodiment of the method for configuring the test access device identifier according to the present invention. As shown in 8, including:
  • the device When the test access device is added to the established cascading link, the device sends a link change notification message to the adjacent upper-level test access device, where the message carries information indicating that the device is added.
  • the upper-level test access device sends the received link change notification message to the main control device through the cascade link.
  • the main control device receives the link change notification message, and generates an identifier configuration command indicating that the newly added device is configured according to the information indicating that the new device is carried in the message, and sends the message to the new link through the cascade link.
  • the test access device is configured to carry the device identifier in the link change notification message and the device identifier configured for the newly added test access device.
  • the main control device may configure, according to the recorded device identifier of each test access device in the cascading link, a device identifier that is different from the device identifier of each test access device in the record for the newly added test access device. That is, as long as the device ID configured for the newly added test access device is guaranteed to be unique in the link.
  • the newly added test access device receives the identifier configuration command, parses the command, and obtains the device identifier, and stores the identifier locally.
  • the main control device when the main control device receives the link change notification message indicating that the new device is added, the main control device may directly initiate reconfiguration of all devices in the entire link.
  • the specific processing method refer to the foregoing Embodiment 1.
  • the primary control device may actively query the status of the cascaded link, and initiate a new test connection when a new test access device is queried.
  • the process of entering the device for device identification configuration may be a flowchart of still another embodiment of a method for configuring an access device identification according to the present invention.
  • FIG. 9 shows a specific implementation manner of the query process: D1.
  • the main control device may periodically or irregularly according to preset rules. Sending a link query command to the access device to the next level test; D2.
  • the subordinate test access device ie, the subordinate level lower device
  • the subordinate test access device returns an expected query response message to the main control device, and on the other hand, tests the access device to its subordinate ( That is, the second level lower level device sends a link query command; if the level 1 lower level device is a new test access device, the predetermined response information cannot be returned to the main control device.
  • the Level 2 lower-level device receives the link query command. If the device is not a new test access device, it returns an expected query response message to the Level 1 subordinate device, including the device identifier, and on the other hand, to the user.
  • the lower-level test access device ie, the third-level lower-level device
  • the Level 1 subordinate device can determine whether the expected query response message from the Level 2 subordinate device is received within a predetermined time. If yes, if the Level 2 subordinate device is not a new test access device, the query response information is Sending to the main control device; if not, confirming that the second-level test access device is a new test access device, generating a link change notification message carrying information indicating the newly added device and its own device identifier, and the above chain The road change notification message is sent to the main control device; on the other hand, the information that the lower device is newly added to test the access device is recorded.
  • test access devices in the cascaded link can perform similar processing in sequence with the Level 2 lower level devices described in D3 to complete the entire query process.
  • the main control device For the main control device, if a link change notification message is received (corresponding to the case where the newly added test access device is not the level 1 subordinate device) or the expected response information is not received within the predetermined time (corresponding to the newly added test connection) If the incoming device is a Level 1 subordinate device, confirm that there is a new test access device in the cascade link, and start the device ID configuration process. If all the test access messages returned by the known test access device are received, If the link change notification message is not received, it is confirmed that there is no new test access device in the cascade link.
  • the main control device when a test access device exits from the cascade link, the main control device receives a link change notification message indicating that the device has exited, and the main control The device can test the record of the device identity of the access device from the corresponding cascade link. Delete the record of the exit device.
  • the method may include the following steps: receiving an identifier configuration command sent by the upper-level device, obtaining a device identifier carried in the identifier configuration command, obtaining a device identifier according to the device identifier, and storing the obtained device identifier locally.
  • the storage medium referred to herein is, for example, a ROM/RAM, a magnetic disk, an optical disk, or the like.
  • the embodiment of the present invention can implement automatic configuration of the test access device identifier, which greatly improves the efficiency of the configuration work; on the other hand, the configuration error can be effectively reduced due to avoiding a large number of manual operations.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

测试接入设备配置标识的方法、 设备和系统 技术领域
本发明涉及测试技术, 尤其涉及测试接入设备配置标识的方法、 设备和 系统。 背景技术
在电信网络中, 为保证业务的正常运行, 需要对相关设备进行测试, 从 而实现故障的及时诊断和修复。 以目前广泛应用的 xDSL ( X Digital Subscriber Line, 数字用户线)接入技术为例, 为保证 xDSL用户的正常接入, 通常会对 用户线路、 用户端设备、 局端设备等进行测试。
为实现对被测设备的测试, 通常的做法是通过测试总线连接被测设备和 测试设备, 测试设备通过测试总线就可以对所连接的被测设备进行测试; 而 在目前, 大多数局端设备并不提供测试总线, 也不支持自动抓线(主要指将 被测用户的线路自动连接到测试设备) 功能。 为实现对这些局端设备以及相 关用户端设备的测试, 较成熟的方案是通过测试接入系统将上述被测设备接 入到测试设备, 可参考图 1的测试系统框架图。
测试接入系统通常包括多个测试接入设备, 地理位置相近的多个被测设 备可以通过同一个测试接入设备接入到测试设备。 测试接入系统可以釆用星 型、 总线型、 级联等方式进行组网。 当釆用级联方式组网时, 测试接入系统 具有容量大, 覆盖范围广, 扩展性较好等特点, 因此, 釆用级联方式组网的 测试接入系统受到越来越多的关注。
图 2是现有技术中一种测试系统实例的结构图;其中测试接入系统包括釆 用级联方式组网的主控制设备和测试接入设备。 主控制设备一侧与测试设备 连接, 另一侧通过下行级联端口与下级的测试接入设备进行通信。 每个测试 接入设备中配置有上行和下行两个级联端口,上行级联端口与其上级设备(可 能是主控制设备或其他的测试接入设备)进行通信, 下行级联端口与其下级 测试接入设备进行通信。 多个测试接入设备通过级联端口依次连接组成一条 级联链路, 当主控制设备和某一测试接入设备进行通信时, 需要两者之间的 设备进行信息的转发才能实现。 在实际应用中, 通过级联链路接入主控制设 备的测试接入设备较多 (一般为几十台到几百台) , 为了区分链路上不同的 测试接入设备, 就需要为每个测试接入设备配置各自独有的设备标识。
现有技术中一种基于级联方式组网的测试接入设备的标识配置方案是: 在测试接入设备中配置硬件配置开关组和测试接入控制器, 硬件配置开关组 是一组必须由人工操作的硬件开关 (如跳线器或拨码开关等) , 由于硬件开 关的导通状态可以用于表示二进制数(例如在开关导通时表示 1 , 关断时表示 0 ) , 因此, 硬件开关组中各开关的导通状态对应的一组二进制数可以作为测 试接入控制器的设备编号; 为测试接入设备配置编号时, 将设备的硬件配置 开关组中的开关设置为开或者关的状态, 开或者关的状态可以对应于二进制 的 0或 1 ,测试接入控制器通过读取该硬件开关组的状态即可以获得设备编号。 在本方案中, 为测试接入设备配置编号时, 必须由工程人员在现场对设备的 硬件配置开关组中的开关进行设置, 当系统中测试接入设备数量较多时, 工 程人员需要配置的测试接入设备数量也较多,而为了达到区分各设备的目的, 设备中需要配置的硬件配置开关组中的开关数量也较多, 因此, 工程人员的 编号配置工作量大而繁瑣, 很容易发生配置错误的情况; 另一方面, 硬件开 关失效时, 测试接入控制器读取的开关状态可能与开关的实际状态不一致, 导致获得错误的设备编号。
现有技术中还提供另外一种测试接入设备的标识配置方案, 该方案中, 在测试接入设备中配置非易失存储器和测试接入控制器。 在为测试接入设备 配置编号时, 将编号加载到非易失存储器中, 测试接入控制器获取设备编号 时, 只需从该非易失存储器中读取所存储的编号。 在本方案中, 为测试接入 设备配置编号时, 需要由工程人员在现场通过专用的软件和工具将编号加载 到非易失存储器中, 且实现比较复杂, 配置工作的效率较低。
发明内容
本发明实施例要解决的技术问题是提供测试接入设备配置标识的方法、 测试接入设备、 主控制设备和测试接入系统, 可以实现测试接入设备标识的 自动配置。
为解决上述技术问题, 本发明的实施例提供以下技术方案:
一种测试接入设备配置标识的方法, 包括:
接收上级设备发送的标识配置命令;
获取所述标识配置命令中携带的设备标识;
根据所获取的设备标识获得并存储测试接入设备自身的设备标识。
一种测试接入设备, 包括:
上行级联端口, 用于与上级设备进行通信, 包括接收上级设备发送的标 识配置命令;
标识获取单元, 用于获取所述标识配置命令中携带的设备标识; 标识配置单元, 用于根据所述设备标识获得并存储测试接入设备自身的 设备标识。
一种主控制设备, 包括:
标识配置命令生成单元, 用于生成携带设备标识的标识配置命令; 下行级联端口, 用于与下级测试接入设备进行通信, 包括向下级测试接 入设备发送所述标识配置命令。
一种测试接入系统, 包括主控制设备和至少一个通过级联方式组网的测 试接入设备:
所述主控制设备用于与下级测试接入设备进行通信, 包括向下级测试接 入设备发送携带设备标识的标识配置命令;
所述测试接入设备用于接收上级设备发送的标识配置命令, 获取标识配 置命令中携带的设备标识, 根据所获取的设备标识获得并存储测试接入设备 自身的设备标识。
从以上技术方案可以看出, 本发明实施例中, 不再需要人员和专用设备 在测试接入设备现场进行设备标识的逐一配置, 而是由测试接入设备根据主 控制设备提供的设备标识自动完成自身设备标识的配置, 因此, 本发明实施 例可以实现测试接入设备标识的自动配置, 大大提高了配置工作的效率; 另 一方面, 由于避免了大量的人工操作, 也可以有效降低配置错误情况的发生。 附图说明
图 1是现有技术测试系统框架图;
图 2是现有技术中一种测试系统实例的结构图;
图 3是本发明测试接入设备的一实施例的结构图;
图 4是本发明测试接入设备的另一实施例的结构图;
图 5是本发明主控制设备一实施例的结构图;
图 6是本发明测试接入设备标识配置方法一实施例的流程图;
图 7是本发明测试接入设备标识配置方法另一实施例的流程图; 图 8是本发明测试接入设备标识配置方法又一实施例的流程图; 图 9是本发明测试接入设备标识配置方法再一实施例的流程图。 具体实施方式
下面结合附图, 对本发明提供的测试接入设备配置标识的方法以及相应 设备和系统的实施例进行详细描述。
首先对本发明的测试接入系统进行描述。本发明测试接入系统一实施例, 包括主控制设备和至少一个通过级联方式组网的测试接入设备:
主控制设备用于与下级测试接入设备进行通信, 包括向下级测试接入设 备发送携带设备标识的标识配置命令。 测试接入设备用于接收上级设备发送的标识配置命令, 获取标识配置命 令中携带的设备标识, 根据所获取的设备标识获得并存储测试接入设备自身 的设备标识。
本发明测试接入设备的一实施例, 参考图 3 , 图 3是本发明测试接入设 备的一实施例的结构图, 包括上行级联端口 510、 标识获取单元 520和标识 配置单元 530:
上行级联端口 510, 用于与上级设备进行通信, 包括接收上级设备发送 的标识配置命令。
标识获取单元 520, 用于获取所述标识配置命令中携带的设备标识。 标识配置单元 530, 用于根据所述设备标识获得并存储测试接入设备自 身的设备标识。
本发明测试接入设备的实施例二; 参考图 4, 图 4是本发明测试接入设 备的另一实施例的结构图, 包括上行级联端口 610、 标识获取单元 620、 标识 配置单元 630、 判断单元 640、 标识确定单元 650和下行级联端口 660:
上行级联端口 610, 用于与上级设备进行通信, 包括接收上级设备发送 的标识配置命令。
标识获取单元 620, 用于获取所述标识配置命令中携带的设备标识。 标识配置单元 630, 用于根据所述设备标识获得并存储测试接入设备自 身的设备标识。
判断单元 640, 用于判断是否有下级测试接入设备, 若是, 输出确定标 识控制命令。
标识确定单元 650, 用于在收到确定标识控制命令后, 确定待发送给下 级测试接入设备的设备标识。
下行级联端口 660, 用于与级联的下级测试接入设备进行通信, 包括向 下级测试接入设备发送标识配置命令, 其中携带标识确定单元 650确定的设 备标识。 其中, 下行级联端口 660与下级测试接入设备进行通信还包括: 接收下 级测试接入设备发送的信息。
判断单元 640判断是否有下级测试接入设备具体可以是: 判断下行级联 端口 660是否接收到预期的信息, 若是, 则确认有下级测试接入设备; 若否, 则认为没有下级测试接入设备。
在本发明测试接入设备更多实施例中, 上行级联端口 610与上级设备进 行通信还可以包括: 向上级设备发送链路变化通知消息, 所述链路变化通知 消息具体可以是表示有新增设备的链路变化通知消息, 还可以是表示有退出 设备的链路变化通知消息。
本发明主控制设备一实施例; 参考图 5 , 图 5是本发明主控制设备一实 施例的结构图, 包括标识配置命令生成单元 710和下行级联端口 720:
标识配置命令生成单元 710, 用于生成携带设备标识的标识配置命令; 下行级联端口 720, 用于与级联的下级测试接入设备进行通信, 包括在 符合预定条件时, 向下级测试接入设备发送所述标识配置命令。
在本发明主控制设备实施例更多实施例中, 下行级联端口 720与下级测 试接入设备进行通信还包括: 接收下级测试接入设备发送的链路变化通知消 息,所述链路变化通知消息具体可以是表示有新增设备的链路变化通知消息, 还可以是表示有退出设备的链路变化通知消息。
在本发明测试接入系统更多实施例中, 主控制设备可以具有本发明主控 制设备任一实施例中所述主控制设备的特征, 测试接入设备可以具有本发明 测试接入设备任一实施例中所述测试接入设备的特征。
本发明测试接入设备配置标识的方法实施例一, 通过本实施例, 可以实 现整条级联链路中所有测试接入设备编号的自动配置; 参考图 6, 图 6是本 发明测试接入设备标识配置方法一实施例的流程图, 包括:
Al、 主控制设备向下级测试接入设备发送标识配置命令, 标识配置命令 中携带设备标识, 以及表示对整条链路中所有的测试接入设备进行配置的信 息。
其中携带的设备标识具体可以是指主控制设备为其相邻的下级测试接入 设备配置的设备标识, 也可以是预设的初始设备标识, 其相邻的下级测试接 入设备通过对该设备标识进行特定的处理, 获得所述下级测试接入设备自身 的设备标识。
A2、 测试接入设备对接收的标识配置命令进行解析, 获取其中的设备标 识。
在本发明实施例中, 各测试接入设备的设备标识可以是数字序列, 也可 以是字符序列等。
A3、 测试接入设备根据所获取的设备标识获得自身的设备标识, 并在本 地存储所获得的自身的设备标识。
测试接入设备自身的设备标识主要是依据对测试接入设备的预先设置所 获得。
当本步骤中所述测试接入设备是与主控制设备相邻的测试接入设备时 (此时, 所述测试接入设备的上级设备是主控制设备), 若所获取的设备标识 是主控制设备为本测试接入设备配置的设备标识时, 测试接入设备自身的设 备标识就是所获取的设备标识本身; 若所获取的设备标识是主控制设备预设 的初始设备标识, 测试接入设备自身的标识是对所获取的设备标识进行特定 的处理所获得的设备标识。
当本步骤中所述测试接入设备不是与主控制设备相邻的测试接入设备时 (此时, 所述测试接入设备的上级设备也是一测试接入设备), 若所获取的设 备标识是上级测试接入设备为本测试接入设备配置的设备标识时, 测试接入 设备自身的设备标识就是所获取的设备标识本身; 若所获取的设备标识是上 级测试接入设备的设备标识时, 测试接入设备自身的标识是对所获取的设备 标识进行特定的处理所获得的设备标识。
所述对设备标识进行特定的处理, 例如, 当测试接入设备的设备标识是 数字编号时, 可以是将所获取的设备编号与变化步长进行求和运算。 其中, 所述的变化步长可以是正整数或者负整数, 其取值可以根据实际需要进行选 择。
A4、测试接入设备判断是否有下级测试接入设备,若是,执行 A5; 否贝' J , 向上级设备发送配置成功消息, 结束流程。
其中, 测试接入设备可以通过检测下行级联端口是否接收到预期的信息 来判断是否有级联的下级测试接入设备, 若是, 则确认有下级测试接入设备; 若否, 则认为没有下级测试接入设备。 以下给出两种具体实现方法:
一、 在链路中各测试接入设备的下行级联端口中配置专门的信号输入端 口, 在上行级联端口则配置专门的信号输出端口, 并配置各测试接入设备的 信号输出端口定期输出预定的信号。 测试接入设备对所述专门的信号输入端 口进行检测, 若该端口接收到预期的信号, 则确认有下级测试接入设备, 否 则, 则认为没有下级测试接入设备。
二、 测试接入设备直接通过下行级联端口输出预定的查询命令, 若在预 定时间内下行级联端口收到预期的响应信息, 则确认有下级测试接入设备, 若否, 认为没有下级测试接入设备。
A5、 测试接入设备根据所获得的自身的设备标识, 确定待发送给下级测 试接入设备的设备标识。
待发送给下级测试接入设备的设备标识可以是测试接入设备自身的设备 标识, 或者是为下级测试接入设备配置的设备标识, 主要是依据对测试接入 设备的预先设置所确定。
其中, 为下级测试接入设备配置的设备标识可以是对测试接入设备自身 的设备标识进行特定的处理所获得的, 例如, 当测试接入设备的设备标识是 数字编号时, 所述对自身的设备标识进行特定的处理可以是将自身的设备编 号与变化步长进行求和运算。
A6、 测试接入设备向其下级测试接入设备发送标识配置命令, 其中携带 所确定的设备标识; 返回执行 A2。
在上述实施例中, 所述的变化步长可以通过标识配置命令发送到各测试 接入设备中, 也可以预先配置在测试接入设备中。
在上述实施例中, 不再需要工程人员在测试接入设备现场进行设备标识 的配置, 而是由测试接入设备根据上级设备提供的设备标识自动完成自身设 备标识的配置, 因此, 本发明实施例可以实现测试接入设备标识的自动配置, 大大提高了配置工作的效率; 另一方面, 由于避免了大量的人工操作, 也可 以有效降低配置错误情况的发生。
本发明测试接入设备配置标识的方法实施例二; 通过本实施例, 可以实 现新增加到级联链路中的测试接入设备标识的自动配置, 在该过程中, 对新 增测试接入设备以及该设备的所有下级测试接入设备进行配置; 图 7是本发 明测试接入设备标识配置方法另一实施例的流程图, 如图 7所示, 本实施例 包括:
Bl、 当测试接入设备新增到已建立的级联链路中时, 向相邻的上级测试 接入设备发送链路变化通知消息, 该消息中携带表示有新增设备的信息。
在本实施例中, 为方便描述, 以下称新增测试接入设备的上级测试接入 设备为新增测试接入设备的第 1级上级设备(简称第 1级上级设备), 该上级 设备相邻的上级设备则为新增测试接入设备的第 2级上级设备 (简称第 2级 上级设备), 以此类推。
所述链路变化通知消息具体可以是标识配置请求消息。
B2、 第 1级上级设备接收链路变化通知消息, 生成携带表示有新增设备 的信息以及自己的设备标识的链路变化通知消息, 通过级联链路将上述链路 变化通知消息发送到主控制设备; 另一方面, 记录其下级设备是新增测试接 入设备这一信息。
第 1级上级设备生成所述链路变化通知消息后向第 2级上级设备发送; 若第 2级上级设备是主控制设备, 则执行 B3; 否则, 向第 3级上级设备 转发所接收的链路变化通知消息; 以此类推, 直到将所述链路变化通知消息 发送到主控制设备。
B3、 主控制设备接收所述链路变化通知消息, 根据该消息中携带的表示 有新增设备的信息, 向其下级测试接入设备发送表示对新增设备进行配置的 标识配置命令, 该命令中携带所述链路变化通知消息中的设备标识。
在本实施例中, 为方便描述, 以下称主控制设备的相邻的下级设备为主 控制设备的第 1级下级设备 (简称第 1级下级设备), 该下级设备相邻的下级 设备则为主控制设备的第 2级下级设备 (简称第 2级下级设备), 以此类推。
B4、 第 1级下级设备接收标识配置命令后, 判断是否记录有其下级设备 是新增测试接入设备的信息, 若有, 执行 B5; 否则, 第 1级下级设备通过级 联链路将上述标识配置命令发送到记录有下级设备是新增测试接入设备的信 息的测试接入设备 (即新增测试接入设备的第 1级上级设备)。
第 1 级下级设备中没有其下级设备是新增测试接入设备的信息的记录 时, 向第 2级下级设备发送所接收的标识配置命令;
第 2级下级设备接收标识配置命令后, 判断是否记录有其下级设备是新 增测试接入设备的信息, 若有, 执行 B5; 否则, 向第 3级下级设备发送所接 收的标识配置命令; 以此类推, 直到将所述链路变化通知消息发送到记录有 下级设备是新增测试接入设备的信息的测试接入设备。
B5、 记录有下级设备是新增测试接入设备的信息的测试接入设备(以下 简称具有记录信息的测试接入设备)根据自身的设备标识, 获得待发送给新 增测试接入设备的设备标识,生成标识配置命令后向新增测试接入设备发送, 其中携带所确定的设备标识。
待发送给新增测试接入设备的设备标识可以是所述具有记录信息的测试 接入设备自身的设备标识, 或者是为新增测试接入设备配置的设备标识, 主 要是依据对测试接入设备的预先设置所确定。
其中, 为新增测试接入设备配置的设备标识可以是对所述具有记录信息 的测试接入设备自身的设备标识进行特定的处理所获得的, 例如, 当测试接 入设备的设备标识是数字编号时, 所述对自身的设备标识进行特定的处理可 以是将自身的设备编号与变化步长进行求和运算。
B6、该新增测试接入设备接收所述标识配置命令,并对该命令进行解析, 获取其中的设备标识。
B7、 该新增测试接入设备根据所获取的设备标识获得自身的设备标识, 并在在本地存储所获得的自身的设备标识。 新增测试接入设备自身的设备标 识主要是依据对测试接入设备的预先设置所获得。
若所获取的设备标识是其上级测试接入设备为本测试接入设备配置的设 备标识时, 测试接入设备自身的设备标识就是所获取的设备标识本身; 若所 获取的设备标识是上级测试接入设备的设备标识时, 测试接入设备自身的标 识是对所获取的设备标识进行特定的处理所获得的设备标识。
所述对设备标识进行特定的处理, 例如, 当测试接入设备的设备标识是 数字编号时, 可以是将所获取的设备编号与变化步长进行求和运算。 其中, 所述的变化步长可以是正整数或者负整数, 其取值可以根据实际需要进行选 择。
B8、 所述新增测试接入设备判断是否有下级测试接入设备, 若是, 启动 继续对其下级测试接入设备进行设备标识配置的流程; 否则, 向上级设备发 送配置成功消息, 结束流程。
所述新增测试接入设备判断是否有下级测试接入设备的具体实现可以参 考本发明测试接入设备配置标识的方法实施例一的步骤 A4中所提供的方法, 此处不再赘述。
继续对下级测试接入设备进行设备标识配置时, 可将新增测试接入设备 作为普通的测试接入设备, 参考本发明测试接入设备配置标识的方法实施例 一的内容加以实现。
本发明测试接入设备配置标识的方法实施例三; 在本实施例中, 当有测 试接入设备新增到级联链路中时 , 只对新增测试接入设备进行设备标识的配 置; 图 8是本发明测试接入设备标识配置方法又一实施例的流程图, 如图 8 所示, 包括:
Cl、 当测试接入设备新增到已建立的级联链路中时, 向相邻的上级测试 接入设备发送链路变化通知消息, 该消息中携带表示有新增设备的信息。
C2、 上级测试接入设备通过级联链路将所接收的链路变化通知消息发送 到主控制设备。
C3、 主控制设备接收链路变化通知消息, 根据该消息中携带的表示有新 增设备的信息, 生成表示对新增设备进行配置的标识配置命令, 通过级联链 路将该消息发送到新增测试接入设备, 其中标识配置命令中携带所述链路变 化通知消息中的设备标识, 以及为新增测试接入设备配置的设备标识。
主控制设备可以根据所记录的该级联链路中各测试接入设备的设备标 识, 为该新增测试接入设备配置一个与记录中各测试接入设备的设备标识均 不相同的设备标识, 也就是说, 只要保证为新增测试接入设备配置的设备标 识在该链路中是唯一的就可以。
C4、所述新增测试接入设备接收所述标识配置命令,对该命令进行解析, 获取其中的设备标识后在本地存储该标识。
在本发明测试接入设备标识配置方法更多实施例中, 主控制设备接收到 表示有新增设备的链路变化通知消息时, 也可以直接启动对整条链路中的所 有设备进行重新配置的处理流程, 具体实现方法可参考上述实施例一。
在本发明测试接入设备标识配置方法更多实施例中, 也可以由主控制设 备对级联链路的状况主动进行查询 , 在查询到有新增测试接入设备时启动对 新增测试接入设备进行设备标识配置的流程。 图 9是本发明测试接入设备标 识配置方法再一实施例的流程图,如图 9给出查询过程的一种具体实现方式: Dl、 主控制设备可以根据预置的规则, 定期或不定期向下级测试接入设 备发送链路查询命令; D2、 若下级测试接入设备 (即第 1级下级设备)不是新增测试接入设备, 则一方面向主控制设备返回预期的查询响应消息, 另一方面向自己的下级测 试接入设备 (即第 2级下级设备)发送链路查询命令; 若第 1级下级设备是 新增测试接入设备, 无法向主控制设备返回预定的响应信息。
D3、 第 2级下级设备接收链路查询命令, 若该设备不是新增测试接入设 备, 则一方面向第 1级下级设备返回预期的查询响应消息, 其中包括设备标 识, 另一方面向自己的下级测试接入设备 (即第 3级下级设备)发送链路查 询命令; 若第 2级下级设备是新增测试接入设备, 无法向第 1级下级设备返 回预定的响应信息。
第 1级下级设备可以判断是否在预定时间内接收到来自第 2级下级设备 的预期的查询响应消息, 若是, 则确认第 2级下级设备不是新增测试接入设 备, 则将该查询响应信息发送到主控制设备; 若否, 则确认第 2级测试接入 设备是新增测试接入设备, 生成携带表示有新增设备的信息以及自己的设备 标识的链路变化通知消息, 将上述链路变化通知消息发送到主控制设备; 另 一方面, 记录其下级设备是新增测试接入设备这一信息。
级联链路中的其他测试接入设备可以依次进行与 D3 中所述的第 2级下 级设备的相似的处理, 完成整个查询过程。
对于主控制设备, 若接收到链路变化通知消息 (对应于新增测试接入设 备不是第 1级下级设备的情形)或在预定时间内未接收到预期的响应信息(对 应于新增测试接入设备是第 1级下级设备的情形),则确认级联链路中有新增 测试接入设备, 启动设备标识配置的处理流程; 若接收到所有已知测试接入 设备返回的查询响应消息, 且未接收到链路变化通知消息, 则确认级联链路 中没有新增测试接入设备。
在本发明测试接入设备标识配置方法更多实施例中, 当有测试接入设备 从级联链路中退出时, 主控制设备会接收到表示有退出设备的链路变化通知 消息, 主控制设备可以从相应级联链路中测试接入设备的设备标识的记录中 删除该退出设备的记录。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成, 所述的程序可以存储于计算机可 读取存储介质中, 该程序在执行时, 可以包括如下步骤: 接收上级设备发送 的标识配置命令; 获取所述标识配置命令中携带的设备标识; 根据所述设备 标识获得自身的设备标识; 在本地存储所获得的自身的设备标识。 这里所称 的存储介质, 如: ROM/RAM、 磁碟、 光盘等。
综上所述, 本发明实施例中, 不再需要工程人员在测试接入设备现场进 行设备标识的配置, 而是由测试接入设备根据上级设备提供的设备标识自动 完成自身设备标识的配置, 因此, 本发明实施例可以实现测试接入设备标识 的自动配置, 大大提高了配置工作的效率; 另一方面, 由于避免了大量的人 工操作, 也可以有效降低配置错误情况的发生。
以上对本发明实施例所提供的测试接入设备配置标识的方法、 测试接入 设备、 主控制设备和测试接入系统进行了详细介绍, 本文中应用了具体个例 对本发明的原理及实施方式进行了阐述, 以上实施例的说明只是用于帮助理 解本发明的方法及其思想; 同时, 对于本领域的一般技术人员, 依据本发明 的思想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明 书内容不应理解为对本发明的限制。

Claims

权 利 要 求 书
1、 一种测试接入设备配置标识的方法, 其特征在于, 包括:
接收上级设备发送的标识配置命令;
获取所述标识配置命令中携带的设备标识;
根据所获取的设备标识获得并存储测试接入设备自身的设备标识。
2、如权利要求 1所述测试接入设备配置标识的方法, 其特征在于, 所述 根据所获取的设备标识获得并存储测试接入设备自身的设备标识后还包括: 判断是否有下级测试接入设备, 若是, 获得待发送给下级测试接入设备的设 备标识, 向下级测试接入设备发送携带该设备标识的标识配置命令。
3、如权利要求 2所述测试接入设备配置标识的方法, 其特征在于, 所述 判断是否有下级测试接入设备包括: 检测下行级联端口是否接收到预期的信 息, 若是, 则确认有下级测试接入设备; 若否, 则认为没有下级测试接入设 备。
4、如权利要求 2所述测试接入设备配置标识的方法, 其特征在于, 所述 获得待发送给下级测试接入设备的设备标识包括:
直接确定所获得的自身的设备标识为待发送给下级测试接入设备的设备 标识; 或者,
对所获得的自身的设备标识进行特定处理, 得到待发送给下级测试接入 设备的设备标识。
5、如权利要求 1至 4任一项所述测试接入设备配置标识的方法,其特征 在于, 所述根据所获取的设备标识获得测试接入设备自身的设备标识包括: 直接确定所获取的设备标识为测试接入设备自身的设备标识; 或者, 对所获取的设备标识进行特定处理,获得测试接入设备自身的设备标识。
6、如权利要求 5所述测试接入设备配置标识的方法, 其特征在于, 所述 标识配置命令包括:对整条链路中的测试接入设备进行配置的标识配置命令; 或者对新增测试接入设备进行配置的标识配置命令。
7、 如权利要求 6所述测试接入设备配置标识的方法, 其特征在于: 所述对新增测试接入设备进行配置的标识配置命令是由主控制设备在获 知链路中有新增测试接入设备后发起的;
所述主控制设备获知链路中有新增测试接入设备具体包括: 主控制设备 根据级联链路中的测试接入设备发送的表示有新增设备的链路变化通知消息 获知链路中有新增测试接入设备。
8、如权利要求 7所述测试接入设备配置标识的方法, 其特征在于, 所述 表示有新增设备的链路变化通知消息具体为: 级联链路中的测试接入设备在 新增测试接入设备加入到级联链路时主动向主控制设备发送的; 或者是根据 主控制设备发起的链路查询命令, 在查询到级联链路中有新增测试接入设备 时发送的。
9、如权利要求 5所述测试接入设备配置标识的方法, 其特征在于, 所述 设备标识具体是指数字序列或字符序列。
10、 一种测试接入设备, 其特征在于, 包括:
上行级联端口, 用于与上级设备进行通信, 包括接收上级设备发送的标 识配置命令;
标识获取单元, 用于获取所述标识配置命令中携带的设备标识; 标识配置单元, 用于根据所述设备标识获得并存储测试接入设备自身的 设备标识。
11、如权利要求 10所述的测试接入设备, 其特征在于, 所述测试接入设 备还包括:
判断单元, 用于判断是否有下级测试接入设备, 若是, 输出确定标识控 制命令;
标识确定单元, 用于在收到确定标识控制命令后, 确定待发送给下级测 试接入设备的设备标识; 下行级联端口, 用于与下级测试接入设备进行通信, 包括向下级测试接 入设备发送标识配置命令, 其中携带标识确定单元确定的设备标识。
12、 如权利要求 11所述的测试接入设备, 其特征在于,
所述下行级联端口与下级测试接入设备进行通信还包括: 接收下级测试 接入设备发送的信息;
所述判断单元判断是否有下级测试接入设备包括: 判断下行级联端口是 否接收到预期的信息, 若是, 则确认有下级测试接入设备, 若否, 则认为没 有下级测试接入设备。
13、如权利要求 10所述的测试接入设备, 其特征在于, 所述上行级联端 口与上级设备进行通信还包括: 向上级设备发送链路变化通知消息。
14、 一种主控制设备, 其特征在于, 包括:
标识配置命令生成单元, 用于生成携带设备标识的标识配置命令; 下行级联端口, 用于与下级测试接入设备进行通信, 包括向下级测试接 入设备发送所述标识配置命令。
15、如权利要求 14所述的主控制设备, 其特征在于, 所述下行级联端口 与下级测试接入设备进行通信还包括: 接收下级测试接入设备发送的链路变 化通知消息。
16、 一种测试接入系统, 其特征在于, 包括主控制设备和至少一个通过 级联方式组网的测试接入设备:
所述主控制设备用于与下级测试接入设备进行通信, 包括向下级测试接 入设备发送携带设备标识的标识配置命令;
所述测试接入设备用于接收上级设备发送的标识配置命令, 获取标识配 置命令中携带的设备标识, 根据所获取的设备标识获得并存储测试接入设备 自身的设备标识。
17、如权利要求 16所述的测试接入系统, 其特征在于, 所述测试接入设 备具备包括: 上行级联端口, 用于与上级设备进行通信, 包括接收上级设备发送的标 识配置命令;
标识获取单元, 用于获取所述标识配置命令中携带的设备标识; 标识配置单元, 用于根据所述设备标识获得并存储自身的设备标识; 判断单元, 用于判断是否有下级测试接入设备, 若是, 输出确定标识控 制命令;
标识确定单元, 用于在收到确定标识控制命令后, 确定待发送给下级测 试接入设备的设备标识;
下行级联端口, 用于与下级测试接入设备进行通信, 包括向下级测试接 入设备发送标识配置命令, 其中携带标识确定单元确定的设备标识。
PCT/CN2008/072266 2007-09-19 2008-09-04 Procédé, dispositif et système d'identification de configuration de matériel d'accès d'essai WO2009036680A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
ES08800778T ES2375322T3 (es) 2007-09-19 2008-09-04 Método, dispositivo y sistema de identificación de la configuración de un equipo de acceso de ensayo.
EP08800778A EP2093935B1 (en) 2007-09-19 2008-09-04 Method, device and system of test access equipment configuration identification
AT08800778T ATE534209T1 (de) 2007-09-19 2008-09-04 Verfahren, vorrichtung und system zur identifikation der konfiguration einer testzugangsausrüstung

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710154171.X 2007-09-19
CN200710154171A CN100596080C (zh) 2007-09-19 2007-09-19 为测试接入设备配置标识的方法、设备和系统

Publications (1)

Publication Number Publication Date
WO2009036680A1 true WO2009036680A1 (fr) 2009-03-26

Family

ID=39129453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072266 WO2009036680A1 (fr) 2007-09-19 2008-09-04 Procédé, dispositif et système d'identification de configuration de matériel d'accès d'essai

Country Status (5)

Country Link
EP (1) EP2093935B1 (zh)
CN (1) CN100596080C (zh)
AT (1) ATE534209T1 (zh)
ES (1) ES2375322T3 (zh)
WO (1) WO2009036680A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163134A (zh) * 2019-12-11 2020-05-15 浙江极智通信科技股份有限公司 设备测试方法及系统
CN114238000A (zh) * 2021-12-21 2022-03-25 无锡众星微系统技术有限公司 一种PCIe Switch的端口测试管理方法和装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100596080C (zh) * 2007-09-19 2010-03-24 华为技术有限公司 为测试接入设备配置标识的方法、设备和系统
CN102479165A (zh) * 2010-11-30 2012-05-30 英业达股份有限公司 测试装置的识别码的自动配置方法
CN104038650B (zh) * 2014-05-23 2017-12-29 新华三技术有限公司 一种链路绑定方法和设备
JP6728745B2 (ja) * 2016-02-19 2020-07-22 ヤマハ株式会社 サーバおよびシステム
CN108009102A (zh) * 2016-10-31 2018-05-08 联芯科技有限公司 配置终端设备标识的方法与装置
CN111585838B (zh) * 2020-04-29 2021-12-24 杭州迪普科技股份有限公司 基于vsm系统的分裂检测方法和装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1324522A2 (en) 2001-12-28 2003-07-02 Texas Instruments Incorporated Variable time division multiplex transmission system
CN1720706A (zh) * 2002-12-04 2006-01-11 皇家飞利浦电子股份有限公司 将配置标识符用于传送配置描述
WO2006015350A2 (en) 2004-07-30 2006-02-09 Spirent Communicaitons Of Rockville, Inc. Cable adapter port module
CN1852044A (zh) * 2005-10-17 2006-10-25 华为技术有限公司 一种配置天线设备的方法
CN1968127A (zh) * 2005-11-17 2007-05-23 中兴通讯股份有限公司 电信网络系统中多对象配置的方法
CN101132322A (zh) * 2007-09-19 2008-02-27 华为技术有限公司 为测试接入设备配置标识的方法、设备和系统
CN101262371A (zh) * 2008-04-24 2008-09-10 杭州华三通信技术有限公司 网络设备的配置方法和设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6686759B1 (en) * 2000-11-28 2004-02-03 Cadence Design Systems, Inc. Techniques for testing embedded cores in multi-core integrated circuit designs
US7131033B1 (en) * 2002-06-21 2006-10-31 Cypress Semiconductor Corp. Substrate configurable JTAG ID scheme

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1324522A2 (en) 2001-12-28 2003-07-02 Texas Instruments Incorporated Variable time division multiplex transmission system
CN1720706A (zh) * 2002-12-04 2006-01-11 皇家飞利浦电子股份有限公司 将配置标识符用于传送配置描述
WO2006015350A2 (en) 2004-07-30 2006-02-09 Spirent Communicaitons Of Rockville, Inc. Cable adapter port module
CN1852044A (zh) * 2005-10-17 2006-10-25 华为技术有限公司 一种配置天线设备的方法
CN1968127A (zh) * 2005-11-17 2007-05-23 中兴通讯股份有限公司 电信网络系统中多对象配置的方法
CN101132322A (zh) * 2007-09-19 2008-02-27 华为技术有限公司 为测试接入设备配置标识的方法、设备和系统
CN101262371A (zh) * 2008-04-24 2008-09-10 杭州华三通信技术有限公司 网络设备的配置方法和设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163134A (zh) * 2019-12-11 2020-05-15 浙江极智通信科技股份有限公司 设备测试方法及系统
CN114238000A (zh) * 2021-12-21 2022-03-25 无锡众星微系统技术有限公司 一种PCIe Switch的端口测试管理方法和装置
CN114238000B (zh) * 2021-12-21 2022-11-22 无锡众星微系统技术有限公司 一种PCIe Switch的端口测试管理方法和装置

Also Published As

Publication number Publication date
CN100596080C (zh) 2010-03-24
ATE534209T1 (de) 2011-12-15
CN101132322A (zh) 2008-02-27
EP2093935B1 (en) 2011-11-16
EP2093935A4 (en) 2009-12-02
EP2093935A1 (en) 2009-08-26
ES2375322T3 (es) 2012-02-28

Similar Documents

Publication Publication Date Title
WO2009036680A1 (fr) Procédé, dispositif et système d'identification de configuration de matériel d'accès d'essai
TWI324456B (en) An intelligent automatic setting restoration method and device
US8670349B2 (en) System and method for floating port configuration
CN102761479B (zh) 链路选择方法和装置
CN101682549A (zh) 使用历史连接信息的网络接口选择
JP2011514792A (ja) Mplsネットワークにおいて完全な論理接続を提供するための方法および装置
JPH0366253A (ja) 通信網監視方法およびシステムおよび通信網要素
US7564780B2 (en) Time constrained failure recovery in communication networks
CN105915383A (zh) 远程路由器配置方法
CN117155934B (zh) 一种跨集群通信方法及装置、设备及存储介质
CN108804260A (zh) 一种srio系统倒换的方法和装置
CN110572273A (zh) 一种物理网络自动部署的方法
CN102413052B (zh) 一种接入网络的方法、装置及系统
CN113949649B (zh) 故障检测协议的部署方法、装置、电子设备及存储介质
CN109347687B (zh) 一种基于网络节点故障定位的通信系统及方法
CN104579809B (zh) 一种堆叠分裂的检测方法和设备
US6535991B1 (en) Method and apparatus for providing reliable communications in an intelligent network
CN104683130A (zh) 一种配置堆叠端口的方法和设备
CN105915384A (zh) 路由器主动配置方法
CN101151845B (zh) 多链路帧中继系统物理重定位链路自动再同步方法和装置
US7738362B2 (en) System and method for address notification in a network
CN112217680A (zh) 基于软件定义广域网的控制器能力基准测试方法和装置
CN109981437A (zh) 一种基于vpc的多数据中心互通方法及相关设备
CN111314198B (zh) 一种白盒交换机设置端口ip的方法和设备
CN110224950B (zh) 堆叠系统检测系统、方法、装置及计算机可读存储介质

Legal Events

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

Ref document number: 08800778

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2008800778

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE