CN102164070A - 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
CN102164070A
CN102164070A CN2010105053399A CN201010505339A CN102164070A CN 102164070 A CN102164070 A CN 102164070A CN 2010105053399 A CN2010105053399 A CN 2010105053399A CN 201010505339 A CN201010505339 A CN 201010505339A CN 102164070 A CN102164070 A CN 102164070A
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.)
Granted
Application number
CN2010105053399A
Other languages
Chinese (zh)
Other versions
CN102164070B (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 invention relates to technical field, relates in particular to the method for a kind of switch and multiplexing network interface serial ports thereof.
Background technology
Non-functional area on the veneer comprises serial ports and network interface.Wherein, serial ports is one of veneer debugging interface commonly used, is single plate hardware debugging and the most frequently used, the most basic interface of positioning problems.Serial ports is an initialized the earliest interface 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, and can be used for the big communications of data volume such as the interior business software of equipment, but network interface is initialized than later, when hardware problem appears in veneer, often can not finish 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 used for serial port function, and another RJ45 connector is used for the network interface function.Serial ports and network interface use two RJ45 connectors, need 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 the method for a kind of switch and multiplexing network interface serial ports thereof, take the many defectives of port of veneer in order to non-functional area on the switch in the solution prior art, realization is saved the switchboard panel space with network interface and the shared interface connector of serial ports, reduces the Material Cost of debugging interface.
The embodiment of the invention provides a kind of switch, comprising: the multiplexing port, detection control circuit, level translator, transformer and the change over switch that are connected with the network interface or the serial ports of outside insertion;
Described multiplexing port connects described level translator and described transformer respectively by described change over switch;
Described detection control circuit is connected with described change over switch with described multiplexing port, be used to detect the level of described multiplexing port, control described change over switch according to the level of described multiplexing port 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 comprises:
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, perhaps controls the level translator that described change over switch is connected described multiplexing port and described exchange interface connector.
The method of switch that the embodiment of the 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 discern automatically 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 the switchboard panel space, help the function expansion, reduced the Material Cost of debugging interface again.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of switch first embodiment of the present invention;
Fig. 2 is the structural representation of switch second embodiment of the present invention;
Fig. 3 is for inserting the schematic diagram of serial ports among switch second embodiment of the present invention;
Fig. 4 is for inserting the schematic diagram of network interface among switch second embodiment of the present invention;
Fig. 5 is the structural representation of switch the 3rd embodiment of the present invention;
Fig. 6 is the schematic diagram of the method embodiment of the multiplexing network interface serial ports of switch of the present invention.
Main Reference numeral:
1-exchange interface connector; The 2-multiplexing port; 3-detects control circuit;
The 4-level translator; The 5-transformer; The 6-change over switch;
51-first transformer; 52-second transformer; 61-first change over switch;
62-second change over switch; R1, R2-detection port; R3, R6-public port;
R4, R5-grounding ports.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the structural representation of switch 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, detection control circuit 3, level translator 4, transformer 5 and the change over switch 6 that are connected with the network interface or the serial ports of outside insertion;
Described multiplexing port 2 connects described level translator 4 and described transformer 5 respectively 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, be used to detect the level of described multiplexing port 2, control described change over switch 6 according to the level of 2 mouthfuls at described multiplexing end and connect described multiplexing port 2 and described transformer 5 or connect described multiplexing port 2 and described level translator 4.
Particularly, network interface and serial ports can insert the 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 the exchange interface connector need judge that the outside interface that inserts 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 according to the level of described multiplexing port 2 and connects described multiplexing port 2 and described transformer 5 or connect described multiplexing port 2 and described level translator 4.For example: if the voltage of described multiplexing port 2 is the level value of the outside network interface correspondence of inserting, as: level value is " 1 " corresponding network interface, then control described change over switch 6 and connect described multiplexing port 2 and described transformer 5, because, the transformer of exchange interface connector connects the CPU of switch by the physical layer block that is used to carry out level conversion (PHY) in its plate, the transformer of network interface is then by the PHY in its plate and the CPU of switch connection device, therefore, after the transformer 5 of exchange interface connector passed through multiplexing port 2 and the transformer of network interface is communicated with, the CPU at two ends can be by network interface communication; If the voltage of described multiplexing port 2 is the level value of the outside serial ports correspondence of inserting, as: level value is " 0 " corresponding serial ports, then control described change over switch 6 and connect described multiplexing port 2 and described level translator 4, because, the level translator 4 of exchange interface connector connects the CPU of switch, the level translator of serial ports connects the CPU with the switch connection device, therefore, after the level translator 4 of exchange interface connector passed through multiplexing port 2 and the level translator of serial ports is communicated with, 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 discern automatically 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 the switchboard panel space, helped the function expansion.And the user need not to distinguish serial ports or network interface, can discern automatically by detecting control circuit, has increased the operability of switch, and using method is easy.
Fig. 2 is the structural representation of switch second embodiment of the present invention, and as shown in Figure 2, on the basis of switch first embodiment of the present invention, the transformer of described exchange interface connector 1 can comprise first transformer 51 and second transformer 52;
Described change over switch can comprise first change over switch 61 and second change over switch 62;
Wherein, first group of fixed contact a of described first change over switch 61 connects the receiving terminal RX1 and the transmitting terminal TX1 of described level translator 4, second group of fixed contact b of described first change over switch 61 connects described first transformer 51, wherein, described first change over switch, 61 moving contact c connect first group of fixed contact a or second group of fixed contact b of described first change over switch 61;
First group of fixed contact d of described second change over switch 62 connects described detection control circuit 3, second group of fixed contact e of described second change over switch 62 connects described first transformer 52, wherein, the moving contact f of described second change over switch 62 connects first group of fixed contact d or second group of fixed contact e of described second change over switch 62.
Further, described multiplexing port 2 can comprise public port and detection port, comprises R3, R6 with public port among Fig. 2, and detection port comprises R1, R2, for example describes; Multiplexing port 2 can also comprise two grounding ports of R4, R5 among Fig. 2.
Described public port R3, R6 connect the moving contact c of described first change over switch 61; Wherein, first change over switch can be double-point double-throw switch or the electronic switch with dpdt double-pole double-throw (DPDT) function, has two moving contact c, is connected with public port R3, R6 respectively.When two moving contact c of first change over switch 61 and its first group of fixed contact a were 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 first change over switch 61 and its second group of fixed contact b were closed, public port R3 and R6 can distinguish corresponding two ports that are communicated with first transformer 51.
Described detection port R1, R2 connect the moving contact f of described second change over switch 62; Wherein, second change over switch can be double-point double-throw switch or the electronic switch with dpdt double-pole double-throw (DPDT) function, has two moving contact f, is connected with detection port R1, R2 respectively.When two moving contact f of second change over switch 62 and its first group of fixed contact d were closed, detection port R1 and R2 can communication with detection control circuits 3.When two moving contact f of second change over switch 62 and its second group of fixed contact e were closed, public port R1 and R2 can distinguish corresponding two ports that are communicated with second transformer 52.
Described grounding ports R4, R5 ground connection GND.
As shown in Figure 3, for inserting the schematic diagram of serial ports among switch second embodiment of the present invention, wherein, the transmitting terminal TX2 of public port R3, the R6 of exchange interface connector 1 and the outside serial ports that inserts and the position of receiving terminal RX2 are corresponding, 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 the serial ports, the 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 the serial ports operating state, and at this moment, the moving contact c of first change over switch 61 and first group of fixed contact a closure are communicated with described public port R3, R6 with described level translator 4; The moving contact f of 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, because detection port R1 and R2 disconnect, the dc impedance approach infinity of the two, detected detection port R2 are low level.At this moment, if insert serial ports at the exchange interface connector, corresponding respectively transmitting terminal TX2 and the receiving terminal RX2 that is communicated with serial ports of public port R3, R6, 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 can detect also output low level still of detection port R2.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 among switch 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 that inserts; Described detection port R1, R2 are corresponding with port S1, the S2 position of the 4th transformer T2 of the outside network interface that inserts.
When the initial condition of exchange interface connector 1 or default conditions, the closure state of first change over switch 61, second change over switch 62 can be referring to Fig. 3, detecting control circuit 3 can detect the level of detection port R2, because detection port R1 and R2 disconnect, the dc impedance approach infinity of the two, detected detection port R2 are low level.At this moment, if insert network interface at exchange interface connector 1, corresponding respectively port S3, the S6 that is communicated with the 3rd transformer T1 of network interface of public port R3, R6, corresponding respectively port S1, the S2 that is communicated with the 4th transformer T2 of network interface of detection port R1 and R2, 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 the R2 is close to zero, detection port R2 produces voltage, detects control circuit 3 and can detect detection port R2 output high level.At this moment, detect moving contact c and second group of fixed contact b closure that control circuit 3 can be controlled first change over switch 61, be communicated with first transformer 51 of exchange interface connector and the 3rd transformer T1 of network interface; And control moving contact f and second group of fixed contact e closure of second change over switch, and be communicated with second transformer 52 of exchange interface connector and the 4th transformer T2 of network interface, realize the network interface function, detect control circuit 3 simultaneously and can stop to detect.
When exchange interface connector 1 is network interface working state, (DOWN) or other abnormal conditions if network interface goes offline, switch can detect control circuit 3 by the process chip signaling, detecting control circuit 3 receives network interface and goes offline etc. behind the abnormal signal, first change over switch 61 and 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 the detection control circuit can be discerned outside insertion automatically is network interface or serial ports, make serial ports and network interface can use same interface connector work, both saved the switchboard panel space, help the function expansion, reduced the Material Cost of debugging interface again.And the user need not to distinguish serial ports or network interface, can discern automatically by detecting control circuit, has increased the operability of switch, and using method is easy.
Fig. 5 is the structural representation of switch the 3rd embodiment of the present invention, 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 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, also can be the amplifier of other types, sends to center processor after the signal of telecommunication amplification with input; Darlington transistor can comprise the triode of two series connection, series connection back one termination power VCC, and other end ground connection GND, input IN meet first group of fixed contact d of second change over switch 62, and output OUT connects center processor 32.Wherein power supply VCC can be the power-supply device that is set together with detection power supply 30, can be the power-supply device that separately is provided with also, and the two output voltage values can identically for example be 3.3V, also can be different, and can be according to concrete scene setting.
Described center processor 32 is connected with described second change over switch 62 with described first change over switch 61 respectively, is used for the level according to described amplifying circuit 31 inputs, controls the state of described first change over switch 61 and described 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, be used for level according to described amplifying circuit input, judge that the outside interface that inserts is serial ports or network interface, if the level of described amplifying circuit input is a low level, the then outside interface that inserts is a serial ports, if the level of described amplifying circuit input is a high level, the then outside interface that inserts is a network interface;
The serial ports control module, be used for when the level of described amplifying circuit input is low level, then control moving contact c and 61 first groups of fixed contact a closures of described first change over switch of described first change over switch 61, described public port R3, R6 are communicated with described level translator 4; Control moving contact f and 62 first groups of fixed contact d closures of described second change over switch of described second change over switch 62, 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 insert serial ports, then described serial ports is communicated with work by described public port R3, R6 with described level translator 4;
The network interface control module, be used for when the level of described amplifying circuit input is high level, then control moving contact c and 61 second groups of fixed contact b closures of described first change over switch of described first change over switch 61, be communicated with the 3rd transformer T1 of described network interface by first transformer 51 of described public port with described exchange interface connector; Control moving contact f and 62 second groups of fixed contact e closures of described second change over switch of described second change over switch 62, be communicated with the 3rd transformer T1 of described network interface by first transformer 52 of described detection port with described exchange interface connector.
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, be used for when the network interface that receives described process chip transmission goes offline signal, control moving contact c and 61 first groups of fixed contact a closures of described first change over switch of described first change over switch 61, 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; Control moving contact and 62 first groups of fixed contact closures of described second change over switch of described second change over switch 62, 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 the detection control circuit can be discerned outside insertion automatically is network interface or serial ports, make serial ports and network interface can use same interface connector work, both saved the switchboard panel space, help the function expansion, reduced the Material Cost of debugging interface again.And the user need not to distinguish serial ports or network interface, can discern automatically by detecting control circuit, has increased the operability of switch, and using method is easy.
Fig. 6 is the schematic diagram of the method embodiment of 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; Exchange interface connector wherein can be the exchange interface connector of above-mentioned any one structure that the embodiment of the invention provided, and also can be the exchange interface connector of other structures.
Step 102, detect the transformer that change over switch that control circuit controls described exchange interface connector according to the level of the multiplexing port of described exchange interface connector is connected described multiplexing port and described exchange interface connector, perhaps control 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:
Example one, if the level of described multiplexing port be the level value of the network interface correspondence of outside insertion, the change over switch that then described detection control circuit is controlled described exchange interface connector is connected the transformer of described multiplexing port and described exchange interface connector;
Example two, if the level of described multiplexing port be the level value of the serial ports correspondence of outside insertion, the change over switch that then 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 handle, be specially: when the network interface of the process chip transmission that receives described switch went offline signal, the change over switch of controlling described exchange interface connector was 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 the serial ports operating state.
As shown in Figure 3, when the serial ports operating state, the moving contact c of first change over switch 61 of exchange interface connector and first group of fixed contact a closure are communicated with described public port R3, R6 with described level translator 4; The moving contact f of 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, because detection port R1 and R2 disconnect, the dc impedance approach infinity of the two, detected detection port R2 are low level.At this moment, if insert serial ports at the exchange interface connector, corresponding respectively transmitting terminal TX2 and the receiving terminal RX2 that is communicated with serial ports of public port R3, R6, 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 can detect also output low level still of detection port R2.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 the exchange interface connector, public port R3, the corresponding respectively port S3 that is communicated with the 3rd transformer T1 of network interface of R6, S6, the corresponding respectively port S1 that is communicated with the 4th transformer T2 of network interface of detection port R1 and R2, 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 the R2 is close to " 0 ", detection port R2 produces voltage, detects control circuit 3 and can detect detection port R2 output high level.At this moment, detect moving contact c and second group of fixed contact b closure that control circuit 3 can be controlled first change over switch 61, be communicated with first transformer 51 of exchange interface connector and the 3rd transformer T1 of network interface; And control moving contact f and second group of fixed contact e closure of second change over switch, and be communicated with second transformer 52 of exchange interface connector and the 4th transformer T2 of network interface, realize the network interface function, detect control circuit 3 simultaneously and can stop to detect.
In addition, when the exchange interface connector is network interface working state, if network interface goes offline or other abnormal conditions, switch can detect control circuit 3 by the process chip signaling, after detecting control circuit 3 and receiving the signal that network interface goes offline, first change over switch 61 and 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 the detection control circuit can be discerned outside insertion automatically is network interface or serial ports, make serial ports and network interface can use same interface connector work, both saved the switchboard panel space, help the function expansion, reduced the Material Cost of debugging interface again.And the user need not to distinguish serial ports or network interface, can discern automatically by detecting control circuit, has increased the operability of switch, and 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 be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a switch comprises the exchange interface connector, it is characterized in that, described exchange interface connector comprises: the multiplexing port, detection control circuit, level translator, transformer and the change over switch that are connected with the network interface or the serial ports of outside insertion;
Described multiplexing port connects described level translator and described transformer respectively by described change over switch;
Described detection control circuit is connected with described change over switch with described multiplexing port, be used to detect the level of described multiplexing port, control described change over switch according to the level of described multiplexing port and connect described multiplexing port and described transformer or connect described multiplexing port and described level translator.
2. switch according to claim 1 is characterized in that, described transformer comprises first transformer and second transformer;
Described change over switch comprises first change over switch and second change over switch;
First group of fixed contact of described first change over switch connects the receiving terminal and the transmitting terminal of described level translator, and second group of fixed contact of described first change over switch connects described first transformer;
First group of fixed contact of described second change over switch connects described detection control circuit, and second group of fixed contact of described second change over switch connects described 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 first change over switch;
Described detection port connects the moving contact of described 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 that inserts;
Described detection port is corresponding with the port position of the 4th transformer of the outside network interface that inserts.
5. switch according to claim 3 is characterized in that, the transmitting terminal of described public port and the outside serial ports that inserts and the position of receiving terminal are corresponding.
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, be used for level according to described amplifying circuit input, judge that the outside interface that inserts is serial ports or network interface, if the level of described amplifying circuit input is a low level, the then outside interface that inserts is a serial ports, if the level of described amplifying circuit input is a high level, the then outside interface that inserts is a network interface;
The serial ports control module is used for controlling moving contact and first group of fixed contact closure of described first change over switch of described first change over switch when the level of described amplifying circuit input is low level, and described public port is communicated with described level translator; Control moving contact and first group of fixed contact closure of described second change over switch of described second change over switch, be communicated with first port and the described detection power supply of described detection port, and be communicated with second port of described detection port and the input of described amplifying circuit;
The network interface control module, be used for when the level of described amplifying circuit input is high level, control moving contact and second group of fixed contact closure of described first change over switch of described first change over switch, be communicated with the 3rd transformer of described network interface by first transformer of described public port with described exchange interface connector; Control moving contact and second group of fixed contact closure of described second change over switch of described second change over switch, be communicated with the 4th transformer of described network interface by second transformer of described detection port with described exchange interface connector.
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, is used for receiving network interface that described process chip sends when going offline signal, controls moving contact and first group of fixed contact closure of described first change over switch of described first change over switch; Control moving contact and first group of fixed contact closure of described second change over switch of described second change over switch.
8. the 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, perhaps controls the level translator that described change over switch is connected described multiplexing port and described exchange interface connector.
9. the method for the multiplexing network interface serial ports of switch according to claim 8, it is characterized in that, 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, perhaps control described change over switch and connect the level translator of described multiplexing port and described exchange interface connector, comprising:
If the level of described multiplexing port is the level value of the outside network interface correspondence of inserting, the change over switch that then 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 the level value of the outside serial ports correspondence of inserting, the change over switch that then described detection control circuit is controlled described exchange interface connector is connected the level translator of described multiplexing port and described exchange interface connector.
10. according to Claim 8 or the method for the multiplexing network interface serial ports of 9 described switches, it is characterized in that, also comprise:
When the network interface of the process chip transmission that receives described switch went offline signal, the change over switch of controlling described exchange interface connector was 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 true CN102164070A (en) 2011-08-24
CN102164070B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102751975A (en) * 2012-07-12 2012-10-24 三一重工股份有限公司 PWM (Pulse-Width Modulation) and AI (Artificial Intelligence) multiplexing port and controller
CN103085487A (en) * 2011-11-04 2013-05-08 珠海艾派克微电子有限公司 Imaging box chip with self-adaptive contacts and imaging box and self-adaptive method of imaging box chip
CN104182315A (en) * 2014-08-29 2014-12-03 青岛海信电器股份有限公司 Circuit for controlling debugging function, electronic equipment and corresponding debugging equipment thereof
CN107291646A (en) * 2016-04-11 2017-10-24 中兴通讯股份有限公司 The device and veneer of network interface and serial port
CN107357698A (en) * 2017-07-07 2017-11-17 郑州云海信息技术有限公司 A kind of method and device of acquisition BMC Serial Port Informations
CN110765048A (en) * 2019-10-31 2020-02-07 迈普通信技术股份有限公司 Serial port and network port self-adaptive system, electronic equipment and signal processing method
CN112379660A (en) * 2020-11-13 2021-02-19 英博超算(南京)科技有限公司 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

Cited By (14)

* 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
CN103085487A (en) * 2011-11-04 2013-05-08 珠海艾派克微电子有限公司 Imaging box chip with self-adaptive contacts and imaging box and self-adaptive method of imaging box chip
WO2013063983A1 (en) * 2011-11-04 2013-05-10 珠海艾派克微电子有限公司 Imaging box chip with self-adaptive contact, imaging box and self-adaptive method
US8830517B2 (en) 2011-11-04 2014-09-09 Apex Microelectronics Company Limited Imaging cartridge chip with self-adaptive contacts, imaging cartridge and self-adaptive method
CN102751975B (en) * 2012-07-12 2016-01-20 三一重工股份有限公司 PWM and AI multiplexing port and controller
CN102751975A (en) * 2012-07-12 2012-10-24 三一重工股份有限公司 PWM (Pulse-Width Modulation) and AI (Artificial Intelligence) multiplexing port and controller
CN104182315A (en) * 2014-08-29 2014-12-03 青岛海信电器股份有限公司 Circuit for controlling debugging function, electronic equipment and corresponding debugging equipment thereof
CN104182315B (en) * 2014-08-29 2017-11-07 青岛海信电器股份有限公司 A kind of circuit, electronic equipment and its corresponding commissioning device of control debugging function
CN107291646A (en) * 2016-04-11 2017-10-24 中兴通讯股份有限公司 The device and veneer of network interface and serial port
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
CN110765048A (en) * 2019-10-31 2020-02-07 迈普通信技术股份有限公司 Serial port and network port self-adaptive system, electronic equipment and signal processing method
CN112379660A (en) * 2020-11-13 2021-02-19 英博超算(南京)科技有限公司 UART for automobile automatic driving domain controller and debugging system and method
CN112379660B (en) * 2020-11-13 2022-02-18 英博超算(南京)科技有限公司 UART for automobile automatic driving domain controller and debugging system and method

Also Published As

Publication number Publication date
CN102164070B (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN102164070B (en) Switchboard and network port and serial port multiplexing method thereof
CN101281421B (en) USB interface switching device
US9141141B2 (en) Portable device and peripheral extension dock
CN101404001B (en) Serial port signal and USB signal compatible control circuit board and communication data cable
CN102255653B (en) Optical signal control method, optical signal control system and optical back plate system
CN111800697B (en) Charging box, earphone system, charging control method and storage medium
US20090037622A1 (en) Method and system for changing operation modes of an interface device
CN104657313A (en) Detecting system and method for universal serial bus device
CN204155267U (en) A kind of OTG usb circuit
CN103530250A (en) Portable electronic device and accessory device thereof, and operating method for the portable electronic device
CN112463702B (en) CPLD I2C channel address allocation method and system of cascade backplane
US20150269110A1 (en) Cable with multiple functions
US7085861B2 (en) Serial ATA control circuit for automatically switching connection path
CN103391495A (en) Automatic earphone adaptation circuit and adaptation method thereof
CN102591836B (en) Configuration method and configuration device for communication connector personal identification number (PIN) foot
CN211403421U (en) USB and UART signal path conversion system and electronic equipment
CN109478174B (en) Switch for reversible interface
CN108737673B (en) Network telephone equipment, external connection card and communication method of network telephone equipment
KR20180046233A (en) SSD test apparatus
US20150134918A1 (en) Single input/output cell with multiple bond pads and/or transmitters
CN101266586A (en) Memory based on USB protocol and connection control device and control method
CN112799986B (en) Universal serial bus switching circuit and related electronic device
CN204480237U (en) A kind of connector, universal serial bus device and intelligent terminal
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