WO2012065450A1 - 一种切换接口的设备及方法 - Google Patents

一种切换接口的设备及方法 Download PDF

Info

Publication number
WO2012065450A1
WO2012065450A1 PCT/CN2011/076417 CN2011076417W WO2012065450A1 WO 2012065450 A1 WO2012065450 A1 WO 2012065450A1 CN 2011076417 W CN2011076417 W CN 2011076417W WO 2012065450 A1 WO2012065450 A1 WO 2012065450A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
control unit
unit
control signal
programmable logic
Prior art date
Application number
PCT/CN2011/076417
Other languages
English (en)
French (fr)
Inventor
朱跃
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012065450A1 publication Critical patent/WO2012065450A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/04Control of transmission; Equalising
    • H04B3/06Control of transmission; Equalising by the transmitted signal

Definitions

  • the communication field of the present invention relates to an apparatus and method for switching interfaces. Background technique
  • E1 Synchronous Digital Hierarchy
  • PDH Plesiochronous Digital Hierarchy
  • E1 The standard set for Europe is 2.048 Mbit/s, including 32 time slots; the T1 standard is a standard set by the United States at a rate of 1.544 Mbit/s, including 24 time slots.
  • the interface based on the E1 standard is hereinafter referred to as the E1 interface, and the interface based on the T1 standard is hereinafter referred to as the T1 interface.
  • the interface of China is the European E1 standard, and a time division multiplexing frame of E1 (the length is 125 us, that is, the sampling period) It is divided into 32 equal time slots, and the time slots are numbered CH0 ⁇ CH31, where time slot CH0 is used for frame synchronization, time slot CH16 is used for transmission signaling, and the remaining other time slots are used for transmission. 30 channels, 8 bits per time slot.
  • a product In the field of communications, in some special application environments, a product is required to support not only the E1 interface but also the T1 interface. However, it has not been implemented to support multiple types of interfaces on one device. For example, no implementation supports both.
  • the E1 interface supports the device of the T1 interface. Therefore, a device can support only one type of data service and cannot support other types of data services. The compatibility and versatility of the device are relatively low. For different data services, separate On the corresponding device that can support the data service. Summary of the invention
  • the invention provides a device and a method for switching interfaces, so as to implement a device capable of supporting multiple Types of interfaces to improve device compatibility and versatility.
  • the present invention provides a device for switching an interface, the device comprising: a central processor control unit, a programmable logic control unit, and an interface selection unit;
  • a central processing unit configured to select a corresponding working mode according to the current service type, and output a first control signal, where the first control signal is used to indicate the selected working mode
  • a programmable logic control unit coupled to the central processor control unit, configured to determine an interface type corresponding to the working mode according to a first control signal output by the central processing unit control unit, and output a second a control signal, the second control signal is used to indicate the determined interface type;
  • An interface selection unit is connected to the programmable logic control unit, and configured to turn on an interface channel corresponding to the interface type according to the second control signal output by the programmable logic control unit.
  • the device further includes an interface control unit connected to the logic control unit and the interface selection unit;
  • the programmable logic control unit is further configured to: perform framing processing on the service data by using the corresponding frequency according to the working mode indicated by the first control signal, and output the framing frame data after the framing processing;
  • the interface control unit is configured to perform analog-to-digital conversion on the framing data output by the programmable logic control unit, and output a digital signal obtained by analog-to-digital conversion;
  • the interface selection unit is further configured to send the digital signal output by the interface control unit through the interface channel that is connected.
  • the device further includes: for each interface channel, the interface channel is provided with an interconnected interface and a signal matching unit, and the signal matching unit is disposed between the interface and the interface selecting unit;
  • a signal matching unit configured to receive a digital signal sent by the interface selection unit, and The digital signal is subjected to matching processing and then output through an interface connected to itself.
  • the interface control unit is a line interface unit (LIU) chip.
  • the programmable logic control unit is an erasable programmable logic (EPLD) chip or a field programmable gate array (FPGA) chip.
  • EPLD erasable programmable logic
  • FPGA field programmable gate array
  • the first control signal output by the central processing unit control unit is a level signal; and the second control signal output by the programmable logic control unit is a level signal.
  • the interface type includes an E1 interface and a T1 interface.
  • the present invention also provides a method for performing interface switching by using the device of the foregoing switching interface, where the method includes:
  • the central processor selects a corresponding working mode according to the current service type, and outputs a first control signal, where the first control signal is used to indicate the selected working mode;
  • the interface channel corresponding to the interface type is turned on.
  • the method further includes: performing framing processing on the service data by using the corresponding frequency according to the working mode indicated by the first control signal, and outputting the framing data after the framing processing;
  • the framing data is subjected to analog-to-digital conversion, and the digital signal obtained after the analog-to-digital conversion is output; the digital signal output by the interface control unit is transmitted through the interface channel that is turned on.
  • the interface channel receives the digital signal
  • the digital signal is matched, and the digital signal after the matching process is output through an interface connected to itself.
  • the central processing unit controls the corresponding working mode according to the current service type; the programmable logic control unit determines the required interface type according to the selected working mode; the interface selecting unit is determined according to the determined interface.
  • Type on and the interface The interface channel corresponding to the type implements a device that can support multiple types of interfaces, so that service data of different service types can be transmitted through different interfaces of the same device, which overcomes the need for different service types in the prior art.
  • the defect of the service data transmission by the corresponding device capable of supporting the service type improves the compatibility and versatility of the device.
  • FIG. 1 is a schematic structural diagram of a switching interface device according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for performing interface switching by using the device shown in FIG. 1 according to an embodiment of the present invention. detailed description
  • the present invention provides a device and a method for switching interfaces, so that one device can support multiple types of interfaces, thereby improving device compatibility and versatility.
  • the interface switching device includes: a central processing unit, configured to select a corresponding working mode according to the current service type, and output a first control signal, where the first control signal is used to indicate the selected working mode; the programmable logic control unit And connecting to the central processing unit control unit, configured to determine, according to the first control signal output by the central processing unit control unit, an interface type corresponding to the working mode, and output a second control signal, where The second control signal is used to indicate the determined interface type; the interface selection unit is connected to the programmable logic control unit, and is configured to be connected to the interface according to the second control signal output by the programmable logic control unit.
  • the interface channel corresponding to the type.
  • the central processing unit controls the corresponding working mode according to the current service type; the programmable logic control unit determines the required interface type according to the selected working mode; the interface selecting unit connects and connects according to the determined interface type.
  • the interface channel corresponding to the interface type implements a device that can support multiple types of interfaces, so that service data of different service types can be transmitted through different interfaces of the same device, which overcomes the need in the prior art.
  • the same service type uses the defects of the service data transmission by the device that can support the service type, thereby improving the compatibility and versatility of the device.
  • An apparatus for switching an interface where the device may include a central processing unit control unit, a programmable logic control unit, and an interface selection unit, where:
  • a central processing unit configured to select a corresponding working mode according to the current service type, and output a first control signal, where the first control signal is used to indicate the selected working mode
  • a programmable logic control unit coupled to the central processor control unit, configured to determine an interface type corresponding to the working mode according to a first control signal output by the central processing unit control unit, and output a second a control signal, the second control signal is used to indicate the determined interface type;
  • An interface selection unit is connected to the programmable logic control unit, and configured to turn on an interface channel corresponding to the interface type according to the second control signal output by the programmable logic control unit.
  • the device further includes an interface control unit respectively connected to the logic control unit and the interface selection unit;
  • the programmable logic control unit is further configured to perform framing processing on the service data by using the corresponding frequency according to the working mode indicated by the first control signal, and output the framing data after the framing processing;
  • the interface control unit is configured to perform analog-to-digital conversion on the framing data output by the programmable logic control unit, and output a digital signal obtained by analog-to-digital conversion;
  • the interface selection unit is further configured to send the digital signal output by the interface control unit through the connected interface channel.
  • the digital signal outputted by the interface selection unit is further protected against impedance matching and electromagnetic compatibility (EMC) on the physical link, so that the digital signal to be output meets the corresponding eye diagram requirement.
  • EMC electromagnetic compatibility
  • the needle For each interface channel in the device, an interface and a signal matching unit are connected to each other in the interface channel, and a signal matching unit is disposed between the corresponding interface and the interface selecting unit to reduce the distortion rate of the digital signal to be output.
  • the signal matching unit is configured to receive a digital signal sent by the interface selection unit, and perform matching processing on the digital signal, and then output through an interface connected to itself.
  • the programmable logic control unit may be an Erasable Programmable Logic Device (EPLD) chip, a Field-Programmable Gate Array (FPGA) chip, or the like.
  • EPLD Erasable Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the interface control unit may be a line interface unit (LI).
  • LI line interface unit
  • the interface type includes a T1 interface, an E1 interface, and the like.
  • the technical solution of the present invention is applicable to, but not limited to, the switching between the T1 interface and the E1 interface, and can also be applied to the switching between other types of interfaces. Those skilled in the art should understand that the technical solution of the present invention can also be applied to the field. Switching between other interfaces is no longer - enumerated.
  • An embodiment of the present invention further provides a method for performing interface switching by using the device of the foregoing switching interface, where the method includes:
  • Step 1 The central processor selects a corresponding working mode according to the current service type, and outputs a first control signal, where the first control signal is used to indicate the selected working mode;
  • Step 2 The programmable logic control unit determines an interface type corresponding to the working mode according to the first control signal output by the central processing unit control unit, and outputs a second control signal, where the second control signal is used to indicate Determine the type of interface;
  • Step 3 The interface selection unit turns on an interface channel corresponding to the interface type according to the second control signal output by the programmable logic control unit.
  • the programmable logic control unit operates according to the first control signal Mode, ⁇ framing the service data with the corresponding frequency, and outputting the framing data after the framing processing;
  • the interface control unit performs analog-to-digital conversion on the framing data output by the programmable logic control unit, and outputs a digital signal obtained after analog-to-digital conversion;
  • the interface selection unit sends the digital signal output by the interface control unit through the interface channel that is turned on.
  • the method may further include: each interface channel is provided with an interface and a signal matching unit connected to each other, and the signal matching unit is disposed between the interface and the interface selecting unit;
  • the signal matching unit receives the digital signal sent by the interface selecting unit, and performs matching processing on the digital signal, and outputs the digital signal after the matching processing through an interface connected to itself.
  • the programmable logic control unit is implemented by an EPLD chip
  • the interface control unit is implemented by an LIU chip
  • the interface selection unit is implemented by an analog switch chip.
  • the device for switching interfaces in the embodiment of the present invention includes a central processing unit control unit 11, a programmable logic control unit 12, an interface selection unit 13, an interface control unit 14, an E1 interface channel 15, and a T1 interface channel 16, wherein
  • the E1 interface channel 15 may include an E1 panel interface 151 and an E1 signal matching unit 152 connected to the E1 panel interface 151;
  • the T1 interface channel 16 may include a T1 panel interface 161 and a T1 signal matching unit connected to the T1 panel interface 161. 162;
  • the connection relationship of each of the above functional units is as follows:
  • the programmable logic control unit 12 is connected to the central processing unit control unit 11; the interface selection unit 13 is connected to the programmable logic control unit 12; the interface selection unit 13 is connected to the programmable logic control unit 12 and the interface selection unit 13 respectively; E1 interface channel 15 can be selected from the interface The unit 13 is electrically connected; the T1 interface channel 16 can be electrically connected to the interface selection unit 13.
  • the central processing unit 11 selects a corresponding working mode according to the current service type, and outputs a control signal for indicating the selected working mode;
  • the programmable logic control unit 12 Determining an interface type corresponding to the selected operation mode according to a control signal outputted by the processor control unit 11 at the center, and outputting a control signal for indicating the determined interface type, the control signal being used to indicate the determined E1 panel interface 151 or The T1 panel interface 161; the interface selection unit 13 turns on the E1 interface channel 151 or the T1 interface channel 16 according to the control signal output from the programmable logic control unit 12.
  • the control signals sent by the central processing unit control unit 11 and the programmable logic control unit 12 are high level or low level, such as central processor control.
  • the selected working mode is the E1 mode
  • the high level is issued
  • the selected working mode is the T1 mode
  • the programmable logic control unit 12 issues a low level
  • the determined interface type is the E1 panel interface 151.
  • the high level is issued, it indicates that the determined interface type is the T1 panel interface 161.
  • the selection pin of the analog switch chip for implementing the interface selection unit 13 is connected to the EPLD chip for implementing the programmable logic control unit 12, and the pin state of the analog switch chip is set inside the EPLD chip.
  • the EPLD chip outputs a high level, the level of the selection pin of the analog switch chip is high, then the analog switch chip turns on the T1 interface channel 16; if the EPLD chip outputs a low level, the analog switch chip The level of the selection pin is low, and the analog switch chip turns on the E1 interface channel 15.
  • the programmable logic control unit 12 selects and selects the E1 according to the E1 working mode (T1 working mode;) selected by the central processing unit control unit 11.
  • the 2.048M HZ ( 1.544M HZ ) clock corresponding to the working mode (T1 working mode) performs framing configuration on the received service data, and outputs the framing service data after the framing configuration;
  • the interface control unit 14 controls the programmable logic Output from unit 12
  • the framing service data is subjected to analog-to-digital conversion to obtain a digital signal corresponding to the framing service data, and the digital signal is output;
  • the interface selecting unit 13 passes the digital signal output by the interface control unit 14 through the E1 interface channel 15 (T1 interface channel) 16) Output.
  • the transformers of the E1 panel interface 151 and/or the T1 panel interface 161 conform to the analogy requirements of the LIU chip used to implement the interface control unit 14.
  • the central processing unit control unit 11 in the embodiment of the present invention may be a central processing unit (CPU), and the CPU may also perform operations such as operation, control, and management of the device.
  • CPU central processing unit
  • the default operating mode of the central processing unit 11 is E1 mode, that is, when the device is powered on, the default working mode is E1 mode, and the default interface type of the programmable logic control unit 12 is E1 panel interface 151.
  • the interface selection unit 13 turns on the E1 interface channel 15 by default; only when the CPU control unit 11 selects the T1 mode according to the service type, the programmable logic control unit 12 determines that the interface type is the T1 panel interface 161; and the interface selection unit 13 switches To T1 interface channel 16.
  • the default operating mode of the central processing unit 11 is T1 mode, that is, when the device is powered on, the default working mode is T1 mode, the default interface type of the programmable logic control unit 12 is T1 panel interface 161, and the interface selecting unit 13 is turned on by default. T1 interface channel 16; Only when the central processor control unit 11 selects the E1 mode according to the service type, the programmable logic control unit 12 determines that the interface type is the E1 panel interface 151, and the interface selection unit 13 switches to the E1 interface channel 15.
  • the LIU chip for implementing the interface control unit 14 in the embodiment of the present invention It is also possible to encode a digital signal obtained after analog-to-digital conversion, such as performing High Density Bipolar of Order 3 code (HDB3), and Bipolar Code Inversion (AMI). Operations such as processing, pulse shaping, and line driving; when the device receives the service data sent by other devices, the LIU chip can perform decoding processing after performing digital-to-analog conversion on the received service data. Perform jitter and other operations on the clock.
  • HDB3 High Density Bipolar of Order 3 code
  • AMI Bipolar Code Inversion
  • the EPLD chip for implementing the programmable logic control unit 12 in the embodiment of the present invention when the device sends service data to other devices, performs framing processing on the data service, and receives the service data sent by other devices in the device. At the same time, a large piece of business data is also received for deframe processing.
  • the E1 panel interface 151 in the embodiment of the present invention may be a 75 ohm coaxial head or a 120 ohm RJ45 interface, and the T1 panel interface 161 may be a 100 ohm RJ45 interface;
  • the interface type of E1 panel interface 151 or T1 panel interface 161 can be selected according to the actual application.
  • the embodiment of the present invention further provides a method for performing interface switching by using the device shown in FIG. 1 .
  • the implementation process of the method is shown in FIG. 2 .
  • FIG. 2 is a flowchart of a method for performing interface switching by using the device shown in FIG. 1 according to an embodiment of the present invention, where the method may include the following steps:
  • Step 201 The central processing unit control unit 11 selects an operation mode according to an application requirement, configures a status register of the E1 working mode or the T1 working mode in the programmable logic control unit 12, and outputs a control signal for indicating the selected working mode. For example, if the low level "0" is output to the programmable logic control unit 12, the selected working mode is indicated as the E1 mode; if the high level " ⁇ " is output to the programmable logic control unit 12, the selected working mode is indicated as T1 mode.
  • Step 202 The programmable logic control unit 12 determines, according to the control signal sent by the central processing unit control unit 11, that the selected working mode is E1, and performs steps 203-204; if it is determined that the selected working mode is T1, step 205 is performed. 206.
  • Step 203 The programmable logic control unit 12 determines that the interface type is the E1 panel interface 151, and sends a control signal to the interface selection unit 13 for indicating that the interface type is the E1 panel interface 151.
  • Step 204 The interface selecting unit 13 turns on the E1 interface channel 15 according to the control signal sent by the programmable logic control unit 12.
  • Step 205 the programmable logic control unit 12 determines that the interface type is the T1 panel interface 161. And a control signal for indicating that the interface type is the T1 panel interface 161 is sent to the interface selection unit 13.
  • Step 206 The interface selecting unit 13 turns on the T1 interface channel 16 according to the control signal sent by the programmable logic control unit 12.
  • the central processing unit controls a corresponding working mode according to the current service type; the programmable logic control unit determines the required interface type according to the selected working mode; The interface channel corresponding to the interface type is connected according to the determined interface type, so that one device can support multiple types of interfaces, so that service data of different service types can be transmitted through different interfaces of the same device, thereby overcoming existing ones.
  • different service types need to respectively use the corresponding devices capable of supporting the service type to perform service data transmission, thereby improving device compatibility and versatility; on the other hand, for each interface channel of the device, A signal matching unit is disposed in the interface channel.
  • the signal matching unit is used to match the service data to be sent to ensure that the service data to be sent is impedance on the physical link. Capacitive matching and EMC protection, so that the digital signal that needs to be output meets the corresponding eye diagram requirements to reduce the distortion rate of business data transmission.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Logic Circuits (AREA)
  • Communication Control (AREA)

