WO2017000857A1 - Method and apparatus for testing packet optical transport network board - Google Patents

Method and apparatus for testing packet optical transport network board Download PDF

Info

Publication number
WO2017000857A1
WO2017000857A1 PCT/CN2016/087293 CN2016087293W WO2017000857A1 WO 2017000857 A1 WO2017000857 A1 WO 2017000857A1 CN 2016087293 W CN2016087293 W CN 2016087293W WO 2017000857 A1 WO2017000857 A1 WO 2017000857A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
packet
data packet
optical transport
transport network
Prior art date
Application number
PCT/CN2016/087293
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2017000857A1 publication Critical patent/WO2017000857A1/en

Links

Images

Classifications

    • 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
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0799Monitoring line transmitter or line receiver equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • the present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method and apparatus for testing a packet optical transport network board.
  • the transmission network mainly includes a PTN (PTN Packet Transport Network), an OTN (Optical Transport Network), an MSTP (Multi-Service Transfer Platform), and an SDH-based multi-service transmission platform.
  • PTN Packet Packet Transport Network
  • OTN Optical Transport Network
  • MSTP Multi-Service Transfer Platform
  • SDH SDH-based multi-service transmission platform.
  • a POTN Packet Optical Transport Network in which PTN and OTN are fused.
  • the requirements for the testing of the various boards are also increased.
  • the POTN boards of the related technologies are tested on the POTN board
  • the POTN boards are almost always inside the POTN board.
  • the PTN service and the OTN service are respectively tested, that is, divided into two test processes: the framing chip sends the data packet fed back by the optoelectronic module to the network processing chip, and the framing chip sends the data packet to the switch chip, and respectively tests
  • the PTN service and the OTN service increase the test time, making the POTN board test inefficient.
  • the main purpose of the present application is to provide a method and apparatus for testing a packet optical transport network board, which aims to solve the technical problem of low efficiency when testing a packet optical transport network board.
  • the method for testing a packet optical transport network board includes the following steps:
  • the framing chip Upon receiving the data packet sent by the network processing chip, the framing chip sends the received data packet to the optoelectronic module, so that the optoelectronic module feeds back the light to the framing chip
  • the fiber optic interface of the electrical module performs the data packet of the first loopback test
  • the framing chip Receiving the data packet fed back by the optoelectronic module, the framing chip transmitting the received data packet to the switch chip, so that the switch chip passes the data packet on the backplane side of the switch chip
  • the path performs a second loopback test, and the framing chip receives the data packet that is subjected to the second loopback test feedback through the path on the backplane side of the switch chip;
  • the network processing chip Receiving, by the framing chip, the data packet to the network processing chip when receiving the data packet fed back by the switch chip, the network processing chip passing the data packet through the back of the switch chip
  • the path on the board side performs a third loopback test, and receives a data packet from the switch chip for performing a third loopback test through a path on the backplane side of the switch chip.
  • the data packet is sent by the other packet optical transport network board to the network processing chip via a path on the backplane side of its switch chip.
  • the method for testing a packet optical transport network board further includes:
  • the framing chip outputs an alarm message if the packet abnormality in which the loopback test is performed is detected.
  • the step of outputting the alarm information by the framing chip includes:
  • the packet optical transport network board sends the alarm information to the display terminal, so that the display terminal displays the current circulation status of the packet optical transport network board.
  • the application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
  • the present application further provides an apparatus for testing a packet optical transport network board, and the apparatus for testing a packet optical transport network board includes:
  • the first sending module is configured to: when receiving the data packet sent by the network processing chip, send the received data packet to the optoelectronic module, so that the optoelectronic module feeds back to the framing chip through the optoelectronic device
  • the fiber optic interface of the module performs the data packet of the first loopback test
  • a second sending module configured to: when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, where the switch chip uses the data packet Performing a second loopback test on a path on the backplane side of the switch chip, and the framing chip receives the second loopback test feedback through a path on the backplane side of the switch chip data pack;
  • a third sending module configured to: when receiving a data packet fed back by the switch chip, send the data packet to the network processing chip, where the network processing chip passes the data packet in the switch chip The path on the backplane side performs a third loopback test, and receives a data packet from the switch chip for a third loopback test through a path on the backplane side of the switch chip.
  • the data packet is sent by the other packet optical transport network board to the network processing chip via a path on the backplane side of its switch chip.
  • the device for testing the packet optical transport network board further includes:
  • the output module is configured to cause the framing chip to output alarm information if the packet abnormality in which the loopback test is performed is detected.
  • the output module includes a sending unit, and the sending unit is configured to send the alarm information to the display terminal when the packet optical transport network board is connected to the display terminal, so that the display terminal displays the grouping The current circulation status of the optical transport network board.
  • the present application proposes a method and apparatus for testing a packet optical transport network board, the method comprising: the framing chip transmitting a data packet fed back by the optoelectronic module to the switch chip, wherein the data packet passes through the path of the switch chip on the side of the backplane After performing the second loopback test, the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip, so that the network processing chip processes the data packet, thereby
  • the framing chip, the switch chip, the network processing chip, and the optoelectronic module in the packet optical transport network board are tested, instead of dividing the process of testing the packet optical transport network board into a framing chip to feed back the data packet of the optoelectronic module.
  • the process of sending the packet to the network processing chip and the framing chip to send the data packet to the switch chip reduces the time in the process of testing the packet optical transport network board, thereby improving the test packet optical transport network board
  • FIG. 1 is a flowchart of a method for testing a packet optical transport network board in the first embodiment of the present application
  • FIG. 2 is a block diagram of an apparatus for testing a packet optical transport network board of the present application in a first embodiment thereof.
  • the present application provides a method for testing a packet optical transport network board.
  • FIG. 1 is a flowchart of a method for testing a packet optical transport network board in the first embodiment of the present application.
  • Step S10 when receiving the data packet sent by the network processing chip, the framing chip sends the received data packet to the optoelectronic module, and the optoelectronic module feeds back the optical fiber passing through the optoelectronic module to the framing chip.
  • the data packet of the first loopback test performed by the interface
  • the method for testing the packet optical transport network board includes the internal testing of the packet optical transport network board and the packet optical transport network board and the other packet optical transport network boards for bidirectional testing, testing the packet optical transport network board
  • the method is different, and the manner in which the framing chip sends data packets to the optoelectronic module is also different.
  • the framing chip sends the preset data packet to the optoelectronic module; when the packet optical transport network board performs the bidirectional with the other packet optical transport network boards
  • the framing chip receives the data packet sent by the network processing chip, and then sends the received data packet to the optoelectronic module.
  • the photovoltaic module the optical signal received through the optical fiber interface of the photovoltaic module is converted into an electrical signal according to the photoelectric effect.
  • the network processing chip when detecting the path inside the packet optical transport network board, sends the data packet to the framing chip, and when the framing chip receives the data packet sent by the network processing chip, Receiving the data packet and sending it to the photoelectric module, so that the photoelectric module passes
  • the optical fiber interface performs a first loopback test on the data packet, and after performing the first loopback test, feeds the data packet to the framing chip.
  • Step S20 when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, where the switch chip passes the backplane of the switch chip with the data packet The side path performs a loopback test, and the framing chip receives the data packet that is subjected to the second loopback test feedback through the path on the backplane side of the switch chip;
  • the framing chip upon receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, and the switch chip passes the data packet in the exchange Performing a second loopback test on the path of the backplane side of the chip, and transmitting the data packet that is subjected to the second loopback test feedback on the path of the backplane side of the switch chip to the framing chip,
  • the framing chip sends a data packet to the optoelectronic module
  • the first loopback test is performed by the optoelectronic module, and then fed back to the framing chip, and then the framing chip sends the data packet to the switch chip.
  • the framing chip After the second loopback test is performed on the path of the backplane side of the switch chip, it is received by the framing chip. It can be seen that in the testing method of the related art, the process of detecting the photoelectric module and the switching chip by the framing chip can only detect one side first, and can detect the photoelectric module after detecting one of the photoelectric module and the switching chip. And the other one of the switch chips, it is obvious that the transmission quality of the path of the packet optical transport network board cannot be detected, and therefore, the internal function of the framing chip cannot be detected.
  • the present application detects the interior of the framing chip by detecting the connected framing chip channels.
  • the framing chip and the optoelectronic module of the related art, and the framing chip and the switch chip perform the loopback test at the same time, the clock oscillation is easily caused, and the path detection of the packet optical transport network board is unstable, and the present application passes the framing chip.
  • the data packet is sent to the network processing chip via the optoelectronic module and the switch chip, which avoids clock oscillation and more stably detects the packet optical transport network board.
  • Step S30 when receiving the data packet fed back by the switch chip, the framing chip sends the data packet to a network processing chip, and the network processing chip passes the data packet through the backplane of the switch chip.
  • the side path performs a third loopback test and receives a data packet from the switch chip for a third loopback test through a path on the backplane side of the switch chip.
  • the framing chip when receiving the data packet fed back by the switch chip, the framing chip sends the data packet to the network processing chip, and the network processing chip sends the data packet to the The chip is switched to detect the path between the network processing chip and the framing chip and the switching chip. Place The network processing chip sends the data packet to the switch chip, and the data packet is looped back through the path on the backplane side of the switch chip to detect the path of the network processing chip.
  • the framing chip sends the data packet fed back by the optoelectronic module to the switch chip, and the data packet is subjected to the second loopback by the switch chip through the path on the backplane side thereof.
  • the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip, so that the network processing chip processes the data packet, thereby
  • the framing chip, the switch chip, the network processing chip, and the optoelectronic module in the board are tested, instead of dividing the process of testing the packet optical transport network board into a framing chip, and transmitting the data packet fed back by the optoelectronic module to the network processing chip.
  • the framing chip sends the data packet to the switch chip, which reduces the time in testing the packet optical transport network board, thereby improving the efficiency of testing the packet optical transport network board.
  • the data packet is sent to the network processing chip via a path on the backplane side of its switch chip by other packet optical transport network boards.
  • the framing chip When testing the path between the packet optical transport network board and the other packet optical transport network boards, that is, the data packet is routed by other packet optical transport network boards via the path on the backplane side of the switch chip.
  • the framing chip receives the data packet sent by the other packet optical transport network board through the network processing chip.
  • the data packet is sent to the network processing chip of the packet optical transport network board by a path of the other packet optical transport network board on the backplane side of the switch chip of the packet optical transport network board, and then,
  • the network processing chip sends the data packet to the framing chip, and the framing chip sends the received data packet to the optoelectronic module, and the optoelectronic module feeds back the data packet for performing the first loopback test, and receives the data packet.
  • the framing chip sends the received data packet to the switch chip, and the switch chip passes the data packet to the second loopback test on the path on the backplane side thereof.
  • Transmitting the data packet to the framing chip, and the framing chip sends the data packet to the network processing chip, where the network processing chip passes the path of the data packet on the backplane side of the switch chip.
  • the three loopback tests are sent by the network processing chip to other packet optical transport network boards.
  • the framing chip when the framing chip receives the data packet fed back by the switch chip, Sending the data packet to the network processing chip.
  • the network processing chip sends the data packet to the switch chip, and the switch chip passes through the back of the switch chip of the packet optical transport network board to which it belongs.
  • the path on the board side sends the data packet to other packet optical transport network boards.
  • the second embodiment of the method for testing the packet optical transport network board of the present application is proposed based on the first embodiment.
  • the test packet light is The method for transmitting a network board further includes:
  • the framing chip outputs an alarm message if the packet abnormality in which the corresponding loopback test is performed is detected.
  • the framing chip detects an abnormality of the data packet, such as a packet loss, a frame format error, or a data packet is not circulated, according to the detection.
  • the result is to find the path where the current data packet is located, and analyze the transmission quality of the path. For example, if the location information of the data packet does not change within the preset time interval, it can be known that the path corresponding to the location information of the data packet is the packet light.
  • the path of the transmission quality of the transmission network board is abnormal; optionally, the alarm sound is emitted through the output device, or the blinking signal is sent through the preset LED light.
  • the switch chip, the network processing chip, or the photoelectric module may also output alarm information.
  • a third embodiment of the method for testing a packet optical transport network board of the present application is proposed based on the second embodiment.
  • the step of outputting the alarm information by the framing chip includes:
  • the packet optical transport network board sends the alarm information to the display terminal, so that the display terminal displays the current circulation status of the packet optical transport network board.
  • the packet optical transport network board if an abnormality occurs in the data packet, and the packet optical transport network board is connected to the display terminal, the packet optical transport network board sends the alarm information to the display terminal to
  • the display terminal is configured to display a current circulation state of the packet optical transport network board, such as a path of the open circuit.
  • Embodiments of the present invention further provide a computer readable storage medium storing a computer executable The instructions, when the computer executable instructions are executed, implement the above method.
  • the application also provides an apparatus for testing a packet optical transport network board.
  • FIG. 2 is a block diagram of an apparatus for testing a packet optical transport network board in the first embodiment of the present application.
  • FIG. 2 is only a block diagram of an apparatus for testing a packet optical transport network board in an alternative embodiment, and the test group shown in FIG. 2 is used by those skilled in the art.
  • the function module of the device of the optical transport network board can easily supplement the new function module; the name of each function module is a custom name, which is only used to assist in understanding the various program function blocks of the device of the test packet optical transport network board. It is not intended to limit the technical solution of the present application, and the core of the technical solution of the present application is the function to be achieved by the functional modules of the respective defined names.
  • This embodiment provides an apparatus for testing a packet optical transport network board.
  • the apparatus for testing a packet optical transport network board includes:
  • the first sending module 10 is configured to, when receiving the data packet sent by the network processing chip, send the received data packet to the optoelectronic module, so that the optoelectronic module feeds back to the framing chip
  • the optical fiber interface of the photoelectric module performs the data packet of the first loopback test
  • the method for testing the packet optical transport network board includes the internal testing of the packet optical transport network board and the packet optical transport network board and the other packet optical transport network boards for bidirectional testing, and testing the packet optical transport network board.
  • the method of sending data packets to the optoelectronic module is different.
  • the framing chip sends the preset data packet to the optoelectronic module; when the packet optical transport network board and other packet light are performed
  • the framing chip receives the data packet sent by the network processing chip, and then sends the received data packet to the optoelectronic module.
  • the network processing chip when detecting a path inside the packet optical transport network board, sends the data packet to the first sending module 10, when the framing chip receives the data packet sent by the network processing chip. Sending the received data packet to the optoelectronic module, so that the optoelectronic module performs a first loopback test on the data packet through the optical fiber interface, and after performing the first loopback test, the data packet is fed back to the Frame chip.
  • the second sending module 20 is configured to: when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, where the switch chip passes the data packet The path of the switch chip on the backplane side performs a second loopback test, and the framing chip receives the data packet that is subjected to the second loopback test feedback through the path on the backplane side of the switch chip. ;
  • the framing chip when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, and the switch chip passes the data packet through the switch chip. Performing a second loopback test on the path on the backplane side, and transmitting the data packet that is subjected to the second loopback test feedback on the path of the backplane side of the switch chip to the framing chip.
  • the framing chip sends a data packet to the optoelectronic module
  • the first loopback test is performed by the optoelectronic module, and then fed back to the framing chip, and then the framing chip sends the data packet to the switching chip.
  • the path of the backplane side of the switch chip is received by the framing chip after performing the second loopback test. It can be seen that in the testing method of the related art, the process of detecting the photoelectric module and the switching chip can only detect one side first, and after detecting one of the photoelectric module and the switching chip, the photoelectric module and the switching chip can be detected. The other one, obviously, the transmission quality of the path of the packet optical transport network board cannot be detected, and therefore, the internal function of the framing chip cannot be detected.
  • the present application detects the inside of the framing chip by detecting the channel connecting the framing chips.
  • the framing chip and the optoelectronic module of the related art, and the framing chip and the switch chip perform the loopback test at the same time, the clock oscillation is easily caused, and the path detection of the packet optical transport network board is unstable, and the present application passes the framing chip.
  • the data packet is sent to the network processing chip via the optoelectronic module and the switch chip, which avoids clock oscillation and more stably detects the packet optical transport network board.
  • the third sending module 30 is configured to, when receiving the data packet fed back by the switch chip, send the data packet to the network processing chip, where the network processing chip passes the back packet of the switch chip with the data packet.
  • the side path performs a third loopback test and receives a data packet from the switch chip for a third loopback test through a path on the backplane side of the switch chip.
  • the framing chip when receiving the data packet fed back by the switch chip, sends the data packet to the network processing chip, and the network processing chip sends the data packet to the exchange.
  • Chip to detect the path between the network processing chip and the framing chip and the switching chip.
  • the network processing chip sends the data packet to a switch chip, and the data packet passes through the back of the switch chip The path on the board side is looped back to detect the path of the network processing chip.
  • the framing chip sends the data packet fed back by the optoelectronic module to the switch chip, and the data packet is subjected to the second loopback by the switch chip through the path on the backplane side thereof.
  • the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip, so that the network processing chip processes the data packet, thereby
  • the framing chip, the switch chip, the network processing chip, and the optoelectronic module in the board are tested, instead of dividing the process of testing the packet optical transport network board into a framing chip, and transmitting the data packet fed back by the optoelectronic module to the network processing chip.
  • the framing chip sends the data packet to the switch chip, which reduces the time in testing the packet optical transport network board, thereby improving the efficiency of testing the packet optical transport network board.
  • the data packet is sent to the network processing chip via a path on the backplane side of its switch chip by other packet optical transport network boards.
  • the framing chip receives the data packet sent by the other packet optical transport network board through the network processing chip.
  • the data packet is sent to the network processing chip of the packet optical transport network board by a path of the other packet optical transport network board on the backplane side of the switch chip of the packet optical transport network board, and then,
  • the network processing chip sends the data packet to the framing chip
  • the first sending module 10 sends the received data packet to the optoelectronic module
  • the optoelectronic module feeds back the data packet for performing the first loopback test.
  • the second sending module 20 sends the received data packet to the switch chip, and the switch chip performs the data packet on the path on the backplane side thereof.
  • the data packet is sent to the framing chip, and the framing chip sends the data packet to a network processing chip, and the network processing chip passes the data packet through the switch chip.
  • the path on the backplane side performs a third loopback test and is sent by the network processing chip to other packet optical transport network boards.
  • the framing chip when the framing chip receives the data packet fed back by the switch chip, the data packet is sent to the network processing chip, and at this time, the network processing chip sends the data packet. Sending to the switch chip, the switch chip sends the data packet to other packet optical transport network boards through a path on the backplane side of the switch chip of the packet optical transport network board to which it belongs.
  • the second embodiment of the apparatus for testing the packet optical transport network board of the present application is proposed based on the first embodiment of the apparatus for testing the packet optical transport network board,
  • the device for testing a packet optical transport network board further includes:
  • the output module is configured to cause the framing chip to output alarm information if the packet abnormality for performing the loopback test is detected.
  • the current data packet is searched according to the detected result.
  • the path of the path and analyzes the transmission quality of the path. For example, the location information of the data packet does not change during the preset time interval. It can be known that the path corresponding to the location information of the data packet is the transmission of the packet optical transport network board.
  • the third embodiment of the apparatus for testing the packet optical transport network board of the present application is proposed based on the second embodiment.
  • the output module The sending unit is configured to send the alarm information to the display terminal when the packet optical transport network board is connected to the display terminal, so that the display terminal displays the current circulation of the packet optical transport network board status.
  • the packet optical transport network board if an abnormality occurs in the data packet, and the packet optical transport network board is connected to the display terminal, the packet optical transport network board sends the alarm information to the display terminal to
  • the display terminal is configured to display a current circulation state of the packet optical transport network board, such as a path of the open circuit.
  • the foregoing embodiment method 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 better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present application.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • the present application provides a method and apparatus for testing a packet optical transport network board, the method comprising: the framing chip transmitting a data packet fed back by the optoelectronic module to the switch chip, where the data packet is passed by the switch chip After the second loopback test is performed on the path of the backplane side, the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip for the network processing chip to The data packet is processed to test the framing chip, the switch chip, the network processing chip, and the optoelectronic module in the packet optical transport network board; the time in testing the packet optical transport network board is reduced, Thereby, the efficiency of testing the packet optical transport network board is improved.

