CN101656612A - Ethernet port switching realizing method and device - Google Patents

Ethernet port switching realizing method and device Download PDF

Info

Publication number
CN101656612A
CN101656612A CN200910172971A CN200910172971A CN101656612A CN 101656612 A CN101656612 A CN 101656612A CN 200910172971 A CN200910172971 A CN 200910172971A CN 200910172971 A CN200910172971 A CN 200910172971A CN 101656612 A CN101656612 A CN 101656612A
Authority
CN
China
Prior art keywords
resistance
analog switch
network interface
selection signal
signal input
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.)
Pending
Application number
CN200910172971A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910172971A priority Critical patent/CN101656612A/en
Publication of CN101656612A publication Critical patent/CN101656612A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides an Ethernet port switching realizing method and a device. The device comprises an analog switch which is used for connecting an external Ethernet port, a first internal networkport and a second internal network port; and the first internal network port or the second internal network port is communicated with the external Ethernet port according to the input level height ofa selection signal of an input pin of the analog switch. For avoiding occupying logic resources, the input pin of the selection signal of the analog switch is grounded by a second resistor (R2) and isalso connected with one end of a code dialing switch (K1), and the other end of the code dialing switch (K1) is connected with an electric source (VCC) by a first resistor (R1). The device simply andconveniently realizes Ethernet switching, does not occupy the logic resources and is suitable for the condition of lack of the logic resources.

Description