Abstract

本发明公开了一种切换接口的设备及方法,所述设备包括:中央处理器控制单元,用于根据当前的业务类型选取相应的工作模式,并输出用于指示选取的工作模式的第一控制信号;可编程逻辑控制单元,与所述中央处理器控制单元相连接,根据所述中央处理器控制单元输出的第一控制信号,确定出与所述工作模式对应的接口类型,并输出用于指示确定出的接口类型的第二控制信号;接口选取单元,与所述可编程逻辑控制单元相连接,用于根据所述可编程逻辑控制单元输出的第二控制信号,接通与所述接口类型对应的接口通道。本发明实现了一个设备支持多种类型的接口,提高了设备的兼容性和通用性。

Description

一种切换接口的设备及方法 技术领域
本发明通信领域, 尤其涉及一种切换接口的设备及方法。 背景技术
目前,在国际传输技术领域,如同步数字体系( SDH, Synchronous Digital Hierarchy )和准同步数字系歹1 J ( PDH, Plesiochronous Digital Hierarchy )中 , 通信接口主要基于 E1标准和 T1标准, 其中, E1标准为欧洲制定的标准, 速率为 2.048Mbit/S, 包括 32路时隙; T1标准为美国制定的标准, 速率为 1.544Mbit/S , 包括 24路时隙。 基于 E1标准的接口后续称为 E1接口, 基于 T1标准的接口后续称为 T1接口, 我国的接口釆用的是欧洲的 E1标准, E1 的一个时分复用帧 (其长度为 125us, 即取样周期为 125us )共划分为 32 个相等的时隙,时隙的编号依次为 CH0~CH31 ,其中时隙 CH0用于帧同步, 时隙 CH16用于传输信令, 剩下的其他时隙用于传输 30个话路, 每个时隙 传送 8bit。
在通信领域中, 在某些特殊应用的环境下, 需要一款产品不仅支持 E1 接口而且支持 T1接口,但是目前还没有实现在一种设备上支持多种类型的 接口, 例如, 没有实现既支持 E1接口又支持 T1接口的设备, 使得一个设 备只能支持某一种类型的数据业务而不能支持其他类型的数据业务, 设备 的兼容性和通用性都比较低, 针对不同的数据业务, 需要分别在相应的能 够支持该数据业务的设备上进行。 发明内容
本发明提供一种切换接口的设备及方法, 以实现一个设备可支持多种 类型的接口, 从而提高设备的兼容性和通用性。
本发明提供了一种切换接口的设备, 所述设备包括: 中央处理器控制 单元、 可编程逻辑控制单元、 和接口选取单元; 其中,
中央处理器控制单元, 用于根据当前的业务类型选取相应的工作模式, 并输出第一控制信号, 所述第一控制信号用于指示选取的工作模式;
可编程逻辑控制单元, 与所述中央处理器控制单元相连接, 用于根据 所述中央处理器控制单元输出的第一控制信号, 确定出与所述工作模式对 应的接口类型, 并输出第二控制信号, 所述第二控制信号用于指示确定出 的接口类型;
接口选取单元, 与所述可编程逻辑控制单元相连接, 用于根据所述可 编程逻辑控制单元输出的第二控制信号, 接通与所述接口类型对应的接口 通道。
在上述方案中, 所述设备还包括与所述逻辑控制单元和所述接口选取 单元相连接的接口控制单元;
所述可编程逻辑控制单元还用于, 根据所述第一控制信号指示的工作 模式, 釆用相应的频率对业务数据进行组帧处理, 并输出组帧处理后的组 帧数据;
所述接口控制单元, 用于对所述可编程逻辑控制单元输出的组帧数据 进行模数转换, 并输出模数转换后得到的数字信号;
接口选取单元还用于, 通过接通的接口通道发送所述接口控制单元输 出的数字信号。
在上述方案中, 所述设备还包括: 针对每个接口通道, 该接口通道中 设置有相互连接的接口和信号匹配单元, 所述信号匹配单元设置在所述接 口与接口选取单元之间;
信号匹配单元, 用于接收所述接口选取单元发送的数字信号, 并对所 述数字信号进行匹配处理之后通过与自身相连接的接口输出。
在上述方案中, 所述接口控制单元为线路接口单元(LIU ) 芯片。
在上述方案中, 所述可编程逻辑控制单元为可擦除可编程逻辑器 ( EPLD ) 芯片或现场可编程门阵列 (FPGA ) 芯片。
在上述方案中, 所述中央处理器控制单元输出的第一控制信号为电平 信号; 所述可编程逻辑控制单元输出的第二控制信号为电平信号。
在上述方案中, 所述接口类型包括 E1接口和 T1接口。
本发明还提供了一种釆用上述切换接口的设备进行接口切换的方法, 所述方法包括:
中央处理器根据当前的业务类型选取相应的工作模式, 并输出第一控 制信号, 所述第一控制信号用于指示选取的工作模式;
根据所述中央处理器控制单元输出的第一控制信号, 确定出与所述工 作模式对应的接口类型, 并输出第二控制信号, 所述第二控制信号用于指 示确定出的接口类型;
根据所述可编程逻辑控制单元输出的第二控制信号, 接通与所述接口 类型对应的接口通道。
在上述方案中, 所述方法还包括: 根据所述第一控制信号指示的工作 模式, 釆用相应的频率对业务数据进行组帧处理, 并输出组帧处理后的组 帧数据; 对输出的组帧数据进行模数转换, 并输出模数转换后得到的数字 信号; 通过接通的接口通道发送所述接口控制单元输出的数字信号。
在上述方案中, 所述接口通道收到所述数字信号后, 对所述数字信号 进行匹配处理, 通过与自身连接的接口输出所述匹配处理之后的数字信号。
釆用本发明实施例提供的切换接口设备, 中央处理器控制单元根据当 前业务类型选取相应的工作模式; 可编程逻辑控制单元根据选取的工作模 式确定需要的接口类型; 接口选取单元根据确定的接口类型接通与该接口 类型对应的接口通道, 实现了一个设备可支持多种类型的接口, 从而实现 了不同业务类型的业务数据可通过同一设备的不同接口传输, 克服了现有 技术中针对不同的业务类型需要分别釆用相应的能够支持该业务类型的设 备进行业务数据传输的缺陷, 从而提高了设备的兼容性和通用性。 附图说明
图 1为本发明实施例中切换接口设备的结构示意图;
图 2 为本发明实施例中釆用如图 1所示设备进行接口切换的方法流程 图。 具体实施方式
针对现有技术存在的上述技术问题, 本发明实施例提供一种切换接口 的设备及方法, 以实现一个设备可以支持多种类型的接口, 从而提高设备 的兼容性和通用性。 该接口切换设备包括: 中央处理器控制单元, 用于根 据当前的业务类型选取相应的工作模式, 并输出第一控制信号, 该第一控 制信号用于指示选取的工作模式; 可编程逻辑控制单元, 与所述中央处理 器控制单元相连接, 用于根据所述中央处理器控制单元输出的第一控制信 号, 确定出与所述工作模式对应的接口类型, 并输出第二控制信号, 该第 二控制信号用于指示确定出的接口类型; 接口选取单元, 与所述可编程逻 辑控制单元相连接, 用于根据所述可编程逻辑控制单元输出的第二控制信 号, 接通与所述接口类型对应的接口通道。
釆用本发明技术方案, 中央处理器控制单元根据当前业务类型选取相 应的工作模式; 可编程逻辑控制单元根据选取的工作模式确定需要的接口 类型; 接口选取单元根据确定的接口类型接通与该接口类型对应的接口通 道, 实现了一个设备可支持多种类型的接口, 从而实现了不同业务类型的 业务数据可通过同一设备的不同接口传输, 克服了现有技术中需要针对不 同的业务类型, 分别釆用能够支持该业务类型的设备进行业务数据传输的 缺陷, 从而提高了设备的兼容性和通用性。
本发明实施例中提供的一种切换接口的设备, 所述设备可包括中央处 理器控制单元、 可编程逻辑控制单元、 接口选取单元, 其中:
中央处理器控制单元, 用于根据当前的业务类型选取相应的工作模式, 并输出第一控制信号, 该第一控制信号用于指示选取的工作模式;
可编程逻辑控制单元, 与所述中央处理器控制单元相连接, 用于根据 所述中央处理器控制单元输出的第一控制信号, 确定出与所述工作模式对 应的接口类型, 并输出第二控制信号, 该第二控制信号用于指示确定出的 接口类型;
接口选取单元, 与所述可编程逻辑控制单元相连接, 用于根据所述可 编程逻辑控制单元输出的第二控制信号, 接通与所述接口类型对应的接口 通道。
较佳地, 上述设备还包括分别与所述逻辑控制单元和所述接口选取单 元相连接的接口控制单元;
所述可编程逻辑控制单元进一步用于, 根据所述第一控制信号指示的 工作模式, 釆用相应的频率对业务数据进行组帧处理, 并输出组帧处理后 的组帧数据;
所述接口控制单元, 用于对所述可编程逻辑控制单元输出的组帧数据 进行模数转换, 并输出模数转换后得到的数字信号;
接口选取单元进一步用于, 通过所接通的接口通道发送所述接口控制 单元输出的数字信号。
较佳地, 为进一步实现对接口选取单元输出的数字信号在物理链路上 进行阻抗容抗匹配和电磁兼容性( EMC , Electro Magnetic Compatibility )防 护, 以使得需要输出的数字信号符合相应眼图要求, 本发明实施例中, 针 对设备中的每个接口通道, 在接口通道设置有相互连接的接口和信号匹配 单元, 且信号匹配单元设置在相应接口和接口选取单元之间, 以降低需要 输出的数字信号的失真率。
所述信号匹配单元, 用于接收接口选取单元发送的数字信号, 并对所 述数字信号进行匹配处理之后通过与自身连接的接口输出。
较佳地,上述可编程逻辑控制单元可以为可擦除可编程逻辑器 ( EPLD, Erasable Programmable Logic Device ) 芯片、 现场可编程门阵列 ( FPGA, Field-Programmable Gate Array ) 芯片等。
较佳地, 上述接口控制单元可以是线路接口单元( LIU , Line Interface Units ) 芯片。
较佳地, 上述接口类型包括 T1接口和 E1接口等。
本发明技术方案可适用于但并不仅限于 T1接口和 E1接口之间的切换, 还可以适用于其他类型接口之间的切换, 本领域技术人员应该可以理解本 发明技术方案还可以适用于本领域的其他接口之间的切换, 在此不再—— 列举。
本发明实施例还提供一种釆用上述切换接口的设备进行接口切换的方 法, 该方法包括:
步骤 1、 中央处理器才艮据当前的业务类型选取相应的工作模式, 并输出 第一控制信号, 该第一控制信号用于指示选取的工作模式;
步骤 2、可编程逻辑控制单元根据所述中央处理器控制单元输出的第一 控制信号, 确定出与所述工作模式对应的接口类型, 并输出第二控制信号, 该第二控制信号用于指示确定出的接口类型;
步骤 3、接口选取单元根据所述可编程逻辑控制单元输出的第二控制信 号, 接通与所述接口类型对应的接口通道。
较佳地, 所述可编程逻辑控制单元根据所述第一控制信号指示的工作 模式, 釆用相应的频率对业务数据进行组帧处理, 并输出组帧处理后的组 帧数据;
接口控制单元对所述可编程逻辑控制单元输出的组帧数据进行模数转 换, 并输出模数转换后得到的数字信号;
所述接口选取单元通过接通的接口通道发送所述接口控制单元输出的 数字信号。
较佳地, 上述方法还可以包括: 每个接口通道中设置有相互连接的接 口和信号匹配单元, 该信号匹配单元设置在所述接口与所述接口选取单元 之间;
信号匹配单元接收接口选取单元发送的数字信号, 并对该数字信号进 行匹配处理, 通过与自身连接的接口输出所述匹配处理之后的数字信号。
下面结合说明书附图对本发明技术方案进行详细的描述。
为便于描述, 下面针对应用较为广泛的 T1接口和 E1接口之间的切换 为例, 对本发明技术方案进行详细的描述。 该实施例中, 可编程逻辑控制 单元通过 EPLD芯片实现, 接口控制单元通过 LIU芯片实现, 接口选取单 元为模拟开关芯片实现。
参见图 1 , 本发明实施例中切换接口的设备包括中央处理器控制单元 11、 可编程逻辑控制单元 12、 接口选取单元 13、 接口控制单元 14、 E1接 口通道 15和 T1接口通道 16, 其中, E1接口通道 15可包括 E1面板接口 151和与该 E1面板接口 151相连接的 E1信号匹配单元 152; T1接口通道 16可包括 T1面板接口 161和与该 T1面板接口 161相连接的 T1信号匹配 单元 162; 上述各功能单元的连接关系如下:
可编程逻辑控制单元 12与中央处理器控制单元 11相连接; 接口选取 单元 13与可编程逻辑控制单元 12相连接; 接口选取单元 13分别与可编程 逻辑控制单元 12和接口选取单元 13相连接; E1接口通道 15可与接口选取 单元 13电气连接; T1接口通道 16可与接口选取单元 13电气连接。
在切换 E1面板接口 151或 T1面板接口 161时, 上述中央处理器控制 单元 11根据当前的业务类型选取相应的工作模式, 并输出用于指示选取的 工作模式的控制信号; 可编程逻辑控制单元 12根据中央处处理器控制单元 11 输出的控制信号, 确定与选取的工作模式对应的接口类型, 并输出用于 指示确定的接口类型的控制信号,该控制信号用于指示确定的 E1面板接口 151或 T1面板接口 161 ; 接口选取单元 13根据可编程逻辑控制单元 12输 出的控制信号, 接通 E1接口通道 151或 T1接口通道 16。
较佳地, 为提高各功能单元的响应速度, 本发明实施例中, 中央处理 器控制单元 11和可编程逻辑控制单元 12发送的控制信号为高电平或低电 平, 如中央处理器控制单元 11发出低电平时表示选取的工作模式为 E1模 式, 发出高电平时表示选取的工作模式为 T1模式; 如可编程逻辑控制单元 12发出低电平时表示确定的接口类型为 E1面板接口 151 ,发出高电平时表 示确定的接口类型为 T1面板接口 161。 本发发明实例中, 用于实现接口选 取单元 13的模拟开关芯片的选择管脚连接到用于实现可编程逻辑控制单元 12的 EPLD芯片上, 且模拟开关芯片的管脚状态在 EPLD芯片内部设置为 寄存器控制: 若 EPLD 芯片输出高电平时, 模拟开关芯片的选择管脚的电 平状态为高电平,则模拟开关芯片接通 T1接口通道 16; 若 EPLD芯片输出 低电平时, 模拟开关芯片的选择管脚的电平状态为低电平, 则模拟开关芯 片接通 E1接口通道 15。
在通过选取的 E1面板接口 151或 T1面板接口 161传输业务数据时, 上述可编程逻辑控制单元 12根据中央处理器控制单元 11选取的 E1工作模 式( T1工作模式;),釆用与选取的 E1工作模式( T1工作模式)对应的 2.048M HZ ( 1.544M HZ ) 时钟对接收到的业务数据进行组帧配置, 并输出组帧配 置后的成帧业务数据; 接口控制单元 14对可编程逻辑控制单元 12输出的 成帧业务数据进行模数转换, 得到与该成帧业务数据对应的数字信号, 并 输出所述数字信号; 接口选取单元 13将接口控制单元 14输出的数字信号 通过 E1接口通道 15 ( T1接口通道 16 )输出。
较佳地, E1面板接口 151和 /或 T1面板接口 161的变压器符合用于实 现接口控制单元 14的 LIU芯片的匝比要求。
较佳地, 本发明实施例中的中央处理器控制单元 11可以为中央处理器 ( CPU ), 该 CPU还可实现对设备的操作、 控制和管理等操作。
较佳地, 为了简化设备设置, 中央处理器控制单元 11默认工作模式为 E1模式, 即设备上电时, 默认工作模式为 E1模式, 可编程逻辑控制单元 12默认接口类型为 E1面板接口 151 ,接口选取单元 13默认接通 E1接口通 道 15; 只有当中央处理器控制单元 11根据业务类型选取 T1模式时, 可编 程逻辑控制单元 12确定接口类型为 T1面板接口 161 ; 以及,接口选取单元 13切换至 T1接口通道 16。 或者, 中央处理器控制单元 11默认工作模式为 T1模式, 即设备上电时, 默认工作模式为 T1模式, 可编程逻辑控制单元 12默认接口类型为 T1面板接口 161 ,接口选取单元 13默认接通 T1接口通 道 16; 只有当中央处理器控制单元 11根据业务类型选取 E1模式时, 可编 程逻辑控制单元 12确定接口类型为 E1 面板接口 151 , 以及接口选取单元 13切换至 E1接口通道 15。
本发明实施例中的用于实现接口控制单元 14的 LIU芯片,除了在所述 设备向其他设备发送业务数据时, 将可编程逻辑控制单元 12输出的成帧业 务数据进行模数转换之外, 还可以对模数转换之后得到的数字信号进行编 码处理, 如进行三阶高密度双极性码( HDB3 , High Density Bipolar of order 3 code, )、 双极性码编码(AMI, Alternate Mark Inversion )等处理、 脉冲成 型和线路驱动等操作; 该 LIU芯片在所述设备接收到其他设备发送的业务 数据时, 对接收到的业务数据进行数模转换之后, 还可以进行解码处理、 对时钟进行抖动衰减等操作。 本发明实施例中的用于实现可编程逻辑控制 单元 12的 EPLD芯片在所述设备向其他设备发送业务数据时, 对该数据业 务进行组帧处理之外, 在设备接收其他设备发送的业务数据时, 还接收大 片的业务数据进行解帧处理。
本发明实施例中的 E1面板接口 151可以是 75欧姆的同轴头, 也可以 是 120欧姆的 RJ45接口, T1面板接口 161可以是 100欧姆的 RJ45接口;
E1面板接口 151或 T1面板接口 161的接口类型可以根据实际的应用选取。
基于上述图 1所示的设备, 本发明实施例还提供釆用如图 1所示的设 备进行接口切换的方法, 该方法的实现流程如图 2所示。
参见图 2,为本发明实施例中釆用如图 1所示设备进行接口切换的方法 流程图, 所述方法可以包括如下步骤:
步骤 201、 中央处理器控制单元 11根据应用需求, 选取工作模式, 在 可编程逻辑控制单元 12中配置 E1工作模式或 T1工作模式的状态寄存器, 并输出用于指示选取的工作模式的控制信号, 如: 若向可编程逻辑控制单 元 12输出低电平 "0" , 则指示选取的工作模式为 E1模式; 若向可编程逻 辑控制单元 12输出高电平 "Γ , 则指示选取的工作模式为 T1模式。
步骤 202、可编程逻辑控制单元 12根据中央处理器控制单元 11发送的 控制信号, 判断选取的工作模式为 E1时, 执行步骤 203~204; 若判断选取 的工作模式为 T1时, 执行步骤 205~206。
步骤 203、 可编程逻辑控制单元 12确定接口类型为 E1面板接口 151 , 并向接口选取单元 13发送用于指示接口类型为 E1面板接口 151的控制信 号。
步骤 204、接口选取单元 13根据可编程逻辑控制单元 12发送的控制信 号, 接通 E1接口通道 15。
步骤 205、 可编程逻辑控制单元 12确定接口类型为 T1面板接口 161 , 并向接口选取单元 13发送用于指示接口类型为 T1面板接口 161的控制信 号。
步骤 206、接口选取单元 13根据可编程逻辑控制单元 12发送的控制信 号, 接通 T1接口通道 16。
釆用本发明实施例提供的切换接口的设备, 一方面, 中央处理器控制 单元根据当前业务类型选取相应的工作模式; 可编程逻辑控制单元根据选 取的工作模式确定需要的接口类型; 接口选取单元根据确定的接口类型接 通与该接口类型对应的接口通道, 实现了一个设备可支持多种类型的接口, 从而实现了不同业务类型的业务数据可通过同一设备的不同接口传输, 克 服了现有技术中针对不同的业务类型需要分别釆用相应的能够支持该业务 类型的设备进行业务数据传输的缺陷, 从而提高了设备的兼容性和通用性; 另一方面, 针对设备的各接口通道, 在该接口通道中设置有信号匹配单元, 因此, 在向其他设备发送业务数据之前, 釆用该信号匹配单元对需要发送 的业务数据进行匹配, 以确保需要发送的业务数据在物理链路上进行阻抗 容抗匹配和 EMC防护, 从而使得需要输出的数字信号符合相应眼图要求, 以降低业务数据传输的失真率。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。