Abstract

Disclosed are a method and apparatus for testing a packet optical transport network board. The method comprises: when receiving a packet sent by a network processing chip, a framing chip sends the received packet to a photoelectric module, and the photoelectric module feeds back the packet having undergone a first loopback test conducted by using a fiber interface of the photoelectric module, to the framing chip; when receiving the packet fed back by the photoelectric module, the framing chip sends the received packet to a switch chip, and the switch chip conducts a second loopback test on the packet in a path on a back board side of the switch board; and when receiving the packet fed back by the switch chip, the framing chip sends the packet to the network processing chip, and the network processing chip conducts a third loopback test on the packet in the path on the back board side of the switch chip. By means of the foregoing solutions, efficiency in testing a packet optical transport network board is improved.

Description

测试分组光传送网单板的方法和装置Method and apparatus for testing packet optical transport network boards 技术领域Technical field
本申请涉及但不限于通信技术领域,特别是一种测试分组光传送网单板的方法和装置。The present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method and apparatus for testing a packet optical transport network board.
背景技术Background technique
在通信技术领域中,传送网络主要有PTN(PTN Packet Transport Network,分组传送网)、OTN(Optical Transport Network,光传送网)、MSTP(Multi-Service Transfer Platform,基于SDH的多业务传送平台)以及PTN和OTN进行融合的POTN(Packet Optical Transport Network,分组光传送网)等。In the field of communication technology, the transmission network mainly includes a PTN (PTN Packet Transport Network), an OTN (Optical Transport Network), an MSTP (Multi-Service Transfer Platform), and an SDH-based multi-service transmission platform. A POTN (Packet Optical Transport Network) in which PTN and OTN are fused.
随着电子通信产品的快速发展,对各种单板测试的要求也随之增加,相关技术的POTN单板在传输网络时,在对POTN单板的测试时,几乎都是对POTN单板内部的PTN业务和OTN业务分别进行测试的,即分为两个测试过程:成帧芯片将光电模块反馈的数据包发送给网络处理芯片,以及成帧芯片将数据包发送给交换芯片,而分别测试PTN业务和OTN业务会增加测试的时间,使得POTN单板的测试效率低。With the rapid development of the electronic communication products, the requirements for the testing of the various boards are also increased. When the POTN boards of the related technologies are tested on the POTN board, the POTN boards are almost always inside the POTN board. The PTN service and the OTN service are respectively tested, that is, divided into two test processes: the framing chip sends the data packet fed back by the optoelectronic module to the network processing chip, and the framing chip sends the data packet to the switch chip, and respectively tests The PTN service and the OTN service increase the test time, making the POTN board test inefficient.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本申请的主要目的在于提出一种测试分组光传送网单板的方法和装置,旨在解决测试分组光传送网单板时效率低的技术问题。The main purpose of the present application is to provide a method and apparatus for testing a packet optical transport network board, which aims to solve the technical problem of low efficiency when testing a packet optical transport network board.
为实现上述目的,本申请提供的测试分组光传送网单板的方法,包括以下步骤:To achieve the above objective, the method for testing a packet optical transport network board provided by the present application includes the following steps:
在接收到由网络处理芯片发送的数据包时,成帧芯片将接收到的所述数据包发送给光电模块,以使得所述光电模块向所述成帧芯片反馈经过所述光 电模块的光纤接口进行第一环回测试的数据包;Upon receiving the data packet sent by the network processing chip, the framing chip sends the received data packet to the optoelectronic module, so that the optoelectronic module feeds back the light to the framing chip The fiber optic interface of the electrical module performs the data packet of the first loopback test;
在接收到光电模块反馈的数据包时,所述成帧芯片将接收到的所述数据包发送给交换芯片,以供所述交换芯片以所述数据包经过在所述交换芯片的背板侧的路径进行第二环回测试,并且所述成帧芯片接收经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包;Receiving the data packet fed back by the optoelectronic module, the framing chip transmitting the received data packet to the switch chip, so that the switch chip passes the data packet on the backplane side of the switch chip The path performs a second loopback test, and the framing chip receives the data packet that is subjected to the second loopback test feedback through the path on the backplane side of the switch chip;
在接收到由所述交换芯片反馈的数据包时,所述成帧芯片将所述数据包发送给所述网络处理芯片,所述网络处理芯片以所述数据包经在所述交换芯片的背板侧的路径进行第三环回测试,并从所述交换芯片接收经过在所述交换芯片的背板侧的路径进行第三环回测试的数据包。Receiving, by the framing chip, the data packet to the network processing chip when receiving the data packet fed back by the switch chip, the network processing chip passing the data packet through the back of the switch chip The path on the board side performs a third loopback test, and receives a data packet from the switch chip for performing a third loopback test through a path on the backplane side of the switch chip.
可选地,所述数据包由其它分组光传送网单板经由在其交换芯片的背板侧的路径发送至所述网络处理芯片。Optionally, the data packet is sent by the other packet optical transport network board to the network processing chip via a path on the backplane side of its switch chip.
可选地,所述测试分组光传送网单板的方法还包括:Optionally, the method for testing a packet optical transport network board further includes:
若检测到进行了环回测试的所述数据包异常,所述成帧芯片输出告警信息。The framing chip outputs an alarm message if the packet abnormality in which the loopback test is performed is detected.
可选地,当所述分组光传送网单板连接显示终端时,所述成帧芯片输出告警信息的步骤包括:Optionally, when the packet optical transport network board is connected to the display terminal, the step of outputting the alarm information by the framing chip includes:
所述分组光传送网单板将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态。The packet optical transport network board sends the alarm information to the display terminal, so that the display terminal displays the current circulation status of the packet optical transport network board.
本申请另外提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述方法。The application further provides a computer readable storage medium storing computer executable instructions that are implemented when the computer executable instructions are executed.
此外,为实现上述目的,本申请还提出一种测试分组光传送网单板的装置,所述测试分组光传送网单板的装置包括:In addition, in order to achieve the above object, the present application further provides an apparatus for testing a packet optical transport network board, and the apparatus for testing a packet optical transport network board includes:
第一发送模块,设置成在接收到由网络处理芯片发送的数据包时,将接收到的所述数据包发送给光电模块,以使得所述光电模块向所述成帧芯片反馈经过所述光电模块的光纤接口进行第一环回测试的数据包;The first sending module is configured to: when receiving the data packet sent by the network processing chip, send the received data packet to the optoelectronic module, so that the optoelectronic module feeds back to the framing chip through the optoelectronic device The fiber optic interface of the module performs the data packet of the first loopback test;
第二发送模块,设置成在接收到光电模块反馈的数据包时,所述成帧芯片将接收到的所述数据包发送给交换芯片,以供所述交换芯片以所述数据包 经过在所述交换芯片的背板侧的路径进行第二环回测试,并且所述成帧芯片接收经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包;a second sending module, configured to: when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, where the switch chip uses the data packet Performing a second loopback test on a path on the backplane side of the switch chip, and the framing chip receives the second loopback test feedback through a path on the backplane side of the switch chip data pack;
第三发送模块,设置成在接收到由所述交换芯片反馈的数据包时,将所述数据包发送给所述网络处理芯片,所述网络处理芯片以所述数据包经在所述交换芯片的背板侧的路径进行第三环回测试,并从所述交换芯片接收经过在所述交换芯片的背板侧的路径进行第三环回测试的数据包。a third sending module, configured to: when receiving a data packet fed back by the switch chip, send the data packet to the network processing chip, where the network processing chip passes the data packet in the switch chip The path on the backplane side performs a third loopback test, and receives a data packet from the switch chip for a third loopback test through a path on the backplane side of the switch chip.
可选地,所述数据包由其它分组光传送网单板经由在其交换芯片的背板侧的路径发送至所述网络处理芯片。Optionally, the data packet is sent by the other packet optical transport network board to the network processing chip via a path on the backplane side of its switch chip.
可选地,所述测试分组光传送网单板的装置还包括:Optionally, the device for testing the packet optical transport network board further includes:
输出模块,设置成若检测到进行了环回测试的所述数据包异常,使所述成帧芯片输出告警信息。The output module is configured to cause the framing chip to output alarm information if the packet abnormality in which the loopback test is performed is detected.
可选地,所述输出模块包括发送单元,所述发送单元设置成当所述分组光传送网单板连接显示终端时,将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态。Optionally, the output module includes a sending unit, and the sending unit is configured to send the alarm information to the display terminal when the packet optical transport network board is connected to the display terminal, so that the display terminal displays the grouping The current circulation status of the optical transport network board.
本申请提出了测试分组光传送网单板的方法和装置,该方法包括:成帧芯片将光电模块反馈的数据包发送给交换芯片,所述数据包由交换芯片经过在其背板侧的路径进行第二环回测试后反馈给所述成帧芯片,然后所述成帧芯片再将所述数据包发送给网络处理芯片,以供所述网络处理芯片对所述数据包进行处理,从而对分组光传送网单板中的所述成帧芯片、交换芯片、网络处理芯片以及光电模块进行测试,而不是将测试分组光传送网单板的过程分为成帧芯片将光电模块反馈的数据包发送给网络处理芯片,以及成帧芯片将数据包发送给交换芯片这两个过程,减小了在测试分组光传送网单板的过程中的时间,从而提高了测试分组光传送网单板的效率。The present application proposes a method and apparatus for testing a packet optical transport network board, the method comprising: the framing chip transmitting a data packet fed back by the optoelectronic module to the switch chip, wherein the data packet passes through the path of the switch chip on the side of the backplane After performing the second loopback test, the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip, so that the network processing chip processes the data packet, thereby The framing chip, the switch chip, the network processing chip, and the optoelectronic module in the packet optical transport network board are tested, instead of dividing the process of testing the packet optical transport network board into a framing chip to feed back the data packet of the optoelectronic module. The process of sending the packet to the network processing chip and the framing chip to send the data packet to the switch chip reduces the time in the process of testing the packet optical transport network board, thereby improving the test packet optical transport network board. effectiveness.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述 BRIEF abstract
图1为本申请的测试分组光传送网单板的方法在其第一实施例中的流程图;1 is a flowchart of a method for testing a packet optical transport network board in the first embodiment of the present application;
图2为本申请的测试分组光传送网单板的装置在其第一实施例中的框图。2 is a block diagram of an apparatus for testing a packet optical transport network board of the present application in a first embodiment thereof.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
本发明的较佳实施方式Preferred embodiment of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本申请提供一种测试分组光传送网单板的方法。The present application provides a method for testing a packet optical transport network board.
参照图1,图1为本申请的测试分组光传送网单板的方法在其第一实施例中的流程图。Referring to FIG. 1, FIG. 1 is a flowchart of a method for testing a packet optical transport network board in the first embodiment of the present application.
本实施例提出的测试分组光传送网单板的方法,包括:The method for testing a packet optical transport network board according to this embodiment includes:
步骤S10,在接收到由网络处理芯片发送的数据包时,成帧芯片将接收到的所述数据包发送给光电模块,所述光电模块向所述成帧芯片反馈经过所述光电模块的光纤接口进行第一环回测试的数据包;Step S10, when receiving the data packet sent by the network processing chip, the framing chip sends the received data packet to the optoelectronic module, and the optoelectronic module feeds back the optical fiber passing through the optoelectronic module to the framing chip. The data packet of the first loopback test performed by the interface;
在这一步骤中,测试分组光传送网单板的方法包括分组光传送网单板内部测试以及分组光传送网单板与其它分组光传送网单板进行双向测试,测试分组光传送网单板的方法不同,成帧芯片向所述光电模块发送数据包的方式也随之不同。当进行所述分组光传送网单板内部测试时,成帧芯片将预设的数据包发送给所述光电模块;当进行所述分组光传送网单板与其它分组光传送网单板进行双向测试时,所述成帧芯片接收网络处理芯片发送的数据包,再将接收到的所述数据包发送给所述光电模块。在此,在光电模块中,将通过光电模块的光纤接口接收的光信号根据光电效应转换为电信号。In this step, the method for testing the packet optical transport network board includes the internal testing of the packet optical transport network board and the packet optical transport network board and the other packet optical transport network boards for bidirectional testing, testing the packet optical transport network board The method is different, and the manner in which the framing chip sends data packets to the optoelectronic module is also different. When performing the internal testing of the packet optical transport network board, the framing chip sends the preset data packet to the optoelectronic module; when the packet optical transport network board performs the bidirectional with the other packet optical transport network boards During the test, the framing chip receives the data packet sent by the network processing chip, and then sends the received data packet to the optoelectronic module. Here, in the photovoltaic module, the optical signal received through the optical fiber interface of the photovoltaic module is converted into an electrical signal according to the photoelectric effect.
在这一步骤中,当对分组光传送网单板内部的路径进行检测时,网络处理芯片将所述数据包发送给成帧芯片,当成帧芯片接收到网络处理芯片发送的数据包时,将接收到的所述数据包发送给光电模块,以使得光电模块经过 其光纤接口对所述数据包进行第一环回测试,并在进行第一环回测试后,将数据包反馈给成帧芯片。In this step, when detecting the path inside the packet optical transport network board, the network processing chip sends the data packet to the framing chip, and when the framing chip receives the data packet sent by the network processing chip, Receiving the data packet and sending it to the photoelectric module, so that the photoelectric module passes The optical fiber interface performs a first loopback test on the data packet, and after performing the first loopback test, feeds the data packet to the framing chip.
步骤S20,在接收到光电模块反馈的数据包时,所述成帧芯片将接收到的所述数据包发送给交换芯片,所述交换芯片以所述数据包经过在所述交换芯片的背板侧的路径进行环回测试,并且所述成帧芯片接收经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包;Step S20, when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, where the switch chip passes the backplane of the switch chip with the data packet The side path performs a loopback test, and the framing chip receives the data packet that is subjected to the second loopback test feedback through the path on the backplane side of the switch chip;
在这一步骤中,在接收到由光电模块反馈的数据包时,所述成帧芯片将接收到的所述数据包发送给交换芯片,所述交换芯片以所述数据包经过在所述交换芯片的背板侧的路径进行第二环回测试,并且将经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包发送至所述成帧芯片,而在相关技术的单板测试方法中,当成帧芯片向光电模块发出数据包时,经光电模块进行第一环回测试后反馈到成帧芯片,再由成帧芯片向交换芯片发送数据包,经在交换芯片的背板侧的路径进行第二环回测试后,由成帧芯片接收。可以看出,相关技术的测试方法中,成帧芯片检测光电模块与交换芯片的过程,只能先检测其中的一侧,在检测完光电模块和交换芯片的其中之一后,才能检测光电模块和交换芯片中的另外一个,显然,分组光传送网单板这条路径的传输质量无法检测,因此,对成帧芯片的内部功能无法检测。而本申请通过检测连通的成帧芯片通道,检测了成帧芯片的内部。而且,相关技术的成帧芯片与光电模块,以及成帧芯片和交换芯片同时进行环回测试时,容易引起时钟振荡,导致分组光传送网单板的路径检测不稳定,本申请通过成帧芯片经由光电模块、以及交换芯片将数据包发给网络处理芯片,避免了时钟振荡,更加稳定地检测分组光传送网单板。In this step, upon receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, and the switch chip passes the data packet in the exchange Performing a second loopback test on the path of the backplane side of the chip, and transmitting the data packet that is subjected to the second loopback test feedback on the path of the backplane side of the switch chip to the framing chip, In the board test method of the related art, when the framing chip sends a data packet to the optoelectronic module, the first loopback test is performed by the optoelectronic module, and then fed back to the framing chip, and then the framing chip sends the data packet to the switch chip. After the second loopback test is performed on the path of the backplane side of the switch chip, it is received by the framing chip. It can be seen that in the testing method of the related art, the process of detecting the photoelectric module and the switching chip by the framing chip can only detect one side first, and can detect the photoelectric module after detecting one of the photoelectric module and the switching chip. And the other one of the switch chips, it is obvious that the transmission quality of the path of the packet optical transport network board cannot be detected, and therefore, the internal function of the framing chip cannot be detected. The present application detects the interior of the framing chip by detecting the connected framing chip channels. Moreover, when the framing chip and the optoelectronic module of the related art, and the framing chip and the switch chip perform the loopback test at the same time, the clock oscillation is easily caused, and the path detection of the packet optical transport network board is unstable, and the present application passes the framing chip. The data packet is sent to the network processing chip via the optoelectronic module and the switch chip, which avoids clock oscillation and more stably detects the packet optical transport network board.
步骤S30,在接收到由所述交换芯片反馈的数据包时,所述成帧芯片将所述数据包发送给网络处理芯片,所述网络处理芯片以所述数据包经在交换芯片的背板侧的路径进行第三环回测试,并从所述交换芯片接收经过在所述交换芯片的背板侧的路径进行第三环回测试的数据包。Step S30, when receiving the data packet fed back by the switch chip, the framing chip sends the data packet to a network processing chip, and the network processing chip passes the data packet through the backplane of the switch chip. The side path performs a third loopback test and receives a data packet from the switch chip for a third loopback test through a path on the backplane side of the switch chip.
在本步骤中,在接收到由所述交换芯片反馈的数据包时,所述成帧芯片将所述数据包发送给网络处理芯片,所述网络处理芯片再将所述数据包发送给所述交换芯片,以检测网络处理芯片与成帧芯片和交换芯片之间路径。所 述网络处理芯片将所述数据包发送给交换芯片,数据包经在所述交换芯片的背板侧的路径进行环回测试,以检测网络处理芯片的路径。In this step, when receiving the data packet fed back by the switch chip, the framing chip sends the data packet to the network processing chip, and the network processing chip sends the data packet to the The chip is switched to detect the path between the network processing chip and the framing chip and the switching chip. Place The network processing chip sends the data packet to the switch chip, and the data packet is looped back through the path on the backplane side of the switch chip to detect the path of the network processing chip.
本实施例提出的测试分组光传送网单板的方法,成帧芯片将光电模块反馈的数据包发送给交换芯片,所述数据包由交换芯片经过在其背板侧的路径进行第二环回测试后反馈给所述成帧芯片,然后所述成帧芯片再将所述数据包发送给网络处理芯片,以供所述网络处理芯片对所述数据包进行处理,从而对分组光传送网单板中的所述成帧芯片、交换芯片、网络处理芯片以及光电模块进行测试,而不是将测试分组光传送网单板的过程分为成帧芯片将光电模块反馈的数据包发送给网络处理芯片,以及成帧芯片将数据包发送给交换芯片这两个过程,减小了在测试分组光传送网单板的过程中的时间,从而提高了测试分组光传送网单板的效率。The method for testing a packet optical transport network board according to the embodiment, the framing chip sends the data packet fed back by the optoelectronic module to the switch chip, and the data packet is subjected to the second loopback by the switch chip through the path on the backplane side thereof. After the test, the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip, so that the network processing chip processes the data packet, thereby The framing chip, the switch chip, the network processing chip, and the optoelectronic module in the board are tested, instead of dividing the process of testing the packet optical transport network board into a framing chip, and transmitting the data packet fed back by the optoelectronic module to the network processing chip. And the framing chip sends the data packet to the switch chip, which reduces the time in testing the packet optical transport network board, thereby improving the efficiency of testing the packet optical transport network board.
可选地,为了更灵活地测试分组光传送网单板,所述数据包由其它分组光传送网单板经由在其交换芯片的背板侧的路径发送至所述网络处理芯片。Optionally, in order to test the packet optical transport network board more flexibly, the data packet is sent to the network processing chip via a path on the backplane side of its switch chip by other packet optical transport network boards.
当测试分组光传送网单板与其它分组光传送网单板之间的路径时,也就是所述数据包是由其它分组光传送网单板经由在其交换芯片的背板侧的路径向本分组光传送网单板发送的数据包时,成帧芯片经过网络处理芯片接收由其它分组光传送网单板发送的数据包。When testing the path between the packet optical transport network board and the other packet optical transport network boards, that is, the data packet is routed by other packet optical transport network boards via the path on the backplane side of the switch chip. When the data packet sent by the optical transport network board is transmitted, the framing chip receives the data packet sent by the other packet optical transport network board through the network processing chip.
所述数据包由其它分组光传送网单板经在本分组光传送网单板的交换芯片的所述背板侧的路径发送至本分组光传送网单板的所述网络处理芯片,然后,所述网络处理芯片将所述数据包发送给成帧芯片,成帧芯片将接收到的所述数据包发送给光电模块,所述光电模块反馈进行第一环回测试的数据包,在接收到光电模块反馈的数据包时,成帧芯片将接收到的所述数据包发送给交换芯片,所述交换芯片将所述数据包经由在其背板侧的路径进行第二环回测试后将所述数据包发送至所述成帧芯片,所述成帧芯片再将所述数据包发送给网络处理芯片,所述网络处理芯片将所述数据包经在交换芯片的背板侧的路径进行第三环回测试,并由所述网络处理芯片发送给其它分组光传送网单板。And the data packet is sent to the network processing chip of the packet optical transport network board by a path of the other packet optical transport network board on the backplane side of the switch chip of the packet optical transport network board, and then, The network processing chip sends the data packet to the framing chip, and the framing chip sends the received data packet to the optoelectronic module, and the optoelectronic module feeds back the data packet for performing the first loopback test, and receives the data packet. When the optoelectronic module feeds back the data packet, the framing chip sends the received data packet to the switch chip, and the switch chip passes the data packet to the second loopback test on the path on the backplane side thereof. Transmitting the data packet to the framing chip, and the framing chip sends the data packet to the network processing chip, where the network processing chip passes the path of the data packet on the backplane side of the switch chip. The three loopback tests are sent by the network processing chip to other packet optical transport network boards.
在本实施例中,所述成帧芯片在接收到所述交换芯片反馈的数据包时, 将所述数据包发送给网络处理芯片,此时,所述网络处理芯片将所述数据包发送给所述交换芯片,所述交换芯片经过其所属的分组光传送网单板的交换芯片的背板侧的路径将所述数据包发送给其它分组光传送网单板。In this embodiment, when the framing chip receives the data packet fed back by the switch chip, Sending the data packet to the network processing chip. At this time, the network processing chip sends the data packet to the switch chip, and the switch chip passes through the back of the switch chip of the packet optical transport network board to which it belongs. The path on the board side sends the data packet to other packet optical transport network boards.
可选地,为了更灵活地测试分组光传送网单板,基于第一实施例提出本申请的测试分组光传送网单板的方法的第二实施例,在本实施例,所述测试分组光传送网单板的方法还包括:Optionally, in order to test the packet optical transport network board more flexibly, the second embodiment of the method for testing the packet optical transport network board of the present application is proposed based on the first embodiment. In this embodiment, the test packet light is The method for transmitting a network board further includes:
若检测到进行了对应的环回测试的所述数据包异常,成帧芯片输出告警信息。The framing chip outputs an alarm message if the packet abnormality in which the corresponding loopback test is performed is detected.
在本实施例中,在数据包传输过程中,所述成帧芯片在检测到所述数据包的异常,如数据包出现丢包、帧格式错误,或者数据包没有流通的情况时,根据检测的结果查找当前数据包所在的路径,并分析所述路径的传输质量,如预设时间间隔内数据包的位置信息没有发生变化,可获知此时数据包的位置信息对应的路径即为分组光传送网单板的传输质量异常的路径;可选地,通过输出设备发出警鸣声,或通过预设的led灯发送闪烁信号。In this embodiment, during the data packet transmission process, the framing chip detects an abnormality of the data packet, such as a packet loss, a frame format error, or a data packet is not circulated, according to the detection. The result is to find the path where the current data packet is located, and analyze the transmission quality of the path. For example, if the location information of the data packet does not change within the preset time interval, it can be known that the path corresponding to the location information of the data packet is the packet light. The path of the transmission quality of the transmission network board is abnormal; optionally, the alarm sound is emitted through the output device, or the blinking signal is sent through the preset LED light.
需要说明的是,若检测到进行了对应的环回测试的所述数据包异常,所述交换芯片、网络处理芯片或光电模块也可以输出告警信息。It should be noted that, if the data packet abnormality of the corresponding loopback test is detected, the switch chip, the network processing chip, or the photoelectric module may also output alarm information.
可选地,为了更灵活地测试分组光传送网单板,基于第二实施例提出本申请的测试分组光传送网单板的方法的第三实施例,在本实施例中,当所述分组光传送网单板连接显示终端时,成帧芯片输出告警信息的步骤包括:Optionally, in order to test the packet optical transport network board more flexibly, a third embodiment of the method for testing a packet optical transport network board of the present application is proposed based on the second embodiment. In this embodiment, when the packet is When the optical transport network board is connected to the display terminal, the step of outputting the alarm information by the framing chip includes:
所述分组光传送网单板将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态。The packet optical transport network board sends the alarm information to the display terminal, so that the display terminal displays the current circulation status of the packet optical transport network board.
在本实施例中,若检测到所述数据包出现异常情况,且所述分组光传送网单板连接显示终端时,所述分组光传送网单板将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态,如断路的路径。In this embodiment, if an abnormality occurs in the data packet, and the packet optical transport network board is connected to the display terminal, the packet optical transport network board sends the alarm information to the display terminal to The display terminal is configured to display a current circulation state of the packet optical transport network board, such as a path of the open circuit.
本发明实施例另外提供一种计算机可读存储介质,存储有计算机可执行 指令,所述计算机可执行指令被执行时实现上述方法。Embodiments of the present invention further provide a computer readable storage medium storing a computer executable The instructions, when the computer executable instructions are executed, implement the above method.
本申请还提供一种测试分组光传送网单板的装置。The application also provides an apparatus for testing a packet optical transport network board.
参照图2,图2为本申请的测试分组光传送网单板的装置在其第一实施例中的框图。Referring to FIG. 2, FIG. 2 is a block diagram of an apparatus for testing a packet optical transport network board in the first embodiment of the present application.
需要强调的是,对本领域的技术人员来说,图2仅仅是在一个可选实施例中的测试分组光传送网单板的装置的框图,本领域的技术人员围绕图2所示的测试分组光传送网单板的装置的功能模块,可轻易补充新的功能模块;各功能模块的名称是自定义名称,仅用于辅助理解该测试分组光传送网单板的装置的各个程序功能块,不用于限定本申请的技术方案,本申请技术方案的核心是各自定义名称的功能模块所要达成的功能。It should be emphasized that, for those skilled in the art, FIG. 2 is only a block diagram of an apparatus for testing a packet optical transport network board in an alternative embodiment, and the test group shown in FIG. 2 is used by those skilled in the art. The function module of the device of the optical transport network board can easily supplement the new function module; the name of each function module is a custom name, which is only used to assist in understanding the various program function blocks of the device of the test packet optical transport network board. It is not intended to limit the technical solution of the present application, and the core of the technical solution of the present application is the function to be achieved by the functional modules of the respective defined names.
本实施例提出一种测试分组光传送网单板的装置,所述测试分组光传送网单板的装置包括:This embodiment provides an apparatus for testing a packet optical transport network board. The apparatus for testing a packet optical transport network board includes:
第一发送模块10,设置成在接收到由网络处理芯片发送的数据包时,将接收到的所述数据包发送给光电模块,以使得所述光电模块向所述成帧芯片反馈经过所述光电模块的光纤接口进行第一环回测试的数据包;The first sending module 10 is configured to, when receiving the data packet sent by the network processing chip, send the received data packet to the optoelectronic module, so that the optoelectronic module feeds back to the framing chip The optical fiber interface of the photoelectric module performs the data packet of the first loopback test;
在本实施例中,测试分组光传送网单板的方法包括分组光传送网单板内部测试以及分组光传送网单板与其它分组光传送网单板进行双向测试,测试分组光传送网单板的方法不同,向所述光电模块发送数据包的方式也随之不同。当进行所述分组光传送网单板的测试方式为单板内部测试时,成帧芯片将预设的数据包发送给所述光电模块;当进行所述分组光传送网单板与其他分组光传送网单板进行双向测试时,所述成帧芯片接收网络处理芯片发送的数据包,再将接收到的所述数据包发送给所述光电模块。In this embodiment, the method for testing the packet optical transport network board includes the internal testing of the packet optical transport network board and the packet optical transport network board and the other packet optical transport network boards for bidirectional testing, and testing the packet optical transport network board. The method of sending data packets to the optoelectronic module is different. When the test mode of the packet optical transport network board is the internal test of the board, the framing chip sends the preset data packet to the optoelectronic module; when the packet optical transport network board and other packet light are performed When the transport network board performs bidirectional testing, the framing chip receives the data packet sent by the network processing chip, and then sends the received data packet to the optoelectronic module.
在本实施例中,当对分组光传送网单板内部的路径进行检测时,网络处理芯片将所述数据包发送给第一发送模块10,当成帧芯片接收到网络处理芯片发送的数据包时,将接收到的所述数据包发送给光电模块,以使得光电模块经过其光纤接口对所述数据包进行第一环回测试,并在进行第一环回测试后,将数据包反馈给成帧芯片。 In this embodiment, when detecting a path inside the packet optical transport network board, the network processing chip sends the data packet to the first sending module 10, when the framing chip receives the data packet sent by the network processing chip. Sending the received data packet to the optoelectronic module, so that the optoelectronic module performs a first loopback test on the data packet through the optical fiber interface, and after performing the first loopback test, the data packet is fed back to the Frame chip.
第二发送模块20,设置成在接收到光电模块反馈的数据包时,所述成帧芯片将接收到的所述数据包发送给交换芯片,以供所述交换芯片以所述数据包经过在所述交换芯片的背板侧的路径进行第二环回测试,并且所述成帧芯片接收经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包;The second sending module 20 is configured to: when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, where the switch chip passes the data packet The path of the switch chip on the backplane side performs a second loopback test, and the framing chip receives the data packet that is subjected to the second loopback test feedback through the path on the backplane side of the switch chip. ;
在本实施例中,在接收到由光电模块反馈的数据包时,成帧芯片将接收到的所述数据包发送给交换芯片,所述交换芯片以所述数据包经过在所述交换芯片的背板侧的路径进行第二环回测试,并且将经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包发送至所述成帧芯片,而在相关技术的单板测试方法中,当成帧芯片向光电模块发出数据包时,经光电模块进行第一环回测试后反馈到成帧芯片,再由成帧芯片向交换芯片发送数据包,经在交换芯片的背板侧的路径进行第二环回测试后,由成帧芯片接收。可以看出,相关技术的测试方法中,检测光电模块与交换芯片的过程,只能先检测其中的一侧,在检测完光电模块和交换芯片的其中之一后,才能检测光电模块和交换芯片之中的另外一个,显然,分组光传送网单板这条路径的传输质量无法检测,因此,对成帧芯片的内部功能无法检测。而本申请通过检测连通成帧芯片的通道,检测了成帧芯片的内部。而且,相关技术的成帧芯片与光电模块,以及成帧芯片和交换芯片同时进行环回测试时,容易引起时钟振荡,导致分组光传送网单板的路径检测不稳定,本申请通过成帧芯片经由光电模块以及交换芯片将数据包发给网络处理芯片,避免了时钟振荡,更加稳定地检测分组光传送网单板。In this embodiment, when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, and the switch chip passes the data packet through the switch chip. Performing a second loopback test on the path on the backplane side, and transmitting the data packet that is subjected to the second loopback test feedback on the path of the backplane side of the switch chip to the framing chip, In the board testing method of the related art, when the framing chip sends a data packet to the optoelectronic module, the first loopback test is performed by the optoelectronic module, and then fed back to the framing chip, and then the framing chip sends the data packet to the switching chip. The path of the backplane side of the switch chip is received by the framing chip after performing the second loopback test. It can be seen that in the testing method of the related art, the process of detecting the photoelectric module and the switching chip can only detect one side first, and after detecting one of the photoelectric module and the switching chip, the photoelectric module and the switching chip can be detected. The other one, obviously, the transmission quality of the path of the packet optical transport network board cannot be detected, and therefore, the internal function of the framing chip cannot be detected. The present application detects the inside of the framing chip by detecting the channel connecting the framing chips. Moreover, when the framing chip and the optoelectronic module of the related art, and the framing chip and the switch chip perform the loopback test at the same time, the clock oscillation is easily caused, and the path detection of the packet optical transport network board is unstable, and the present application passes the framing chip. The data packet is sent to the network processing chip via the optoelectronic module and the switch chip, which avoids clock oscillation and more stably detects the packet optical transport network board.
第三发送模块30,设置成在接收到由所述交换芯片反馈的数据包时,将所述数据包发送给网络处理芯片,所述网络处理芯片以所述数据包经在交换芯片的背板侧的路径进行第三环回测试,并从所述交换芯片接收经过在所述交换芯片的背板侧的路径进行第三环回测试的数据包。The third sending module 30 is configured to, when receiving the data packet fed back by the switch chip, send the data packet to the network processing chip, where the network processing chip passes the back packet of the switch chip with the data packet The side path performs a third loopback test and receives a data packet from the switch chip for a third loopback test through a path on the backplane side of the switch chip.
在本实施例中,在接收到由所述交换芯片反馈的数据包时,成帧芯片将所述数据包发送给网络处理芯片,所述网络处理芯片再将所述数据包发送给所述交换芯片,以检测网络处理芯片与成帧芯片和交换芯片之间路径。所述网络处理芯片将所述数据包发送给交换芯片,数据包经在所述交换芯片的背 板侧的路径进行环回测试,以检测网络处理芯片的路径。In this embodiment, when receiving the data packet fed back by the switch chip, the framing chip sends the data packet to the network processing chip, and the network processing chip sends the data packet to the exchange. Chip to detect the path between the network processing chip and the framing chip and the switching chip. The network processing chip sends the data packet to a switch chip, and the data packet passes through the back of the switch chip The path on the board side is looped back to detect the path of the network processing chip.
本实施例提出的测试分组光传送网单板的装置,成帧芯片将光电模块反馈的数据包发送给交换芯片,所述数据包由交换芯片经过在其背板侧的路径进行第二环回测试后反馈给所述成帧芯片,然后所述成帧芯片再将所述数据包发送给网络处理芯片,以供所述网络处理芯片对所述数据包进行处理,从而对分组光传送网单板中的所述成帧芯片、交换芯片、网络处理芯片以及光电模块进行测试,而不是将测试分组光传送网单板的过程分为成帧芯片将光电模块反馈的数据包发送给网络处理芯片,以及成帧芯片将数据包发送给交换芯片这两个过程,减小了在测试分组光传送网单板的过程中的时间,从而提高了测试分组光传送网单板的效率。The apparatus for testing a packet optical transport network board according to the embodiment, the framing chip sends the data packet fed back by the optoelectronic module to the switch chip, and the data packet is subjected to the second loopback by the switch chip through the path on the backplane side thereof. After the test, the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip, so that the network processing chip processes the data packet, thereby The framing chip, the switch chip, the network processing chip, and the optoelectronic module in the board are tested, instead of dividing the process of testing the packet optical transport network board into a framing chip, and transmitting the data packet fed back by the optoelectronic module to the network processing chip. And the framing chip sends the data packet to the switch chip, which reduces the time in testing the packet optical transport network board, thereby improving the efficiency of testing the packet optical transport network board.
可选地,为了更灵活地测试分组光传送网单板,所述数据包由其它分组光传送网单板经由在其交换芯片的背板侧的路径发送至所述网络处理芯片。Optionally, in order to test the packet optical transport network board more flexibly, the data packet is sent to the network processing chip via a path on the backplane side of its switch chip by other packet optical transport network boards.
当测试分组光传送网单板与其它分组光传送网单板之间的路径时,也就是所述数据包是由其它分组光传送网单板经由在其交换芯片的背板侧的路径向本分组光传送网单板发送的数据包时,所述成帧芯片经过网络处理芯片接收由其它分组光传送网单板发送的数据包。When testing the path between the packet optical transport network board and the other packet optical transport network boards, that is, the data packet is routed by other packet optical transport network boards via the path on the backplane side of the switch chip. When the data packet sent by the optical transport network board is packetized, the framing chip receives the data packet sent by the other packet optical transport network board through the network processing chip.
所述数据包由其它分组光传送网单板经在本分组光传送网单板的交换芯片的所述背板侧的路径发送至本分组光传送网单板的所述网络处理芯片,然后,所述网络处理芯片将所述数据包发送给成帧芯片,所述第一发送模块10将接收到的所述数据包发送给光电模块,所述光电模块反馈进行第一环回测试的数据包,在接收到光电模块反馈的数据包时,所述第二发送模块20将接收到的所述数据包发送给交换芯片,所述交换芯片将所述数据包经由在其背板侧的路径进行第二环回测试后将所述数据包发送至所述成帧芯片,所述成帧芯片再将所述数据包发送给网络处理芯片,所述网络处理芯片将所述数据包经在交换芯片的背板侧的路径进行第三环回测试,并由网络处理芯片发送给其它分组光传送网单板。And the data packet is sent to the network processing chip of the packet optical transport network board by a path of the other packet optical transport network board on the backplane side of the switch chip of the packet optical transport network board, and then, The network processing chip sends the data packet to the framing chip, and the first sending module 10 sends the received data packet to the optoelectronic module, and the optoelectronic module feeds back the data packet for performing the first loopback test. When receiving the data packet fed back by the optoelectronic module, the second sending module 20 sends the received data packet to the switch chip, and the switch chip performs the data packet on the path on the backplane side thereof. After the second loopback test, the data packet is sent to the framing chip, and the framing chip sends the data packet to a network processing chip, and the network processing chip passes the data packet through the switch chip. The path on the backplane side performs a third loopback test and is sent by the network processing chip to other packet optical transport network boards.
在本实施例中,所述成帧芯片在接收到所述交换芯片反馈的数据包时,将所述数据包发送给网络处理芯片,此时,所述网络处理芯片将所述数据包 发送给所述交换芯片,所述交换芯片经过其所属的分组光传送网单板的交换芯片的背板侧的路径将所述数据包发送给其它分组光传送网单板。In this embodiment, when the framing chip receives the data packet fed back by the switch chip, the data packet is sent to the network processing chip, and at this time, the network processing chip sends the data packet. Sending to the switch chip, the switch chip sends the data packet to other packet optical transport network boards through a path on the backplane side of the switch chip of the packet optical transport network board to which it belongs.
可选地,为了更灵活地测试分组光传送网单板,基于测试分组光传送网单板的装置的第一实施例提出本申请的测试分组光传送网单板的装置的第二实施例,在本实施例,所述测试分组光传送网单板的装置还包括:Optionally, in order to test the packet optical transport network board more flexibly, the second embodiment of the apparatus for testing the packet optical transport network board of the present application is proposed based on the first embodiment of the apparatus for testing the packet optical transport network board, In this embodiment, the device for testing a packet optical transport network board further includes:
输出模块,设置成若检测到进行环回测试的所述数据包异常,使所述成帧芯片输出告警信息。The output module is configured to cause the framing chip to output alarm information if the packet abnormality for performing the loopback test is detected.
在本实施例中,在数据包传输过程中,在检测到所述数据包异常,如数据包出现丢包、帧格式错误,或者数据包没有流通的情况时,根据检测的结果查找当前数据包所在的路径,并分析所述路径的传输质量,如预设时间间隔内数据包的位置信息没有发生变化,可获知此时数据包的位置信息对应的路径即为分组光传送网单板的传输质量异常的路径;可选地,由输出设备发出警鸣声,或通过预设的led灯发送闪烁信号。In this embodiment, during the data packet transmission process, when the data packet abnormality is detected, such as a packet loss, a frame format error, or a data packet is not circulating, the current data packet is searched according to the detected result. The path of the path, and analyzes the transmission quality of the path. For example, the location information of the data packet does not change during the preset time interval. It can be known that the path corresponding to the location information of the data packet is the transmission of the packet optical transport network board. A path of abnormal mass; optionally, a beep is sounded by the output device or a blinking signal is sent by a preset LED.
可选地,为了更灵活地测试分组光传送网单板,基于第二实施例提出本申请的测试分组光传送网单板的装置的第三实施例,在本实施例中,所述输出模块包括发送单元,所述发送单元设置成当所述分组光传送网单板连接显示终端时,将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态。Optionally, in order to test the packet optical transport network board more flexibly, the third embodiment of the apparatus for testing the packet optical transport network board of the present application is proposed based on the second embodiment. In this embodiment, the output module The sending unit is configured to send the alarm information to the display terminal when the packet optical transport network board is connected to the display terminal, so that the display terminal displays the current circulation of the packet optical transport network board status.
在本实施例中,若检测到所述数据包出现异常情况,且所述分组光传送网单板连接显示终端时,所述分组光传送网单板将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态,如断路的路径。In this embodiment, if an abnormality occurs in the data packet, and the packet optical transport network board is connected to the display terminal, the packet optical transport network board sends the alarm information to the display terminal to The display terminal is configured to display a current circulation state of the packet optical transport network board, such as a path of the open circuit.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是 还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or system that comprises a plurality of elements includes not only those elements. Also includes other elements not explicitly listed, or It also includes elements inherent to such a process, method, article or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method 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 better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present application.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
以上仅为本发明的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the patents of the present application, and the equivalent structure or equivalent flow transformations made by the contents of the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.
工业实用性Industrial applicability
本申请提出了测试分组光传送网单板的方法和装置,该方法包括:成帧芯片将光电模块反馈的数据包发送给交换芯片,所述数据包由交换芯片经过 在其背板侧的路径进行第二环回测试后反馈给所述成帧芯片,然后所述成帧芯片再将所述数据包发送给网络处理芯片,以供所述网络处理芯片对所述数据包进行处理,从而对分组光传送网单板中的所述成帧芯片、交换芯片、网络处理芯片以及光电模块进行测试;减小了在测试分组光传送网单板的过程中的时间,从而提高了测试分组光传送网单板的效率。 The present application provides a method and apparatus for testing a packet optical transport network board, the method comprising: the framing chip transmitting a data packet fed back by the optoelectronic module to the switch chip, where the data packet is passed by the switch chip After the second loopback test is performed on the path of the backplane side, the framing chip is fed back to the framing chip, and then the framing chip sends the data packet to the network processing chip for the network processing chip to The data packet is processed to test the framing chip, the switch chip, the network processing chip, and the optoelectronic module in the packet optical transport network board; the time in testing the packet optical transport network board is reduced, Thereby, the efficiency of testing the packet optical transport network board is improved.