Implementation method and device that a kind of Ethernet interface switches
Technical field
The present invention relates to Ethernet communication technology field, relate in particular to implementation method and device that a kind of Ethernet interface switches.
Background technology
In data communications equipment, usually need the physical connection path of Ethernet is switched.As under a kind of occasion, needing equipment 1 is connected to Ethernet, and, then needs network is connected to equipment 2 in another kind of occasion.
Usually the use mechanical switch is realized the switching to the physical connection path of Ethernet, but on each network interface, there are 4 tunnel I/O, comprise 2 tunnel inputs, 2 tunnel outputs, realize switching to example with single-pole double-throw switch (SPDT) commonly used, just need 4 single-pole double-throw switch (SPDT)s, respectively this 4 tunnel I/O slave unit, 1 port is switched to equipment 2 ports, it is pretty troublesome to operate.
In recent years, the performance of integrated analog switch was greatly improved, and they can be operated in low-down supply voltage, had lower conducting resistance, microencapsulated size and splendid switching characteristic.Can be widely used in testing equipment, communication product, PBX/PABX equipment and multimedia system etc.The analog switch of low on-resistance and low-work voltage will become the ideal substitute of mechanical relay.
This case applicant has noticed that just analog switch switches advantage easily to circuit, proposes implementation method and device that a kind of preferable Ethernet interface of the present invention switches.
Summary of the invention
The technical problem to be solved in the present invention is to propose implementation method and the device that a kind of Ethernet interface switches, and can realize simply and easily that Ethernet interface switches.
For solving the problems of the technologies described above, the present invention proposes the implementation method that a kind of Ethernet interface switches, and comprising:
Connect external ethernet mouth, the first inner network interface and the second inner network interface respectively with an analog switch, this analog switch has one and selects the signal input tube pin;
Just controlling analog switch by the level of controlling the selection signal of importing this selection signal input tube pin is communicated with the first inner network interface or the second inner network interface with the external ethernet mouth.
Further, said method also can have following characteristics:
Should select the signal input tube pin by one second resistance (R2) ground connection, also will select the signal input tube pin to link to each other simultaneously, the other end of this toggle switch (K1) will be linked to each other with power supply (VCC) by one first resistance (R1) with an end of a toggle switch (K1);
The selection signal of controlling this selection signal input tube pin of input by disconnection or closed this toggle switch (K1) is low level or high level.
Further, said method also can have following characteristics:
The resistance of selecting this first resistance (R1) and this second resistance (R2) is all greater than 1K, and the resistance of this second resistance (R2) is much larger than the resistance of this first resistance (R1).
Further, said method also can have following characteristics:
(K1) is placed on the position that makes things convenient for user's dial-up with this toggle switch.
For solving the problems of the technologies described above, the present invention also proposes the implement device that a kind of Ethernet interface switches, and comprises an analog switch, and this analog switch has one and selects the signal input tube pin, wherein:
This analog switch, in order to linking to each other, just the first inner network interface or the second inner network interface are communicated with the external ethernet mouth according to the level of the selection signal of this selection signal input tube pin of input with an external ethernet mouth, one first inner network interface and one second inner network interface.
Further, said apparatus also can have following characteristics:
The selection signal input tube pin of this analog switch also links to each other with an end of a toggle switch (K1) simultaneously by one second resistance (R2) ground connection, the other end of this toggle switch (K1) is passed through one first resistance (R1) link to each other with power supply (VCC).
Further, said apparatus also can have following characteristics:
The resistance of this first resistance (R1) and this second resistance (R2) is all greater than 1K, and the resistance of this second resistance (R2) is much larger than the resistance of this first resistance (R1).
Implementation method and device that a kind of Ethernet interface that the present invention proposes switches can be realized simply and easily that Ethernet interface switches, and can not can take logical resource, applicable to the situation of logical resource anxiety.
Description of drawings
Fig. 1 is that a kind of analog switch that utilizes of the present invention is realized the circuit diagram that Ethernet interface switches;
Fig. 2 is a kind of circuit diagram of selecting signal that produces of the present invention.
Embodiment
Below in conjunction with accompanying drawing embodiment of the present invention are described in detail.
Referring to Fig. 1, the figure shows a kind of analog switch that utilizes of the present invention and realize the circuit diagram that Ethernet interface switches.Analog switch of box indicating among the figure, this analog switch has one and selects the signal input tube pin, this analog switch can be connected to the external ethernet mouth one of 2 inner network interfaces, for example network interface 0 or network interface 1, concrete connection status is just decided by the level that is input to the selection signal of selecting the signal input tube pin: when the selection signal of input was low level, analog switch was connected to network interface 0 with the external ethernet mouth; When the selection signal of input was high level, analog switch was connected to network interface 1 with the external ethernet mouth.Certainly, in another embodiment, when the selection signal that also can be designed to import was low level, analog switch was connected to network interface 1 with the external ethernet mouth; When the selection signal of input was high level, analog switch was connected to network interface 0 with the external ethernet mouth.The present invention does not limit at this.
The present invention adopts analog switch to realize that network interface switches, and only needs 1 analog switch to get final product, thereby by the control of selecting the signal level height is realized that easily network interface switches, convenient and swift.
For the generation of selecting signal, can adopt programmable logic device to produce and select signal, for example a logical device internal register is connected to the selection signal input tube pin of analog switch, the value of internal register can be passed through software setting, thereby realizes the switching of network interface by the software control analog switch.
But consider that adopting programmable logic device to produce selects signal demand to take logical resource, therefore, the present invention proposes a kind of scheme of selecting signal to produce of controlling again, by drawing on the resistance or the drop-down selection signal that produces, realize selecting the switching of signal by toggle switch, select signal to control the switching that analog switch is realized network interface then thereby utilize hardware to produce, this scheme can take logical resource, the situation that is particularly useful for the logical resource anxiety, specific implementation can be referring to Fig. 2.
In Fig. 2, the selection signal input tube pin of analog switch also links to each other with the end of a toggle switch K1 simultaneously by resistance R 2 ground connection, and the other end of toggle switch K1 links to each other with power supply VCC by a resistance R 1.When toggle switch K1 disconnects, select the signal input tube pin to pull down to ground by R2, selecting signal is low level 0; During toggle switch K1 conducting, select to move VCC*R2/ (R1+R2) on the signal.Select the value of the value of R2 much larger than R1 in the present invention, for example, when selecting R2=10*R1, then VCC*R2/ (R1+R2) is approximately equal to VCC, and selecting signal is high level 1.In addition, note R1, the resistance of R2 need select big (more than the 1K), less to guarantee selecting signal input and output electric current.Simultaneously, toggle switch need be placed on the place that makes things convenient for dial-up.
Such scheme is by drawing on the resistance or drop-down generation selection signal, realize selecting the switching of signal by toggle switch K1, then realize that by analog switch network interface switches, can realize the switching of Ethernet interface easily, and applicable to the situation of logical resource anxiety.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those skilled in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (7)

