CN101841419A - Method and device for multiplexing communication port - Google Patents
Method and device for multiplexing communication port Download PDFInfo
- Publication number
- CN101841419A CN101841419A CN201010175234A CN201010175234A CN101841419A CN 101841419 A CN101841419 A CN 101841419A CN 201010175234 A CN201010175234 A CN 201010175234A CN 201010175234 A CN201010175234 A CN 201010175234A CN 101841419 A CN101841419 A CN 101841419A
- Authority
- CN
- China
- Prior art keywords
- output
- input
- logic
- control unit
- gating array
- 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
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention provides a method and a device for multiplexing a communication port. The method comprises the following steps of: connecting the output end of a functional interface on multiple logics to the input end of a physical interface through a first channel selection module; and controlling the first channel selection module to gate one signal channel between the output end of the functional interface on the logics and the input end of the physical interface. The method fully expands the physical interface to adapt communication requirement increment caused by improvement on equipment integration degree, greatly solve the problem of intense physical link caused by improvement on compactness of communication equipment and greatly improve the utilization rate of interfaces on a circuit.
Description
Technical field
The present invention relates to a kind of method and device of multiplexing communication port, relate in particular to multiple multiplexing to physical interface.
Background technology
Lifting along with the complexity and the function diversity of communicating equipment circuit, equipment is more and more stronger for the requirement of the traffic handling capability of veneer, and the external interface of veneer often the space is limited, cause because the restriction of veneer external interface makes some function not realize.
In addition, increase along with equipment complexity, the Debugging message of each veneer is more and more, and it is very crucial, on veneer exploitation and engineering, the Debugging message of observing veneer is very helpful to fault location, and each veneer a debugging interface all is provided is very uneconomical, also be very unpractical something.
Summary of the invention
The technical problem to be solved in the present invention is, a kind of method and device of multiplexing communication port are provided, physical interface is expanded fully, improve the communication requirement increase that causes to adapt to device integration, solve the problem that the communication equipment compactedness improves the physical link anxiety of being brought greatly, improved the utilance of the interface on the circuit greatly.
In order to solve the problems of the technologies described above, the present invention proposes a kind of device of multiplexing communication port, comprise a physical interface, first passage selection module, and several functional interfaces in logic, described first passage selects module to link to each other respectively with the input of described physical interface and the output of described several functional interfaces in logic, described first passage selects module to be responsible for receiving the signal of the output output of described several functional interfaces in logic, and one of them exports the input of described physical interface to select described signal.
Further, said apparatus also can have following characteristics:
Described first passage selects module to comprise a control unit and a gating array, described gating array has a plurality of input pins and an output pin, each input pin of described gating array links to each other with in logic the output of functional interface respectively, the output pin of described gating array links to each other with the input of described physical interface, described control unit links to each other with described gating array, wherein:
Described control unit transmits control signal to described gating array;
Described gating array, a control signal conducting one input pin that sends according to described control unit and the signalling channel between its efferent duct.
Further, said apparatus also can have following characteristics:
Described gating array is relay or analog switch;
Described relay or described analog switch change on off operating mode according to the control signal that described control unit sends.
Further, said apparatus also can have following characteristics:
Described gating array and described control unit are programmable logic devices.
Further, said apparatus also can have following characteristics:
Also comprise second channel selection module, described second channel selects module to link to each other respectively with the output of described physical interface and the input of several functional interfaces in logic, described second channel selects module to be responsible for receiving the signal of the output output of described physical interface, and it is inputed to the input of one or more described functional interface in logic.
In order to solve the problems of the technologies described above, the present invention also proposes a kind of method of multiplexing communication port, comprising:
Select module to be connected to the input of a physical interface through a first passage output of a plurality of functional interfaces in logic;
Control described first passage select the output of a described functional interface in logic of module gating and described physical interface input between signalling channel.
Further, said method also can have following characteristics:
Described first passage selects module to comprise a control unit and a gating array, and described gating array has a plurality of input pins and an output pin, and this method comprises:
Each input pin of described gating array is linked to each other with in logic the output of functional interface respectively, the output pin of described gating array is linked to each other with the input of described physical interface;
Described control unit is linked to each other with described gating array;
Described control unit transmits control signal to described gating array;
Described gating array, a control signal conducting one input pin that sends according to described control unit and the signalling channel between its output pin.
Further, said method also can have following characteristics:
Described gating array is relay or analog switch;
Described relay or described analog switch change on off operating mode according to the control signal that described control unit sends.
Further, said method also can have following characteristics:
Described gating array and described control unit are programmable logic devices.
Further, said method also can have following characteristics:
Select module to be connected to the input of several functional interfaces in logic through a second channel output of described physical interface;
Control described second channel and select signalling channel between the input of the output of the described physical interface of module gating and a described functional interface in logic.
The method of a kind of multiplexing communication port provided by the invention and device have following advantage:
1, improved the utilance of physical interface greatly;
2, solve the insufficient design bottleneck that causes of device communication interface, made the function of veneer not be subjected to the restriction of physical interface, can fully expand veneer;
3, can save cost greatly;
4, can be widely used in every field, have good versatility.
Description of drawings
Fig. 1 is the device schematic diagram of a kind of multiplexing communication port of the embodiment of the invention;
Fig. 2 is the schematic diagram that the first passage in the device of a kind of multiplexing communication port of the embodiment of the invention is selected module;
Fig. 3 is the method flow schematic diagram of a kind of multiplexing communication port of the embodiment of the invention;
Fig. 4 is that 1 one kinds of application examples of the present invention are exported the multiplexing communication port method flow schematic diagram under the modulation intelligence application scenarios;
Fig. 5 is that 2 one kinds of application examples of the present invention are exported the multiplexing communication port method flow schematic diagram under the application scenarios of different service types or different veneer common interfaces;
Fig. 6 is that application example of the present invention logic more than 3 one kinds inputs to the multiplexing communication port method flow schematic diagram under the different veneer scenes.
Embodiment
The invention provides a kind of method and device of multiplexing communication port, it is conceived substantially: circuit is switched in design one, by the switching of described commutation circuit, realize a plurality of function ports on the interface counterlogic physically, thereby reach the purpose of multiplexing communication port.
Describe embodiment of the present invention in detail below in conjunction with accompanying drawing.
Referring to Fig. 1, the figure shows the device of a kind of multiplexing communication port of the embodiment of the invention, comprise a physical interface, one first passage is selected module, and several functional interfaces in logic, wherein, described first passage selects module to link to each other respectively with the input of described physical interface and the output of described several functional interfaces in logic, described first passage selects module to be responsible for receiving the signal of the output output of described several functional interfaces in logic, and one of them exports the input of described physical interface to select described signal, thereby realizes the multiplexing of described physical interface.
Described first passage is selected module as shown in Figure 2, comprise a control unit and a gating array, described gating array has a plurality of input pins and an output pin, each input pin of described gating array links to each other with in logic the output of functional interface respectively, the output pin of described gating array links to each other with the input of described physical interface, described control unit links to each other with described gating array, wherein:
Described control unit transmits control signal to described gating array;
Described gating array, a control signal conducting one input pin that sends according to described control unit and the signalling channel between its efferent duct.
Described gating array can be the array of physics, for example relay, analog switch etc.; Described control unit can be CPU; The break-make of controlling described relay, analog switch by CPU is to realize selecting a plurality of input signals one of them exports described physical interface input to.
Described gating array and described control unit can be realized that also FPGA carries out pre-set programs by programmable logic devices such as FPGA, and one of them exports the input of described physical interface to select a plurality of input signals automatically.
Further, the embodiment of the invention can also design the multiplexing of physical port outlet side, increase by a second channel and select module, described second channel selects module to link to each other respectively with the output of described physical interface and the input of several functional interfaces in logic, described second channel selects module to be responsible for receiving the signal of the output output of described physical interface, and it is inputed to the input of one or more described functional interface in logic.
Referring to Fig. 3, the figure shows the method for a kind of multiplexing communication port of the embodiment of the invention, comprise step:
Step S301: select module to be connected to the input of a physical interface through a first passage output of a plurality of functional interfaces in logic;
Step S302: control described first passage select the output of a described functional interface in logic of module gating and described physical interface input between signalling channel.
Further, described first passage selects module to comprise a control unit and a gating array, and described gating array has a plurality of input pins and an output pin, wherein:
Each input pin of described gating array is linked to each other with in logic the output of functional interface respectively, the output pin of described gating array is linked to each other with the input of described physical interface;
Described control unit is linked to each other with described gating array;
Described control unit transmits control signal to described gating array;
Described gating array, a control signal conducting one input pin that sends according to described control unit and the signalling channel between its output pin.
Described gating array can be the array of physics, for example relay, analog switch etc.; Described control unit can be CPU; The break-make of controlling described relay, analog switch by CPU is to realize selecting a plurality of input signals one of them exports described physical interface input to.
Described gating array and described control unit can be realized that also FPGA carries out pre-set programs by programmable logic devices such as FPGA, and one of them exports the input of described physical interface to select a plurality of input signals automatically.
Further, the embodiment of the invention can also design the multiplexing of physical port outlet side, increases by a second channel and selects module, selects module to be connected to the input of several functional interfaces in logic through a second channel output of described physical interface; Control described second channel and select signalling channel between the input of the output of the described physical interface of module gating and a described functional interface in logic.
Further specify embodiment of the present invention below in conjunction with concrete application scenarios.
Application example 1:
Need output as multiple Debugging message, and chaining of physics has only a debug serial port externally during output information, can cause the output difficulty of Debugging message.
Adopt multiplexing communication port method and apparatus provided by the invention, can be advantageously applied under this scene, solve the deficiency of Debugging message output difficulty.Referring to Fig. 4, the figure shows 1 one kinds of application examples of the present invention and export multiplexing communication port method under the modulation intelligence application scenarios, comprise: a plurality of Debugging message are outputed among the FPGA,, export the Debugging message that needs by the function that FPGA finishes channel selecting as required.Simultaneously, the setting that can revise FPGA as required is with the selection of the Debugging message of finishing different passages.
Application example 2:
Referring to Fig. 5, the figure shows the multiplexing communication port method under a kind of application scenarios of exporting different service types or different veneer common interfaces, comprise: the output of different business is converged to the switch arrays place, can realize from 4 inputs, choosing a type of service output by three alternative controls, switch arrays can be selected and switch simultaneously, thereby satisfy the demand that multiple business or a plurality of veneer are shared a physical port, can save cost greatly.
Application example 3:
Application example 1 and 2 has provided a plurality of logic outputs, 2 kinds of application scenarioss of a physical interface.Application example 3 will embody another kind of application scenarios of the present invention from the new angle of another one, referring to Fig. 6, the figure shows a kind of many logics of application example of the present invention and input to multiplexing communication port method under the different veneer scenes, comprise: the signal of a plurality of logic ports is imported second channel of the present invention select in the module, described channel selecting module can be FPGA, also can be analog switch or similar device, described channel selecting module can be controlled each signal that is input to different veneers trend, thereby realizes a plurality of switchings that are input to different veneers.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the device of a multiplexing communication port, it is characterized in that, comprise a physical interface, first passage selection module, and several functional interfaces in logic, described first passage selects module to link to each other respectively with the input of described physical interface and the output of described several functional interfaces in logic, described first passage selects module to be responsible for receiving the signal of the output output of described several functional interfaces in logic, and one of them exports the input of described physical interface to select described signal.
2. device as claimed in claim 1, it is characterized in that, described first passage selects module to comprise a control unit and a gating array, described gating array has a plurality of input pins and an output pin, each input pin of described gating array links to each other with in logic the output of functional interface respectively, the output pin of described gating array links to each other with the input of described physical interface, and described control unit links to each other with described gating array, wherein:
Described control unit transmits control signal to described gating array;
Described gating array, a control signal conducting one input pin that sends according to described control unit and the signalling channel between its efferent duct.
3. device as claimed in claim 2 is characterized in that:
Described gating array is relay or analog switch;
Described relay or described analog switch change on off operating mode according to the control signal that described control unit sends.
4. device as claimed in claim 2 is characterized in that:
Described gating array and described control unit are programmable logic devices.
5. as any one described device among the claim 1-4, it is characterized in that, also comprise second channel selection module, described second channel selects module to link to each other respectively with the output of described physical interface and the input of several functional interfaces in logic, described second channel selects module to be responsible for receiving the signal of the output output of described physical interface, and it is inputed to the input of one or more described functional interface in logic.
6. the method for a multiplexing communication port comprises:
Select module to be connected to the input of a physical interface through a first passage output of a plurality of functional interfaces in logic;
Control described first passage select the output of a described functional interface in logic of module gating and described physical interface input between signalling channel.
7. method as claimed in claim 6 is characterized in that, described first passage selects module to comprise a control unit and a gating array, and described gating array has a plurality of input pins and an output pin, and this method comprises:
Each input pin of described gating array is linked to each other with in logic the output of functional interface respectively, the output pin of described gating array is linked to each other with the input of described physical interface;
Described control unit is linked to each other with described gating array;
Described control unit transmits control signal to described gating array;
Described gating array, a control signal conducting one input pin that sends according to described control unit and the signalling channel between its output pin.
8. method as claimed in claim 7 is characterized in that:
Described gating array is relay or analog switch;
Described relay or described analog switch change on off operating mode according to the control signal that described control unit sends.
9. method as claimed in claim 7 is characterized in that:
Described gating array and described control unit are programmable logic devices.
10. as any one described method among the claim 6-9, it is characterized in that, also comprise:
Select module to be connected to the input of several functional interfaces in logic through a second channel output of described physical interface;
Control described second channel and select signalling channel between the input of the output of the described physical interface of module gating and a described functional interface in logic.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010175234.1A CN101841419B (en) | 2010-05-14 | 2010-05-14 | Method and device for multiplexing communication port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010175234.1A CN101841419B (en) | 2010-05-14 | 2010-05-14 | Method and device for multiplexing communication port |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101841419A true CN101841419A (en) | 2010-09-22 |
CN101841419B CN101841419B (en) | 2014-04-09 |
Family
ID=42744559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010175234.1A Expired - Fee Related CN101841419B (en) | 2010-05-14 | 2010-05-14 | Method and device for multiplexing communication port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101841419B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025062A (en) * | 2010-10-11 | 2011-04-20 | 北京星网锐捷网络技术有限公司 | Communication interface multiplexing method, device and network equipment |
CN102572352A (en) * | 2011-12-26 | 2012-07-11 | 中兴通讯股份有限公司 | HDMI multiplexing method, HDMI, and equipped provided with HDMI |
CN105068950A (en) * | 2015-07-24 | 2015-11-18 | 深圳市微纳集成电路与系统应用研究院 | Pin multiplexing system and method |
CN107357751A (en) * | 2017-06-08 | 2017-11-17 | 中车大连电力牵引研发中心有限公司 | Pin multiplexing circuit |
CN108052476A (en) * | 2017-11-27 | 2018-05-18 | 深圳华云科技实业有限公司 | A kind of data transmission system |
CN109327360A (en) * | 2017-08-01 | 2019-02-12 | 中兴通讯股份有限公司 | A kind of method and device of multiplexed port |
CN112836463A (en) * | 2020-12-31 | 2021-05-25 | 北京百瑞互联技术有限公司 | Device, method, storage medium and equipment for integrated circuit IO port multiplexing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070083672A1 (en) * | 2005-10-11 | 2007-04-12 | Koji Shima | Information processing apparatus and communication control method |
CN101090550A (en) * | 2007-07-24 | 2007-12-19 | 中兴通讯股份有限公司 | Duplex method for communication port in mobile terminal |
CN101141402A (en) * | 2007-09-30 | 2008-03-12 | 华为技术有限公司 | Serial port multiplexing method and device |
-
2010
- 2010-05-14 CN CN201010175234.1A patent/CN101841419B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070083672A1 (en) * | 2005-10-11 | 2007-04-12 | Koji Shima | Information processing apparatus and communication control method |
CN101090550A (en) * | 2007-07-24 | 2007-12-19 | 中兴通讯股份有限公司 | Duplex method for communication port in mobile terminal |
CN101141402A (en) * | 2007-09-30 | 2008-03-12 | 华为技术有限公司 | Serial port multiplexing method and device |
Non-Patent Citations (2)
Title |
---|
《桂林电子工业学院学报》 19940630 潘明 全自动汽车安全检测系统的设计与实现--检测工位STD总线系统设计 第64-67页 1-10 第14卷, 第1期 * |
潘明: "全自动汽车安全检测系统的设计与实现——检测工位STD总线系统设计", 《桂林电子工业学院学报》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025062A (en) * | 2010-10-11 | 2011-04-20 | 北京星网锐捷网络技术有限公司 | Communication interface multiplexing method, device and network equipment |
CN102025062B (en) * | 2010-10-11 | 2013-05-29 | 北京星网锐捷网络技术有限公司 | Communication interface multiplexing method, device and network equipment |
CN102572352A (en) * | 2011-12-26 | 2012-07-11 | 中兴通讯股份有限公司 | HDMI multiplexing method, HDMI, and equipped provided with HDMI |
WO2013097356A1 (en) * | 2011-12-26 | 2013-07-04 | 中兴通讯股份有限公司 | Hdmi multiplexing method, hdmi, and hdmi-equipped device |
CN102572352B (en) * | 2011-12-26 | 2014-12-10 | 中兴通讯股份有限公司 | HDMI multiplexing method, HDMI, and equipped provided with HDMI |
CN105068950A (en) * | 2015-07-24 | 2015-11-18 | 深圳市微纳集成电路与系统应用研究院 | Pin multiplexing system and method |
CN107357751A (en) * | 2017-06-08 | 2017-11-17 | 中车大连电力牵引研发中心有限公司 | Pin multiplexing circuit |
CN109327360A (en) * | 2017-08-01 | 2019-02-12 | 中兴通讯股份有限公司 | A kind of method and device of multiplexed port |
CN108052476A (en) * | 2017-11-27 | 2018-05-18 | 深圳华云科技实业有限公司 | A kind of data transmission system |
CN112836463A (en) * | 2020-12-31 | 2021-05-25 | 北京百瑞互联技术有限公司 | Device, method, storage medium and equipment for integrated circuit IO port multiplexing |
Also Published As
Publication number | Publication date |
---|---|
CN101841419B (en) | 2014-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101841419B (en) | Method and device for multiplexing communication port | |
JP6450764B2 (en) | Method for testing a data packet signal transceiver using interleaved device configuration and testing | |
CN102883355B (en) | Building base band unit, base band processing board and fault processing method for base band processing board | |
CN104865958A (en) | Matrix switch device, system and method | |
CN102033833A (en) | Serial port communication switching method and serial port communication system | |
CN103647120B (en) | Switching matrix for testing combined type radio frequency power amplifier | |
CN105005545A (en) | Line card serial port switching device and line card serial port switching method | |
CN102956398A (en) | Electromagnetic contactor control method and electromagnetic contactor using the same | |
CN204166372U (en) | A kind of intelligent home control system | |
CN202276408U (en) | Manageable video matrix switching equipment | |
CN105207785A (en) | PoE system | |
CN105162514B (en) | Optical fiber ring network communication system and method | |
CN102035532A (en) | Software switching circuit for communication serial port | |
CN104320594A (en) | Serial port matrix switcher based on FPGA | |
CN203606943U (en) | Remote control system for engineering machine | |
CN207802400U (en) | A kind of ESIM cards automatic switching control equipment | |
CN105094001A (en) | Controller, and method and device for replacing I/O port of controller | |
CN201274579Y (en) | Radio frequency transceiving module of multichannel baseband pulling systemand baseband pulling system | |
CN211015116U (en) | Equipment switching system | |
CN105406910A (en) | Light path backup and MIMO (Multiple Input Multiple Output) transmission system, near-end device and far-end device | |
CN202009389U (en) | Network switching device | |
CN102081120A (en) | Testing system | |
CN201600687U (en) | Communication serial software switching circuit | |
CN204103917U (en) | Multi-channel intelligent Serial Communication Card | |
CN205080412U (en) | Nozzle and material door control device based on valve island able to programme |
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: 20140409 Termination date: 20200514 |
|
CF01 | Termination of patent right due to non-payment of annual fee |