Claims (8)

  1. 一种测试分组光传送网单板的方法,包括:A method for testing a packet optical transport network board includes:
    在接收到由网络处理芯片发送的数据包时,成帧芯片将接收到的所述数据包发送给光电模块,所述光电模块向所述成帧芯片反馈经过所述光电模块的光纤接口进行第一环回测试的数据包;Upon receiving the data packet sent by the network processing chip, the framing chip sends the received data packet to the optoelectronic module, and the optoelectronic module feeds back to the framing chip to pass through the optical fiber interface of the optoelectronic module. a loopback test packet;
    在接收到由光电模块反馈的数据包时,所述成帧芯片将接收到的所述数据包发送给交换芯片,所述交换芯片以所述数据包经过在所述交换芯片的背板侧的路径进行第二环回测试,并且所述成帧芯片接收经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包;Receiving, by the framing chip, the received data packet to the switch chip, the switch chip passing the data packet on the backplane side of the switch chip when receiving the data packet fed back by the optoelectronic module Performing a second loopback test on the path, and the framing chip receives the data packet that is subjected to the second loopback test feedback through a path on the backplane side of the switch chip;
    在接收到由所述交换芯片反馈的数据包时,所述成帧芯片将所述数据包发送给所述网络处理芯片,所述网络处理芯片以所述数据包经在所述交换芯片的背板侧的路径进行第三环回测试,并从所述交换芯片接收经过在所述交换芯片的背板侧的路径进行第三环回测试的数据包。Receiving, by the framing chip, the data packet to the network processing chip when receiving the data packet fed back by the switch chip, the network processing chip passing the data packet through the back of the switch chip The path on the board side performs a third loopback test, and receives a data packet from the switch chip for performing a third loopback test through a path on the backplane side of the switch chip.
  2. 如权利要求1所述的测试分组光传送网单板的方法,其中,所述数据包由其它分组光传送网单板经由在其中的交换芯片的背板侧的路径发送至所述网络处理芯片。The method of testing a packet optical transport network board according to claim 1, wherein said data packet is sent to said network processing chip by a path of another packet optical transport network board via a backplane side of a switch chip therein .
  3. 如权利要求1或2所述的测试分组光传送网单板的方法,所述测试分组光传送网单板的方法还包括:The method for testing a packet optical transport network board according to claim 1 or 2, wherein the method for testing a packet optical transport network board further comprises:
    若检测到进行了环回测试的所述数据包异常,所述成帧芯片输出告警信息。The framing chip outputs an alarm message if the packet abnormality in which the loopback test is performed is detected.
  4. 如权利要求3所述的测试分组光传送网单板的方法,其中,当所述分组光传送网单板连接显示终端时,所述成帧芯片输出告警信息的步骤包括:The method of testing a packet optical transport network board according to claim 3, wherein when the packet optical transport network board is connected to the display terminal, the step of outputting the alarm information by the framing chip comprises:
    所述分组光传送网单板将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态。The packet optical transport network board sends the alarm information to the display terminal, so that the display terminal displays the current circulation status of the packet optical transport network board.
  5. 一种测试分组光传送网单板的装置,包括:A device for testing a packet optical transport network board, comprising:
    第一发送模块,设置成在接收到由网络处理芯片发送的数据包时,将接收到的所述数据包发送给光电模块,以使得所述光电模块向所述成帧芯片反馈经过所述光电模块的光纤接口进行第一环回测试的数据包; The first sending module is configured to: when receiving the data packet sent by the network processing chip, send the received data packet to the optoelectronic module, so that the optoelectronic module feeds back to the framing chip through the optoelectronic device The fiber optic interface of the module performs the data packet of the first loopback test;
    第二发送模块,设置成在接收到光电模块反馈的数据包时,所述成帧芯片将接收到的所述数据包发送给交换芯片,以供所述交换芯片以所述数据包经过在所述交换芯片的背板侧的路径进行第二环回测试,并且所述成帧芯片接收经过在所述交换芯片的所述背板侧的路径进行第二环回测试反馈的所述数据包;a second sending module, configured to: when receiving the data packet fed back by the optoelectronic module, the framing chip sends the received data packet to the switch chip, where the switch chip passes the data packet Performing a second loopback test on the path of the switch chip on the backplane side, and the framing chip receives the data packet that is subjected to the second loopback test feedback through the path on the backplane side of the switch chip;
    第三发送模块,设置成在接收到由所述交换芯片反馈的数据包时,将所述数据包发送给所述网络处理芯片,所述网络处理芯片以所述数据包经在所述交换芯片的背板侧的路径进行第三环回测试,并从所述交换芯片接收经过在所述交换芯片的背板侧的路径进行第三环回测试的数据包。a third sending module, configured to: when receiving a data packet fed back by the switch chip, send the data packet to the network processing chip, where the network processing chip passes the data packet in the switch chip The path on the backplane side performs a third loopback test, and receives a data packet from the switch chip for a third loopback test through a path on the backplane side of the switch chip.
  6. 如权利要求5所述的测试分组光传送网单板的装置,其中,所述数据包由其它分组光传送网单板经由在其交换芯片的背板侧的路径发送至所述网络处理芯片。The apparatus for testing a packet optical transport network board according to claim 5, wherein said data packet is transmitted to said network processing chip via a path on a backplane side of its switch chip by another packet optical transport network board.
  7. 如权利要求5或6所述的测试分组光传送网单板的装置,所述测试分组光传送网单板的装置还包括:The device for testing a packet optical transport network board according to claim 5 or 6, wherein the device for testing the packet optical transport network board further comprises:
    输出模块,设置成若检测到进行环回测试的所述数据包异常,使所述成帧芯片输出告警信息。The output module is configured to cause the framing chip to output alarm information if the packet abnormality for performing the loopback test is detected.
  8. 如权利要求7所述的测试分组光传送网单板的装置,其中,所述输出模块包括发送单元,The apparatus for testing a packet optical transport network board according to claim 7, wherein the output module comprises a transmitting unit,
    所述发送单元设置成当所述分组光传送网单板连接显示终端时,将所述告警信息发送给显示终端,以使得所述显示终端显示分组光传送网单板当前的流通状态。 The sending unit is configured to send the alarm information to the display terminal when the packet optical transport network board is connected to the display terminal, so that the display terminal displays the current circulation state of the packet optical transport network board.
