[go: up one dir, main page]

CN108614786B - Channel management circuit based on message service type - Google Patents

Channel management circuit based on message service type Download PDF

Info

Publication number
CN108614786B
CN108614786B CN201611140757.6A CN201611140757A CN108614786B CN 108614786 B CN108614786 B CN 108614786B CN 201611140757 A CN201611140757 A CN 201611140757A CN 108614786 B CN108614786 B CN 108614786B
Authority
CN
China
Prior art keywords
message
mac
sending
receiving
queue
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.)
Active
Application number
CN201611140757.6A
Other languages
Chinese (zh)
Other versions
CN108614786A (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention belongs to the technology of computing-electric digital data processing, and relates to a channel management circuit based on message types, which comprises a message sending information queue 1, a sending control module 2, a MAC _ A sending queue 3, a MAC _ A module 4, a message type 1 sending channel configuration 5, a message type 2 sending channel configuration 6, a message type 3 sending channel configuration 7, a MAC _ A receiving queue 8, a message receiving information queue 9, a receiving control module 10, a message type 1 receiving channel configuration 11, a message type 1 receiving channel configuration 12, a message type 1 receiving channel configuration 13, a MAC _ B sending queue 14, a MAC _ B receiving queue 15 and a MAC _ B module 16. The invention can realize channel management based on message service type.

Description

Channel management circuit based on message service type
Technical Field
The invention belongs to the technical field of computer hardware, and particularly relates to a channel management circuit based on message types.
Background
The FC (fiber channel) is a high-speed serial transmission protocol, and has the characteristics of high bandwidth, high real-time performance, high reliability, good expansibility, high transmission rate and strong anti-interference performance, when the protocol is specifically applied, channel management is required according to a high-level message service type, however, related technical data of a channel management circuit based on the message service type are not seen at home, and detailed and implementable data cannot be referred to due to technical blocking at abroad.
Disclosure of Invention
The purpose of the invention is as follows:
the invention aims to provide a channel management circuit based on message types, which can realize the channel management of messages of various service types in FC (fiber channel) technical application.
The technical scheme is as follows:
the solution of the invention is:
the invention provides a channel management circuit based on message types, which comprises a message sending information queue, a sending control module, an MAC _ A sending queue, an MAC _ A module, a message type 1 sending channel configuration, a message type 2 sending channel configuration, a message type 3 sending channel configuration, an MAC _ A receiving queue, a message receiving information queue, a receiving control module, a message type 1 receiving channel configuration, an MAC _ B sending queue, an MAC _ B receiving queue and an MAC _ B module, wherein the sending control module is respectively connected with the message sending information queue, the message type 1 sending channel configuration, the message type 2 sending channel configuration and the message type 3 sending channel configuration and is also respectively connected with the MAC _ A sending queue and the MAC _ B sending queue; the MAC _ A module is respectively connected with the MAC _ A sending queue and the MAC _ A receiving queue; the receiving control module is respectively connected with a receiving message information queue, a message type 1 receiving channel configuration, a message type 2 receiving channel configuration and a message type 3 receiving channel configuration, and is also respectively connected with an MAC _ A receiving queue and an MAC _ B receiving queue; and the MAC _ B module is respectively connected with the MAC _ B sending queue and the MAC _ B receiving queue.
The message sending information queue can buffer the message service type information and the data field information of the message, and send the empty signal of the message sending information queue, the message service type information and the data field information of the message to the sending control module.
The sending control module reads the message service type information when the empty signal is not empty, judges, if the empty signal is the message type 1, the message type 1 is used for sending the channel configuration value, if the empty signal is the message type 2, the message type 2 is used for sending the channel configuration value, if the empty signal is the message type 3, the message type 3 is used for sending the channel configuration value, if the configuration value is a binary value 01, the message is sent to a MAC _ A sending queue, if the configuration value is a binary value 10, the message is sent to a MAC _ B sending queue, and if the configuration value is a binary value 11, the message is sent to the MAC _ A sending queue and the MAC _ B sending queue at the same time.
And the MAC _ A sending queue receives and buffers the message sent by the sending control module, encapsulates the message into a data frame and submits the data frame to the MAC _ A module.
The MAC _ A module is used for sending the data frame submitted by the MAC _ A sending queue to a link; simultaneously receiving link data and submitting the received message to the MAC _ a receive queue.
And the message type 1 sending channel configuration stores the sending channel configuration value of the message type 1.
And the message type 2 sending channel configuration stores the sending channel configuration value of the message type 2.
And the message type 3 sending channel configuration stores the sending channel configuration value of the message type 3.
And the MAC _ A receiving queue receives and buffers the data frame received by the MAC _ A module, unpacks the data frame and submits the unpacked data frame to the receiving control module.
And the received message information queue receives and buffers the message submitted by the receiving control module.
The receiving control module polls the MAC _ A receiving queue and the MAC _ B receiving queue, if the queues have receiving information, firstly reads the information of the message service type, judges whether the corresponding channel receiving enabling position in the corresponding information message type 1 receiving channel configuration, the corresponding message type 2 receiving channel configuration and the corresponding message type 3 receiving channel configuration is 1 according to the message type, if so, receives the message and submits the message to the receiving information queue, and if the corresponding channel receiving enabling position is 0, discards the message. In order to ensure message efficiency, the processing frequency of the receiving control module is at least twice as high as that of the MAC _ A receiving queue and the MAC _ B receiving queue.
And the message type 1 receiving channel configuration stores the receiving channel configuration value of the message type 1.
The message type 1 receiving channel configuration can store the receiving channel configuration value of the message type 2.
The message type 1 receiving channel configuration can store the receiving channel configuration value of the message type 3.
And the MAC _ B sending queue receives and buffers the message sent by the sending control module, encapsulates the message into a data frame and submits the data frame to the MAC _ B module.
The MAC _ B receiving queue can receive and buffer the data frame received by the MAC _ B module, unpack the data frame and submit the unpacked data frame to the receiving control module.
The MAC _ B module is used for sending the data frame submitted by the MAC _ B sending queue to a link; simultaneously receiving link data and submitting the received data frame to the MAC _ B receive queue.
The invention has the technical effects that:
the channel management circuit based on the message type can manage the sending channel and the receiving channel of messages with different service types by setting a group of channel configuration registers, and can automatically complete the selection of the sending channel and the receiving channel of messages with various service types according to configuration values after the configuration of the channel configuration registers corresponding to the messages is completed.
Drawings
Fig. 1 is a block diagram of a message type-based channel management circuit according to the present invention.
Detailed Description
The technical solution of the present invention is further described in detail below with reference to the accompanying drawings.
Fig. 1 is a block diagram of a channel management circuit based on message types according to the present invention, and as shown in fig. 1, the present invention provides a channel management circuit based on message types, where the channel management circuit includes a message information sending queue 1, a sending control module 2, a MAC _ a sending queue 3, a MAC _ a module 4, a message type 1 sending channel configuration 5, a message type 2 sending channel configuration 6, a message type 3 sending channel configuration 7, a MAC _ a receiving queue 8, a message information receiving queue 9, a receiving control module 10, a message type 1 receiving channel configuration 11, a message type 1 receiving channel configuration 12, a message type 1 receiving channel configuration 13, a MAC _ B sending queue 14, a MAC _ B receiving queue 15, and a MAC _ B module 16. The sending control module 2 is connected with the sending message information queue 1 through a port 2a, connected with the sending channel configuration 5 of the message type 1 through a port 2B, connected with the sending channel configuration 6 of the message type 2 through a port 2c, connected with the sending channel configuration 7 of the message type 3 through a port 2d, connected with the sending queue 3 of the MAC _ A through a port 2f, and connected with the sending queue 14 of the MAC _ B through a port 2 e; the MAC _ A module 4 is respectively connected with the MAC _ A sending queue 3 and the MAC _ A receiving queue 8; the receiving control module 10 is connected with the receiving message information queue 9 through a port 10a, connected with the message type 1 receiving channel configuration 11 through a port 10B, connected with the message type 1 receiving channel configuration 12 through a port 10c, connected with the message type 1 receiving channel configuration 13 through a port 10d, connected with the MAC _ a receiving queue 8 through a port 10f, and connected with the MAC _ B receiving queue 15 through a port 10 e; the MAC _ B module 16 is connected to the MAC _ B transmit queue 14 and the MAC _ B receive queue 15, respectively.
The transmission message information queue 1 can buffer the message service type information and the data field information of the message. And sending the empty signal of the message information queue and the data information to the sending control module 2 through the port 2 a.
And when the null signal of the port 2a is non-null, the sending control module 2 reads the message service type information from the port 2a and judges the message service type information. The channel configuration value is transmitted using the message type 1 if it is the message type 1, the channel configuration value is transmitted using the message type 2 if it is the message type 2, the channel configuration value is transmitted using the message type 3 if it is the message type 3, the message is transmitted to the MAC _ a transmission queue 3 through the port 2f if the configuration value is 2 ' B01, the message is transmitted to the MAC _ B transmission queue 14 through the port 2e if the configuration value is 2 ' B10, and the message is simultaneously transmitted to the MAC _ a transmission queue 3 and the MAC _ B transmission queue 14 if the configuration value is 2 ' B11.
The MAC _ a transmission queue 3 may receive and buffer the message transmitted by the transmission control module 2, and submit the message to the MAC _ a module 4.
The MAC _ a module 4 may send the message submitted by the MAC _ a sending queue 3 to the link; while receiving link data and submitting the received message to the MAC _ a receive queue 8.
The message type 1 sending channel configuration 5 can store the sending channel configuration value of the message type 1, and can be configured through a host.
The message type 2 sending channel configuration 6 may store a sending channel configuration value of the message type 2, and may be configured by a host.
The message type 3 sending channel configuration 7 can store the sending channel configuration value of the message type 3 and can be configured through a host.
The MAC _ a receive queue 8 may receive and buffer the message received by the MAC _ a module 4, and submit the message to the receive control module 10.
The received message information queue 9 may receive and buffer the message submitted by the receiving control module 10.
The receiving control module 10 may poll the MAC _ a receiving queue 8 and the MAC _ B receiving queue 15, and if there is a received message in the queues, first read the message service type information, and determine whether the corresponding channel receiving enable bit in the corresponding message type 1 receiving channel configuration 11, the corresponding message type 2 receiving channel configuration 12, and the corresponding message type 3 receiving channel configuration 13 is 1 according to the message type, and if so, receive the message and submit the message to the received message information queue 9. If the corresponding lane receive enable bit is 0, the message is discarded. In order to ensure message efficiency, the processing frequency of the reception control module 10 is at least twice as high as that of the MAC _ a and MAC _ B reception queues 8 and 15.
The message type 1 receiving channel configuration 11 may store a receiving channel configuration value of the message type 1, and may be configured by a host.
The message type 1 receiving channel configuration 12 can store the receiving channel configuration value of the message type 2, and can be configured through the host.
The message type 1 receiving channel configuration 13 can store the receiving channel configuration value of the message type 3, and can be configured through the host.
The MAC _ B transmission queue 14 may receive and buffer the message transmitted by the transmission control module 2, and submit the message to the MAC _ B module 14.
The MAC _ B receive queue 15 may receive and buffer the message received by the MAC _ B module 16, and submit the message to the receive control module 10.
The MAC _ B module 16 may send the message submitted by the MAC _ B send queue 14 to the link; while receiving link data and submitting the received message to the MAC _ B receive queue 15.
The channel management circuit based on the message type can manage the sending channel and the receiving channel of messages with different service types by setting a group of channel configuration registers, and can automatically complete the selection of the sending channel and the receiving channel of messages with various service types according to the configuration values after the configuration of the channel configuration registers corresponding to the messages is completed.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (1)

1. A channel management circuit based on message service types, characterized by: comprises a sending message information queue (1), a sending control module (2), an MAC _ A sending queue (3), an MAC _ A module (4), a message type 1 sending channel configuration (5), a message type 2 sending channel configuration (6), a message type 3 sending channel configuration (7), an MAC _ A receiving queue (8), a receiving message information queue (9), a receiving control module (10), a message type 1 receiving channel configuration (11), a message type 2 receiving channel configuration (12), a message type 3 receiving channel configuration (13), an MAC _ B sending queue (14), an MAC _ B receiving queue (15) and an MAC _ B module (16), wherein the sending control module (2) is respectively connected with the sending message information queue (1), the message type 1 sending channel configuration (5), the message type 2 sending channel configuration (6) and the message type 3 sending channel configuration (7), and is connected with the MAC _ A sending queue (3) and the MAC _ B sending queue (14) respectively; the MAC _ A module (4) is respectively connected with the MAC _ A sending queue (3) and the MAC _ A receiving queue (8); the receiving control module (10) is respectively connected with a receiving message information queue (9), a message type 1 receiving channel configuration (11), a message type 2 receiving channel configuration (12) and a message type 3 receiving channel configuration (13), and is also respectively connected with an MAC _ A receiving queue (8) and an MAC _ B receiving queue (15); the MAC _ B module (16) is respectively connected with the MAC _ B sending queue (14) and the MAC _ B receiving queue (15); the message information sending queue (1) can buffer the message service type information and the data field information of the message and send a message information sending queue empty signal, the message service type information and the data field information of the message to the sending control module (2);
the sending control module (2) reads the message service type information when the empty signal is not empty, judges, if the empty signal is the message type 1, the message type 1 is used for sending the channel configuration value, if the empty signal is the message type 2, the message type 2 is used for sending the channel configuration value, if the empty signal is the message type 3, the message type 3 is used for sending the channel configuration value, if the configuration value is a binary value 01, the message is sent to a MAC _ A sending queue (3), if the configuration value is a binary value 10, the message is sent to a MAC _ B sending queue (14), and if the configuration value is a binary value 11, the message is sent to the MAC _ A sending queue (3) and the MAC _ B sending queue (14) at the same time;
the MAC _ A sending queue (3) receives and buffers the message sent by the sending control module (2), encapsulates the message into a data frame and submits the data frame to the MAC _ A module (4);
the MAC _ A module (4) is used for sending the data frame submitted by the MAC _ A sending queue (3) to a link; simultaneously receiving link data and submitting the received message to a MAC _ A receive queue (8);
the message type 1 sending channel configuration (5) stores the sending channel configuration value of the message type 1;
the message type 2 sending channel configuration (6) is used for storing the sending channel configuration value of the message type 2;
the message type 3 sending channel configuration (7) stores the sending channel configuration value of the message type 3;
the MAC _ A receiving queue (8) receives and buffers the data frame received by the MAC _ A module (4), unpacks the data frame and submits the unpacked data frame to a receiving control module (10);
the message receiving information queue (9) receives and buffers messages submitted by the receiving control module (10);
the receiving control module (10) polls the MAC _ A receiving queue (8) and the MAC _ B receiving queue (15), if a receiving message exists in the queue, firstly reads the message service type information, judges whether a corresponding channel receiving enabling bit in the corresponding message type 1 receiving channel configuration (11), the message type 2 receiving channel configuration (12) and the message type 3 receiving channel configuration (13) is 1 or not according to the message type, if so, receives the message and submits the message to the receiving message information queue (9), if so, discards the message, and in order to ensure the message efficiency, the processing frequency of the receiving control module (10) is at least twice of the frequency of the MAC _ A receiving queue (8) and the MAC _ B receiving queue (15);
the message type 1 receiving channel configuration (11) stores the receiving channel configuration value of the message type 1;
the message type 2 receiving channel configuration (12) can store the receiving channel configuration value of the message type 2;
the message type 3 receiving channel configuration (13) can store the receiving channel configuration value of the message type 3;
the MAC _ B sending queue (14) receives and buffers the message sent by the sending control module (2), encapsulates the message into a data frame and submits the data frame to the MAC _ B module (16);
the MAC _ B receiving queue (15) can receive and buffer the data frame received by the MAC _ B module (16), unpack the data frame and submit the unpacked data frame to the receiving control module (10);
the MAC _ B module (16) is used for sending the data frames submitted by the MAC _ B sending queue (14) to a link; simultaneously, link data is received and the received data frame is submitted to a MAC _ B receive queue (15).
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 CN108614786A (en) 2018-10-02
CN108614786B true 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)

