CN102164070B - Switchboard and network port and serial port multiplexing method thereof - Google Patents

Switchboard and network port and serial port multiplexing method thereof Download PDF

Info

Publication number
CN102164070B
CN102164070B CN201010505339.9A CN201010505339A CN102164070B CN 102164070 B CN102164070 B CN 102164070B CN 201010505339 A CN201010505339 A CN 201010505339A CN 102164070 B CN102164070 B CN 102164070B
Authority
CN
China
Prior art keywords
port
change over
over switch
level
transformer
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201010505339.9A
Other languages
Chinese (zh)
Other versions
CN102164070A (en
Inventor
张天明
孙长幸
马朝阳
陆明华
肖文
张永胜
张津阳
许享恩
杨金生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010505339.9A priority Critical patent/CN102164070B/en
Publication of CN102164070A publication Critical patent/CN102164070A/en
Application granted granted Critical
Publication of CN102164070B publication Critical patent/CN102164070B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a switchboard and a network port & serial port multiplexing method thereof, wherein the switchboard comprises a switchboard interface connector, and the switchboard interface connector comprises a multiplexing port connected with externally-inserted network ports or serial ports, a detection control circuit, a level translator, a transformer and a change-over switch; the multiplexing port is respectively connected with the level translator and the transformer by the change-over switch; and the detection control circuit is connected with the multiplexing port and the change-over switch, and used for detecting the electrical level of the multiplexing port, and controlling the change-over switch to connect the multiplexing port and the transformer or connect the multiplexing port and the level translator according to the electrical level of the multiplexing port. According to the embodiment of the invention, a network port and a serial port use a same interface connector, which not only saves the panel space of the switchboard and facilitates function expansion, but also reduces the material cost for interface debugging.

Description

The method of switch and multiplexing network interface serial ports thereof
Technical field
The embodiment of the present invention relates to technical field, relates in particular to a kind of method of switch and multiplexing network interface serial ports thereof.
Background technology
Non-functional area on veneer comprises serial ports and network interface.Wherein, serial ports is one of debugging interface that veneer is conventional, is single plate hardware debugging and the most frequently used, the most basic interface of positioning problems.Serial ports is initialized interface the earliest after CPU starts, and can export central processing unit (Central Processing Unit; Be called for short: CPU) to the initialization procedure of single plate hardware and assign control command.Network interface is the high-speed interface that CPU directly goes out, can be for large communications of data volume such as business softwares in equipment, but network interface is initialized more late, when hardware problem appears in veneer, often can not complete the initialization of network interface.
The prior art of switch industry is to use two RJ45 connectors (network interface card interface connector), and a RJ45 connector is for serial port function, and another RJ45 connector is for network interface function.Serial ports and network interface are used two RJ45 connectors, need to take two ports of veneer.
The port that existing non-functional area takies veneer is many, has reduced the quantity of operable functional area, has increased the cost of equipment.
Summary of the invention
The invention provides a kind of method of switch and multiplexing network interface serial ports thereof, in order to solve in prior art non-functional area on switch, take the many defects of port of veneer, realization shares an interface connector by network interface and serial ports, saves switchboard panel space, reduces the Material Cost of debugging interface.
The embodiment of the present invention provides a kind of switch, comprising: the multiplexing port that the network interface inserting with outside or serial ports are connected, detection control circuit, level translator, transformer and change over switch;
Described multiplexing port connects respectively described level translator and described transformer by described change over switch;
Described detection control circuit is connected with described change over switch with described multiplexing port, for detection of the level of described multiplexing port, according to the level of described multiplexing port, control described change over switch and connect described multiplexing port and described transformer or connect described multiplexing port and described level translator.
The method of the multiplexing network interface serial ports of switch provided by the invention, comprising:
The detection control circuit of the exchange interface connector of switch detects the level of the multiplexing port of described exchange interface connector;
The change over switch that described detection control circuit is controlled described exchange interface connector according to the level of the multiplexing port of described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector, or controls the level translator that described change over switch is connected described multiplexing port and described exchange interface connector.
The method of the switch that the embodiment of the present invention provides and multiplexing network interface serial ports thereof, the exchange interface connector of switch comprises the multiplexing port that not only can insert serial ports but also can insert network interface, and automatically identify by detecting control circuit that outside what insert is network interface or serial ports, make serial ports and network interface use same interface connector, both saved switchboard panel space, be conducive to Function Extension, reduced again the Material Cost of debugging interface.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of switch the first embodiment of the present invention;
Fig. 2 is the structural representation of switch the second embodiment of the present invention;
Fig. 3 inserts the schematic diagram of serial ports in switch the second embodiment of the present invention;
Fig. 4 inserts the schematic diagram of network interface in switch the second embodiment of the present invention;
Fig. 5 is the structural representation of switch of the present invention the 3rd embodiment;
Fig. 6 is the schematic diagram of the embodiment of the method for the multiplexing network interface serial ports of switch of the present invention.
Main Reference numeral:
1-exchange interface connector; 2-multiplexing port; 3-detects control circuit;
4-level translator; 5-transformer; 6-change over switch;
51-the first transformer; 52-the second transformer; 61-the first change over switch;
62-the second change over switch; R1, R2-detection port; R3, R6-public port;
R4, R5-grounding ports.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the structural representation of switch the first embodiment of the present invention, as shown in Figure 1, this switch comprises: exchange interface connector 1, and this exchange interface connector 1 comprises: the multiplexing port 2 that the network interface inserting with outside or serial ports are connected, detection control circuit 3, level translator 4, transformer 5 and change over switch 6;
Described multiplexing port 2 connects respectively described level translator 4 and described transformer 5 by described change over switch 6;
Described detection control circuit 3 is connected with described change over switch 6 with described multiplexing port 2 respectively, for detection of the level of described multiplexing port 2, according to the level of 2 mouthfuls, described multiplexing end, control described change over switch 6 and connect described multiplexing port 2 with described transformer 5 or connect described multiplexing port 2 and described level translator 4.
Particularly, network interface and serial ports can insert exchange interface connector by multiplexing port 2, for example: wherein multiplexing port can with the interface class of RJ45 (ethernet line attachment plug) seemingly, wherein exchange interface connector need to judge that the outside interface inserting is network interface or serial ports, the detection control circuit 3 of exchange interface connector detects the level of described multiplexing port 2, controls described change over switch 6 connect described multiplexing port 2 with described transformer 5 or connect described multiplexing port 2 and described level translator 4 according to the level of described multiplexing port 2.For example: if the voltage of described multiplexing port 2 is outside level value corresponding to network interface inserting, as: level value is " 1 " corresponding network interface, control described change over switch 6 and connect described multiplexing port 2 and described transformer 5, due to, the transformer of exchange interface connector is by connecting the CPU of switch in its plate for carrying out the physical layer block (PHY) of level conversion, the transformer of network interface is by the PHY in its plate and the CPU of switch connection device, therefore, after the transformer 5 of exchange interface connector is communicated with the transformer of network interface by multiplexing port 2, the CPU at two ends can communicate by letter by network interface, if the voltage of described multiplexing port 2 is outside level value corresponding to serial ports inserting, as: level value is " 0 " corresponding serial ports, control described change over switch 6 and connect described multiplexing port 2 and described level translator 4, due to, the level translator 4 of exchange interface connector connects the CPU of switch, the level translator of serial ports connects the CPU with switch connection device, therefore, after the level translator 4 of exchange interface connector is communicated with the level translator of serial ports by multiplexing port 2, the CPU at two ends can pass through serial communication.
Exchange interface connector in the present embodiment switch comprises the multiplexing port that not only can insert serial ports but also can insert network interface, and automatically identify by detecting control circuit that outside what insert is network interface or serial ports, make serial ports and network interface use same interface connector, save switchboard panel space, be conducive to Function Extension.And user, without distinguishing serial ports or network interface, can identify automatically by detecting control circuit, has increased the operability of switch, using method is easy.
Fig. 2 is the structural representation of switch the second embodiment of the present invention, and as shown in Figure 2, on the basis of switch the first embodiment of the present invention, the transformer of described exchange interface connector 1 can comprise the first transformer 51 and the second transformer 52;
Described change over switch can comprise the first change over switch 61 and the second change over switch 62;
Wherein, first group of fixed contact a of described the first change over switch 61 connects receiving terminal RX1 and the transmitting terminal TX1 of described level translator 4, second group of fixed contact b of described the first change over switch 61 connects described the first transformer 51, wherein, described the first change over switch 61 moving contact c connect first group of fixed contact a or second group of fixed contact b of described the first change over switch 61;
First group of fixed contact d of described the second change over switch 62 connects described detection control circuit 3, second group of fixed contact e of described the second change over switch 62 connects described the first transformer 52, wherein, the moving contact f of described the second change over switch 62 connects first group of fixed contact d or second group of fixed contact e of described the second change over switch 62.
Further, described multiplexing port 2 can comprise public port and detection port, in Fig. 2, with public port, comprises R3, R6, and detection port comprises R1, R2, for example describes; In Fig. 2, multiplexing port 2 can also comprise R4, two grounding ports of R5.
Described public port R3, R6 connect the moving contact c of described the first change over switch 61; Wherein, the first change over switch can or have the electronic switch of dpdt double-pole double-throw (DPDT) function for double-point double-throw switch, has two moving contact c, is connected respectively with public port R3, R6.When two moving contact c of the first change over switch 61 and its first group of fixed contact a are closed, public port R3 and R6 can distinguish the corresponding receiving terminal RX1 transmitting terminal TX1 that is communicated with level translator 4.When two moving contact c of the first change over switch 61 and its second group of fixed contact b are closed, public port R3 and R6 can distinguish corresponding two ports that are communicated with the first transformer 51.
Described detection port R1, R2 connect the moving contact f of described the second change over switch 62; Wherein, the second change over switch can or have the electronic switch of dpdt double-pole double-throw (DPDT) function for double-point double-throw switch, has two moving contact f, is connected respectively with detection port R1, R2.When two moving contact f of the second change over switch 62 and its first group of fixed contact d are closed, detection port R1 and R2 can communication with detection control circuits 3.When two moving contact f of the second change over switch 62 and its second group of fixed contact e are closed, public port R1 and R2 can distinguish corresponding two ports that are communicated with the second transformer 52.
Described grounding ports R4, R5 ground connection GND.
As shown in Figure 3, for inserting the schematic diagram of serial ports in switch the second embodiment of the present invention, wherein, public port R3, the R6 of exchange interface connector 1 is corresponding with the outside transmitting terminal TX2 of serial ports and the position of receiving terminal RX2 of inserting, and wherein the transmitting terminal TX2 of serial ports and receiving terminal RX2 can be for by a level translator for example: realization is brought in transmitting terminal and the reception of RS232.In addition, can also comprise a grounding ports SP5 in serial ports, position can be corresponding with a grounding ports R5 of exchange interface connector.
The initial condition of exchange interface connector 1 or default conditions can be serial ports operating state, and now, the moving contact c of the first change over switch 61 and first group of fixed contact a are closed, and described public port R3, R6 are communicated with described level translator 4; The moving contact f of the second change over switch 62 and first group of fixed contact d closed communicating detection port R1, detection port R2 with detect control circuit 3, detecting control circuit 3 can detect the level of detection port R2, due to detection port R1 and R2 disconnection, the DC impedance approach infinity of the two, the detection port R2 detecting is low level.Now, if insert serial ports at exchange interface connector, public port R3, R6 be corresponding transmitting terminal TX2 and the receiving terminal RX2 that is communicated with serial ports respectively, grounding ports R5 is communicated with the grounding ports SP5 of serial ports, detection port R1 and R2 still disconnect, the DC impedance of the two is approach infinity still, detects control circuit 3 and also output low level still of detection port R2 can be detected.Detect control circuit and do not change current on off state, the level translator RS232 of serial ports can on-line operation, realizes serial communication.
As shown in Figure 4, for inserting the schematic diagram of network interface in switch the second embodiment of the present invention, wherein, public port R3, the R6 of described exchange interface connector 1 is corresponding with port S3, the S6 position of the 3rd transformer T1 of the outside network interface inserting; Described detection port R1, R2 are corresponding with port S1, the S2 position of the 4th transformer T2 of the outside network interface inserting.
When the initial condition of exchange interface connector 1 or default conditions, the closure state of the first change over switch 61, the second change over switch 62 can be referring to Fig. 3, detecting control circuit 3 can detect the level of detection port R2, due to detection port R1 and R2 disconnection, the DC impedance approach infinity of the two, the detection port R2 detecting is low level.Now, if insert network interface at exchange interface connector 1, public port R3, R6 be corresponding port S3, the S6 that is communicated with the 3rd transformer T1 of network interface respectively, detection port R1 and R2 be corresponding port S1, the S2 that is communicated with the 4th transformer T2 of network interface respectively, therefore, detection port R1 and R2 are communicated with by the 4th transformer T2 of network interface, and the DC impedance between detection port R1 and R2 is close to zero, detection port R2 produces voltage, detects control circuit 3 and detection port R2 output high level can be detected.Now, detect moving contact c and second group of fixed contact b closure that control circuit 3 can be controlled the first change over switch 61, be communicated with the first transformer 51 of exchange interface connector and the 3rd transformer T1 of network interface; And the moving contact f and the second group of fixed contact e that control the second change over switch are closed, are communicated with the second transformer 52 of exchange interface connector and the 4th transformer T2 of network interface, realize network interface function, detect control circuit 3 simultaneously and can stop detecting.
When exchange interface connector 1 is network interface working state, if there is network interface go offline (DOWN) or other abnormal conditions, switch can detect control circuit 3 by process chip signaling, detecting control circuit 3 receives network interface and goes offline etc. after abnormal signal, the first change over switch 61 and the second change over switch 62 are returned to default conditions, detect control circuit 3 and proceed to detect.
The multiplexing port of the exchange interface connector in the present embodiment switch not only can insert serial ports but also can insert network interface, what detection control circuit can be identified outside insertion automatically is network interface or serial ports, make serial ports and network interface can use same interface connector work, both saved switchboard panel space, be conducive to Function Extension, reduced again the Material Cost of debugging interface.And user, without distinguishing serial ports or network interface, can identify automatically by detecting control circuit, has increased the operability of switch, using method is easy.
Fig. 5 is the structural representation of switch of the present invention the 3rd embodiment, and as shown in Figure 5, the detection control circuit 3 of the exchange interface connector 1 of this switch can comprise: detect power supply 30, amplifying circuit 31 and center processor 32;
Wherein, amplifying circuit can be selected according to demand, and the input IN of amplifying circuit 31 can connect first group of fixed contact d of the second change over switch 62, and the output OUT of amplifying circuit 31 can connect center processor 32; For example: amplifying circuit can be Darlington transistor, can be also the amplifier of other types, after being amplified, the signal of telecommunication of input sends to center processor; Darlington transistor can comprise the triode of two series connection, a termination power VCC after series connection, and other end ground connection GND, input IN meets first group of fixed contact d of the second change over switch 62, and output OUT connects center processor 32.Wherein power supply VCC can be the power-supply device being set together with detecting power supply 30, can be also the power-supply device separately arranging, and the two output voltage values can identically be for example 3.3V, also can be different, and can be according to concrete scene setting.
Described center processor 32 is connected with described the second change over switch 62 with described the first change over switch 61 respectively, for according to the level of described amplifying circuit 31 inputs, controls the state of described the first change over switch 61 and described the second change over switch 62.
Further, this center processor 32 can comprise: judge module, serial ports control module and network interface control module.
Judge module, for the level of inputting according to described amplifying circuit, the outside interface inserting of judgement is serial ports or network interface, if the level of described amplifying circuit input is low level, the outside interface inserting is serial ports, if the level of described amplifying circuit input is high level, the outside interface inserting is network interface;
Serial ports control module, while being low level for the level when described amplifying circuit input, moving contact c and 61 first groups of fixed contact a of described the first change over switch of controlling described the first change over switch 61 are closed, and described public port R3, R6 are communicated with described level translator 4; Moving contact f and 62 first groups of fixed contact d of described the second change over switch of controlling described the second change over switch 62 are closed, be communicated with first port (being detection port R1) and described detection power supply 30 of described detection port, and be communicated with second port (being detection port R2) of described detection port and the input of described amplifying circuit 31; If insertion serial ports, described serial ports is communicated with work by described public port R3, R6 with described level translator 4;
Network interface control module, while being high level for the level when described amplifying circuit input, moving contact c and 61 second groups of fixed contact b of described the first change over switch of controlling described the first change over switch 61 are closed, by described public port, the first transformer 51 of described exchange interface connector are communicated with the 3rd transformer T1 of described network interface; Moving contact f and 62 second groups of fixed contact e of described the second change over switch of controlling described the second change over switch 62 are closed, by described detection port, the first transformer 52 of described exchange interface connector are communicated with the 3rd transformer T1 of described network interface.
Again further, described center processor 32 can also comprise:
The network interface control module that goes offline, be connected with the process chip (not shown) of switch, while going offline signal for the network interface receiving described process chip transmission, moving contact c and 61 first groups of fixed contact a of described the first change over switch of controlling described the first change over switch 61 are closed, by described public port, the transmitting terminal of described level translator can be communicated with the receiving terminal of described serial ports, the receiving terminal of described level translator is communicated with the transmitting terminal of described serial ports; Moving contact and 62 first groups of fixed contacts of described the second change over switch of controlling described the second change over switch 62 are closed, first port (being detection port R1) and detection power supply 30 of described detection port be can be communicated with, and second port (being detection port R2) of described detection port and the input of described amplifying circuit are communicated with.
The multiplexing port of the exchange interface connector in the present embodiment switch not only can insert serial ports but also can insert network interface, what detection control circuit can be identified outside insertion automatically is network interface or serial ports, make serial ports and network interface can use same interface connector work, both saved switchboard panel space, be conducive to Function Extension, reduced again the Material Cost of debugging interface.And user, without distinguishing serial ports or network interface, can identify automatically by detecting control circuit, has increased the operability of switch, using method is easy.
Fig. 6 is the schematic diagram of the embodiment of the method for the multiplexing network interface serial ports of switch of the present invention, comprising:
The detection control circuit of the exchange interface connector of step 101, switch detects the level of the multiplexing port of described exchange interface connector; The exchange interface connector of above-mentioned any one structure that exchange interface connector wherein can provide for the embodiment of the present invention can be also the exchange interface connector of other structures.
The change over switch that step 102, detection control circuit are controlled described exchange interface connector according to the level of the multiplexing port of described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector, or controls the level translator that described change over switch is connected described multiplexing port and described exchange interface connector.
Particularly, step 102 can comprise two kinds of examples:
If the level of example one described multiplexing port is outside level value corresponding to network interface inserting, the change over switch that described detection control circuit is controlled described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector;
If the level of example two described multiplexing ports is outside level value corresponding to serial ports inserting, the change over switch that described detection control circuit is controlled described exchange interface connector is connected the level translator of described multiplexing port and described exchange interface connector.
Select a step ground, the method of the multiplexing network interface serial ports of this exchange interface connector can also comprise the step that goes offline and process, be specially: when the network interface sending in the process chip that receives described switch goes offline signal, the change over switch of controlling described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector.
Wherein, the state of exchange interface connector can comprise serial ports operating state and network interface working state, and wherein, initial condition or default conditions can be serial ports operating state.
As shown in Figure 3, when serial ports operating state, the moving contact c of the first change over switch 61 of exchange interface connector and first group of fixed contact a are closed, and described public port R3, R6 are communicated with described level translator 4; The moving contact f of the second change over switch 62 and first group of fixed contact d closed communicating detection port R1 with detect power supply 30, and be communicated with the detection port R2 of described detection port and detect control circuit 3, detecting control circuit 3 can detect the level of detection port R2, due to detection port R1 and R2 disconnection, the DC impedance approach infinity of the two, the detection port R2 detecting is low level.Now, if insert serial ports at exchange interface connector, public port R3, R6 be corresponding transmitting terminal TX2 and the receiving terminal RX2 that is communicated with serial ports respectively, grounding ports R5 is communicated with the grounding ports SP5 of serial ports, detection port R1 and R2 still disconnect, the DC impedance of the two is approach infinity still, detects control circuit 3 and also output low level still of detection port R2 can be detected.Detect control circuit and do not change current on off state, the level translator RS232 of serial ports can on-line operation, realizes serial communication.
As shown in Figure 4, when the initial condition of exchange interface connector or default conditions, if insert network interface at exchange interface connector, public port R3, R6 is the corresponding port S3 that is communicated with the 3rd transformer T1 of network interface respectively, S6, detection port R1 and R2 be the corresponding port S1 that is communicated with the 4th transformer T2 of network interface respectively, S2, therefore, detection port R1 and R2 are communicated with by the 4th transformer T2 of network interface, DC impedance between detection port R1 and R2 is close to " 0 ", detection port R2 produces voltage, detect control circuit 3 and detection port R2 output high level can be detected.Now, detect moving contact c and second group of fixed contact b closure that control circuit 3 can be controlled the first change over switch 61, be communicated with the first transformer 51 of exchange interface connector and the 3rd transformer T1 of network interface; And the moving contact f and the second group of fixed contact e that control the second change over switch are closed, are communicated with the second transformer 52 of exchange interface connector and the 4th transformer T2 of network interface, realize network interface function, detect control circuit 3 simultaneously and can stop detecting.
In addition, when exchange interface connector is network interface working state, if there is network interface, go offline or other abnormal conditions, switch can detect control circuit 3 by process chip signaling, detecting control circuit 3 receives after the signal that network interface goes offline, the first change over switch 61 and the second change over switch 62 are returned to default conditions, detect control circuit 3 and proceed to detect.
The multiplexing port of the exchange interface connector in the present embodiment switch not only can insert serial ports but also can insert network interface, what detection control circuit can be identified outside insertion automatically is network interface or serial ports, make serial ports and network interface can use same interface connector work, both saved switchboard panel space, be conducive to Function Extension, reduced again the Material Cost of debugging interface.And user, without distinguishing serial ports or network interface, can identify automatically by detecting control circuit, has increased the operability of switch, using method is easy.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (9)

1. a switch, comprises exchange interface connector, it is characterized in that, described exchange interface connector comprises: the multiplexing port that the network interface inserting with outside or serial ports are connected, detection control circuit, level translator, transformer and change over switch;
Described multiplexing port connects respectively described level translator and described transformer by described change over switch;
Described detection control circuit is connected with described change over switch with described multiplexing port, for detection of the level of described multiplexing port, according to the level of described multiplexing port, control described change over switch and connect described multiplexing port and described transformer or connect described multiplexing port and described level translator;
If the voltage of described multiplexing port is outside level value corresponding to network interface inserting, described detection control circuit is controlled described change over switch and is connected described multiplexing port and described transformer;
If the voltage of described multiplexing port is outside level value corresponding to serial ports inserting, described detection control circuit is controlled described change over switch and is connected described multiplexing port and described level translator.
2. switch according to claim 1, is characterized in that, described transformer comprises the first transformer and the second transformer;
Described change over switch comprises the first change over switch and the second change over switch;
First group of fixed contact of described the first change over switch connects receiving terminal and the transmitting terminal of described level translator, and second group of fixed contact of described the first change over switch connects described the first transformer;
First group of fixed contact of described the second change over switch connects described detection control circuit, and second group of fixed contact of described the second change over switch connects described the second transformer.
3. switch according to claim 2, is characterized in that, described multiplexing port comprises public port and detection port;
Described public port connects the moving contact of described the first change over switch;
Described detection port connects the moving contact of described the second change over switch.
4. switch according to claim 3, is characterized in that, described public port is corresponding with the port position of the 3rd transformer of the outside network interface inserting;
Described detection port is corresponding with the port position of the 4th transformer of the outside network interface inserting.
5. switch according to claim 3, is characterized in that, described public port is corresponding with the outside transmitting terminal of serial ports and the position of receiving terminal of inserting.
6. according to the arbitrary described switch of claim 3-5, it is characterized in that, described detection control circuit comprises: detect power supply, amplifying circuit and center processor;
Described center processor comprises:
Judge module, for the level of inputting according to described amplifying circuit, the outside interface inserting of judgement is serial ports or network interface, if the level of described amplifying circuit input is low level, the outside interface inserting is serial ports, if the level of described amplifying circuit input is high level, the outside interface inserting is network interface;
Serial ports control module, while being low level for the level when described amplifying circuit input, moving contact and first group of fixed contact of described the first change over switch of controlling described the first change over switch are closed, and described public port is communicated with described level translator; Moving contact and first group of fixed contact of described the second change over switch of controlling described the second change over switch are closed, are communicated with the first port and the described detection power supply of described detection port, and are communicated with the second port of described detection port and the input of described amplifying circuit;
Network interface control module, while being high level for the level when described amplifying circuit input, moving contact and second group of fixed contact of described the first change over switch of controlling described the first change over switch are closed, by described public port, the first transformer of described exchange interface connector are communicated with the 3rd transformer of described network interface; Moving contact and second group of fixed contact of described the second change over switch of controlling described the second change over switch are closed, by described detection port, the second transformer of described exchange interface connector are communicated with the 4th transformer of described network interface.
7. switch according to claim 6, is characterized in that, described center processor also comprises:
The network interface control module that goes offline, is connected with the process chip of switch, for when receiving network interface that described process chip sends and go offline signal, controls first group of fixed contact closure of moving contact and described the first change over switch of described the first change over switch; Moving contact and first group of fixed contact of described the second change over switch of controlling described the second change over switch are closed.
8. a method for the multiplexing network interface serial ports of switch, is characterized in that, comprising:
The detection control circuit of the exchange interface connector of switch detects the level of the multiplexing port of described exchange interface connector;
The change over switch that described detection control circuit is controlled described exchange interface connector according to the level of the multiplexing port of described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector, or controls the level translator that described change over switch is connected described multiplexing port and described exchange interface connector;
The change over switch that described detection control circuit is controlled described exchange interface connector according to the level of the multiplexing port of described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector, or control the level translator that described change over switch is connected described multiplexing port and described exchange interface connector, comprising:
If the level of described multiplexing port is outside level value corresponding to network interface inserting, the change over switch that described detection control circuit is controlled described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector;
If the level of described multiplexing port is outside level value corresponding to serial ports inserting, the change over switch that described detection control circuit is controlled described exchange interface connector is connected the level translator of described multiplexing port and described exchange interface connector.
9. the method for the multiplexing network interface serial ports of switch according to claim 8, is characterized in that, also comprises:
When the network interface sending in the process chip that receives described switch goes offline signal, the change over switch of controlling described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector.
CN201010505339.9A 2010-10-08 2010-10-08 Switchboard and network port and serial port multiplexing method thereof Expired - Fee Related CN102164070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010505339.9A CN102164070B (en) 2010-10-08 2010-10-08 Switchboard and network port and serial port multiplexing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010505339.9A CN102164070B (en) 2010-10-08 2010-10-08 Switchboard and network port and serial port multiplexing method thereof

Publications (2)

Publication Number Publication Date
CN102164070A CN102164070A (en) 2011-08-24
CN102164070B true CN102164070B (en) 2014-04-02

Family

ID=44465053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010505339.9A Expired - Fee Related CN102164070B (en) 2010-10-08 2010-10-08 Switchboard and network port and serial port multiplexing method thereof

Country Status (1)

Country Link
CN (1) CN102164070B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103085487B (en) 2011-11-04 2015-04-22 珠海艾派克微电子有限公司 Imaging box chip with self-adaptive contacts and imaging box and self-adaptive method of imaging box chip
CN102751975B (en) * 2012-07-12 2016-01-20 三一重工股份有限公司 PWM and AI multiplexing port and controller
CN104182315B (en) * 2014-08-29 2017-11-07 青岛海信电器股份有限公司 A kind of circuit, electronic equipment and its corresponding commissioning device of control debugging function
CN107291646B (en) * 2016-04-11 2021-04-16 中兴通讯股份有限公司 Network port and serial port multiplexing device and single board
CN107357698A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of method and device of acquisition BMC Serial Port Informations
CN110765048B (en) * 2019-10-31 2021-05-18 迈普通信技术股份有限公司 Serial port and network port self-adaptive system, electronic equipment and signal processing method
CN112379660B (en) * 2020-11-13 2022-02-18 英博超算(南京)科技有限公司 UART for automobile automatic driving domain controller and debugging system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731788A (en) * 2005-08-31 2006-02-08 杭州华为三康技术有限公司 Communication equipment interface and interface converter using the interface
CN101286095A (en) * 2008-06-06 2008-10-15 长城信息产业股份有限公司 Intelligent type computer external apparatus interface switch controller
CN201533343U (en) * 2009-09-29 2010-07-21 福建新大陆通信科技有限公司 Digital television set top box with multifunctional multiplex port

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731788A (en) * 2005-08-31 2006-02-08 杭州华为三康技术有限公司 Communication equipment interface and interface converter using the interface
CN101286095A (en) * 2008-06-06 2008-10-15 长城信息产业股份有限公司 Intelligent type computer external apparatus interface switch controller
CN201533343U (en) * 2009-09-29 2010-07-21 福建新大陆通信科技有限公司 Digital television set top box with multifunctional multiplex port

Also Published As

Publication number Publication date
CN102164070A (en) 2011-08-24

Similar Documents

Publication Publication Date Title
CN102164070B (en) Switchboard and network port and serial port multiplexing method thereof
US8544752B2 (en) Nonvolatile memory card adaptable to plural specifications
CN203277900U (en) Accessory
US6971895B2 (en) Connector adapter with memory function unit
US7673092B2 (en) PCI Express interface
CN101281421B (en) USB interface switching device
US20090037622A1 (en) Method and system for changing operation modes of an interface device
CN201758417U (en) Earphone compatible device and mobile terminal
CN102255653A (en) Optical signal control method, optical signal control system and optical back plate system
US7624203B2 (en) Multiplexing a ground signal on a high speed cable interface to provide access to cable vital product data
US9990321B2 (en) Selectively connecting a port of an electrical device to components in the electrical device
CN112463702B (en) CPLD I2C channel address allocation method and system of cascade backplane
CN101697531A (en) Method, device and equipment for multiplexing port
US20150269110A1 (en) Cable with multiple functions
CN103888873A (en) Electronic device and UART output system and method
JP4039948B2 (en) Recognition of device connection status in USB
CN211403421U (en) USB and UART signal path conversion system and electronic equipment
CN213337968U (en) Full-function automatic detection equipment for USB Type-C interface
CN108737673B (en) Network telephone equipment, external connection card and communication method of network telephone equipment
CN217216609U (en) Network port switching device
US20150134918A1 (en) Single input/output cell with multiple bond pads and/or transmitters
TWI739292B (en) Usb switching circuit and electronic apparatus having the same
CN114661646A (en) Serial port switching control circuit
US20040057182A1 (en) Method and control apparatus for controlling two hot-swapable IDE devices
CN111339013A (en) USB and UART line switching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402

Termination date: 20181008

CF01 Termination of patent right due to non-payment of annual fee