Claims

权利要求书
1、 一种切换接口的设备, 其特征在于, 所述设备包括: 中央处理器控 制单元、 可编程逻辑控制单元和接口选取单元; 其中,
中央处理器控制单元, 用于才艮据当前的业务类型选取相应的工作模式, 并输出第一控制信号, 所述第一控制信号用于指示选取的工作模式;
可编程逻辑控制单元, 与所述中央处理器控制单元相连接, 用于根据 所述中央处理器控制单元输出的第一控制信号, 确定出与所述工作模式对 应的接口类型, 并输出第二控制信号, 所述第二控制信号用于指示确定出 的接口类型;
接口选取单元, 与所述可编程逻辑控制单元相连接, 用于根据所述可 编程逻辑控制单元输出的第二控制信号, 接通与所述接口类型对应的接口 通道。
2、 如权利要求 1所述的设备, 其特征在于, 所述设备还包括与所述逻 辑控制单元和所述接口选取单元相连接的接口控制单元;
所述可编程逻辑控制单元, 还用于根据所述第一控制信号指示的工作 模式, 釆用相应的频率对业务数据进行组帧处理, 并输出组帧处理后的组 帧数据;
所述接口控制单元, 用于对所述可编程逻辑控制单元输出的组帧数据 进行模数转换, 并输出模数转换后得到的数字信号;
接口选取单元, 还用于通过接通的接口通道发送所述接口控制单元输 出的数字信号。
3、 如权利要求 2所述的设备, 其特征在于, 所述设备还包括: 针对 每个接口通道, 该接口通道中设置有相互连接的接口和信号匹配单元, 所 述信号匹配单元设置在所述接口与接口选取单元之间;
信号匹配单元, 用于接收所述接口选取单元发送的数字信号, 并对所 述数字信号进行匹配处理之后通过与自身相连接的接口输出。
4、 如权利要求 2或 3所述的设备, 其特征在于, 所述接口控制单元为 线路接口单元(LIU ) 芯片。
5、 如权利要求 1至 3任一项所述的设备, 其特征在于, 所述可编程逻 辑控制单元为可擦除可编程逻辑器 (EPLD ) 芯片、 或现场可编程门阵列
( FPGA ) 芯片。
6、 如权利要求 1所述的设备, 其特征在于, 所述中央处理器控制单元 输出的第一控制信号为电平信号; 和 /或, 所述可编程逻辑控制单元输出的 第二控制信号为电平信号。
7、 如权利要求 1所述的设备, 其特征在于, 所述接口类型包括 E1接 口和 T1接口。
8、 一种切换接口的设备进行接口切换的方法, 其特征在于, 所述方法 包括:
根据当前的业务类型选取相应的工作模式, 并输出第一控制信号, 所 述第一控制信号用于指示选取的工作模式;
根据所述中央处理器控制单元输出的第一控制信号, 确定出与所述工 作模式对应的接口类型, 并输出第二控制信号, 所述第二控制信号用于指 示确定出的接口类型;
根据输出的第二控制信号, 接通与所述接口类型对应的接口通道。
9、 如权利要求 8所述的方法, 其特征在于, 所述方法还包括: 根据所述第一控制信号指示的工作模式, 釆用相应的频率对业务数据 进行组帧处理, 并输出组帧处理后的组帧数据;
对输出的组帧数据进行模数转换, 并输出模数转换后得到的数字信号; 通过接通的接口通道发送所述数字信号。
10、 如权利要求 9所述的方法, 其特征在于, 所述通过接通的接口通 道发送所述数字信号为:
所述接口通道收到所述数字信号后, 对所述数字信号进行匹配处理, 通过与自身连接的接口输出所述匹配处理之后的数字信号。
PCT/CN2011/076417 2010-11-16 2011-06-27 一种切换接口的设备及方法 WO2012065450A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010547314.5 2010-11-16
CN2010105473145A CN101997627A (zh) 2010-11-16 2010-11-16 一种切换接口的设备及方法

