CN110309096A - Multi-serial port transponder - Google Patents

Multi-serial port transponder Download PDF

Info

Publication number
CN110309096A
CN110309096A CN201910660691.0A CN201910660691A CN110309096A CN 110309096 A CN110309096 A CN 110309096A CN 201910660691 A CN201910660691 A CN 201910660691A CN 110309096 A CN110309096 A CN 110309096A
Authority
CN
China
Prior art keywords
data
processing unit
serial ports
downlink
serial port
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
CN201910660691.0A
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.)
Creative Technology (hangzhou) Co Ltd
Original Assignee
Creative Technology (hangzhou) 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 Creative Technology (hangzhou) Co Ltd filed Critical Creative Technology (hangzhou) Co Ltd
Priority to CN201910660691.0A priority Critical patent/CN110309096A/en
Publication of CN110309096A publication Critical patent/CN110309096A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

This application discloses a kind of Multi-serial port transponders characterized by comprising processing unit and serial port unit;The serial port unit includes uplink serial ports and several downlink serial ports, and the processing unit is connect with uplink serial ports and downlink serial ports respectively;The uplink serial ports is used to receive upstream data and is transferred to processing unit, or receives the downlink data of processing unit processes and be output to upstream plant;The downlink serial ports is used to receive downlink data and is transferred to processing unit, or receives the upstream data of processing unit processes and be output to downstream plant;The processing unit does the buffering of uplink and downlink data using queue, and carries out successive data processing and transmission according to the priority of data.Advantage: the problem of solving the problems, such as that existing serial ports HUB is unable to filtering treater data, and being unable to multichannel full-duplex communication, and when coming in mass data, will not lose data will not lead to system abnormity collapse.

Description

Multi-serial port transponder
Technical field
This application involves the communications fields, in particular to a kind of Multi-serial port transponder.
Background technique
When being center equipment with HUB (multiport transponder), even if certain route produces failure in network, not shadow Ring the work of other routes.So HUB is widely used in a local network.It is used in star-like and tree most of the time In type network topology structure, it is connected with each host with RJ45 interface and (also has bnc interface), HUB has much according to different sayings Type.HUB is according in the processing mode to input signal, being divided into passive HUB, active HUB, intelligence HUB.
But the problem of existing serial ports HUB is unable to filtering treater data, and it is unable to multichannel full-duplex communication.
Summary of the invention
The main purpose of the application is to provide a kind of Multi-serial port transponder, to solve the problems, such as.
To achieve the goals above, a kind of Multi-serial port transponder is provided characterized by comprising processing unit and string Mouth unit;
The serial port unit includes uplink serial ports and several downlink serial ports, the processing unit respectively with uplink serial ports and under The connection of row serial ports;
The uplink serial ports is used to receive upstream data and is transferred to processing unit, or receives the downlink of processing unit processes Data are simultaneously output to upstream plant;The downlink serial ports is for receiving downlink data and being transferred to processing unit or reception processing The upstream data of cell processing is simultaneously output to downstream plant;
The processing unit does the buffering of uplink and downlink data using queue, and is successively counted according to the priority of data According to processing and transmission.
Further, the queue includes receiving data queue and transmission data queue.
Further, the processing unit is able to carry out DMA transfer.
Further, the processing unit carries out priority judgement by the urgent mark in identification data, will have urgent The high priority data of mark is placed into the beginning of queue.
Further, the urgent mark uses the mark data of a bit size.
Further, the processing unit carries out completeness check, school to downlink serial ports or the received data of upper and lower serial ports It tests by being added in queue later.
Further, the processing unit receives the data of downlink serial ports transmission, and is uniformly put into queue, and processing is single Member takes out data from queue, is processed into different contents according to the Context resolution packing in data, retransmits to uplink serial ports.
Further, the processing unit receives the received data of uplink serial ports, is unpacked to data, subpackage extracts The object wherein to be sent, then be forwarded in different downlink serial ports.
Further, the serial ports up and down is equipped with one, and downlink serial ports is equipped with 5.
Advantageous effects of the invention:
It solves the problems, such as that existing serial ports HUB is unable to filtering treater data, and is unable to asking for multichannel full-duplex communication Topic, and when coming in mass data, will not lose data will not lead to system abnormity collapse.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, so that the application's is other Feature, objects and advantages become more apparent upon.The illustrative examples attached drawing and its explanation of the application is for explaining the application, not Constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the unit module schematic diagram according to a kind of embodiment of the application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in Figure 1, a kind of Multi-serial port transponder characterized by comprising processing unit and serial port unit;
The serial port unit includes uplink serial ports and 5 downlink serial ports, the processing unit respectively with uplink serial ports and under The connection of row serial ports;
The uplink serial ports is used to receive upstream data and is transferred to processing unit, or receives the downlink of processing unit processes Data are simultaneously output to upstream plant;The downlink serial ports is for receiving downlink data and being transferred to processing unit or reception processing The upstream data of cell processing is simultaneously output to downstream plant;
The processing unit does the buffering of uplink and downlink data using queue, and is successively counted according to the priority of data According to processing and transmission.
In the present embodiment, the queue includes receiving data queue and transmission data queue.Number can be sent from bottom to top According to while can also send data from top to bottom.
In the present embodiment, the processing unit is able to carry out DMA transfer, directly carries and is not take up CPU, realizes two-way hair Send reception data.
In the present embodiment, the processing unit carries out priority judgement by the urgent mark in identification data, will have tight The high priority data suddenly identified is placed into the beginning of queue.The urgent mark uses the mark data of a bit size.Pass through mark The difference for knowing data can also realize the processing of different priorities.
In the present embodiment, the processing unit carries out completeness check to downlink serial ports or the received data of upper and lower serial ports, Verification is added in queue after.
In the present embodiment, the processing unit receives the data of downlink serial ports transmission, and is uniformly put into queue, handles Unit takes out data from queue, is processed into different contents according to the Context resolution packing in data, retransmits to uplink string Mouthful.
In the present embodiment, the processing unit receives the received data of uplink serial ports, is unpacked to data, subpackage is extracted The object wherein to be sent out, then be forwarded in different downlink serial ports.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Be performed by computing device in the storage device, perhaps they are fabricated to each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific Hardware and software combines.
The foregoing is merely preferred embodiment of the present application, are not intended to limit this application, for the skill of this field For art personnel, various changes and changes are possible in this application.Within the spirit and principles of this application, made any to repair Change, equivalent replacement, improvement etc., should be included within the scope of protection of this application.