PCT/CN2016/087293 2015-06-30 2016-06-27 Method and apparatus for testing packet optical transport network board WO2017000857A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510375703.7A CN106330590B (en) 2015-06-30 2015-06-30 Method and device for testing single board of packet optical transport network
CN201510375703.7 2015-06-30

Publications (1)

Publication Number Publication Date
WO2017000857A1 true WO2017000857A1 (en) 2017-01-05

Family

ID=57607677

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087293 WO2017000857A1 (en) 2015-06-30 2016-06-27 Method and apparatus for testing packet optical transport network board

Country Status (2)

Country Link
CN (1) CN106330590B (en)
WO (1) WO2017000857A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114362815B (en) * 2022-03-21 2022-06-14 北京新松佳和电子系统股份有限公司 Test method for backboard optical module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835460A (en) * 2005-03-16 2006-09-20 华为技术有限公司 Method and device of detecting mono-board electrical interface by using optical modular
CN101316197A (en) * 2007-05-28 2008-12-03 中国电信股份有限公司 Detection method and apparatus for Ethernet port loop of MSTP equipment
CN101826918A (en) * 2010-05-05 2010-09-08 中兴通讯股份有限公司 Test method, unit, system, single plate and backing plate of optical transport network electric crossing unit
US20120301134A1 (en) * 2011-01-17 2012-11-29 Shahram Davari Network Device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ITMI20020163A1 (en) * 2002-01-31 2003-07-31 Marconi Comm Spa INFORMATION STRUCTURE FOR THE TRANSPORT OF DATA IN PARTICULAR OF SDH SONER AND OTN TYPE AND WORKING INFORMATION WITHIN A NETWORK ELEMENT
CN101141223A (en) * 2007-09-27 2008-03-12 中兴通讯股份有限公司 Service based fault localization method and apparatus
CN102801463A (en) * 2011-05-23 2012-11-28 中兴通讯股份有限公司 Automatic testing method and device for packet transport network
EP2713626A1 (en) * 2012-10-01 2014-04-02 NTT DoCoMo, Inc. Method and system for providing an external optical data packet to a destination node of a packet optical network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835460A (en) * 2005-03-16 2006-09-20 华为技术有限公司 Method and device of detecting mono-board electrical interface by using optical modular
CN101316197A (en) * 2007-05-28 2008-12-03 中国电信股份有限公司 Detection method and apparatus for Ethernet port loop of MSTP equipment
CN101826918A (en) * 2010-05-05 2010-09-08 中兴通讯股份有限公司 Test method, unit, system, single plate and backing plate of optical transport network electric crossing unit
US20120301134A1 (en) * 2011-01-17 2012-11-29 Shahram Davari Network Device

