CN101841419B - Method and device for multiplexing communication port - Google Patents
Method and device for multiplexing communication port Download PDFInfo
- Publication number
- CN101841419B CN101841419B CN201010175234.1A CN201010175234A CN101841419B CN 101841419 B CN101841419 B CN 101841419B CN 201010175234 A CN201010175234 A CN 201010175234A CN 101841419 B CN101841419 B CN 101841419B
- 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.)
- Expired - Fee Related
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
Multifarious lifting along with complexity and the function 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 limited space often causes the restriction due to veneer external interface, and some function can not be realized.
In addition, increase along with equipment complexity, the Debugging message of each veneer is more and more, and very crucial, in veneer exploitation and engineering, the Debugging message of observing veneer is very helpful to location fault, and each veneer a debugging interface is provided is very uneconomical, be also 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, to adapt to device integration, improve the communication requirement increase causing, solve greatly the problem that communication equipment compactedness improves the physical link anxiety of bringing, improved greatly the utilance of the interface on circuit.
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, a first passage selection module, and several functional interfaces in logic, described first passage selects the input of module and described physical interface and the output of described several functional interfaces to be in logic connected respectively, 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 is connected with the output of a functional interface in logic respectively, the output pin of described gating array is connected with the input of described physical interface, described control unit is connected with described gating array, wherein:
Described control unit, transmits control signal to described gating array;
Described gating array, the control signal conducting one input pin sending 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;
The control signal that described relay or described analog switch send according to described control unit changes on off operating mode.
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 a second channel selection module, described second channel selects module to be connected 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 is inputed to described in one or more input of 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:
Through a first passage, select module to be connected to the input of a physical interface output of a plurality of functional interfaces in logic;
Control described first passage select described in one of module gating the output of functional interface in logic 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 the method comprises:
Each input pin of described gating array is connected with the output of a functional interface in logic respectively, the output pin of described gating array is connected with the input of described physical interface;
Described control unit is connected with described gating array;
Described control unit transmits control signal to described gating array;
Described gating array, the control signal conducting one input pin sending 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;
The control signal that described relay or described analog switch send according to described control unit changes on off operating mode.
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:
Through a second channel, select module to be connected to the input of several functional interfaces in logic the output of described physical interface;
Control described second channel and select described in the output of physical interface described in module gating and one signalling channel between the input of functional interface in logic.
The method of a kind of multiplexing communication port provided by the invention and device, tool has the following advantages:
1, improved greatly the utilance of physical interface;
2, solve the insufficient design bottleneck causing of device communication interface, made the function of veneer not be subject to the restriction of physical interface, can fully expand veneer;
3, can be cost-saving greatly;
4, can be widely used in every field, there is good versatility.
Accompanying drawing explanation
Fig. 1 is the device schematic diagram of a kind of multiplexing communication port of the embodiment of the present 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 present invention is selected module;
Fig. 3 is the method flow schematic diagram of a kind of multiplexing communication port of the embodiment of the present 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 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 different veneer scenes.
Embodiment
The invention provides a kind of method and device of multiplexing communication port, its basic conception is: design one commutation circuit, by the switching of described commutation circuit, realize a plurality of function ports on an interface counterlogic physically, thereby reach the object of multiplexing communication port.
Below in conjunction with accompanying drawing, describe embodiment of the present invention in detail.
Referring to Fig. 1, the figure shows the device of a kind of multiplexing communication port of the embodiment of the present invention, comprise a physical interface, one first passage is selected module, and several functional interfaces in logic, wherein, described first passage selects the input of module and described physical interface and the output of described several functional interfaces to be in logic connected respectively, 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 realize 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 is connected with the output of a functional interface in logic respectively, the output pin of described gating array is connected with the input of described physical interface, described control unit is connected with described gating array, wherein:
Described control unit, transmits control signal to described gating array;
Described gating array, the control signal conducting one input pin sending according to described control unit and the signalling channel between its efferent duct.
Described gating array can be the array of physics, such as 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 exporting described physical interface input to.
Described gating array and described control unit also can be realized by programmable logic devices such as FPGA, and FPGA carries out pre-set programs, and one of them exports the input of described physical interface to automatically to select a plurality of input signals.
Further, the embodiment of the present 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 be connected 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 is inputed to described in one or more input of 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 present 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 described in one of module gating the output of functional interface in logic 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 connected with the output of a functional interface in logic respectively, the output pin of described gating array is connected with the input of described physical interface;
Described control unit is connected with described gating array;
Described control unit transmits control signal to described gating array;
Described gating array, the control signal conducting one input pin sending according to described control unit and the signalling channel between its output pin.
Described gating array can be the array of physics, such as 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 exporting described physical interface input to.
Described gating array and described control unit also can be realized by programmable logic devices such as FPGA, and FPGA carries out pre-set programs, and one of them exports the input of described physical interface to automatically to select a plurality of input signals.
Further, the embodiment of the present 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 the output of described physical interface through a second channel; Control described second channel and select described in the output of physical interface described in module gating and one signalling channel between the input of functional interface in logic.
Below in conjunction with concrete application scenarios, further illustrate embodiment of the present invention.
Application example 1:
When there being multiple Debugging message to need output, and chaining of physics only has a debug serial port externally during output information, can cause the output of Debugging message difficult.
Adopt multiplexing communication port method and apparatus provided by the invention, can be advantageously applied under this scene, solve Debugging message and export difficult deficiency.Referring to Fig. 4, the figure shows 1 one kinds of application examples of the present invention and export the multiplexing communication port method under modulation intelligence application scenarios, comprise: a plurality of Debugging message are outputed in FPGA, by FPGA, completed as required the function of channel selecting, the Debugging message that output needs.Meanwhile, the setting that can revise as required FPGA is to complete the selection of the Debugging message of different passages.
Application example 2:
Referring to Fig. 5, the figure shows a kind of multiplexing communication port method under application scenarios of exporting different service types or different veneer common interfaces, comprise: the output of different business is converged to switch arrays place, by three alternatives, controlled to realize and from 4 inputs, choose a type of service and export, Simultaneous Switching array can be selected and switch, thereby meet the demand that multiple business or a plurality of veneer are shared a physical port, can be greatly cost-saving.
Application example 3:
Application example 1 and 2 has provided a plurality of logic output, 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 the multiplexing communication port method under different veneer scenes, comprise: the signal of a plurality of logic ports is inputted to second channel of the present invention and select in 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 trend that is input to different veneers, thereby realizes a plurality of switchings that are input to different veneers.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (8)
1. the device of a multiplexing communication port, it is characterized in that, comprise a physical interface, a first passage selection module, and several functional interfaces in logic, described first passage selects the input of module and described physical interface and the output of described several functional interfaces to be in logic connected respectively, 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;
Wherein, 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 is connected with the output of a functional interface in logic respectively, the output pin of described gating array is connected with the input of described physical interface, described control unit is connected with described gating array, wherein:
Described control unit, transmits control signal to described gating array;
Described gating array, the control signal conducting one input pin sending according to described control unit and the signalling channel between its efferent duct.
2. device as claimed in claim 1, is characterized in that:
Described gating array is relay or analog switch;
The control signal that described relay or described analog switch send according to described control unit changes on off operating mode.
3. device as claimed in claim 1, is characterized in that:
Described gating array and described control unit are programmable logic devices.
4. as the device as described in any one in claim 1-3, it is characterized in that, also comprise a second channel selection module, described second channel selects module to be connected 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 is inputed to described in one or more input of functional interface in logic.
5. a method for multiplexing communication port, comprising:
Through a first passage, select module to be connected to the input of a physical interface output of a plurality of functional interfaces in logic;
Control described first passage select described in one of module gating the output of functional interface in logic and described physical interface input between signalling channel;
Wherein, 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 the method comprises:
Each input pin of described gating array is connected with the output of a functional interface in logic respectively, the output pin of described gating array is connected with the input of described physical interface;
Described control unit is connected with described gating array;
Described control unit transmits control signal to described gating array;
Described gating array, the control signal conducting one input pin sending according to described control unit and the signalling channel between its output pin.
6. method as claimed in claim 5, is characterized in that:
Described gating array is relay or analog switch;
The control signal that described relay or described analog switch send according to described control unit changes on off operating mode.
7. method as claimed in claim 5, is characterized in that:
Described gating array and described control unit are programmable logic devices.
8. as the method as described in any one in claim 5-7, it is characterized in that, also comprise:
Through a second channel, select module to be connected to the input of several functional interfaces in logic the output of described physical interface;
Control described second channel and select described in the output of physical interface described in module gating and one signalling channel between the input of 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 CN101841419A (en) | 2010-09-22 |
CN101841419B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025062B (en) * | 2010-10-11 | 2013-05-29 | 北京星网锐捷网络技术有限公司 | Communication interface multiplexing method, device and network equipment |
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 |
CN109327360B (en) * | 2017-08-01 | 2021-11-12 | 中兴通讯股份有限公司 | Port multiplexing method and device |
CN108052476A (en) * | 2017-11-27 | 2018-05-18 | 深圳华云科技实业有限公司 | A kind of data transmission system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4883979B2 (en) * | 2005-10-11 | 2012-02-22 | 株式会社ソニー・コンピュータエンタテインメント | Information processing apparatus and communication control method |
-
2010
- 2010-05-14 CN CN201010175234.1A patent/CN101841419B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
---|
全自动汽车安全检测系统的设计与实现——检测工位STD总线系统设计;潘明;《桂林电子工业学院学报》;19940630;第14卷(第1期);第64-67页 * |
潘明.全自动汽车安全检测系统的设计与实现——检测工位STD总线系统设计.《桂林电子工业学院学报》.1994,第14卷(第1期),第64-67页. |
Also Published As
Publication number | Publication date |
---|---|
CN101841419A (en) | 2010-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101841419B (en) | Method and device for multiplexing communication port | |
CN103235547A (en) | Analog input and output module | |
CN202276408U (en) | Manageable video matrix switching equipment | |
CN201402208Y (en) | Comprehensive testing device for electro hydraulic control valve | |
CN104965478A (en) | High-voltage direct-current transmission converter valve control device and converter valve | |
CN204166372U (en) | A kind of intelligent home control system | |
CN105207785A (en) | PoE system | |
CN105162514B (en) | Optical fiber ring network communication system and method | |
CN209433233U (en) | Split type valve remote monitoring system based on wireless data transmission technology | |
CN102035532A (en) | Software switching circuit for communication serial port | |
CN203606943U (en) | Remote control system for engineering machine | |
CN104320594A (en) | Serial port matrix switcher based on FPGA | |
CN207424602U (en) | Wired and wireless supervisory control system applied to more motor monitorings | |
CN103797758A (en) | Communication interface module for automation system | |
CN203205975U (en) | Auto transfer switch controller | |
CN111294155B (en) | Adapter, data transmission system and method | |
CN103530249B (en) | Inter-integrated circuit bus transmission system and transmission method thereof | |
CN101420373B (en) | Method for switching between two types of network packets and network apparatus therefor | |
CN211015116U (en) | Equipment switching system | |
CN104656478B (en) | The control circuit and control method of a kind of multi-power module | |
CN204350149U (en) | Based on the serial ports matrix switcher of FPGA | |
CN207543128U (en) | A kind of communication equipment for being used to prevent RS485 equipment misconnection | |
CN202009389U (en) | Network switching device | |
CN201600687U (en) | Communication serial software switching circuit | |
CN103825747A (en) | Splitter system compatible with 100M Ethernet and 1000M Ethernet |
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 |