WO2008061413A1 - A method, device and system for recognizing a cable type and a switching cable - Google Patents

A method, device and system for recognizing a cable type and a switching cable Download PDF

Info

Publication number
WO2008061413A1
WO2008061413A1 PCT/CN2007/001833 CN2007001833W WO2008061413A1 WO 2008061413 A1 WO2008061413 A1 WO 2008061413A1 CN 2007001833 W CN2007001833 W CN 2007001833W WO 2008061413 A1 WO2008061413 A1 WO 2008061413A1
Authority
WO
WIPO (PCT)
Prior art keywords
cable
signal
identifying
identification
type
Prior art date
Application number
PCT/CN2007/001833
Other languages
French (fr)
Chinese (zh)
Inventor
Huayu Chang
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008061413A1 publication Critical patent/WO2008061413A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/58Testing of lines, cables or conductors

Definitions

  • the present invention relates to cable access device technology, and more particularly to a method, apparatus and system for identifying cable types and adapter cable devices.
  • a Synchronous/Asynchronous serial interface can support RS-232, RS-449, EIA-530, The level of the serial communication interface standard such as EIA-530-A, V.35 and X.21 is suitable for the corresponding transmission rate and transmission distance.
  • TTL Transistor-Transistor Logic
  • TTL logic levels are converted between levels including, but not limited to, the above serial communication interface standards.
  • An existing technique for identifying a cable is to select four pins in the cable plug, and the four pins identify the ID signal by four signals, and the four signals are respectively named: ID-3, ID-2, ID- 1 and ID — 0, the signals of the four pins are connected to the power supply through the pull-up resistors on the board.
  • ID-3, ID-2, ID- 1 and ID — 0 the signals of the four pins are connected to the power supply through the pull-up resistors on the board.
  • different cables are grounded or suspended by the four identification ID signals, thus identifying the ID signal.
  • Different levels are combined. One level combination corresponds to one type of cable.
  • EIA-530, EIA-530A, RS-232, RS-449 V.35 and V.21 are interface standards for serial communication;
  • DCE Data Communicate Equipment
  • DTE Data Terminal Equipment
  • An embodiment of the present invention provides a method, device, and system for identifying a cable type to reduce the occupation of a cable connector pin on a single board when the cable is identified.
  • Another aspect of an embodiment of the present invention further provides an adapter cable device,
  • a method of identifying a cable type including:
  • a matching of the signal value of the digital signal with a preset digital signal value and a cable type is performed to identify the cable type.
  • the method of the embodiment of the present invention converts the multi-channel identification signal into a single-board analog signal through a parallel circuit, so that only one pin needs to be occupied on the single board, and only one pin needs to be occupied regardless of several identification signals. It not only reduces the use of a limited number of pins on the cable connectors on the board, but also identifies more cable types without occupying the pins, and also recognizes the connectionless state, which can further satisfy the customer. Need.
  • An adapter cable device for connecting a standard cable and cable identification device including:
  • a first cable interface for connecting to a standard cable, receiving a multi-channel identification signal transmitted by the standard cable for identifying a cable type
  • a first adapter cable configured to synthesize the multi-channel identification signal into an analog signal
  • a first cable identification device interface for transmitting the analog signal output by the first adapter cable to the cable identification device.
  • a standard cable can be connected to the cable identification device, so that the cable identification device recognizes the type of the standard cable.
  • the adapter cable device only needs to combine the multi-channel identification signals of the identification cable type, and does not need to change the original cable plug or the socket, and the adapter cable device does not change the data service signal, so the data transmission and reception will not be affected. Signal transmission.
  • a device for identifying a cable type comprising:
  • a pull-up resistor connected to the pull-up power source for obtaining an analog signal outputted by the adapter cable device; an analog-to-digital converter unit for converting the analog signal into a digital signal and obtaining a signal value of the digital signal
  • the signal value uniquely corresponds to a cable type.
  • a system for identifying cable types including:
  • a patch cable device for connecting to a standard cable, and synthesizing the multi-channel identification signal of the standard cable type uniquely sent by the standard cable into an analog signal;
  • a device for identifying a cable type for converting an analog signal transmitted by the adapter cable device into a digital signal corresponding to a cable type.
  • the device and the system of the embodiment of the present invention input the analog signal of the multi-channel identification signal into the single board through the parallel circuit, so that only the single-board cable connector is needed. It occupies one pin, and only needs to occupy one pin for several identification signals, which not only reduces the occupation of a limited number of pins of the cable connector on the single board, but also recognizes the pin without occupying the pin. More cable types, as well as a connection-free status, can further meet customer needs.
  • FIG. 1 is a structural view of an adapter cable device according to an embodiment of the present invention.
  • FIG. 2 is a structural diagram of an apparatus for identifying a cable type according to an embodiment of the present invention
  • Figure 3 is a structural diagram of a system for identifying a cable type according to an embodiment of the present invention.
  • FIG. 4 is a flow chart of a method in accordance with an embodiment of the present invention.
  • FIG. 1 is a structural diagram of an adapter cable device according to an embodiment of the present invention.
  • the adapter cable device is mainly composed of three parts:
  • a first cable interface 101 configured to be connected to a standard cable (not shown) for receiving a multi-channel identification signal for identifying a cable type transmitted by the standard cable;
  • the signal is not changed by the cable interface.
  • the cable interface can be a socket, a plug, or other connection interface.
  • the specific interface is different depending on the specific usage environment. The specific type is defined as long as the complete reception of the signal of the standard cable is within the scope of the present invention. Even when there is no cable connection, there is no signal transmitted by the standard cable, but in fact there is still a signal in the circuit. For example, one end of the standard cable is grounded through a switch, and the other end is connected to a power supply through a pull-up resistor. When the switch is off, it means that there is no cable connection. At this time, the signal obtained on the first cable interface is the power signal (that is, the voltage value of the power source is obtained).
  • the first adapter cable 102 includes a parallel circuit having the same number of lines as the number of signals of the multiple identification signals, and is configured to synthesize the multiple identification signals by using parallel resistors preset on respective lines of the parallel circuit.
  • the parallel circuit consists of n signal lines, each of which has a corresponding resistance.
  • the parallel resistance on line one is, and the parallel resistance on line 2 is R 2 , ..., the line
  • the parallel resistance on N is R n , and each identification signal is synthesized into one analog signal after passing through each parallel resistance;
  • the number of signal lines is also determined by the specific use environment, which is determined by the number of cable types that need to be identified. For example, in the prior art, it is necessary to identify 12 types of cables, and four signal lines are required; the value of the resistance on the signal lines You can take the value at will. Of course, the higher the accuracy of the resistor, the better.
  • a first cable identification device interface 103 configured to be connected to the cable identification device, to transmit the one analog signal processed by the adapter cable to a device for identifying the cable type (not shown);
  • the cable identification device interface can also be any of a socket, plug or other interface
  • the first cable identification device interface 103 is different from the first cable interface 101 in that only one of the identification signals needs to be input to the cable identification device after the first identification cable 102 synthesizes the multiple identification signals, so that the adapter cable device The identification signal is synthesized and input to the cable identification device. Since the original multi-channel identification signal has only one way, the identification signal only occupies one pin on the board, and no matter how many pins are occupied by the original identification signal, After the cable unit is connected, there is only one board pin, which greatly improves the utilization of the pins on the board and saves the pins on the board.
  • the functional entities of the adapter cable device can also add the following functional units:
  • the second cable interface may be integrated with the first cable interface or may be separated;
  • a second adapter cable for receiving and transmitting the service data signal to the second cable identification device interface; likewise, the second adapter cable may be integrated or separated from the first adapter cable;
  • a second cable identification device interface for transmitting the service data signal to a device identifying the cable type.
  • the second cable identification device interface can also be integrated with the first cable identification device interface or can be separated.
  • the patch cable device does not require any changes to the business data, it only plays a role in forwarding the traffic data. Further, in order to ensure the accuracy of the cable type identification, the resistance values of the parallel resistors on the respective lines of the parallel circuit built in the adapter cable are different from each other, so that the equivalent resistance of the parallel circuit can be ensured under different conditions.
  • the resistance values of the parallel resistors are not the same or different, which is determined by the number of cable types to be identified; for example, two identification signals are combined to form an analog signal, if two identification signals need to be identified 4
  • the resistance values need to be different from each other; but if only three, or two, or one type of cables need to be identified, the resistances of the resistors on the two lines of the parallel circuit can be the same.
  • a device for identifying a cable type mainly includes: a pull-up resistor 201, an analog-to-digital converter unit 202, and a signal value matching unit 203.
  • the pull-up resistor 201 is configured to pull up the parallel circuit in the adapter cable device to the pull-up power source to obtain an analog signal output by the parallel circuit;
  • the pull-up resistor 201 is connected with a pull-up power supply, and an analog signal transmitted by the adapter cable reaches the board, and is pulled up to the power source through the pull-up resistor 201. At this time, the pull-up resistor 201 and the parallel resistor in the adapter cable are formed. a series resistor; the resistance value of the pull-up resistor 201, the voltage value of the pull-up power supply, and the resistance value r of each parallel resistor in FIG. 1 are known, so that the voltage value of the analog signal is measured.
  • the table can know the corresponding identification signal combination by the signal value, and the cable type corresponding to each identification signal combination is also known, so the cable type corresponding to the signal value can be easily obtained;
  • the analog to digital converter unit 202 is configured to convert the analog signal into a digital signal to obtain a signal value of the digital signal, the signal value uniquely corresponding to a cable type.
  • the interval between the individual analog signal values obtained above is not very large, as described above, r / The value of (R+r) is greater than 0 and less than or equal to 1, and each circuit component itself is also errory.
  • the above signal value can be amplified by the A/D converter. For example, using an 8-bit A/D converter, the value will be between 0 and 255. Similarly, if a 10 bit A/D converter is used, the value will be between 0 and 1023, so that between the values of the analog signals The interval is increased to separate the individual signal values to ensure accuracy in cable type identification.
  • the board is a digital signal
  • the device part for identifying the cable type provided by the embodiment of the present invention can only recognize the digital signal, so the analog signal is converted into a digital signal, so that the signal values are not overlapped. , also makes the signal easy to recognize, thereby performing the corresponding operation.
  • the cable type corresponding to the signal value can be determined. For example, a correspondence table of digital signal values and cable types is set in advance, and the cable type is obtained by manually finding the relationship table.
  • the signal value matching unit 203 may be further disposed in the device, configured to match the signal value of the digital signal with a preset digital signal value and a correspondence table of the cable, and identify the cable type or the connectionless state. Thus, the cable type is automatically obtained by the device.
  • the final digital signal values obtained are different according to different combinations of resistors and different A/D converters, but in the case where the combination of resistors is determined and the A/D converter determines the signal value. It is indeed finalized, so it is possible to determine the corresponding identification signal combination based on the obtained digital signal value, thereby determining the cable type.
  • the adapter cable device and the device for identifying the cable type provided by the embodiments of the present invention can make the identification signal occupy only one pin on the single board to accurately identify the type of the cable or be connected.
  • the state reduces the occupation of a limited number of pins on the board and improves the utilization of the board pins.
  • FIG. 3 it is a structural diagram of a system for identifying a cable type according to an embodiment of the present invention, and the system mainly includes:
  • the adapter cable device 301 is configured to be connected to a standard cable (not shown), and synthesize the multi-channel identification signal sent by the standard cable to identify the standard cable type into an analog signal; wherein 11, 12 In represents an n-way identification signal line, and each identification signal line corresponds to one identification signal;
  • the device 302 for identifying a cable is configured to convert an analog signal sent by the adapter cable device 301 into a digital signal, and match the signal value of the digital signal with a preset digital signal value and a correspondence table of the cable to identify The cable type is either disconnected.
  • the multi-channel identification signal is synthesized into the analog signal by a parallel circuit built in the adapter cable device 301;
  • the number of branches of the parallel circuit is the same as the number of signals of the multi-channel identification signal, and one identification signal corresponds to a shunt of a parallel circuit;
  • the multi-channel identification signals cannot be directly combined, so that parallel resistors having different resistance values are preset on each line of the parallel circuit;
  • the voltage drop occurs in each signal, and the resistance values are different from each other.
  • the equivalent resistance of each combination is different, and different combinations correspond to different cable types. Therefore, the correct identification of the cable type or the connectionless state is ensured; in the case of the same resistance value, as described above, although the resistance values may be the same, the equivalent resistance of each cable type is actually The value is not the same, so when the resistance value is the same, the cable type can be determined according to the last equivalent resistance of the parallel circuit or in the no connection state;
  • analog signal is converted to the digital signal by an analog to digital converter
  • the parallel resistances on the respective identification signal lines are respectively corresponding to IDJ ID-1, ID-2 and ID-3 in the background art, so that the ID__x is suspended.
  • the relationship between the ID_x and the cable type described in Table 1 becomes the correspondence table of the resistance Rx and the cable type described in Table 2, wherein the signal is suspended by the existing one.
  • the corresponding switch in the cable plug determines that when a certain identification signal is empty, the corresponding switch is disconnected, and one end of the switch is grounded.
  • the cable type can be determined by a combination of different parallel resistors; assuming that the resistance of the pull-up resistor is R, the resistance of the parallel circuit composed of the parallel resistor is r, according to the characteristics of the parallel circuit, in four When the resistors are connected, the resistance r of the parallel circuit is:
  • the voltage value V of the analog signal input to the board of the adapter cable can be obtained as follows:
  • V Vcc * r / ( R + r ), where Vcc is the voltage value of the pull-up power supply;
  • the values of the respective resistors are preferably different, so that each identification signal can be determined according to different situations, if there are two parallel connections If the values of the resistors are the same, there will be multiple signal values, and the true identification signal will not be recognized.
  • This example uses the following resistance value scheme:
  • R is the resistance value of the pull-up resistor.
  • R is the resistance value of the pull-up resistor.
  • the resistance values of the resistors are different; Improve the accuracy of the identification cable, the accuracy of each component including the resistor and the power supply should be as high as possible, that is, the difference between the nominal value of the component and its actual value should not be too large, and the accuracy is preferably 1%. And above.
  • each signal value has a floating value of ⁇ 2 because there is an error between the nominal value of the resistor and its actual value in practical applications, and the AD converter is also error-prone.
  • the floating value of ⁇ 2 can ensure the correct identification of the cable.
  • the floating value of only the - 2 of the serial number 16 is because the maximum value converted by the 8-bit A/D converter is only OxFF, so only the floating value of - 2;
  • the determination of the floating value is determined by the accuracy of each device. It can also be up and down. It can also be floated up and down. Of course, it can be determined by the specific use environment. Here is just a practical example. It is not true. The range of up and down float is limited.
  • FIG. 4 is a specific flowchart of the method according to the embodiment of the present invention: Step 401: Output the cable The multi-channel identification signal for identifying the cable type is output in parallel as one analog signal;
  • Each identification signal has its own communication line.
  • a parallel resistor is added to each communication line to form a parallel circuit, and then each signal through the parallel resistance is combined into one signal; because different cable corresponding identification signals Differently, in fact, when the cable is output, it is determined according to the identification signal which communication lines are open and which communication lines are unreachable, so that the total resistance value of the parallel combination of various parallel resistances according to the communication line is turned on and off. It will be different, so that the synthesized analog signal will vary depending on the combination of the parallel resistors.
  • the analog signal is pulled up to the pull-up power supply through the pull-up resistor, and the pull-up resistor and the resistor of the parallel circuit form a series circuit, and the resistance value of the pull-up resistor and the voltage value of the pull-up power source It is known that, according to the characteristics of the series circuit, the voltage value or current value of the analog signal can be obtained, thereby determining the resistance value of the parallel circuit, and the resistance values of the respective parallel resistors are also known, so according to the characteristics of the parallel circuit, According to the resistance value of the parallel circuit, it can be known which parallel resistances are effective in the parallel circuit, so that it can be known which identification signals are valid.
  • Step 402 Convert the analog signal into a digital signal.
  • the difference between the signal values of the respective analog signals after step 401 is not so great, and the ratio of the resistance value of the parallel circuit above and the sum of the resistance values of the pull-up resistor and the parallel circuit ranges from 0 to 1. Therefore, it needs to be converted into a digital signal by an A/D (Analog/Digital) converter.
  • the AI converter with different bit widths can make the free space between the analog signals larger, for example, a 6-bit A/D converter.
  • the converted value range becomes from 0 to 63, so that different signals can be identified more accurately, ensuring the accuracy of cable type identification.
  • Step 403 Match a signal value of the digital signal with a preset digital signal value and a cable type to identify the cable type. Since the values of the respective circuit components are known, the signal values of the corresponding digital signals after the combination of the above processes can be predetermined according to the combination of the various parallel resistances, so that the digital signal values and cable types can be preset. In the corresponding relationship table, in the actual application, the corresponding cable type can be found in the corresponding relationship table according to the actually obtained value, thereby performing other operations; of course, in order to improve the identified quasi-nitrification rate, generally the digital signal value is The corresponding relationship between the value range and the cable type. The specific operations are described above and will not be described here.
  • the method is not only applied to identify the cable type on the single board, and any technical solution that is provided by the embodiment of the present invention can be used in any solution that uses a multi-way identification signal to identify the type of the cable or even the type of the access line.
  • the type is identified, and the specific similarity is not described in detail here.
  • each parallel resistor can take a different value, which ensures The signal value of each of the parallel resistors combined to the last digital signal is unique.