Publications (1)

Publication Number Publication Date
WO2012065450A1 true WO2012065450A1 (zh) 2012-05-24

Family

ID=43787297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076417 WO2012065450A1 (zh) 2010-11-16 2011-06-27 一种切换接口的设备及方法

Country Status (2)

Country Link
CN (1) CN101997627A (zh)
WO (1) WO2012065450A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007192A (zh) * 2015-08-05 2015-10-28 浪潮(北京)电子信息产业有限公司 一种网络接口管理方法、系统及网络接口管理服务器

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997627A (zh) * 2010-11-16 2011-03-30 中兴通讯股份有限公司 一种切换接口的设备及方法
CN102546653A (zh) * 2012-02-02 2012-07-04 北京圣世信通科技发展有限公司 一种水资源数据通讯中间件
CN106603430A (zh) * 2016-11-16 2017-04-26 上海无线电设备研究所 基于sopc的通用数据通信接口集成方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060039333A (ko) * 2004-11-02 2006-05-08 (주)스프링웨이브 E1/t1 변환 기능을 구비한 shdsl 모뎀 장치
CN101183883A (zh) * 2006-11-14 2008-05-21 中兴通讯股份有限公司 一种采用模拟开关实现备份的e1/t1接口
CN101452732A (zh) * 2008-12-30 2009-06-10 成都市华为赛门铁克科技有限公司 存储设备及控制接口的方法、系统
CN101997627A (zh) * 2010-11-16 2011-03-30 中兴通讯股份有限公司 一种切换接口的设备及方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6457056B1 (en) * 1998-08-17 2002-09-24 Lg Electronics Inc. Network interface card controller and method of controlling thereof
JP2002099362A (ja) * 2000-09-26 2002-04-05 Alps Electric Co Ltd コンピュータ周辺機器
CN101198128B (zh) * 2007-12-28 2011-04-13 中国科学院计算技术研究所 一种多模设备及其业务流切换方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060039333A (ko) * 2004-11-02 2006-05-08 (주)스프링웨이브 E1/t1 변환 기능을 구비한 shdsl 모뎀 장치
CN101183883A (zh) * 2006-11-14 2008-05-21 中兴通讯股份有限公司 一种采用模拟开关实现备份的e1/t1接口
CN101452732A (zh) * 2008-12-30 2009-06-10 成都市华为赛门铁克科技有限公司 存储设备及控制接口的方法、系统
CN101997627A (zh) * 2010-11-16 2011-03-30 中兴通讯股份有限公司 一种切换接口的设备及方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007192A (zh) * 2015-08-05 2015-10-28 浪潮(北京)电子信息产业有限公司 一种网络接口管理方法、系统及网络接口管理服务器

