CN108614786A - Channel management circuit based on message traffic type - Google Patents

Channel management circuit based on message traffic type Download PDF

Info

Publication number
CN108614786A
CN108614786A CN201611140757.6A CN201611140757A CN108614786A CN 108614786 A CN108614786 A CN 108614786A CN 201611140757 A CN201611140757 A CN 201611140757A CN 108614786 A CN108614786 A CN 108614786A
Authority
CN
China
Prior art keywords
message
mac
type
configuration
queues
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611140757.6A
Other languages
Chinese (zh)
Other versions
CN108614786B (en
Inventor
田泽
郭亮
张荣华
刘浩
黎小玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Xiangteng Microelectronics Technology Co Ltd
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201611140757.6A priority Critical patent/CN108614786B/en
Publication of CN108614786A publication Critical patent/CN108614786A/en
Application granted granted Critical
Publication of CN108614786B publication Critical patent/CN108614786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Abstract

The invention belongs to calculate electric Digital data processing technology, it is related to a kind of channel management circuit based on type of message, the circuit includes sending information queue 1, send control module 2, MAC_A transmit queues 3, MAC_A modules 4, 1 sendaisle of type of message configuration 5, 2 sendaisle of type of message configuration 6, 3 sendaisle of type of message configuration 7, MAC_A receiving queues 8, receive information queue 9, receive control module 10, 1 receiving channel of type of message configuration 11, 1 receiving channel of type of message configuration 12, 1 receiving channel of type of message configuration 13, MAC_B transmit queues 14, MAC_B receiving queues 15, MAC_B modules 16.The channel management based on message traffic type can be achieved in the present invention.

Description

Channel management circuit based on message traffic type
Technical field
The invention belongs to computer hardware technology field more particularly to a kind of channel management circuits based on type of message.
Background technology
FC (optical-fibre channel) is a kind of high speed serial transmission agreement, has high bandwidth, high real-time, high reliability, extension The characteristics of property is good, transmission rate is high, strong interference immunity, which in specific application, needs according to higher layer message type of service Channel management is carried out, however it is domestic there is not yet the channel management circuit correlation technique data based on message traffic type, external Since technology blockage can also be used for reference without detailed enforceable data.
Invention content
Goal of the invention:
The object of the present invention is to provide a kind of channel management circuit based on type of message is, it can be achieved that more in the application of FC technologies The channel management of kind type of service message.
Technical solution:
The present invention solution be:
The present invention provides a kind of channel management circuit based on type of message, including sends information queue, sends control Molding block, MAC_A modules, the configuration of 1 sendaisle of type of message, the configuration of 2 sendaisle of type of message, disappears at MAC_A transmit queues The configuration of 3 sendaisle of type, MAC_A receiving queues are ceased, information queue is received, receives control module, the reception of type of message 1 Channel configuration, the configuration of 1 receiving channel of type of message, the configuration of 1 receiving channel of type of message, MAC_B transmit queues, MAC_B are received Queue, MAC_B modules, transmission control module is connected with transmission information queue respectively, 1 sendaisle of type of message configures, 2 sendaisle of type of message configure with 3 sendaisle of type of message configuration is connected, also respectively with MAC_A transmit queues and MAC_ B transmit queues are connected;MAC_A modules are connected with MAC_A transmit queues, MAC_A receiving queues respectively;Receive control module difference It is connected with reception information queue, the configuration of 1 receiving channel of type of message, the configuration of 2 receiving channel of type of message, type of message 3 Receiving channel configuration is connected, and is also connected respectively with MAC_A receiving queues and MAC_B receiving queues;MAC_B modules are respectively and MAC_ B transmit queues, MAC_B receiving queues are connected.
The transmission information queue, can buffered message traffic type information and message data field information, will It sends information queue spacing wave and the data field information of message traffic type information and message is sent to transmission control mould Block.
The transmission control module reads message traffic type information, and judged when spacing wave is non-empty, If it is type of message 1,1 sendaisle Configuration Values of type of message are used, if it is type of message 2, use type of message 2 Sendaisle Configuration Values use 3 sendaisle Configuration Values of type of message if it is type of message 3, if Configuration Values be two into Value 01 processed, then send a message to MAC_A transmit queues, if Configuration Values are binary value 10, sends a message to MAC_B Message is sent to MAC_A transmit queues and MAC_B sends team by transmit queue simultaneously if Configuration Values are binary value 11 Row.
The MAC_A transmit queues receive and cache the message for sending control module transmission, and are encapsulated as data Frame submits to MAC_A modules.
The data frame that MAC_A transmit queues are submitted is sent to chain road by the MAC_A modules;Receives link simultaneously The message received is simultaneously submitted to MAC_A receiving queues by data.
1 sendaisle of the type of message configuration, preserves the sendaisle Configuration Values of type of message 1.
2 sendaisle of the type of message configuration, preserves the sendaisle Configuration Values of type of message 2.
3 sendaisle of the type of message configuration, preserves the sendaisle Configuration Values of type of message 3.
The MAC_A receiving queues receive and cache the data frame that MAC_A modules receive, and after being unpacked Submit to reception control module.
The reception information queue receives and caches the message for receiving control module submission.
The reception control module is polled MAC_A receiving queues, MAC_B receiving queues, if had in queue Message is received, then reads message traffic type information first, and judge that corresponding information message type 1 receives according to type of message Corresponding channel reception enable bit is in channel configuration, the configuration of 2 receiving channel of type of message, the configuration of 3 receiving channel of type of message No is 1, if it is 1, the message is received, and message is submitted to and receives information queue, if corresponding channel reception Enable bit is 0, then abandons the message.In order to ensure message efficiency, the processing frequency for receiving control module is at least MAC_A receptions Queue, MAC_B receiving queues twice of frequency.
1 receiving channel of the type of message configuration, preserves the receiving channel Configuration Values of type of message 1.
1 receiving channel of the type of message configuration, can save the receiving channel Configuration Values of type of message 2.
1 receiving channel of the type of message configuration, can save the receiving channel Configuration Values of type of message 3.
The MAC_B transmit queues receive and cache the message for sending control module transmission, and are encapsulated as data Frame submits to MAC_B modules.
The MAC_B receiving queues can receive and cache the data frame that MAC_B modules receive, and unpacked it After submit to reception control module.
The data frame that MAC_B transmit queues are submitted is sent to chain road by the MAC_B modules;Receives link simultaneously The data frame received is simultaneously submitted to MAC_B receiving queues by data.
The solution have the advantages that:
A kind of channel management circuit based on type of message provided by the invention configures deposit by the way that one group of channel is arranged Device can be managed the sendaisle and receiving channel of different service types message, when the channel configuration for completing corresponding message Matching for register postpones, and the present invention can be automatically performed multiple business message sendaisle and receiving channel according to Configuration Values Selection.
Description of the drawings
Fig. 1 is the structure diagram of the channel management circuit based on type of message of the present invention.
Specific implementation mode
Technical scheme of the present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is the structure diagram of the channel management circuit based on type of message of the present invention, as shown in Figure 1, the present invention carries For a kind of channel management circuit based on type of message, which includes sending information queue 1, sending control Module 2, MAC_A transmit queues 3, MAC_A modules 4,1 sendaisle of type of message configuration 5, the configuration of 2 sendaisle of type of message 6,3 sendaisle of type of message configuration 7, MAC_A receiving queues 8, reception information queue 9, reception control module 10, message Class1 receiving channel configuration 11,1 receiving channel of type of message configuration 12,1 receiving channel of type of message configuration 13, MAC_B are sent Queue 14, MAC_B receiving queues 15, MAC_B modules 16.Control module 2 is sent by port 2a and sends information queue 1 It is connected, is connected with 1 sendaisle of type of message configuration 5 by port 2b, is configured by port 2c and 2 sendaisle of type of message 6 be connected, be connected by port 2d and 3 sendaisle of type of message configuration 7, be connected with MAC_A transmit queues 3 by port 2f, It is connected with MAC_B transmit queues 14 by port 2e;MAC_A modules 4 respectively with MAC_A transmit queues 3, MAC_A receiving queues 8 It is connected;Control module 10 is received by port 10a to be connected, by port 10b and type of message 1 with information queue 9 is received Receiving channel configuration 11 is connected, is connected, by port 10d and message with 1 receiving channel of type of message configuration 12 by port 10c Class1 receiving channel configuration 13 is connected, is connected with MAC_A receiving queues 8 by port 10f, is connect by port 10e and MAC_B Queue 15 is received to be connected;MAC_B modules 16 are connected with MAC_B transmit queues 14, MAC_B receiving queues 15 respectively.
The transmission information queue 1, can buffered message traffic type information and message data field information.It is logical It crosses port 2a and will send information queue spacing wave and data information and be sent to and send control module 2.
The transmission control module 2 reads message traffic type when the spacing wave of port 2a is non-empty from port 2a Information, and judged.If it is type of message 1,1 sendaisle Configuration Values of type of message are used, if it is type of message 2, then 2 sendaisle Configuration Values of type of message are used, if it is type of message 3, are configured using 3 sendaisle of type of message Message is sent to MAC_A transmit queues 3 by value if Configuration Values are 2 ' b01 by port 2f, if Configuration Values are 2 ' Message is then sent to MAC_B transmit queues 14 by b10 by port 2e, if Configuration Values are 2 ' b11, message is sent out simultaneously It is sent to MAC_A transmit queues 3 and MAC_B transmit queues 14.
The MAC_A transmit queues 3 can receive and cache the message for sending the transmission of control module 2, and submit it To MAC_A modules 4.
The message that MAC_A transmit queues 3 are submitted can be sent to chain road by the MAC_A modules 4;It receives simultaneously The message received is simultaneously submitted to MAC_A receiving queues 8 by link data.
1 sendaisle of the type of message configuration 5, can preserve the sendaisle Configuration Values of type of message 1, can pass through Host is configured.
2 sendaisle of the type of message configuration 6, can preserve the sendaisle Configuration Values of type of message 2, can pass through Host is configured.
3 sendaisle of the type of message configuration 7, can save the sendaisle Configuration Values of type of message 3, can pass through master Machine is configured.
The MAC_A receiving queues 8 can receive and cache the message that MAC_A modules 4 receive, and submit it Give reception control module 10.
The reception information queue 9 can receive and cache the message for receiving the submission of control module 10.
The reception control module 10 can be polled MAC_A receiving queues 8, MAC_B receiving queues 15, if There is reception message in queue, then reads message traffic type information first, and corresponding informational message is judged according to type of message It is corresponding logical in Class1 receiving channel configuration 11,2 receiving channel of type of message configuration 12,3 receiving channel of type of message configuration 13 Road receives whether enable bit is 1, if it is 1, receives the message, and message is submitted to and receives information queue 9.If Corresponding channel reception enable bit is 0, then abandons the message.In order to ensure message efficiency, the processing frequency of control module 10 is received Rate is at least MAC_A receiving queues 8, the frequency of MAC_B receiving queues 15 twice.
1 receiving channel of the type of message configuration 11, can preserve the receiving channel Configuration Values of type of message 1, can lead to Host is crossed to be configured.
1 receiving channel of the type of message configuration 12, can save the receiving channel Configuration Values of type of message 2, can pass through Host is configured.
1 receiving channel of the type of message configuration 13, can save the receiving channel Configuration Values of type of message 3, can pass through Host is configured.
The MAC_B transmit queues 14 can receive and cache the message for sending the transmission of control module 2, and submit it To MAC_B modules 14.
The MAC_B receiving queues 15 can receive and cache the message that MAC_B modules 16 receive, and submit it Give reception control module 10.
The message that MAC_B transmit queues 14 are submitted can be sent to chain road by the MAC_B modules 16;It receives simultaneously The message received is simultaneously submitted to MAC_B receiving queues 15 by link data.
Channel management circuit provided by the invention based on type of message can by the way that one group of channel configuration register is arranged The sendaisle and receiving channel of different service types message are managed, when the channel configuration register for completing corresponding message With postponing, the present invention can be automatically performed multiple business message sendaisle and receiving channel selection according to Configuration Values.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is explained in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features; And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (2)

1. a kind of channel management circuit based on message traffic type, it is characterised in that:Including send information queue (1), Send control module (2), MAC_A transmit queues (3), MAC_A modules (4), 1 sendaisle of type of message configuration (5), message class 2 sendaisle of type configures (6), 3 sendaisle of type of message configuration (7), MAC_A receiving queues (8), receives information queue (9), control module (10), 1 receiving channel of type of message configuration (11), 1 receiving channel of type of message configuration (12), message are received Class1 receiving channel configures (13), MAC_B transmit queues (14), MAC_B receiving queues (15), MAC_B modules (16), sends Control module (2) is connected with transmission information queue (1) respectively, 1 sendaisle of type of message configures (5), type of message 2 is sent out Send channel configuration (6) and 3 sendaisle of type of message configuration (7) to be connected, also respectively with MAC_A transmit queues (3) and MAC_B Transmit queue (14) is connected;MAC_A modules (4) are connected with MAC_A transmit queues (3), MAC_A receiving queues (8) respectively;It receives Control module (10) is received with reception information queue (9), 1 receiving channel of type of message configuration (11), type of message 2 respectively Channel configure (12) be connected, 3 receiving channel of type of message configuration (13) be connected, also respectively with MAC_A receiving queues (8) and MAC_ B receiving queues (15) are connected;MAC_B modules (16) are connected with MAC_B transmit queues (14), MAC_B receiving queues (15) respectively.
2. according to the channel management circuit based on message traffic type described in claims 1, it is characterised in that:The transmission Information queue (1), can buffered message traffic type information and message data field information, will send information queue The data field information of spacing wave and message traffic type information and message, which is sent to, sends control module (2);
The transmission control module (2) reads message traffic type information, and judged, such as when spacing wave is non-empty Fruit is type of message 1, then is sent out using type of message 2 if it is type of message 2 using 1 sendaisle Configuration Values of type of message Channel Configuration Values are sent, if it is type of message 3, use 3 sendaisle Configuration Values of type of message, if Configuration Values are binary system Value 01 then sends a message to MAC_A transmit queues (3), if Configuration Values are binary value 10, sends a message to MAC_ Message is sent to MAC_A transmit queues (3) and MAC_ by B transmit queues (14) simultaneously if Configuration Values are binary value 11 B transmit queues (14);
The MAC_A transmit queues (3) receive and cache the message for sending control module (2) transmission, and are encapsulated as number MAC_A modules (4) are submitted to according to frame;
The data frame that MAC_A transmit queues (3) are submitted is sent to chain road by the MAC_A modules (4);Reception chain simultaneously The message received is simultaneously submitted to MAC_A receiving queues (8) by circuit-switched data;
1 sendaisle of the type of message configuration (5), preserves the sendaisle Configuration Values of type of message 1;
2 sendaisle of the type of message configuration (6), preserves the sendaisle Configuration Values of type of message 2;
3 sendaisle of the type of message configuration (7), preserves the sendaisle Configuration Values of type of message 3;
The MAC_A receiving queues (8) receive and cache the data frame that MAC_A modules (4) receive, and unpacked it After submit to receive control module (10);
The reception information queue (9) receives and caches the message for receiving control module (10) submission;
The reception control module (10) is polled MAC_A receiving queues (8), MAC_B receiving queues (15), if There is reception message in queue, then reads message traffic type information first, and corresponding informational message is judged according to type of message Class1 receiving channel configures right in (11), 2 receiving channel of type of message configuration (12), 3 receiving channel of type of message configuration (13) Whether the channel reception enable bit answered is 1, if it is 1, receives the message, and message is submitted to and receives information queue (9), if corresponding channel reception enable bit is 0, the message is abandoned.In order to ensure message efficiency, control module is received (10) processing frequency is at least MAC_A receiving queues (8), the frequency of MAC_B receiving queues (15) twice;
1 receiving channel of the type of message configuration (11), preserves the receiving channel Configuration Values of type of message 1;
1 receiving channel of the type of message configuration (12), can save the receiving channel Configuration Values of type of message 2;
1 receiving channel of the type of message configuration (13), can save the receiving channel Configuration Values of type of message 3;
The MAC_B transmit queues (14), receive and cache send control module (2) send message, and be encapsulated for Data frame submits to MAC_B modules (16);
The MAC_B receiving queues (15) can receive and cache the data frame that MAC_B modules (16) receive, and solved It is submitted to after packet and receives control module (10);
The data frame that MAC_B transmit queues (14) are submitted is sent to chain road by the MAC_B modules (16);It receives simultaneously The data frame received is simultaneously submitted to MAC_B receiving queues (15) by link data.
CN201611140757.6A 2016-12-12 2016-12-12 Channel management circuit based on message service type Active CN108614786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611140757.6A CN108614786B (en) 2016-12-12 2016-12-12 Channel management circuit based on message service type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611140757.6A CN108614786B (en) 2016-12-12 2016-12-12 Channel management circuit based on message service type

Publications (2)

Publication Number Publication Date
CN108614786A true CN108614786A (en) 2018-10-02
CN108614786B CN108614786B (en) 2021-03-26

Family

ID=63657591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611140757.6A Active CN108614786B (en) 2016-12-12 2016-12-12 Channel management circuit based on message service type

Country Status (1)

Country Link
CN (1) CN108614786B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110705198A (en) * 2019-09-11 2020-01-17 上海高性能集成电路设计中心 Method for verifying multi-port multi-message type cross communication component

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7139240B2 (en) * 2002-04-29 2006-11-21 Brocade Communications Systems, Inc. Frame-pull flow control in a fibre channel network
CN101795266A (en) * 2009-12-31 2010-08-04 中国航空工业集团公司第六三一研究所 Avionics any source multicast (ASM) protocol controller
CN103888293A (en) * 2014-02-25 2014-06-25 电子科技大学 Data channel scheduling method of multichannel FC network data simulation system
CN105471654A (en) * 2015-12-09 2016-04-06 中国航空工业集团公司西安航空计算技术研究所 FC network based configuration data automatic uploading method
CN105553636A (en) * 2015-12-11 2016-05-04 中国航空工业集团公司西安航空计算技术研究所 Redundancy mode FC sending channel frame synchronization circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7139240B2 (en) * 2002-04-29 2006-11-21 Brocade Communications Systems, Inc. Frame-pull flow control in a fibre channel network
CN101795266A (en) * 2009-12-31 2010-08-04 中国航空工业集团公司第六三一研究所 Avionics any source multicast (ASM) protocol controller
CN103888293A (en) * 2014-02-25 2014-06-25 电子科技大学 Data channel scheduling method of multichannel FC network data simulation system
CN105471654A (en) * 2015-12-09 2016-04-06 中国航空工业集团公司西安航空计算技术研究所 FC network based configuration data automatic uploading method
CN105553636A (en) * 2015-12-11 2016-05-04 中国航空工业集团公司西安航空计算技术研究所 Redundancy mode FC sending channel frame synchronization circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘浩 等: ""基于DMA的双通道千兆以太网MAC设计与验证"", 《计算机技术与发展》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110705198A (en) * 2019-09-11 2020-01-17 上海高性能集成电路设计中心 Method for verifying multi-port multi-message type cross communication component

Also Published As

Publication number Publication date
CN108614786B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
US9960899B2 (en) Full duplex transmission method for high speed backplane system
US8661313B2 (en) Device communication techniques
EP2688243A1 (en) 50 Gb/s ethernet using serializer/deserializer lanes
US20140146833A1 (en) Pma-size training frame for 100gbase-kp4
US20130343400A1 (en) Link training and training frame for 100gbps ethernet
US11281603B2 (en) Serial interface for semiconductor package
CN102710424A (en) Gigabit/10-gigabit multifunctional network card and implementation method for same
CN106717111A (en) Method, device, and system for receiving CPRI data stream and ethernet frame
US20140161141A1 (en) Eee refresh and wake signaling for 100gbase-kp4
CN105635176A (en) Network data transmission method based on RapidIO
US20190058457A1 (en) Variable impedance communication terminal
CN101883117B (en) Interface business focuses on method and system
US11683122B2 (en) Hybrid PHY with interleaved and non-interleaved RS-FEC and FEC mode determination during adaptive link training protocol
CN109286564B (en) Message forwarding method and device
CN108614786A (en) Channel management circuit based on message traffic type
US20130243423A1 (en) Ethernet hub and method of use
CN103457880A (en) Switch system and method of operating a switch
CN103746717A (en) CFP connector and CFP transmission architecture
CN110297795B (en) System and method for realizing single-channel serial data transmission based on Ethernet PHY chip
CN103686079B (en) A kind of terminal device
CN108712242B (en) System and method for improving signaling processing capacity in packet equipment
CN102624617B (en) Data exchange system and data exchange method
CN101296189A (en) Distributed stream processing network appliance and packet transmission method thereof
CN107005476A (en) Method and the first equipment for the data frame in switched network management network
CN104270341A (en) A data protocol forwarding system and method in an IPRAN

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221017

Address after: Room S303, Innovation Building, No. 25, Gaoxin 1st Road, Xi'an, Shaanxi 710075

Patentee after: XI'AN XIANGTENG MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: No.15, Jinye 2nd Road, Xi'an, Shaanxi 710000

Patentee before: AVIC XI''AN AERONAUTICS COMPUTING TECHNIQUE RESEARCH INSTITUTE