Abstract

A method for recognizing a cable type includes the step of outputting parallelly multiplex identification signals as one analog signal through the cable wherein the multiplex identification signals are used to identify the cable type (401); converting the analog signal into a digital signal (402); matching the signal value of the digital signal with the corresponding relation between the preset digital signal value and the cable type, and recognizing the cable type or whether or not under a nonconnecting condition (403).

Description

识别电缆类型的方法、 装置及系统和转接电缆装置  Method, device and system for identifying cable type and adapter cable device
本申请要求于 2006 年 11 月 24 日提交中国专利局、 申请号为 200610145265.6、 发明名称为"识别电缆类型的方法、 装置及系统和转接电缆 装置"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200610145265.6, entitled "Method, Apparatus and System for Identifying Cable Types and Adapter Cable Device", filed on November 24, 2006, the entire contents of which are hereby incorporated by reference. This is incorporated herein by reference.
技术领域 Technical field
本发明涉及电缆接入装置技术, 具体涉及一种识别电缆类型的方法、装置 及系统和转接电缆装置。  The present invention relates to cable access device technology, and more particularly to a method, apparatus and system for identifying cable types and adapter cable devices.
背景技术 Background technique
在数据通信产品中,经常会出现使用一种单板硬件接口支持不同的接口标 准, 例如一个同步 ( Synchronous ) /异步 ( Asynchronous ) 串行接口可以支持 RS-232、 RS-449、 EIA-530、 EIA-530-A、 V.35和 X.21等串行通信接口标准的 电平种类, 以适合相应的传输速率和传输距离。 为了简化接口设计, 通常在接 口的电平转换时, 采用通过识别不同类型的电缆, 来设置将 TTL ( ( Transistor-Transistor Logic, 晶体管-晶体管逻辑)电平转换为相应的接口电 平, 即在 TTL逻辑电平和包括但不限于以上几种串行通信接口标准的电平之 间进行转换。  In data communication products, it is often the case that a single board hardware interface is used to support different interface standards. For example, a Synchronous/Asynchronous serial interface can support RS-232, RS-449, EIA-530, The level of the serial communication interface standard such as EIA-530-A, V.35 and X.21 is suitable for the corresponding transmission rate and transmission distance. In order to simplify the interface design, it is common to set the TTL (Transistor-Transistor Logic) level to the corresponding interface level by identifying different types of cables during level shifting of the interface. TTL logic levels are converted between levels including, but not limited to, the above serial communication interface standards.
现有的一种识别电缆的技术是:在电缆插头中选择四个管脚, 四个管脚通 过四个信号标识 ID信号,四个信号分别命名为: ID— 3 、 ID— 2、 ID— 1和 ID— 0, 四个管脚的信号到单板上后通过上拉电阻连接到电源, 当有电缆连接时, 不同 的电缆通过将四个标识 ID信号接地或悬空,这样标识 ID信号就出现不同的电 平组合, 一个电平组合就对应一种电缆, 具体的标识 ID信号与电缆类型的对 应关系如表 1所示, 其中 EIA-530、 EIA-530A, RS-232、 RS-449、 V.35和 V.21 都是串行通信的接口标准; DCE ( Data Communicate Equipment )是数据通信 设备, DTE ( Data Terminal Equipment )是数据终端设备。  An existing technique for identifying a cable is to select four pins in the cable plug, and the four pins identify the ID signal by four signals, and the four signals are respectively named: ID-3, ID-2, ID- 1 and ID — 0, the signals of the four pins are connected to the power supply through the pull-up resistors on the board. When there is a cable connection, different cables are grounded or suspended by the four identification ID signals, thus identifying the ID signal. Different levels are combined. One level combination corresponds to one type of cable. The corresponding relationship between the specific ID signal and cable type is shown in Table 1, where EIA-530, EIA-530A, RS-232, RS-449 V.35 and V.21 are interface standards for serial communication; DCE (Data Communicate Equipment) is a data communication device, and DTE (Data Terminal Equipment) is a data terminal device.
表 1、 电缆型号与 ID— X关系表  Table 1, cable model and ID - X relationship table
序号 ID— 3 ID— 2 ID— 1 ID— 0 对应的电缆类型  Serial Number ID— 3 ID— 2 ID— 1 ID— 0 Corresponding cable type
1 0 0 0 0 未使用  1 0 0 0 0 not used
2 0 0 0 1 EIA-530A DTE模式电缆  2 0 0 0 1 EIA-530A DTE mode cable
3 0 0 1 0 EIA-530 DTE模式电缆 4 0 0 1 1 X.21 DTE模式电缆3 0 0 1 0 EIA-530 DTE mode cable 4 0 0 1 1 X.21 DTE mode cable
5 0 1 0 0 V.35 DTE模式电缆 5 0 1 0 0 V.35 DTE mode cable
6 0 1 0 1 RS-449 DTE模式电缆  6 0 1 0 1 RS-449 DTE mode cable
7 0 1 1 0 RS-232 DTE模式电缆  7 0 1 1 0 RS-232 DTE mode cable
8 0 1 1 1 无电缆  8 0 1 1 1 No cable
9 1 0 0 0 未使用  9 1 0 0 0 not used
10 1 0 0 1 EIA-530A DCE模式电缆  10 1 0 0 1 EIA-530A DCE mode cable
11 1 0 1 0 EIA-530 DCE模式电缆  11 1 0 1 0 EIA-530 DCE mode cable
12 1 0 1 1 X.21 DCE模式电缆  12 1 0 1 1 X.21 DCE mode cable
13 1 1 0 0 V.35 DCE模式电缆  13 1 1 0 0 V.35 DCE mode cable
14 1 1 0 1 RS-449 DCE模式电缆  14 1 1 0 1 RS-449 DCE mode cable
15 1 1 1 0 RS-232 DCE模式电缆  15 1 1 1 0 RS-232 DCE mode cable
16 1 1 1 1 无电缆  16 1 1 1 1 No cable
从表 1中可以看出, 在占用四个管脚时可以识别出 12种电缆, 另外还包 括无电缆和没有使用的四种情况。但是一个单板上与电缆连接的连接器的管脚 ( Pin )数量是有限的, 而且串行通信的标准信号不能缺少, 当一个单板上出 现四个或八个这样的接口时, 识别电缆时在单板上需要的管脚为 16 个或 32 个,这样在有限的单板电缆连接器管脚上实现就会很困难,会导致单板上电缆 连接器的管脚不够用, 而且上面只是列举了 4个标识信号的情况,如果有更多 的标识信号, 而一个标识信号要占用一个管脚,将会导致占用的电缆连接器管 脚会更多。  As can be seen from Table 1, 12 cables can be identified when occupying four pins, and there are four cases of no cable and no use. However, the number of pins (pins) of a connector connected to a cable on a single board is limited, and the standard signal for serial communication cannot be lacking. When four or eight such interfaces appear on a single board, the cable is identified. When the number of pins required on the board is 16 or 32, it is difficult to implement on the limited single-board cable connector pins, which may result in insufficient pins of the cable connector on the board. Only four identification signals are listed. If there are more identification signals and one identification signal occupies one pin, it will lead to more cable connector pins.
发明内容 Summary of the invention
本发明实施例一方面提供一种识别电缆类型的方法、装置及系统, 以减少 识别电缆时对单板上电缆连接器管脚的占用。  An embodiment of the present invention provides a method, device, and system for identifying a cable type to reduce the occupation of a cable connector pin on a single board when the cable is identified.
本发明实施例另一方面还提供一种转接电缆装置,  Another aspect of an embodiment of the present invention further provides an adapter cable device,
本发明实施例提供以下技术方案:  The embodiments of the present invention provide the following technical solutions:
一种识别电缆类型的方法, 包括:  A method of identifying a cable type, including:
将电缆输出的用于标识电缆类型的多路标识信号并联输出为一路模拟信 将所述模拟信号转换为数字信号; Parallel output of the multi-channel identification signal output by the cable for identifying the cable type as an analog signal Converting the analog signal to a digital signal;
将所述数字信号的信号值与预置的数字信号值和电缆类型的对应关系进 行匹配, 识别出所述电缆类型。  A matching of the signal value of the digital signal with a preset digital signal value and a cable type is performed to identify the cable type.
本发明实施例的方法将多路标识信号通过并联电路合成一路模拟信号输 入到单板,从而只需要在单板上占用一个管脚, 并且不管是几路标识信号都只 需要占用一个管脚, 不仅减少了对单板上电缆连接器有限数量的管脚的占用, 还能在不多占用管脚的情况下识别更多的电缆类型,同时也能识别出无连接的 状态, 能够进一步满足客户的需要。  The method of the embodiment of the present invention converts the multi-channel identification signal into a single-board analog signal through a parallel circuit, so that only one pin needs to be occupied on the single board, and only one pin needs to be occupied regardless of several identification signals. It not only reduces the use of a limited number of pins on the cable connectors on the board, but also identifies more cable types without occupying the pins, and also recognizes the connectionless state, which can further satisfy the customer. Need.
一种转接电缆装置, 用于连接标准电缆与电缆识别装置, 包括:  An adapter cable device for connecting a standard cable and cable identification device, including:
第一电缆接口, 用于与标准电缆连接,接收所述标准电缆传送的用于标识 电缆类型的多路标识信号;  a first cable interface for connecting to a standard cable, receiving a multi-channel identification signal transmitted by the standard cable for identifying a cable type;
第一转接电缆, 用于将所述多路标识信号合成为一路模拟信号;  a first adapter cable, configured to synthesize the multi-channel identification signal into an analog signal;
第一电缆识别装置接口,用于将所述第一转接电缆输出的所述模拟信号传 送给所述电缆识别装置。  And a first cable identification device interface for transmitting the analog signal output by the first adapter cable to the cable identification device.
利用本发明实施例提供的转接电缆装置,可以将标准电缆连接到电缆识别 装置,使电缆识别装置识别出该标准电缆的类型。该转接电缆装置只需将标识 电缆类型的多路标识信号进行合路输出,不需要对原有的电缆插头或插座进行 改变,转接电缆装置不改变数据业务信号,因此不会影响数据收发的信号传输。  With the adapter cable device provided by the embodiment of the present invention, a standard cable can be connected to the cable identification device, so that the cable identification device recognizes the type of the standard cable. The adapter cable device only needs to combine the multi-channel identification signals of the identification cable type, and does not need to change the original cable plug or the socket, and the adapter cable device does not change the data service signal, so the data transmission and reception will not be affected. Signal transmission.
一种识别电缆类型的装置, 包括:  A device for identifying a cable type, comprising:
上拉电阻,连接到上拉电源,用于得到转接电缆装置输出的一路模拟信号; 模拟数字转换器单元, 用于将所述模拟信号转换成数字信号, 并得到所述 数字信号的信号值, 所述信号值唯一对应了一种电缆类型。  a pull-up resistor connected to the pull-up power source for obtaining an analog signal outputted by the adapter cable device; an analog-to-digital converter unit for converting the analog signal into a digital signal and obtaining a signal value of the digital signal The signal value uniquely corresponds to a cable type.
一种识别电缆类型的系统, 包括:  A system for identifying cable types, including:
转接电缆装置, 用于与标准电缆连接, 并将所述标准电缆发送的唯一标识 所述标准电缆类型的多路标识信号合成为一路模拟信号;  a patch cable device for connecting to a standard cable, and synthesizing the multi-channel identification signal of the standard cable type uniquely sent by the standard cable into an analog signal;
识别电缆类型的装置,用于将所述转接电缆装置发送的一路模拟信号转换 为对应了电缆类型的数字信号。  A device for identifying a cable type for converting an analog signal transmitted by the adapter cable device into a digital signal corresponding to a cable type.
以上技术方案可以看出,由于本发明实施例的装置及系统将多路标识信号 通过并联电路合成一路模拟信号输入到单板,从而只需要在单板电缆连接器上 占用一个管脚, 并且不管是几路标识信号都只需要占用一个管脚, 不仅减少了 对单板上电缆连接器有限数量的管脚的占用,还能在不多占用管脚的情况下识 别更多的电缆类型, 同时也能识别出无连接的状态, 能够进一步满足客户的需 要。 The above technical solution shows that the device and the system of the embodiment of the present invention input the analog signal of the multi-channel identification signal into the single board through the parallel circuit, so that only the single-board cable connector is needed. It occupies one pin, and only needs to occupy one pin for several identification signals, which not only reduces the occupation of a limited number of pins of the cable connector on the single board, but also recognizes the pin without occupying the pin. More cable types, as well as a connection-free status, can further meet customer needs.
附图说明 DRAWINGS
图 1为本发明实施例的转接电缆装置的结构图;  1 is a structural view of an adapter cable device according to an embodiment of the present invention;
图 2为本发明实施例的识别电缆类型的装置的结构图;  2 is a structural diagram of an apparatus for identifying a cable type according to an embodiment of the present invention;
. 图 3为本发明实施例的识别电缆类型的系统的结构图;  Figure 3 is a structural diagram of a system for identifying a cable type according to an embodiment of the present invention;
图 4为本发明实施例的方法的流程图。  4 is a flow chart of a method in accordance with an embodiment of the present invention.
具体实施方式 detailed description
以下参照附图, 对本发明实施例作进一步详细说明。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
参见图 1 , 图 1是本发明实施例提供的转接电缆装置的结构图, 如图 1所 示, 转接电缆装置主要由三个部分组成:  Referring to FIG. 1, FIG. 1 is a structural diagram of an adapter cable device according to an embodiment of the present invention. As shown in FIG. 1, the adapter cable device is mainly composed of three parts:
第一电缆接口 101 , 用于与标准电缆(图中未示出)连接, 接收标准电缆 传送的用于标识电缆类型的多路标识信号;  a first cable interface 101, configured to be connected to a standard cable (not shown) for receiving a multi-channel identification signal for identifying a cable type transmitted by the standard cable;
通过电缆接口信号并不会有改变, 电缆接口既可以是一个插座,也可以是 一个插头,也可以是其它的连接接口,具体采用何种接口取决于具体的使用环 境,本发明实施例不对接口的具体类型进行限定, 只要能将标准电缆的信号完 整的接收都应该在本发明的保护范围内。 即使在无电缆连接状态时, 并没有标 准电缆传送的信号, 但是实际上电路中还是有信号的, 比如, 将标准电缆的一 端通过开关接地, 另一端通过上拉电阻接到一个电源上,在开关断开时表示无 电缆连接, 此时, 第一电缆接口上得到的信号为所述电源信号(即得到该电源 的电压值)。  The signal is not changed by the cable interface. The cable interface can be a socket, a plug, or other connection interface. The specific interface is different depending on the specific usage environment. The specific type is defined as long as the complete reception of the signal of the standard cable is within the scope of the present invention. Even when there is no cable connection, there is no signal transmitted by the standard cable, but in fact there is still a signal in the circuit. For example, one end of the standard cable is grounded through a switch, and the other end is connected to a power supply through a pull-up resistor. When the switch is off, it means that there is no cable connection. At this time, the signal obtained on the first cable interface is the power signal (that is, the voltage value of the power source is obtained).
第一转接电缆 102,包括有与所述多路标识信号的信号数量相同数量线路 的并联电路,用于将所述多路标识信号通过预置在所述并联电路各个线路的并 联电阻后合成一路模拟信号;  The first adapter cable 102 includes a parallel circuit having the same number of lines as the number of signals of the multiple identification signals, and is configured to synthesize the multiple identification signals by using parallel resistors preset on respective lines of the parallel circuit. One way analog signal;
并联电路由 n个信号线路组成,每个信号线路上都有对应的电阻, 为描述 方便, 线路一上的并联电阻为 , 线路二上的并联电阻为 R2, ...... , 线路 N 上的并联电阻为 Rn, 各个标识信号通过各个并联电阻后合成为一路模拟信号; 信号线路的数量也由具体使用环境决定,具体由需要识别的电缆类别的多 少决定, 如现有技术中的需要识别 12种电缆, 就需要有四个信号线路; 信号 线路上的电阻的取值可以随意取值, 当然电阻的精度越高越好,在实际应用中 为了方便, 一般采用相关倍数的方案, 如 =2* =4* =8* 等等, 当然这只 是举个实例, 具体可以任意取值, 并不影响本发明实施例的实现, 因此本发明 实施例也不对每个电阻的取值进行限定。 第一电缆识别装置接口 103 , 用于与 电缆识别装置连接,将经过转接电缆处理的所述一路模拟信号传送给识别电缆 类型的装置(图中未示出); The parallel circuit consists of n signal lines, each of which has a corresponding resistance. For the convenience of description, the parallel resistance on line one is, and the parallel resistance on line 2 is R 2 , ..., the line The parallel resistance on N is R n , and each identification signal is synthesized into one analog signal after passing through each parallel resistance; The number of signal lines is also determined by the specific use environment, which is determined by the number of cable types that need to be identified. For example, in the prior art, it is necessary to identify 12 types of cables, and four signal lines are required; the value of the resistance on the signal lines You can take the value at will. Of course, the higher the accuracy of the resistor, the better. In practice, for the convenience, the scheme of the relevant multiple is generally adopted, such as =2*=4*=8*, etc. Of course, this is just an example. Any value does not affect the implementation of the embodiment of the present invention. Therefore, the embodiment of the present invention does not limit the value of each resistor. a first cable identification device interface 103, configured to be connected to the cable identification device, to transmit the one analog signal processed by the adapter cable to a device for identifying the cable type (not shown);
同电缆接口一样, 电缆识别装置接口也可以是插座、插头或其它接口中的 任何一种;  As with the cable interface, the cable identification device interface can also be any of a socket, plug or other interface;
第一电缆识别装置接口 103与第一电缆接口 101不同,这是因为经过第一 转接电缆 102将多路标识信号合成一路信号后只有一路标识信号需要输入到 电缆识别装置, 这样转接电缆装置将标识信号合成一路输入到电缆识别装置, 由于原来的多路标识信号只有一路了, 所以标识信号只占用单板上的一个管 脚, 并且不管原来标识信号占用的管脚有多少个,通过转接电缆装置后占用的 单板管脚都只有一个, 因此大大提高了单板上管脚的利用率, 节省了单板上的 管脚。  The first cable identification device interface 103 is different from the first cable interface 101 in that only one of the identification signals needs to be input to the cable identification device after the first identification cable 102 synthesizes the multiple identification signals, so that the adapter cable device The identification signal is synthesized and input to the cable identification device. Since the original multi-channel identification signal has only one way, the identification signal only occupies one pin on the board, and no matter how many pins are occupied by the original identification signal, After the cable unit is connected, there is only one board pin, which greatly improves the utilization of the pins on the board and saves the pins on the board.
当然, 为了保障通信的顺利进行,转接电缆装置的各个功能实体还可以增 加如下的功能单元:  Of course, in order to ensure the smooth running of the communication, the functional entities of the adapter cable device can also add the following functional units:
第二电缆接口,用于接收标准电缆传送的业务数据信号; 所述第二电缆接 口可以与第一电缆接口集成在一起, 也可以分开;  a second cable interface for receiving a service data signal transmitted by the standard cable; the second cable interface may be integrated with the first cable interface or may be separated;
第二转接电缆,用于接收并传送所述业务数据信号到第二电缆识别装置接 口; 同样, 第二转接电缆可以与第一转接电缆集成在一起或分开;  a second adapter cable for receiving and transmitting the service data signal to the second cable identification device interface; likewise, the second adapter cable may be integrated or separated from the first adapter cable;
第二电缆识别装置接口,用于将所述业务数据信号传送给识别电缆类型的 装置。  A second cable identification device interface for transmitting the service data signal to a device identifying the cable type.
第二电缆识别装置接口也可以与第一电缆识别装置接口集成在一起,也可 以分开。  The second cable identification device interface can also be integrated with the first cable identification device interface or can be separated.
因为转接电缆装置并不需要对业务数据做什么更改,所以对业务数据只起 到一个转发的作用。 进一步, 为了保证对电缆类型识别的准确性, 内置于转接电缆的并联电路 各个线路上的并联电阻的电阻值是互不相同的,这样就可以保证并联电路的等 效电阻在不同的情况下是唯一的; 当然, 并联电阻的电阻值互不相同也不是必 须的,这要由要识别的电缆类型的数量来确定; 例如两个标识信号合成一路模 拟信号,如果两个标识信号需要标识 4种不同类型的电缆, 则需要电阻值互不 相同; 但是如果只需要识别 3种、 或 2种、 或 1种类型的电缆, 则并联电路两 个线路上的电阻的阻值也是可以相同的,因为两个电阻并联后的状态有四种组 合, 如果电阻的阻值相同的话, 其中只有两种组合是相同的, 实际上也还有三 种等效电阻值, 所以当识别不多于 3种电缆时,各个电阻的电阻值是不需要互 异的, 电阻值相同也能正确对电缆类型进行识别; 本说明书默认采用并联电阻 的电阻值互不相同的情况进行描述。 因为输入到单板的标识改变了, 为了正确 地识别电缆, 需要对单板进行一些改进, 首先当然要对单板上接口进行改进, 然后才能对电缆进行识别, 下面介绍本发明实施例提供的识别电缆类型的装 置,如图 2所示,该装置主要包括: 上拉电阻 201、模拟数字转换器单元 202、 还可以包括信号值匹配单元 203。 Because the patch cable device does not require any changes to the business data, it only plays a role in forwarding the traffic data. Further, in order to ensure the accuracy of the cable type identification, the resistance values of the parallel resistors on the respective lines of the parallel circuit built in the adapter cable are different from each other, so that the equivalent resistance of the parallel circuit can be ensured under different conditions. It is unique; of course, the resistance values of the parallel resistors are not the same or different, which is determined by the number of cable types to be identified; for example, two identification signals are combined to form an analog signal, if two identification signals need to be identified 4 For different types of cables, the resistance values need to be different from each other; but if only three, or two, or one type of cables need to be identified, the resistances of the resistors on the two lines of the parallel circuit can be the same. Since there are four combinations of states in which two resistors are connected in parallel, if the resistance values of the resistors are the same, only two of the combinations are the same, and actually there are three equivalent resistance values, so when identifying no more than 3 cables When the resistance values of the individual resistors do not need to be different, the same resistance value can correctly identify the cable type; The resistance value of the parallel resistance different from each other using a case will be described. Because the identification of the board is changed, in order to correctly identify the cable, some improvements are required to the board. First, the interface on the board is modified, and then the cable can be identified. The following describes the embodiment of the present invention. A device for identifying a cable type, as shown in FIG. 2, mainly includes: a pull-up resistor 201, an analog-to-digital converter unit 202, and a signal value matching unit 203.
上拉电阻 201 , 用于将转接电缆装置中的并联电路上拉到上拉电源,得到 所述并联电路输出的一路模拟信号;  The pull-up resistor 201 is configured to pull up the parallel circuit in the adapter cable device to the pull-up power source to obtain an analog signal output by the parallel circuit;
上拉电阻 201上接一个上拉电源,转接电缆传送的一路模拟信号到达单板 后,通过上拉电阻 201上拉到电源,此时上拉电阻 201与转接电缆中的并联电 阻组成了一个串联电阻; 而上拉电阻 201的电阻值1、 上拉电源的电压值、 以 及图 1中各个并联电阻的电阻值 r都是已知的, 因此, 测得所述模拟信号的电 压值就可以计算出哪些标识信号的线路是断开的, 即哪些线路是没有信号的; 而每种标识信号的组合对应的电压都是不同的,这样在预先设定一个信号值对 应标识信号组合的关系表,通过信号值就可以知道对应的标识信号组合, 而每 种标识信号组合对应的电缆类型也是已知的,所以可以很容易得到信号值对应 的电缆类型;  The pull-up resistor 201 is connected with a pull-up power supply, and an analog signal transmitted by the adapter cable reaches the board, and is pulled up to the power source through the pull-up resistor 201. At this time, the pull-up resistor 201 and the parallel resistor in the adapter cable are formed. a series resistor; the resistance value of the pull-up resistor 201, the voltage value of the pull-up power supply, and the resistance value r of each parallel resistor in FIG. 1 are known, so that the voltage value of the analog signal is measured. It can be calculated which lines of the identification signal are disconnected, that is, which lines are not signaled; and the voltages corresponding to the combination of each identification signal are different, so that the relationship of the identification signal combination corresponding to a signal value is preset. The table can know the corresponding identification signal combination by the signal value, and the cable type corresponding to each identification signal combination is also known, so the cable type corresponding to the signal value can be easily obtained;
模拟数字转换器单元 202, 用于将所述模拟信号转换成数字信号得到数字 信号的信号值, 所述信号值唯一对应了一种电缆类型。  The analog to digital converter unit 202 is configured to convert the analog signal into a digital signal to obtain a signal value of the digital signal, the signal value uniquely corresponding to a cable type.
因为上面得到的各个模拟信号值之间的间隔不会很大, 如上面所述, r/ ( R+r ) 的取值是大于 0而小于等于 1的, 而且各个电路元器件本身也是有误 差的, 为了确保识别的正确性, 可以通过 A/D转换器将上面的信号值进行放 大, 例如采用 8bit的 A/D转换器, 数值将会在 0到 255之间; 同样, 如果采 用 lObit的 A/D转换器, 数值将会在 0到 1023之间, 这样各个模拟信号值之 间的间隔就会增大,从而能够将各个信号值分开,从而保证对电缆类型识别的 准确性。 Because the interval between the individual analog signal values obtained above is not very large, as described above, r / The value of (R+r) is greater than 0 and less than or equal to 1, and each circuit component itself is also errory. In order to ensure the correctness of the identification, the above signal value can be amplified by the A/D converter. For example, using an 8-bit A/D converter, the value will be between 0 and 255. Similarly, if a 10 bit A/D converter is used, the value will be between 0 and 1023, so that between the values of the analog signals The interval is increased to separate the individual signal values to ensure accuracy in cable type identification.
进一步, 由于单板上都是数字信号,本发明实施例提供的识别电缆类型的 装置部分也只能识别数字信号, 所以要将模拟信号转换为数字信号, 既能够使 各个信号值之间没有重合, 也使得信号容易识别, 从而执行对应的操作。  Further, since the board is a digital signal, the device part for identifying the cable type provided by the embodiment of the present invention can only recognize the digital signal, so the analog signal is converted into a digital signal, so that the signal values are not overlapped. , also makes the signal easy to recognize, thereby performing the corresponding operation.
根据模拟数字转换器单元 202输出的数字信号的信号值,可以确定该信号 值对应的电缆类型。 比如, 预先设置数字信号值和电缆类型的对应关系表, 通 过人工查找该关系表得到电缆类型。  Based on the signal value of the digital signal output from the analog-to-digital converter unit 202, the cable type corresponding to the signal value can be determined. For example, a correspondence table of digital signal values and cable types is set in advance, and the cable type is obtained by manually finding the relationship table.
当然, 还可以在该装置中设置信号值匹配单元 203 , 用于将所述数字信号 的信号值与预置的数字信号值和电缆的对应关系表进行匹配,识别出电缆类型 或处于无连接状态, 从而通过该装置自动获得电缆类型。  Of course, the signal value matching unit 203 may be further disposed in the device, configured to match the signal value of the digital signal with a preset digital signal value and a correspondence table of the cable, and identify the cable type or the connectionless state. Thus, the cable type is automatically obtained by the device.
在上面已经提到, 根据不同的电阻组合以及采用不同的 A/D转换器, 得 到的最后数字信号值都是不同的,但是在电阻组合确定, A/D转换器确定的情 况下,信号值确是最后确定的, 所以就可以根据得到的数字信号值确定对应的 标识信号组合, 从而确定电缆类型。  As mentioned above, the final digital signal values obtained are different according to different combinations of resistors and different A/D converters, but in the case where the combination of resistors is determined and the A/D converter determines the signal value. It is indeed finalized, so it is possible to determine the corresponding identification signal combination based on the obtained digital signal value, thereby determining the cable type.
从上可知,釆用本发明实施例提供的转接电缆装置和识别电缆类型的装置 就可以使标识信号只占用单板上的一个管脚就能很准确地识别出电缆的类型 或处于无连接状态, 减少了对单板上有限数量的管脚的占用,提高了单板管脚 的利用率。  It can be seen from the above that the adapter cable device and the device for identifying the cable type provided by the embodiments of the present invention can make the identification signal occupy only one pin on the single board to accurately identify the type of the cable or be connected. The state reduces the occupation of a limited number of pins on the board and improves the utilization of the board pins.
如图 3所示,是本发明实施例提供的识别电缆类型的系统的结构图, 该系 统主要包括:  As shown in FIG. 3, it is a structural diagram of a system for identifying a cable type according to an embodiment of the present invention, and the system mainly includes:
转接电缆装置 301 , 用于与标准电缆(图中未示出)连接, 并将所述标准 电缆发送的唯一标识所述标准电缆类型的多路标识信号合成为一路模拟信号; 其中 11、 12 In代表 n路标识信号线路, 每个标识信号线路对应一 路标识信号; 识别电缆的装置 302, 用于将转接电缆装置 301发送的一路模拟信号转换 为数字信号,并将所述数字信号的信号值与预置的数字信号值和电缆的对应关 系表进行匹配识别出电缆类型或处于无连接状态。 The adapter cable device 301 is configured to be connected to a standard cable (not shown), and synthesize the multi-channel identification signal sent by the standard cable to identify the standard cable type into an analog signal; wherein 11, 12 In represents an n-way identification signal line, and each identification signal line corresponds to one identification signal; The device 302 for identifying a cable is configured to convert an analog signal sent by the adapter cable device 301 into a digital signal, and match the signal value of the digital signal with a preset digital signal value and a correspondence table of the cable to identify The cable type is either disconnected.
其中,所述多路标识信号通过内置于转接电缆装置 301的并联电路合成为 所述模拟信号;  The multi-channel identification signal is synthesized into the analog signal by a parallel circuit built in the adapter cable device 301;
并联电路的分路数量是和多路标识信号的信号数量相同的,一个标识信号 对应一个并联电路的分路;  The number of branches of the parallel circuit is the same as the number of signals of the multi-channel identification signal, and one identification signal corresponds to a shunt of a parallel circuit;
当然不能直接将所述多路标识信号简单的合路,所以在所述并联电路的各 个线路上预置有电阻值互不相同的并联电阻;  Of course, the multi-channel identification signals cannot be directly combined, so that parallel resistors having different resistance values are preset on each line of the parallel circuit;
通过并联电阻后, 各个信号会产生压降, 电阻值互不相同, 在不同的电阻 值组合时,每种组合对应的等效电阻是不相同的, 而不同的组合对应着不同的 电缆类型,从而保证了对电缆类型或处于无连接状态的正确识别; 在有电阻值 相同的情况下, 和上面描述的相同, 虽然可以有电阻值相同, 但实际上每种电 缆类型所对应的等效电阻值却是不一样的, 所以在有电阻值相同时,也可以根 据并联电路最后的等效电阻确定电缆类型或处于无连接状态;  After the resistors are connected in parallel, the voltage drop occurs in each signal, and the resistance values are different from each other. When different resistance values are combined, the equivalent resistance of each combination is different, and different combinations correspond to different cable types. Therefore, the correct identification of the cable type or the connectionless state is ensured; in the case of the same resistance value, as described above, although the resistance values may be the same, the equivalent resistance of each cable type is actually The value is not the same, so when the resistance value is the same, the cable type can be determined according to the last equivalent resistance of the parallel circuit or in the no connection state;
其中, 所述模拟信号通过模拟数字转换器转换为所述数字信号;  Wherein the analog signal is converted to the digital signal by an analog to digital converter;
在实际应用中为了使各个数字信号的信号值能够互异,一般都采用位宽足 够的模拟数字转换器来实现,从而保证各个数字信号的信号值之间有较大的空 间,使各个信号值不会有重合,从而保证每个信号值都有唯一的电缆类型与之 对应。  In practical applications, in order to make the signal values of the respective digital signals different, generally adopting an analog-to-digital converter with sufficient bit width to ensure a large space between the signal values of the respective digital signals, so that each signal value There is no overlap, so that each signal value has a unique cable type.
下面参照背景技术举一个实际应用的例子, 四个标识信号,各个标识信号 线路上的并联电阻分别为 和 分别对应背景技术中的 IDJ ID— 1、 ID— 2和 ID— 3,这样在 ID__x悬空时,对应的电阻也就悬空,表 1所描述的 ID— x 与电缆类型的关系表就变为表 2所描述的电阻 Rx与电缆类型的对应关系表, 其中信号的悬空是由现有的电缆插头中对应的开关确定的,在某个标识信号为 空时, 对应的开关就是断开的, 并且开关的一端是接地的。  Referring to the background art, an example of practical application is given. Four identification signals, the parallel resistances on the respective identification signal lines are respectively corresponding to IDJ ID-1, ID-2 and ID-3 in the background art, so that the ID__x is suspended. When the corresponding resistance is also suspended, the relationship between the ID_x and the cable type described in Table 1 becomes the correspondence table of the resistance Rx and the cable type described in Table 2, wherein the signal is suspended by the existing one. The corresponding switch in the cable plug determines that when a certain identification signal is empty, the corresponding switch is disconnected, and one end of the switch is grounded.
表 2、 电阻组合与电缆类型的对应关系表  Table 2. Correspondence table between resistance combination and cable type
序号 ID— 3 ID— 2 ID—l ID—0 对应的电缆类型  Serial number ID— 3 ID— 2 ID—l ID—0 Corresponding cable type
1 4 R3 R2 Ri 未使用 2 R4 R3 R2 EIA-530A DTE模式电缆1 4 R 3 R 2 Ri Not used 2 R4 R 3 R 2 EIA-530A DTE mode cable
3 R4 R3 Ri EIA-530 DTE模式电缆 3 R4 R 3 Ri EIA-530 DTE Mode Cable
4 R4 R3 X.21 DTE模式电缆 4 R4 R 3 X.21 DTE mode cable
5 R4 R2 Ri V.35 DTE模式电缆 5 R4 R 2 Ri V.35 DTE mode cable
6 R4 R2 RS-449 DTE模式电缆 6 R4 R 2 RS-449 DTE mode cable
7 R4 Ri RS-232 DTE模式电缆  7 R4 Ri RS-232 DTE Mode Cable
8 R4 无电缆  8 R4 without cable
9 R3 R2 Ri 未使用 9 R 3 R 2 Ri not used
10 R3 R2 EIA-530ADCE模式电缆10 R 3 R 2 EIA-530ADCE mode cable
11 R3 Ri EIA-530 DCE模式电缆 11 R 3 Ri EIA-530 DCE mode cable
12 R3 X.21 DCE模式电缆 12 R 3 X.21 DCE mode cable
13 R2 Ri V.35 DCE模式电缆 13 R 2 Ri V.35 DCE mode cable
14 R2 RS-449 DCE模式电缆 14 R 2 RS-449 DCE mode cable
15 Ri RS-232 DCE模式电缆  15 Ri RS-232 DCE mode cable
16 无电缆  16 no cable
从表 2可以看出, 电缆类型可以由不同的并联电阻组合来确定; 假设上拉 电阻的电阻值为 R, 并联电阻组成的并联电路的电阻值为 r, 根据并联电路的 特性, 在四个电阻都连上时, 并联电路的电阻 r为:  As can be seen from Table 2, the cable type can be determined by a combination of different parallel resistors; assuming that the resistance of the pull-up resistor is R, the resistance of the parallel circuit composed of the parallel resistor is r, according to the characteristics of the parallel circuit, in four When the resistors are connected, the resistance r of the parallel circuit is:
r = 1/((1/ R4) + (1/ R3) + (1/ R2) + (1/ R1));  r = 1/((1/ R4) + (1/ R3) + (1/ R2) + (1/ R1));
这样根据并联电路的原理,就可以得到转接电缆输入到单板的模拟信号的 电压值 V为:  In this way, according to the principle of the parallel circuit, the voltage value V of the analog signal input to the board of the adapter cable can be obtained as follows:
V=Vcc * r / ( R + r ), 其中 Vcc是上拉电源的电压值;  V=Vcc * r / ( R + r ), where Vcc is the voltage value of the pull-up power supply;
另外关于 Rx ( x=l , 2, 3, 4 ) 的取值, 一般的情况下, 各个电阻的取值 最好不相同, 这样就可以根据不同的情况确定各个标识信号,如果有两个并联 电阻的取值相同的话,就会出现有多个信号值相同的情况, 自然就不能识别出 真正的标识信号了。 本例采用如下的电阻取值方案:  In addition, regarding the value of Rx (x=l, 2, 3, 4), in general, the values of the respective resistors are preferably different, so that each identification signal can be determined according to different situations, if there are two parallel connections If the values of the resistors are the same, there will be multiple signal values, and the true identification signal will not be recognized. This example uses the following resistance value scheme:
R4=1*R; R3=2*R; R2=4*R; R1=8*R;  R4=1*R; R3=2*R; R2=4*R; R1=8*R;
其中 R是上拉电阻的电阻值, 当然这只是本例所采用的取值方案, 在实 际应用中它们的取值是可以任意的, 最好就是各个电阻的电阻值不一样; 为了 提高识别电缆的准确率, 各个元器件包括电阻和电源的精度应该尽可能的高, 也就是元器件的标称值与它的实际值之间的差别不能太大, 精度最好能在 1% 及其以上。 Where R is the resistance value of the pull-up resistor. Of course, this is only the value scheme adopted in this example. In practical applications, their values can be arbitrary, and it is better that the resistance values of the resistors are different; Improve the accuracy of the identification cable, the accuracy of each component including the resistor and the power supply should be as high as possible, that is, the difference between the nominal value of the component and its actual value should not be too large, and the accuracy is preferably 1%. And above.
按照上面的并联电阻的取值以及采用 8 Bit的 A/D转换器的信号进行转换 后, 各个并联电阻的组合及其对应的电缆类型, 以及通过 A/D转换器转换后 的值和该值对应的 16进制的数值如表 3所示:  According to the value of the above parallel resistor and the signal of the 8 bit A/D converter, the combination of each parallel resistor and its corresponding cable type, and the value converted by the A/D converter and the value The corresponding hexadecimal values are shown in Table 3:
表 3、 并联电阻组合及其信号值转换为数字信号值得对应关系表  Table 3, parallel resistance combination and its signal value converted to digital signal worth correspondence table
Figure imgf000012_0001
Figure imgf000012_0001
然后根据转换后的信号值去预置的转换结果与电缆的对应关系表中查找 对应的电缆类型,从而识别出对应的电缆类型。一种预置的信号值与电缆类型 的对应关系表入表 4所示:  Then, according to the converted signal value, the corresponding cable type is found in the corresponding relationship between the converted conversion result and the cable, thereby identifying the corresponding cable type. A correspondence between a preset signal value and a cable type is shown in Table 4:
表 4、 信号值与电缆类型的对应关系 序号 A/D转换结果 对应的电缆类型 Table 4, Correspondence between signal values and cable types Cable type corresponding to the serial number A/D conversion result
1 0x59±2 未使用  1 0x59±2 not used
2 0x5D±2 EIA-530A DTE模式电缆 2 0x5D±2 EIA-530A DTE mode cable
3 0x61±2 EIA-530 DTE模式电缆3 0x61±2 EIA-530 DTE mode cable
4 0x66士 2 X.21 DTE模式电缆 4 0x66士 2 X.21 DTE mode cable
5 0x6B±2 V.35 DTE模式电缆  5 0x6B±2 V.35 DTE mode cable
6 0x71±2 RS-449 DTE模式电缆  6 0x71±2 RS-449 DTE mode cable
7 0x78=1=2 RS-232 DTE模式电缆  7 0x78=1=2 RS-232 DTE mode cable
8 0x80±2 无电缆  8 0x80±2 no cable
9 0x88±2 未使用  9 0x88±2 not used
10 0x92±2 EIA-530A DCE模式电缆 10 0x92±2 EIA-530A DCE mode cable
11 0x9D±2 EIA-530 DCE模式电缆11 0x9D±2 EIA-530 DCE mode cable
12 0xAA±2 X.21 DCE模式电缆 12 0xAA±2 X.21 DCE mode cable
13 0xBA±2 V.35 DCE模式电缆  13 0xBA±2 V.35 DCE mode cable
14 OxCC士 2 RS-449 DCE模式电缆 14 OxCC 2 RS-449 DCE mode cable
15 0xE3士 2 RS-232 DCE模式电缆15 0xE3士 2 RS-232 DCE mode cable
16 OxFF-2 无电缆 16 OxFF-2 without cable
在表 4中, 每个信号值都有 ± 2的浮动值, 这是因为在实际应用中电阻的 标称值与它的实际值之间是有误差的, 并且 A D转换器也是有误差的, ± 2的 浮动值可以保证对电缆的正确识别, 其中序号 16的只有- 2的浮动值是因为 8 Bit的 A/D转换器转换过来的最大值只有 OxFF, 所以只有 - 2的浮动值; 当然 浮动值的确定是由各器件的精度来确定的, 也可以是上下浮动 1, 当然也可以 上下浮动更多,这个由具体的使用环境确定,在这里只是举个实际的例子而已, 并不是对上下浮动的范围进行限定。  In Table 4, each signal value has a floating value of ± 2 because there is an error between the nominal value of the resistor and its actual value in practical applications, and the AD converter is also error-prone. The floating value of ± 2 can ensure the correct identification of the cable. The floating value of only the - 2 of the serial number 16 is because the maximum value converted by the 8-bit A/D converter is only OxFF, so only the floating value of - 2; The determination of the floating value is determined by the accuracy of each device. It can also be up and down. It can also be floated up and down. Of course, it can be determined by the specific use environment. Here is just a practical example. It is not true. The range of up and down float is limited.
以上也只是对 8 Bit的 A/D转换器的转换结果进行了描述, 而在实际应用 中如果需要更高精度的话可以采用 10 Bit或更高位宽的 A/D转换器。 当然, 如果精度够高的话, 也可以采用低于 8 Bit的 A/D转换器, 对 A/D转换器的选 择也是根据具体的使用环境来确定, 本发明并不对 A/D转换器的位宽进行限 定。 上面介绍了本发明实施例提供的装置和系统,以下开始介绍本发明提供的 识别电缆类型的方法, 参见图 4, 图 4是本发明实施例的方法的具体流程图: 步骤 401、将电缆输出的用于标识电缆类型的多路标识信号并联输出为一 路模拟信号; The above is only a description of the conversion result of the 8-bit A/D converter. In practical applications, if higher precision is required, an A/D converter of 10 Bit or higher can be used. Of course, if the accuracy is high enough, an A/D converter of less than 8 bits can be used. The selection of the A/D converter is also determined according to the specific use environment, and the present invention does not have the bit of the A/D converter. The width is limited. The device and the system provided by the embodiments of the present invention are described above. The following describes the method for identifying the cable type provided by the present invention. Referring to FIG. 4, FIG. 4 is a specific flowchart of the method according to the embodiment of the present invention: Step 401: Output the cable The multi-channel identification signal for identifying the cable type is output in parallel as one analog signal;
因为有多种不同的电缆需要识别,通过不同的标识信号的组合来区分不同 的电缆, 一般根据需要识别电缆类型的多少来确定多少路标识信号, 例如要识 别 10种电缆, 则需要四个标识信号, 如果只需要识别 6种电缆, 则只需要三 个标识信号; 具体是多少路标识信号, 由需要识别的电缆类型的数量确定。  Because there are many different cables to be identified, different cables are distinguished by different combinations of identification signals. Generally, it is necessary to identify the number of cable types according to the number of cable types to be identified. For example, to identify 10 cables, four identifiers are required. Signal, if only six types of cables need to be identified, only three identification signals are needed; specifically, how many identification signals are determined by the number of cable types that need to be identified.
每个标识信号都有自己的通信线路, 在每个通信线路上增加一个并联电 阻, 就组成了一个并联电路, 然后将通过并联电阻的各路信号合成一路信号; 因为不同的电缆对应的标识信号不同, 实际上就是在电缆输出时,才艮据标识信 号确定哪些通信线路是通的,哪些通信线路是不通的,这样根据通信线路的通 断,各种并联电阻的并联组合的总的电阻值就会不同,从而合成的一路模拟信 号根据并联电阻的组合的不同而有所不同。  Each identification signal has its own communication line. A parallel resistor is added to each communication line to form a parallel circuit, and then each signal through the parallel resistance is combined into one signal; because different cable corresponding identification signals Differently, in fact, when the cable is output, it is determined according to the identification signal which communication lines are open and which communication lines are unreachable, so that the total resistance value of the parallel combination of various parallel resistances according to the communication line is turned on and off. It will be different, so that the synthesized analog signal will vary depending on the combination of the parallel resistors.
为了能够确定并联电路的电阻值,将模拟信号通过上拉电阻上拉到上拉电 源, 上拉电阻与并联电路的电阻组成一个串联电路, 而上拉电阻的电阻值和上 拉电源的电压值是已知的,根据串联电路的特性,可以得到模拟信号的电压值 或电流值,从而确定并联电路的电阻值, 并且各个并联电阻的电阻值也是已知 的, 所以根据并联电路的特性,可以根据并联电路的电阻值就可以知道哪些并 联电阻在并联电路中是有效的, 这样就能知道哪些标识信号是有效的。  In order to determine the resistance value of the parallel circuit, the analog signal is pulled up to the pull-up power supply through the pull-up resistor, and the pull-up resistor and the resistor of the parallel circuit form a series circuit, and the resistance value of the pull-up resistor and the voltage value of the pull-up power source It is known that, according to the characteristics of the series circuit, the voltage value or current value of the analog signal can be obtained, thereby determining the resistance value of the parallel circuit, and the resistance values of the respective parallel resistors are also known, so according to the characteristics of the parallel circuit, According to the resistance value of the parallel circuit, it can be known which parallel resistances are effective in the parallel circuit, so that it can be known which identification signals are valid.
步骤 402、 将所述模拟信号转换为数字信号;  Step 402: Convert the analog signal into a digital signal.
通过步骤 401后的各个模拟信号的信号值之间差别不会很大,像上面的并 联电路的电阻值与上拉电阻和并联电路的电阻值之和的比值取值范围在 0到 1 之间, 所以需要经过 A/D (模拟 /数字)转换器将其转换为数字信号, 采用不 同位宽的 AI 转换器可以将模拟信号之间空闲空间较大, 例如采用 6 Bit的 A/D转换器, 转换后的数值的取值范围变成从 0到 63, 从而可以更精确的识 别出不同的信号, 保证电缆类型识别的准确性。  The difference between the signal values of the respective analog signals after step 401 is not so great, and the ratio of the resistance value of the parallel circuit above and the sum of the resistance values of the pull-up resistor and the parallel circuit ranges from 0 to 1. Therefore, it needs to be converted into a digital signal by an A/D (Analog/Digital) converter. The AI converter with different bit widths can make the free space between the analog signals larger, for example, a 6-bit A/D converter. The converted value range becomes from 0 to 63, so that different signals can be identified more accurately, ensuring the accuracy of cable type identification.
步驟 403、 将所述数字信号的信号值与预置的数字信号值和电缆类型的对 应关系进行匹配, 识别出所述电缆类型。 因为各个电路元器件的值都是已知的,因此根据各种并联电阻组合的不同 可以预先确定这些組合经过上述过程后对应的数字信号的信号值,所以就能预 置数字信号值与电缆类型的对应关系表,在实际应用中就可以根据实际得到的 值在对应关系表中找出对应的电缆类型, 从而进行其它操作; 当然, 为了提高 识别的准硝率, 一般都是数字信号值的取值范围与电缆类型的对应关系,具体 操作在上面已有描述, 这里不再赘述。 Step 403: Match a signal value of the digital signal with a preset digital signal value and a cable type to identify the cable type. Since the values of the respective circuit components are known, the signal values of the corresponding digital signals after the combination of the above processes can be predetermined according to the combination of the various parallel resistances, so that the digital signal values and cable types can be preset. In the corresponding relationship table, in the actual application, the corresponding cable type can be found in the corresponding relationship table according to the actually obtained value, thereby performing other operations; of course, in order to improve the identified quasi-nitrification rate, generally the digital signal value is The corresponding relationship between the value range and the cable type. The specific operations are described above and will not be described here.
从上可知, 因为只有一路模拟信号到单板, 所以只需要占用单板上的一个 管脚,减少了对单板上有限数量的管脚的占用,特别是在需要识别的电缆类型 非常多时, 此时标识信号也多, 按现有技术, 有几路标识信号就需要占用几个 管脚, 是对单板上有限数量的管脚的浪费, 而使用本发明实施例的方法后, 不 管几路标识信号都只需要占用单板上的一个管脚。  As can be seen from the above, since only one analog signal is sent to the board, only one pin on the board needs to be occupied, which reduces the occupation of a limited number of pins on the board, especially when there are many types of cables to be identified. At this time, there are many identification signals. According to the prior art, there are several ways to use several pins for the identification signal, which is a waste of a limited number of pins on the board, and after using the method of the embodiment of the present invention, no matter how many The road identification signal only needs to occupy one pin on the board.
当然, 本方法并不是只应用在单板上识别电缆类型,任何使用多路标识信 号识别电缆类型甚至是接入线路的类型的方案中都可以使用本发明实施例提 供的技术方案来对它的类型进行识别, 具体的类似, 这里不再详细描述。  Of course, the method is not only applied to identify the cable type on the single board, and any technical solution that is provided by the embodiment of the present invention can be used in any solution that uses a multi-way identification signal to identify the type of the cable or even the type of the access line. The type is identified, and the specific similarity is not described in detail here.
在实际使用中, 当系统支持的电缆类型非常多时, 例如支持的电缆类型的 数量与并联电路上各并联电阻的组合数量相同或接近这个数量时,各个并联电 阻可以取不同的值,这样可以保证每个并联电阻的组合到最后的数字信号的信 号值是唯一的。  In actual use, when the system supports a large number of cable types, for example, the number of supported cable types is the same as or close to the number of combinations of parallel resistors on the parallel circuit, each parallel resistor can take a different value, which ensures The signal value of each of the parallel resistors combined to the last digital signal is unique.
以上对本发明实施例所提供的识别电缆类型的方法、装置及系统和转接电 缆装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进 行了阐述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应 用范围上均会有改变之处, 综上所述,本说明书内容不应理解为对本发明的限 制。  The method, the device and the system for identifying the cable type and the adapter cable device provided by the embodiments of the present invention are described in detail. The principles and implementation manners of the present invention are described in the following, and the description of the above embodiments is described. It is only used to help understand the method of the present invention and its core ideas; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The contents of this specification are not to be construed as limiting the invention.

Claims

权 利 要 求 Rights request
1、 一种识别电缆类型的方法, 其特征在于, 包括:  A method for identifying a cable type, comprising:
将电缆输出的用于标识电缆类型的多路标识信号并联输出为一路模拟信 号;  Outputting the multi-channel identification signal of the cable output for identifying the cable type in parallel as one analog signal;
将所述模拟信号转换为数字信号;  Converting the analog signal to a digital signal;
将所述数字信号的信号值与预置的数字信号值和电缆类型的对应关系进 行匹配, 识别出所述电缆类型。  A matching of the signal value of the digital signal with a preset digital signal value and a cable type is performed to identify the cable type.
2、 如权利要求 1所述的识别电缆类型的方法, 其特征在于, 并联输出为 一路模拟信号时所述多路标识信号的各个线路的压降互不相同。  2. The method of identifying a cable type according to claim 1, wherein the voltage drops of the respective lines of the multi-way identification signal are different from each other when the parallel output is an analog signal.
3、 一种转接电缆装置, 用于连接标准电缆与电缆识别装置, 其特征在于, 包括:  3. An adapter cable device for connecting a standard cable and cable identification device, comprising:
第一电缆接口, 用于与标准电缆连接,接收所述标准电缆传送的用于标识 电缆类型的多路标识信号;  a first cable interface for connecting to a standard cable, receiving a multi-channel identification signal transmitted by the standard cable for identifying a cable type;
第一转接电缆, 用于将所述多路标识信号合成为一路模拟信号;  a first adapter cable, configured to synthesize the multi-channel identification signal into an analog signal;
第一电缆识别装置接口,用于将所述第一转接电缆输出的所述模拟信号传 送给所述电缆识别装置。  And a first cable identification device interface for transmitting the analog signal output by the first adapter cable to the cable identification device.
4、 如权利要求 3所述的转接电缆装置, 其特征在于, 所述第一转接电缆 包括: 由多个并联电阻组成的并联电路, 所述电阻的数量与所述标识电缆类型 的多路标识信号的数量相同。  The adapter cable device according to claim 3, wherein the first adapter cable comprises: a parallel circuit composed of a plurality of parallel resistors, the number of the resistors being more than the type of the identification cable The number of road identification signals is the same.
5、 如权利要求 4所述的转接电缆装置, 其特征在于, 所述各并联电阻的 电阻值互不相同。  The adapter cable device according to claim 4, wherein the resistance values of the parallel resistors are different from each other.
6、 如权利要求 3或 4或 5所述的转接电缆装置, 其特征在于, 所述装置 还包括:  6. The adapter cable device of claim 3 or 4 or 5, wherein the device further comprises:
第二电缆接口, 用于接收标准电缆传送的业务数据信号;  a second cable interface, configured to receive a service data signal transmitted by the standard cable;
第二转接电缆,用于接收并传送所述业务数据信号到第二电缆识别装置接 口;  a second adapter cable for receiving and transmitting the service data signal to the second cable identification device interface;
第二识别电缆类型装置接口,用于将所述业务数据信号传送给识别电缆类 型的装置。  A second identification cable type device interface for transmitting the service data signal to a device identifying the cable type.
7、 一种识别电缆类型的装置, 其特征在于, 包括: 上拉电阻,连接到上拉电源,用于得到转接电缆装置输出的一路模拟信号; 模拟数字转换器单元, 用于将所述模拟信号转换成数字信号,并得到所述 数字信号的信号值, 所述信号值唯一对应了一种电缆类型。 7. A device for identifying a cable type, comprising: a pull-up resistor connected to the pull-up power supply for obtaining an analog signal outputted by the adapter cable device; an analog-to-digital converter unit for converting the analog signal into a digital signal and obtaining a signal value of the digital signal The signal value uniquely corresponds to a cable type.
8、 如权利要求 7所述的识别电缆类型的装置, 其特征在于, 所述装置还 包括:  8. The device for identifying a cable type according to claim 7, wherein the device further comprises:
信号值匹配单元,用于将所述数字信号的信号值与预置的数字信号值和电 缆的对应关系表进行匹配, 识别出所述信号值对应的电缆类型。  And a signal value matching unit configured to match a signal value of the digital signal with a preset relationship between the preset digital signal value and the cable, and identify a cable type corresponding to the signal value.
9、 一种识别电缆类型的系统, 其特征在于, 包括:  9. A system for identifying a cable type, comprising:
转接电缆装置, 用于与标准电缆连接, 并将所述标准电缆发送的唯一标识 所述标准电缆类型的多路标识信号合成为一路模拟信号;  a patch cable device for connecting to a standard cable, and synthesizing the multi-channel identification signal of the standard cable type uniquely sent by the standard cable into an analog signal;
识别电缆类型的装置,用于将所述转接电缆装置发送的一路模拟信号转换 为对应了电缆类型的数字信号。  A device for identifying a cable type for converting an analog signal transmitted by the adapter cable device into a digital signal corresponding to a cable type.
10、 如权利要求 9所述的识别电缆类型的系统, 其特征在于, 所述转接电 缆装置内设置有并联电路,所述多路标识信号通过所述并联电路合成为所述模 拟信号。  A system for identifying a cable type according to claim 9, wherein said switching cable device is provided with a parallel circuit, and said multi-channel identification signal is synthesized as said analog signal by said parallel circuit.
11、 如权利要求 10所述的识别电缆类型的系统, 其特征在于, 所述并联 电路的各个线路上设置有电阻值互不相同的电阻。  A system for identifying a cable type according to claim 10, wherein each of said parallel circuits is provided with a resistor having mutually different resistance values.
12、 如权利要求 9所述的识别电缆类型的系统, 其特征在于, 所述识别电 缆类型的装置包括: 模拟数字转换器, 用于将所述模拟信号通过转换为所述数 字信号。  A system for identifying a cable type according to claim 9, wherein said means for identifying a cable type comprises: an analog to digital converter for converting said analog signal into said digital signal.
PCT/CN2007/001833 2006-11-24 2007-06-11 A method, device and system for recognizing a cable type and a switching cable WO2008061413A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610145265.6 2006-11-24
CNB2006101452656A CN100495053C (en) 2006-11-24 2006-11-24 Method, apparatus and system for identifying type of cables and cable transfer apparatus

Publications (1)

Publication Number Publication Date
WO2008061413A1 true WO2008061413A1 (en) 2008-05-29

Family

ID=38082685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001833 WO2008061413A1 (en) 2006-11-24 2007-06-11 A method, device and system for recognizing a cable type and a switching cable

Country Status (2)

Country Link
CN (1) CN100495053C (en)
WO (1) WO2008061413A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100495053C (en) * 2006-11-24 2009-06-03 华为技术有限公司 Method, apparatus and system for identifying type of cables and cable transfer apparatus
GB2520857B (en) * 2012-09-20 2019-12-04 Hewlett Packard Development Co Detecting key positions to determine a type of cable
CN104330990B (en) * 2014-10-16 2017-02-01 航天科工惯性技术有限公司 Parity check cable model identification method and device thereof
CN104297606A (en) * 2014-10-31 2015-01-21 上海飞机制造有限公司 Adapter cable testing system capable of recognizing addresses of tested devices
CN104469347B (en) * 2014-12-08 2016-08-24 硅谷数模半导体(北京)有限公司 The testing circuit of video transmission cable and video frequency output chip
CN109581255A (en) * 2017-09-29 2019-04-05 江西洪都航空工业集团有限责任公司 A kind of error protection system and method for test macro
CN108169633B (en) * 2017-12-07 2020-02-07 中国船舶重工集团公司第七0五研究所 Method for testing insulativity by using non-associative search algorithm
CN109063647A (en) * 2018-08-02 2018-12-21 国网江苏省电力有限公司无锡供电分公司 The accurate recognition methods of target cable
CN109738787A (en) * 2018-12-28 2019-05-10 上海新纪元机器人有限公司 A kind of cable recognition methods and system
CN110940415B (en) * 2019-11-07 2022-04-08 中国人民武装警察部队士官学校 Laser sensing system and method
CN111083666B (en) * 2019-12-17 2024-02-23 联合汽车电子有限公司 Network node sequencing method, network node and network system
CN112067919B (en) * 2020-07-28 2023-06-13 北京机电工程研究所 Automatic cable type identification device and automatic test method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3740644A (en) * 1970-06-15 1973-06-19 Thomas & Betts Corp Apparatus for identifying individual wires of a multi-wire cable
JPS5833170A (en) * 1981-08-21 1983-02-26 Nec Corp Cable tester
US4837488A (en) * 1988-05-06 1989-06-06 Ncr Corporation Portable identifier and tester units for computer communication cables
WO1989008850A1 (en) * 1988-03-08 1989-09-21 Network Systems Builders Limited Method of and apparatus for testing multi-wire cable
DE19939638A1 (en) * 1999-08-20 2001-03-29 Kolb Elektro Sbw Ag Vaduz Cable assembly has length and identity markings eases fault location
CN2429838Y (en) * 2000-06-24 2001-05-09 中山市禾丰贸易有限公司 Phase identifier for low voltage cables in eletric power system
CN1467505A (en) * 2002-06-04 2004-01-14 Method and apparatus for distinguishing cable by simultaneous supplying of tone and intermittent link
CN1564006A (en) * 2004-04-02 2005-01-12 江苏省电力公司常州供电公司 Recognition method of power cable
CN1963547A (en) * 2006-11-24 2007-05-16 华为技术有限公司 Method, apparatus and system for identifying type of cables and transfer cable apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100265704B1 (en) * 1997-10-17 2000-09-15 윤종용 Cable manager system and computer with the same
US6654840B1 (en) * 1998-05-19 2003-11-25 Sega Enterprises, Ltd. Connection cable identification mechanism
CN1235347C (en) * 2002-12-19 2006-01-04 华为技术有限公司 Inter face for realizing automatic impedance matching and method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3740644A (en) * 1970-06-15 1973-06-19 Thomas & Betts Corp Apparatus for identifying individual wires of a multi-wire cable
JPS5833170A (en) * 1981-08-21 1983-02-26 Nec Corp Cable tester
WO1989008850A1 (en) * 1988-03-08 1989-09-21 Network Systems Builders Limited Method of and apparatus for testing multi-wire cable
US4837488A (en) * 1988-05-06 1989-06-06 Ncr Corporation Portable identifier and tester units for computer communication cables
DE19939638A1 (en) * 1999-08-20 2001-03-29 Kolb Elektro Sbw Ag Vaduz Cable assembly has length and identity markings eases fault location
CN2429838Y (en) * 2000-06-24 2001-05-09 中山市禾丰贸易有限公司 Phase identifier for low voltage cables in eletric power system
CN1467505A (en) * 2002-06-04 2004-01-14 Method and apparatus for distinguishing cable by simultaneous supplying of tone and intermittent link
CN1564006A (en) * 2004-04-02 2005-01-12 江苏省电力公司常州供电公司 Recognition method of power cable
CN1963547A (en) * 2006-11-24 2007-05-16 华为技术有限公司 Method, apparatus and system for identifying type of cables and transfer cable apparatus

Also Published As

Publication number Publication date
CN1963547A (en) 2007-05-16
CN100495053C (en) 2009-06-03

Similar Documents

Publication Publication Date Title
WO2008061413A1 (en) A method, device and system for recognizing a cable type and a switching cable
US6453374B1 (en) Data bus
CN100568208C (en) The flexible interface that is used for universal bus test instrument
EP1017196B1 (en) Method and system of data transmission using differential and common mode data signaling
US7996577B2 (en) Automatically switching console connection
US7808277B2 (en) Bidirectional signal separation module for a bus converter
AU546443B2 (en) Apparatus for interconnecting data communication equipment and data terminal equipment
KR19980032559A (en) Data communication methods, electronic devices and physical layer control integrated circuits
CN201319606Y (en) Testing treatment tool
CN104067248A (en) Multiplexer for signals according to different protocols
CN214225912U (en) Serial port level internal selection switching equipment and system
CN112131163A (en) PCIE resource automatic splitting circuit and method
CN114928512B (en) Signal transmission method, device, equipment and medium based on drilling equipment
US5734682A (en) Method for increasing transmission rate
CN209330115U (en) A kind of differential communication circuit between SPI and SSC
CN107329417A (en) A kind of microcontroller and its input and output pin mapping circuit
US7899071B2 (en) Serial bus structure
CN220292038U (en) USB changes on-vehicle ethernet equipment
CN220041090U (en) Interface circuit and interface chip
US5739777A (en) Interface system common to V24/V28 and V35
JP2011084101A (en) Communication device and system
CN218676026U (en) LVDS signal isolation circuit structure
CN215599527U (en) Control panel with multiple signals
CN218587186U (en) Multiplexing circuit of Ethernet interface and serial interface, electronic equipment
US20080307149A1 (en) Clustering System and Flexible Interconnection Architecture Thereof

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

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

Country of ref document: EP

Kind code of ref document: A1