1, a kind of implementation method of Ethernet interface switching is characterized in that:
Connect external ethernet mouth, the first inner network interface and the second inner network interface respectively with an analog switch, this analog switch has one and selects the signal input tube pin;
Just controlling analog switch by the level of controlling the selection signal of importing this selection signal input tube pin is communicated with the first inner network interface or the second inner network interface with the external ethernet mouth.
2, the method for claim 1 is characterized in that:
Should select the signal input tube pin by one second resistance (R2) ground connection, also will select the signal input tube pin to link to each other simultaneously, the other end of this toggle switch (K1) will be linked to each other with power supply (VCC) by one first resistance (R1) with an end of a toggle switch (K1);
The selection signal of controlling this selection signal input tube pin of input by disconnection or closed this toggle switch (K1) is low level or high level.
3, method as claimed in claim 2 is characterized in that:
The resistance of selecting this first resistance (R1) and this second resistance (R2) is all greater than 1K, and the resistance of this second resistance (R2) is much larger than the resistance of this first resistance (R1).
4, method as claimed in claim 2 is characterized in that:
(K1) is placed on the position that makes things convenient for user's dial-up with this toggle switch.
5, a kind of implement device of Ethernet interface switching is characterized in that, comprises an analog switch, and this analog switch has one and selects the signal input tube pin, wherein:
This analog switch, in order to linking to each other, just the first inner network interface or the second inner network interface are communicated with the external ethernet mouth according to the level of the selection signal of this selection signal input tube pin of input with an external ethernet mouth, one first inner network interface and one second inner network interface.
6, device as claimed in claim 5 is characterized in that:
The selection signal input tube pin of this analog switch also links to each other with an end of a toggle switch (K1) simultaneously by one second resistance (R2) ground connection, the other end of this toggle switch (K1) is passed through one first resistance (R1) link to each other with power supply (VCC).
7, device as claimed in claim 6 is characterized in that:
The resistance of this first resistance (R1) and this second resistance (R2) is all greater than 1K, and the resistance of this second resistance (R2) is much larger than the resistance of this first resistance (R1).
CN200910172971A 2009-09-15 2009-09-15 Ethernet port switching realizing method and device Pending CN101656612A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910172971A CN101656612A (en) 2009-09-15 2009-09-15 Ethernet port switching realizing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910172971A CN101656612A (en) 2009-09-15 2009-09-15 Ethernet port switching realizing method and device

Publications (1)

Publication Number Publication Date
CN101656612A true CN101656612A (en) 2010-02-24

Family

ID=41710720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910172971A Pending CN101656612A (en) 2009-09-15 2009-09-15 Ethernet port switching realizing method and device

Country Status (1)

Country Link
CN (1) CN101656612A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685077A (en) * 2013-12-18 2014-03-26 上海斐讯数据通信技术有限公司 Network data switch and method for switching network data forwarding function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685077A (en) * 2013-12-18 2014-03-26 上海斐讯数据通信技术有限公司 Network data switch and method for switching network data forwarding function
CN103685077B (en) * 2013-12-18 2017-12-19 上海斐讯数据通信技术有限公司 The method of network data exchange machine and handover network data forwarding function

Similar Documents

Publication Publication Date Title
CN108495224A (en) A kind of communication system
CN207924656U (en) Usb interface multiplex circuit
CN208241832U (en) A kind of communication system
CN207926549U (en) A kind of numerical control attenuation circuit based on switching circuit
CN101656612A (en) Ethernet port switching realizing method and device
CN102857719A (en) Power supply control system and power supply control method
CN102487276B (en) double-pole double-throw switch device
CN109739801A (en) A kind of serial port level chance-over circuit between MCU chip and SOC chip
CN103118143B (en) Multiplex circuit of serial interface and Ethernet interface
CN104025535B (en) Device and Differential Input mode communication apparatus for generating the terminal resistance of Differential Input pattern communication
CN217060793U (en) Intelligent gateway port multiplexing device
CN104137417A (en) Analog signal compatible cmos switch as an integrated peripheral to a standard microcontroller
CN202720638U (en) Serial conversion circuit
CN105515607A (en) Communication circuit
CN107800421A (en) Chip, optional pattern buffer circuit and its mode selecting method
CN205105240U (en) Communication circuit
CN209731211U (en) More level converters and converting system
CN205543534U (en) Utility vehicle bus connection head
CN202058138U (en) Serial data interface multiplexing device
CN112859715A (en) System capable of remotely controlling switch of intelligent electric meter
CN209765491U (en) control chip
CN209844612U (en) Circuit structure for manually realizing Huashi and Samsung fast charging protocol based on TYPE-C interface
CN203101882U (en) Double control switch remotely controlled based on WIFI (Wireless Fidelity)
CN205069818U (en) Matrix switch board
CN205029639U (en) Two accuse power supply switch circuit of machinery and electronic telecontrol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100224