Claims (9)

1. a kind of Multi-serial port transponder characterized by comprising processing unit and serial port unit;
The serial port unit includes uplink serial ports and several downlink serial ports, the processing unit respectively with uplink serial ports and downlink string Mouth connection;
The uplink serial ports is used to receive upstream data and is transferred to processing unit, or receives the downlink data of processing unit processes And it is output to upstream plant;The downlink serial ports is used to receive downlink data and is transferred to processing unit, or receives processing unit The upstream data of processing is simultaneously output to downstream plant;
The processing unit does the buffering of uplink and downlink data using queue, and is carried out at successive data according to the priority of data Reason and transmission.
2. Multi-serial port transponder according to claim 1, which is characterized in that the queue includes receiving data queue and hair Send data queue.
3. Multi-serial port transponder according to claim 1, which is characterized in that the processing unit is able to carry out DMA transfer.
4. Multi-serial port transponder according to claim 1, which is characterized in that the processing unit passes through in identification data Urgent mark carries out priority judgement, the beginning that will have the high priority data promptly identified to be placed into queue.
5. Multi-serial port transponder according to claim 4, which is characterized in that the urgent mark uses a bit size Mark data.
6. Multi-serial port transponder according to claim 1, which is characterized in that the processing unit is to downlink serial ports or up and down The received data of serial ports carry out completeness check, and verification is added in queue after.
7. Multi-serial port transponder according to claim 1, which is characterized in that the processing unit receives the transmission of downlink serial ports Data, and be uniformly put into queue, processing unit takes out data from queue, at the Context resolution packing in data Different contents is managed into, is retransmited to uplink serial ports.
8. Multi-serial port transponder according to claim 1, which is characterized in that the processing unit receives uplink serial ports and receives Data, data are unpacked, subpackage extracts the object wherein to be sent, then be forwarded in different downlink serial ports.
9. Multi-serial port transponder according to claim 1, which is characterized in that the serial ports up and down is equipped with one, downlink string Mouth is equipped with 5.
CN201910660691.0A 2019-07-22 2019-07-22 Multi-serial port transponder Pending CN110309096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910660691.0A CN110309096A (en) 2019-07-22 2019-07-22 Multi-serial port transponder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910660691.0A CN110309096A (en) 2019-07-22 2019-07-22 Multi-serial port transponder

