CN114697405A - Control method, device and conversion system for communication protocol conversion - Google Patents
Control method, device and conversion system for communication protocol conversion Download PDFInfo
- Publication number
- CN114697405A CN114697405A CN202210255745.7A CN202210255745A CN114697405A CN 114697405 A CN114697405 A CN 114697405A CN 202210255745 A CN202210255745 A CN 202210255745A CN 114697405 A CN114697405 A CN 114697405A
- Authority
- CN
- China
- Prior art keywords
- communication protocol
- module
- data
- cache
- protocol data
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 352
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Abstract
A control method, a device and a conversion system for communication protocol conversion are provided, the method comprises: when first communication protocol data of a first rate received by a first communication protocol module from an external first port is known, a cache address is provided for the first communication protocol data, the first communication protocol module is controlled to cache the first communication protocol data on the cache address, and cache information of the first communication protocol data is stored, wherein the cache information comprises the cache address and data information; controlling a communication protocol conversion module to read the cached first communication protocol data according to a second rate according to the cache information of the first communication protocol data, and controlling the communication protocol conversion module to convert the read first communication protocol data into second communication protocol data and then send the second communication protocol data to a second communication protocol module; controlling a second communication protocol module to send the received second communication protocol data to an external second port at a second rate; the first rate and the second rate are different.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for controlling communication protocol conversion.
Background
With the development of communication technology, various communication protocols appear, such as an optical fiber FC-AE-1553 communication protocol, an RS422 serial port communication protocol, a controller area network CAN bus communication protocol and the like. There is a need to support the transmission of data between devices of different communication protocols.
As shown in fig. 1, a converter for converting FC-AE-1553 communication protocol to CAN communication protocol and RS422 serial communication protocol has appeared in the related art, and data transmission between FC-AE-1553 communication protocol devices and CAN bus communication protocol devices and data transmission between FC-AE-1553 communication protocol devices and RS422 serial communication protocol devices CAN be realized by the converter. The storage module in fig. 1 is configured to store communication related parameters such as a CAN baud rate and a serial port baud rate and configuration related parameters; the main control module is arranged to control the communication protocol module and the protocol conversion module and realize the conversion and transmission of different communication protocol data; the FC-AE-1553 communication protocol module is set to receive and transmit FC-AE-1553 communication protocol data; an optical transceiver configured to implement interconversion of optical and electrical signals; an optical fiber interface configured to be connected to an optical fiber; the CAN bus protocol module is used for receiving and transmitting CAN bus communication protocol data; the CAN transceiver is a conversion interface between a CAN bus protocol module and a CAN physical bus and is set to provide functions of differential transmission, reception and the like of data; the CAN interface is connected with a CAN physical bus; the FC-AE-1553 protocol and CAN protocol conversion module is arranged for performing mutual conversion of FC-AE-1553 communication protocol data and CAN communication protocol data; the serial communication protocol module is arranged for receiving and transmitting serial communication protocol data; the level conversion module is arranged for realizing the conversion from a single end to a differential signal; a 422 interface, which is arranged to be connected with the RS422 bus; and the FC-AE-1553 protocol and serial port communication protocol conversion module is set to perform mutual conversion of FC-AE-1553 communication protocol data and serial port communication protocol data.
Because the FC-AE-1553 communication protocol data is high-speed data, the CAN communication protocol data and the serial port communication protocol data are low-speed data relative to the FC-AE-1553 communication protocol data, the converter shown in figure 1 is used for realizing data transmission between the FC-AE-1553 communication protocol equipment and the CAN bus communication protocol equipment, and the problem of data loss is easy to occur due to rate mismatching when the data transmission between the FC-AE-1553 communication protocol equipment and the RS422 serial port communication protocol equipment is realized. In order to overcome the problem of data loss, the FC-AE-1553 communication protocol data is usually subjected to speed reduction processing, thereby affecting the data transmission efficiency.
Disclosure of Invention
The application provides a control method, a control device and a control system for communication protocol conversion, which can ensure the transmission efficiency of data and are simple to realize.
The embodiment of the application provides a control method for communication protocol conversion, which comprises the following steps:
after learning that a first communication protocol module receives first communication protocol data with a first rate from an external first port, providing a cache address for the first communication protocol data, controlling the first communication protocol module to cache the first communication protocol data on the cache address, and storing cache information of the first communication protocol data, wherein the cache information comprises the cache address and data information;
controlling a communication protocol conversion module to read the cached first communication protocol data according to a second rate according to the caching information of the first communication protocol data, and controlling the communication protocol conversion module to convert the read first communication protocol data into second communication protocol data and then send the second communication protocol data to a second communication protocol module;
controlling the second communication protocol module to send the received second communication protocol data to an external second port at a second rate;
the first rate and the second rate are different.
As an exemplary embodiment, providing a buffer address for the first communication protocol data, and controlling the first communication protocol module to buffer the first communication protocol data at the buffer address includes:
providing a cache address for the first communication protocol module from a total available cache address;
the first communication protocol module is controlled to store the first communication protocol data on the cache address, and cache information of the first communication protocol data determined by the first communication protocol module is obtained and stored from the first communication protocol module.
As an exemplary embodiment, the method further comprises:
and after the cache address is provided for the first communication protocol module, deleting the provided cache address from the total available cache address.
As an exemplary embodiment, the method further comprises:
and controlling a communication protocol conversion module to read the cached first communication protocol data according to the cache information of the first communication protocol data at a second rate, adding the cache address back to the total available cache address, and deleting the cache information of the stored first communication protocol data.
As an exemplary embodiment, the first communication protocol module is an FC-AE-1553 communication protocol module; the second communication protocol module is any one of a serial communication protocol module, a Controller Area Network (CAN) bus communication protocol module and an Ethernet communication protocol module;
or
The first communication protocol module is any one of a serial port communication protocol module, a Controller Area Network (CAN) bus communication protocol module and an Ethernet communication protocol module; the second communication protocol module is an FC-AE-1553 communication protocol module.
An embodiment of the present application further provides a control device for communication protocol conversion, where the device includes:
a control unit arranged to perform the method according to any of the previous embodiments;
and the transaction storage unit is arranged to provide a storage space for the control unit to store the cache information of the first communication protocol data.
As an exemplary embodiment, the apparatus further comprises:
and the address storage unit is arranged to provide storage space for the total available cache addresses.
As an example embodiment, one or both of the address storage unit and the transaction storage unit are first-in-first-out FIFO queues.
An embodiment of the present application further provides a communication protocol conversion system, where the system includes:
the control device according to any one of the preceding embodiments, and a first communication protocol module, a cache module, a second communication protocol module, and a communication protocol conversion module respectively connected to the control device;
the first communication protocol module is configured to cache first communication protocol data to the cache module through the control module after the first communication protocol data with a first rate is received from the external first port;
the second communication protocol module is configured to send second communication protocol data having a second rate;
the communication protocol conversion module is configured to read the first communication protocol data from the cache module according to a second rate, convert the read first communication protocol data into second communication protocol data, and send the second communication protocol data to the second communication protocol module.
As an exemplary embodiment, the first communication protocol module is a programmable logic device FPGA; all modules or part of modules in the second communication protocol module, the communication protocol conversion module, the cache module and the control module are realized by the same FPGA.
According to the technical scheme provided by the embodiment of the application, after the first communication protocol unit receives the first communication protocol data, the first communication protocol data is cached, and then the data is read from the cache according to the second rate supported by the second communication protocol, so that the problem of data loss caused by the difference between the first communication protocol data rate and the second communication protocol data rate is solved; moreover, the first communication protocol module and the second communication protocol module can still transmit data according to the rate specified by the protocol, so that the transmission efficiency of the data is ensured.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. Other advantages of the present application may be realized and attained by the instrumentalities and combinations particularly pointed out in the specification and the drawings.
Drawings
The accompanying drawings are included to provide an understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the examples serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a schematic diagram of an internal structure of a communication protocol converter provided in the related art;
fig. 2 is a flowchart of a control method for communication protocol conversion according to an embodiment of the present application;
fig. 3 is a control device for communication protocol conversion according to an embodiment of the present application;
fig. 4 is a control device for communication protocol conversion according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a total available cache address storage according to an embodiment of the present application;
fig. 6 is a block diagram of a communication protocol conversion system according to an embodiment of the present application;
fig. 7 is a conversion system for converting the FC-AE-1553 communication protocol into the serial communication protocol, the CAN communication protocol and the ethernet communication protocol, which is provided by an application example of the present application.
Detailed Description
The description herein describes embodiments, but is intended to be exemplary, rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible that are within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or instead of any other feature or element in any other embodiment, unless expressly limited otherwise.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive concept as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive aspects to form yet another unique inventive aspect, as defined by the claims. Thus, it should be understood that any of the features shown and/or discussed in this application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not limited except as by the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.
Further, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other orders of steps are possible as will be understood by those of ordinary skill in the art. Therefore, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Further, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
An embodiment of the present application provides a method for controlling communication protocol conversion, as shown in fig. 2, the method includes:
step S200, after learning that a first communication protocol module receives first communication protocol data with a first rate from an external first port, providing a cache address for the first communication protocol data, and controlling the first communication protocol module to cache the first communication protocol data on the cache address;
step S201 stores cache information of the first communication protocol data, where the cache information includes a cache address and data information;
the data information may include: data length, source address and destination address;
step S202, controlling a communication protocol conversion module to read the cached first communication protocol data according to the caching information of the first communication protocol data and a second rate;
the second rate is different from the first rate;
step S203, controlling the communication protocol conversion module to convert the read first communication protocol data into second communication protocol data and then sending the second communication protocol data to the second communication protocol module;
step S204, controlling the second communication protocol module to send the received second communication protocol data to an external second port at a second rate;
in the control method for communication protocol conversion provided by the embodiment of the application, after a first communication protocol unit receives first communication protocol data, the first communication protocol data is cached, and then the data is read from the cache according to a second rate supported by a second communication protocol, so that the problem of data loss caused by the difference between the first communication protocol data rate and the second communication protocol data rate is solved; moreover, the first communication protocol module and the second communication protocol module can still transmit data according to the rate specified by the protocol, so that the transmission efficiency of the data is ensured.
As an exemplary embodiment, the first communication protocol module and the second communication protocol module are different communication protocol modules. Optionally, the first communication protocol module is an FC-AE-1553 communication protocol module; the second communication protocol module is any one of a serial port communication protocol module, a Controller Area Network (CAN) bus communication protocol module and an Ethernet communication protocol module; or the first communication protocol module is any one of a serial port communication protocol module, a Controller Area Network (CAN) bus communication protocol module and an Ethernet communication protocol module; the second communication protocol module is an FC-AE-1553 communication protocol module.
In an exemplary embodiment, the step S200 provides a buffer address for the first communication protocol data, and controls the first communication protocol module to buffer the first communication protocol data at the buffer address, including:
providing a cache address for the first communication protocol module from a total available cache address;
the first communication protocol module is controlled to store the first communication protocol data on the cache address, and cache information of the first communication protocol data determined by the first communication protocol module is obtained and stored from the first communication protocol module.
In an exemplary embodiment, the method further comprises:
after the cache address is provided for the first communication protocol module, the provided cache address is deleted from the total available cache address, so that the cache address storing the first communication protocol data is prevented from being provided for the new first communication protocol data for caching again, and the loss of the cached data is avoided.
Correspondingly, after the communication protocol conversion module is controlled to read the cached first communication protocol data according to the cache information of the first communication protocol data and according to the second rate, the cache address is added back to the total available cache address, and the cache information of the stored first communication protocol data is deleted. When the cached data is read, the address for storing the cached data is recycled, so that the address can be conveniently reused; and meanwhile, the cache information of the first communication protocol data is deleted, so that the phenomenon that the communication protocol conversion module still reads the data at the cache address after the cache data is read and data reading error operation occurs is avoided.
An embodiment of the present application further provides a control device for communication protocol conversion, as shown in fig. 3, the device includes:
a control unit 301 configured to execute a control method of communication protocol conversion as described in any one of the foregoing embodiments;
the transaction storage unit 302 is configured to provide a storage space for the control unit to store the cache information of the first communication protocol data.
The control device for communication protocol conversion provided by the application overcomes the problem of data loss caused by different data rates of a first communication protocol and a second communication protocol; moreover, the first communication protocol module and the second communication protocol module can still transmit data according to the rate specified by the protocol, so that the data transmission efficiency is ensured.
In an exemplary embodiment, as shown in fig. 4, the apparatus further comprises:
the address storage unit 303 is arranged to provide storage space for the total available cache addresses.
Fig. 5 shows a schematic diagram of a total available cache address storage. The total available cache addresses are divided into 16K segments, each segment being 4KB in length (i.e. each line in fig. 5 is 4KB for 16 lines), and the total available cache addresses are 16K × 4KB — 64 MB. The address storage unit can be DDR3 SDRAM, DDR3 SDRAM has high operation efficiency and low working voltage.
In an exemplary embodiment, one or both of the address storage unit and the transaction storage unit are first-in-first-out FIFO queues.
For a FIFO queue as address storage unit: when a cache address needs to be provided for first communication protocol data, reading an address from an FIFO queue serving as an address storage unit for storing the first communication protocol data; when the buffered first communication protocol data is read by the communication protocol conversion module, the buffer address of the first communication protocol data is recovered and put into the FIFO queue serving as the address storage unit again.
For a FIFO queue as a transactional memory location: after first communication protocol data is cached, when cache information of the first communication protocol data is acquired from the first communication protocol module, the cache information of the first communication protocol data is stored in an FIFO queue serving as a transaction storage unit; and after the buffered first communication protocol data is read by the communication protocol conversion module, deleting the buffer information of the first communication protocol data from the FIFO queue serving as the transaction storage unit.
The present application further provides a communication protocol conversion system, as shown in fig. 6, the system includes:
the control device 601 for communication protocol conversion according to any of the previous embodiments, and the first communication protocol module 602, the buffer module 603, the second communication protocol module 604 and the communication protocol conversion module 605 which are respectively connected to the control device;
the first communication protocol module 602 is configured to, after receiving first communication protocol data with a first rate from an external first port, cache the first communication protocol data to the cache module 603 through the control module 601;
the second communication protocol module 604 is configured to send second communication protocol data having a second rate;
the communication protocol conversion module 605 is configured to read the first communication protocol data from the cache module 603 according to the second rate, convert the read first communication protocol data into the second communication protocol data, and send the second communication protocol data to the second communication protocol module 604.
The communication protocol conversion system provided by the application solves the problem of data loss caused by the difference between the data rate of the first communication protocol and the data rate of the second communication protocol; moreover, the first communication protocol module and the second communication protocol module can still transmit data according to the rate specified by the protocol, so that the data transmission efficiency is ensured.
When the FC-AE-1553 communication protocol module needs to send data to any one of the serial port communication protocol module, the controller area network CAN bus communication protocol module and the ethernet communication protocol module, the communication protocol conversion system according to the embodiment of the present application may be adopted, and the first communication protocol module in the communication protocol conversion system is the FC-AE-1553 communication protocol module; the second communication protocol module is any one of a serial port communication protocol module, a Controller Area Network (CAN) bus communication protocol module and an Ethernet communication protocol module. On the contrary, when any one of the serial port communication protocol module, the controller area network CAN bus communication protocol module and the ethernet communication protocol module sends data to the FC-AE-1553 communication protocol module, the communication protocol conversion system according to the embodiment of the present application may be adopted, where the first communication protocol module in the communication protocol conversion system is any one of the serial port communication protocol module, the controller area network CAN bus communication protocol module and the ethernet communication protocol module; the second communication protocol module is an FC-AE-1553 communication protocol module.
In an exemplary embodiment, the first communication protocol module is a programmable logic device FPGA; all modules or part of modules in the second communication protocol module, the communication protocol conversion module, the cache module and the control module are realized by the same FPGA. The complexity of hardware design of the communication protocol conversion system can be simplified by the FPGA, and particularly, when the FC-AE-1553 communication protocol module is realized by the FPGA, the hardware cost can be obviously reduced by replacing a special FC-AE-1553 communication chip.
Fig. 7 is an application schematic diagram of a conversion system for converting an FC-AE-1553 communication protocol into a serial communication protocol, a CAN communication protocol, and an ethernet communication protocol according to the present application. In the figure, an optical transceiver module, an FC-AE-1553 communication protocol module, a serial port communication protocol module, a CAN communication protocol module, an Ethernet communication protocol module, a main control module, a cache module, an FC-AE-1553 communication protocol and serial port communication protocol conversion module, an FC-AE-1553 communication protocol and CAN communication protocol conversion module, and an FC-AE-1553 communication protocol and Ethernet communication protocol conversion module are all realized by FPGA logic design. The communication protocol modules in this example can all receive and transmit data of corresponding protocols, and the conversion system in this example can realize bidirectional conversion of different communication protocols.
The transaction storage module in the main control module in this application example may be divided into: the transaction FIFO-1 is set to store cache information of the high-speed FC-AE-1553 communication protocol data; and the transaction FIFO-2 is set to store the cache information of the low-speed serial communication protocol data, the low-speed CAN communication protocol data and the low-speed Ethernet communication protocol data.
The CAN interface, the RS232 interface and the RS422 interface in the application example CAN be configured to be used redundantly or independently through programs, and the flexibility of design is increased.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Claims (10)
1. A method of controlling communication protocol conversion, the method comprising:
after learning that a first communication protocol module receives first communication protocol data with a first rate from an external first port, providing a cache address for the first communication protocol data, controlling the first communication protocol module to cache the first communication protocol data on the cache address, and storing cache information of the first communication protocol data, wherein the cache information comprises the cache address and data information;
controlling a communication protocol conversion module to read the cached first communication protocol data according to a second rate according to the caching information of the first communication protocol data, and controlling the communication protocol conversion module to convert the read first communication protocol data into second communication protocol data and then send the second communication protocol data to a second communication protocol module;
controlling the second communication protocol module to send the received second communication protocol data to an external second port at a second rate;
the first rate and the second rate are different.
2. The method of claim 1,
providing a buffer address for the first communication protocol data, and controlling the first communication protocol module to buffer the first communication protocol data at the buffer address, including:
providing a cache address for the first communication protocol module from a total available cache address;
the first communication protocol module is controlled to store the first communication protocol data on the cache address, and cache information of the first communication protocol data determined by the first communication protocol module is obtained and stored from the first communication protocol module.
3. The method of claim 2, further comprising:
and after the cache address is provided for the first communication protocol module, deleting the provided cache address from the total available cache address.
4. The method of claim 3, further comprising:
and controlling a communication protocol conversion module to read the cached first communication protocol data according to the cache information of the first communication protocol data at a second rate, adding the cache address back to the total available cache address, and deleting the cache information of the stored first communication protocol data.
5. The method according to any one of claims 1 to 4,
the first communication protocol module is an FC-AE-1553 communication protocol module;
the second communication protocol module is any one of a serial port communication protocol module, a Controller Area Network (CAN) bus communication protocol module and an Ethernet communication protocol module;
or
The first communication protocol module is any one of a serial port communication protocol module, a Controller Area Network (CAN) bus communication protocol module and an Ethernet communication protocol module;
the second communication protocol module is an FC-AE-1553 communication protocol module.
6. A control apparatus for communication protocol conversion, the apparatus comprising:
a control unit arranged to perform the method of any one of claims 1 to 5;
and the transaction storage unit is arranged to provide a storage space for the control unit to store the cache information of the first communication protocol data.
7. The apparatus of claim 6, further comprising:
and the address storage unit is arranged to provide storage space for the total available cache addresses.
8. The apparatus of claim 7,
one or two of the address storage unit and the transaction storage unit are first-in first-out (FIFO) queues.
9. A communication protocol conversion system, the system comprising:
the control device according to any one of claims 6 to 8, and a first communication protocol module, a cache module, a second communication protocol module and a communication protocol conversion module respectively connected with the control device;
the first communication protocol module is configured to cache first communication protocol data to the cache module through the control module after the first communication protocol data with a first rate is received from the external first port;
the second communication protocol module is configured to send second communication protocol data having a second rate;
the communication protocol conversion module is configured to read the first communication protocol data from the cache module according to the second rate, convert the read first communication protocol data into the second communication protocol data, and send the second communication protocol data to the second communication protocol module.
10. The system of claim 9,
the first communication protocol module is a programmable logic device FPGA;
all modules or part of modules in the second communication protocol module, the communication protocol conversion module, the cache module and the control module are realized by the same FPGA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210255745.7A CN114697405A (en) | 2022-03-15 | 2022-03-15 | Control method, device and conversion system for communication protocol conversion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210255745.7A CN114697405A (en) | 2022-03-15 | 2022-03-15 | Control method, device and conversion system for communication protocol conversion |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114697405A true CN114697405A (en) | 2022-07-01 |
Family
ID=82138630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210255745.7A Pending CN114697405A (en) | 2022-03-15 | 2022-03-15 | Control method, device and conversion system for communication protocol conversion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114697405A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5560038A (en) * | 1994-07-22 | 1996-09-24 | Network Peripherals, Inc. | Apparatus for translating frames of data transferred between heterogeneous local area networks |
CN105208034A (en) * | 2015-10-09 | 2015-12-30 | 中国兵器工业集团第二一四研究所苏州研发中心 | SPI bus and CAN bus protocol converting circuit and method |
CN106789609A (en) * | 2016-12-26 | 2017-05-31 | 中国科学院空间应用工程与技术中心 | FC EG gateways, the communication conversion method between optical-fibre channel and Ethernet |
CN111367844A (en) * | 2019-03-13 | 2020-07-03 | 苏州库瀚信息科技有限公司 | System, method and apparatus for a storage controller having multiple heterogeneous network interface ports |
-
2022
- 2022-03-15 CN CN202210255745.7A patent/CN114697405A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5560038A (en) * | 1994-07-22 | 1996-09-24 | Network Peripherals, Inc. | Apparatus for translating frames of data transferred between heterogeneous local area networks |
CN105208034A (en) * | 2015-10-09 | 2015-12-30 | 中国兵器工业集团第二一四研究所苏州研发中心 | SPI bus and CAN bus protocol converting circuit and method |
CN106789609A (en) * | 2016-12-26 | 2017-05-31 | 中国科学院空间应用工程与技术中心 | FC EG gateways, the communication conversion method between optical-fibre channel and Ethernet |
CN111367844A (en) * | 2019-03-13 | 2020-07-03 | 苏州库瀚信息科技有限公司 | System, method and apparatus for a storage controller having multiple heterogeneous network interface ports |
Non-Patent Citations (1)
Title |
---|
宋志刚;蔡伟周;李剑波;胡阳;陈佳;张昆;: "基于组件式软件平台架构的通用协议转换器设计", 机电工程技术, no. 07 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271335B (en) | FPGA implementation method for DDR cache of multi-channel data source | |
CN108062285B (en) | NVMe storage device and method for accessing same | |
US9680931B1 (en) | Message passing for low latency storage networks | |
US11500541B2 (en) | Memory system and controlling method | |
US20120331083A1 (en) | Receive queue models to reduce i/o cache footprint | |
CN113535395A (en) | Descriptor queue and memory optimization method, system and application of network storage service | |
CN111641566B (en) | Data processing method, network card and server | |
US20120297100A1 (en) | Storage system and data transmission method | |
CN117312201B (en) | Data transmission method and device, accelerator equipment, host and storage medium | |
CN102388583A (en) | Series rate allocation method, relative device and system | |
CN115695089A (en) | Method, system and bridging device for realizing data forwarding | |
KR20180030985A (en) | Method and system for USB 2.0 bandwidth reservation | |
CN111221757B (en) | Low-delay PCIE DMA data transmission method and controller | |
US6006283A (en) | System and method for managing information exchanges in a disk interface chip | |
CN114697405A (en) | Control method, device and conversion system for communication protocol conversion | |
US20200293464A1 (en) | Termination of non-volatile memory networking messages at the drive level | |
CN114553776B (en) | Signal disorder control and rate self-adaptive transmission device and transmission method thereof | |
EP2779543A1 (en) | Direct push operations and gather operations | |
CN115203102A (en) | Predicting idle buffer space in a USB expansion environment | |
CN111857817B (en) | Data reading method, data reading device and data reading system | |
CN104035524B (en) | A kind of cold storage server | |
CN113220620B (en) | System for converting data stream format and data stream transmission system | |
KR100776945B1 (en) | Memory unit for series data transportation | |
CN114153773B (en) | Method, device, system and readable medium for transmitting data based on AXI bus | |
CN112559196B (en) | Transmission method for sharing communication data between processes |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220701 |