Also Published As

Publication number Publication date
CN106330590A (en) 2017-01-11
CN106330590B (en) 2020-02-11

Similar Documents

Publication Publication Date Title
US7599301B2 (en) Communications network tap with heartbeat monitor
CN102571492B (en) Method and device for detecting failure of routing equipment
US9450856B2 (en) Expanding member ports of a link aggregation group between clusters
CN108718258B (en) Quality detection method and equipment for inter-board link
WO2017219840A1 (en) Device port detection method and apparatus
JP5365234B2 (en) Token error detection / recovery method between terminal devices
US9497077B2 (en) Apparatus for performing loop-free transmission in a communication network
US20140269347A1 (en) Methods, systems, and computer readable media for assisting with the debugging of conditions associated with the processing of test packets by a device under test
US10944636B2 (en) Dynamically identifying criticality of services and data sources
JP2007013990A (en) Device and method for discard-sniffing
JP2009117920A (en) Communication apparatus and method and communication program
WO2017000857A1 (en) Method and apparatus for testing packet optical transport network board
JP2009212863A (en) Line status monitoring circuit, node, communication system, and failure occurrence determining method
JP6509344B2 (en) Method and apparatus for detecting tag exchange path connectivity
US8108736B2 (en) Multi-partition computer system, failure handling method and program therefor
CN103281244B (en) A kind of service bearer method and device of multi-protocol label switching network
EP3197074A1 (en) Method and device for detecting loopback link, optical line terminal, and optical network terminal
CN109257185B (en) Network equipment, service card, logic device and notification information transmission method
CN101478775B (en) Detection method, system and equipment for multi-neighbor connection state
CN104579757B (en) A kind of method and apparatus for detecting failure
CN106656656A (en) Network device package capture method and device
WO2016086402A1 (en) Data communication method, apparatus and system
CN104092582A (en) Method and equipment for detecting link fault
CN111131090A (en) Message processing method and device
JP2008072328A (en) Evaluating device for gateway ecu

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

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

Country of ref document: EP

Kind code of ref document: A1