Also Published As

Publication number Publication date
CN101997627A (zh) 2011-03-30

Similar Documents

Publication Publication Date Title
US11736978B2 (en) Method and apparatus for receiving CPRI data stream, method and apparatus for receiving ethernet frame, and system
US6430695B1 (en) Network transceiver having circuitry for referencing transmit data to a selected input clock
CN101753578B (zh) Ethernet/e1协议转换方法及协议转换器
WO2012065450A1 (zh) 一种切换接口的设备及方法
WO2017219725A1 (zh) 在近端设备和远端设备之间进行帧数据传输的方法和装置
CN113395168B (zh) 单对到多对以太网转换器
WO2013127321A1 (zh) 一种基带转接设备及其进行转接的方法
CN101847135B (zh) 串接通信系统及其通信方法
JP5662946B2 (ja) デジタル無線周波数インタフェースの制御
WO2012009926A1 (zh) 一种cpri链路误码监测方法、系统和装置
EP2445160B1 (en) Method for automatically negotiating type of service and aggregation apparatus therefor
US9455867B2 (en) Automatic configuration of a repeater
WO2020055949A1 (en) Method and system for bi-directional communication
US20150229432A1 (en) Full-duplex ethernet communications over coaxial links using time-division duplexing
WO2023125332A1 (zh) 数据传输电路、方法和芯片
JP2015515195A (ja) 多重シリアルメディア独立インターフェース
WO2010003377A1 (zh) 一种实现节点工作模式自动配置的方法及系统
CN105718401B (zh) 一种多路smii信号到一路mii信号的复用方法及系统
EP2530864A1 (en) Apparatus and Method for Power Saving
US6891935B1 (en) Direct access arrangement (DAA) circuit having automatic interface identification
WO2018076682A1 (zh) 一种并行接口时序控制方法和装置
CN204314869U (zh) 一种多路smii信号到一路mii信号的复用系统
CN103678227A (zh) Usb功能和网络功能共用usb接口的电路及方法
CN202395930U (zh) E1适配终端
WO2011060678A1 (zh) 时钟源选择的方法及数据通信设备

Legal Events

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

Ref document number: 11842023

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

Country of ref document: EP

Kind code of ref document: A1