Publications (1)

Publication Number Publication Date
CN110309096A true CN110309096A (en) 2019-10-08

Family

ID=68081157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910660691.0A Pending CN110309096A (en) 2019-07-22 2019-07-22 Multi-serial port transponder

Country Status (1)

Country Link
CN (1) CN110309096A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507225A (en) * 2002-12-12 2004-06-23 华为技术有限公司 High speed port device for communication equipment
CN202084028U (en) * 2011-06-03 2011-12-21 南京理工大学 Modularized multi-serial port expanding device
CN104142901A (en) * 2013-05-07 2014-11-12 北京化工大学 Implementation method of serial port multiplexer with transmission priority
CN104820644A (en) * 2015-04-30 2015-08-05 武汉大学 Non-time-sharing port multiplexing method and device
CN109857685A (en) * 2018-12-06 2019-06-07 积成电子股份有限公司 A kind of implementation method of MPU and FPGA expanding multiple serial ports
US10579563B2 (en) * 2017-06-16 2020-03-03 Honeywell International Inc. Multiple master process controllers using a shared serial peripheral bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1507225A (en) * 2002-12-12 2004-06-23 华为技术有限公司 High speed port device for communication equipment
CN202084028U (en) * 2011-06-03 2011-12-21 南京理工大学 Modularized multi-serial port expanding device
CN104142901A (en) * 2013-05-07 2014-11-12 北京化工大学 Implementation method of serial port multiplexer with transmission priority
CN104820644A (en) * 2015-04-30 2015-08-05 武汉大学 Non-time-sharing port multiplexing method and device
US10579563B2 (en) * 2017-06-16 2020-03-03 Honeywell International Inc. Multiple master process controllers using a shared serial peripheral bus
CN109857685A (en) * 2018-12-06 2019-06-07 积成电子股份有限公司 A kind of implementation method of MPU and FPGA expanding multiple serial ports

Similar Documents

Publication Publication Date Title
Birrittella et al. Intel® omni-path architecture: Enabling scalable, high performance fabrics
CN101488922B (en) Network-on-chip router having adaptive routing capability and implementing method thereof
CN110138630A (en) Built-in testing service generation device
RU2011140978A (en) METHOD AND DEVICE OF I / O ROUTING AND MAP
CN106953853A (en) A kind of network-on-chip gigabit Ethernet resource node and its method of work
CN101146046A (en) A throughput testing method and testing system
CN105245301A (en) Time-triggered based airborne optical network simulation system
CN203151539U (en) AFDX terminal system virtual link layer IP core
CN109684269A (en) A kind of PCIE exchange chip kernel and working method
CN102185833A (en) Fiber channel (FC) input/output (I/O) parallel processing method based on field programmable gate array (FPGA)
CN103746927A (en) Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN108111494A (en) A kind of protocol conversion apparatus of 1553B buses and FlexRay buses
CN107547430A (en) A kind of file transmitting method and device
CN109446143A (en) A kind of data serial transmission control system and method based on FPGA
CN103947167A (en) Network communication device and transfer frame priority band restriction method
CN105530157B (en) The multiple virtual links of the AFDX network switch share the framework and method of credit
CN1988501B (en) Realizing device for embedded control path communication using FPGA completing optic transmission device
CN107181702B (en) Device for realizing RapidIO and Ethernet fusion exchange
CN110309096A (en) Multi-serial port transponder
CN103200126A (en) XG-PON system flow management device and method
CN109120539A (en) Method and device for realizing data transmission processing
CN105430665B (en) Realize the method and system of more net mixing scale networkings
CN104363185B (en) A kind of miniature composite network data exchange system
CN103368959B (en) Conversion method between RapidIO message and InfiniBand message and device
CN205812076U (en) A kind of Computer information network engineering system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191008

RJ01 Rejection of invention patent application after publication