Families Citing this family (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

Family Cites Families (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
CN103888293B (en) * 2014-02-25 2017-01-18 电子科技大学 Data channel scheduling method of multichannel FC network data simulation system
CN105471654B (en) * 2015-12-09 2018-12-25 中国航空工业集团公司西安航空计算技术研究所 A kind of configuration data automatic loading method based on FC network
CN105553636B (en) * 2015-12-11 2018-07-03 中国航空工业集团公司西安航空计算技术研究所 A kind of remaining model F C sendaisles vertical sync circuit and method

Also Published As

Publication number Publication date
CN108614786A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN111988369B (en) Intelligent controller and sensor network bus, system and method
EP3942759A1 (en) System and method for facilitating efficient management of idempotent operations in a network interface controller (nic)
US20180102978A1 (en) Data transmission method and apparatus in optoelectronic hybrid network
US11089140B2 (en) Intelligent controller and sensor network bus, system and method including generic encapsulation mode
US20080049617A1 (en) System for fine grained flow-control concurrency to prevent excessive packet loss
US20090060009A1 (en) Aggregate data frame generation
JP2009506682A (en) Explicit flow control in gigabit / 10 gigabit ethernet systems
US20210034042A1 (en) Intelligent controller and sensor network bus, system and method including smart compliant actuator module
CN103098428A (en) Message transmission method, device, system and storage medium realizing pcie switching network
WO2020000489A1 (en) Pcie sending and receiving method, apparatus, device and system
EP3489836B1 (en) Data processing method and system, peripheral component interconnect express device and host
US10305772B2 (en) Using a single work item to send multiple messages
GB2532054A (en) NC-SI port controller
CN116471242A (en) RDMA-based transmitting end, RDMA-based receiving end, data transmission system and data transmission method
CN110312283A (en) An information processing method and device
WO2020073907A1 (en) Method and apparatus for updating forwarding entry
CN112912809B (en) Intelligent controller and sensor network bus, system and method including universal packaging mode
CN110830386B (en) Method, device and system for message order preservation
WO2022111329A1 (en) Message processing method and device
CN111211863A (en) MAC transmitting terminal, MAC receiving terminal and circuit, FPGA chip and data transmission system
CN108614786B (en) Channel management circuit based on message service type
CN115550606A (en) An image acquisition system and method based on a network protocol
CN111600809B (en) Gigabit single optical port server adapter
CN119201803A (en) A single-channel multi-data source transmission system and method based on SRIO
CN111274195B (en) RDMA network flow control method, device and computer readable storage medium

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