WO2018040016A1 - 一种协议转换器及协议转换方法 - Google Patents

一种协议转换器及协议转换方法 Download PDF

Info

Publication number
WO2018040016A1
WO2018040016A1 PCT/CN2016/097657 CN2016097657W WO2018040016A1 WO 2018040016 A1 WO2018040016 A1 WO 2018040016A1 CN 2016097657 W CN2016097657 W CN 2016097657W WO 2018040016 A1 WO2018040016 A1 WO 2018040016A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol
protocol conversion
configuration file
interface
target
Prior art date
Application number
PCT/CN2016/097657
Other languages
English (en)
French (fr)
Inventor
赵庆斌
Original Assignee
深圳配天智能技术研究院有限公司
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 深圳配天智能技术研究院有限公司 filed Critical 深圳配天智能技术研究院有限公司
Priority to CN201680038877.7A priority Critical patent/CN107980215A/zh
Priority to PCT/CN2016/097657 priority patent/WO2018040016A1/zh
Publication of WO2018040016A1 publication Critical patent/WO2018040016A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a protocol converter and a protocol conversion method.
  • a protocol converter is proposed, which is used to convert different communication protocols to each other, so that communication devices using different communication protocols on the communication network communicate with each other.
  • the current protocol converter can only perform mutual conversion between two fixed protocols.
  • a CAN-USB (Universal Serial Bus) protocol converter can only implement between the CAN protocol and the USB protocol.
  • Mutual conversion can not achieve mutual conversion between multiple protocols.
  • the object of the present invention is to provide a protocol converter and a protocol conversion method, which can solve the problem that a protocol converter can only perform mutual conversion between two protocols, which results in inflexibility of the protocol converter. The problem.
  • the present invention provides a protocol converter, including: protocol conversion logic device, and multiple Input and output IO interfaces, multiple storage devices, and a configuration file interface;
  • Each of the storage devices stores a protocol conversion configuration file, and different protocol conversion configuration files are stored in the plurality of storage devices;
  • the protocol conversion logic device is connected to the storage device through the configuration file interface
  • the protocol conversion logic device is configured to load a target protocol conversion configuration file in a storage device that is connected to the configuration file interface, and configure a logical resource module in the protocol conversion logic device according to the target protocol conversion configuration file. And establishing a connection between the logical resource module and a corresponding target IO interface, where the target IO interface includes at least a first target interface and a second target interface;
  • the protocol conversion logic device is further configured to convert, by using the logic resource module, first protocol data received through the first target interface into second protocol data, and output the first through the second target interface And the second protocol data received by the second target interface is converted into the first protocol data, and the first protocol data is output through the first target interface.
  • the storage device comprises: a secure digital SD card or a micro SD card.
  • the protocol converter body is provided with a storage area for storing a plurality of the storage devices.
  • the method further includes: a physical layer protocol chip corresponding to different protocol types;
  • the physical layer protocol chip is connected to the corresponding IO interface for transmitting data according to parameters specified by the corresponding protocol.
  • the present invention provides another protocol converter, including: protocol conversion logic, a plurality of input and output IO interfaces, a plurality of storage devices, and a plurality of configuration file interfaces, wherein each of the configuration file interface connections a storage device, wherein each of the configuration file interfaces is further connected to the protocol conversion logic device through a switching device;
  • Each of the storage devices stores a protocol conversion configuration file, and different protocol conversion configuration files are stored in the plurality of storage devices;
  • the protocol conversion logic device is connected to a configuration file interface through a switching device in a closed state, loads a target protocol conversion configuration file in a storage device interfaced with the configuration file, and configures the configuration file according to the target protocol conversion configuration file.
  • Logical resource model in protocol conversion logic a block, and establishing a connection between the logical resource module and a corresponding target IO interface, the target IO interface including at least a first target interface and a second target interface;
  • the protocol conversion logic device is configured to convert, by using the logic resource module, first protocol data received through the first target interface into second protocol data, and output the second through the second target interface And the protocol data, and configured to convert the second protocol data received through the second target interface into the first protocol data, and output the first protocol data by using the first target interface.
  • the storage device comprises: a secure digital SD card or a micro SD card.
  • the protocol converter body is provided with a storage area for storing a plurality of the storage devices.
  • the present invention provides a further protocol converter, including: a protocol conversion logic device, a plurality of input and output IO interfaces, at least one storage device, and a configuration file interface;
  • Each of the storage devices stores a plurality of protocol conversion profiles
  • the protocol conversion logic device is configured to connect one of the storage devices through the configuration file interface, and load all protocol conversion configuration files in the connected storage device, and establish the protocol conversion logic device and the entire protocol. Converting the connection between the IO interfaces corresponding to the configuration file;
  • the protocol conversion logic device is further configured to determine that two IO interfaces to which the communication device is connected are determined as the first target interface and the second target interface, and select the first target interface and the second target interface Connected logical resource modules;
  • the protocol conversion logic device is further configured to convert, by using the logic resource module, first protocol data received through the first target interface into second protocol data, and output the first through the second target interface And the second protocol data received by the second target interface is converted into the first protocol data, and the first protocol data is output through the first target interface.
  • the storage device comprises: a secure digital SD card or a micro SD card.
  • the protocol converter body is provided with a storage area for storing a plurality of the storage devices.
  • the present invention provides a protocol conversion method applied to a protocol converter, where the association
  • the converter includes a protocol conversion logic device, a plurality of storage devices, a plurality of input and output IO interfaces, and a configuration file interface; wherein each of the storage devices stores a protocol conversion configuration file, and the plurality of storage devices
  • the protocol conversion configuration files are different in the storage; the protocol conversion logic device is connected to one of the storage devices through the configuration file interface; the method includes:
  • the protocol conversion logic device loads a target protocol conversion configuration file in a storage device connected to the configuration file interface;
  • the protocol conversion logic device configures a logical resource module in the protocol conversion logic device according to the target protocol conversion configuration file, and establishes a connection between the logical resource module and a corresponding target IO interface, the target IO interface
  • the first target interface and the second target interface are included;
  • the protocol conversion logic device converts, by the logic resource module, first protocol data received from the first target interface into second protocol data, and outputs the second protocol data by using the second target interface And converting the second protocol data received from the second target interface into the first protocol data, and outputting the first protocol data through the first target interface.
  • the method further includes: when the protocol conversion logic device is powered on, the protocol conversion logic device loads a new target protocol conversion configuration file, and converts the corresponding data according to the new target protocol conversion configuration file. .
  • the present invention provides another protocol conversion method, which is applied to a protocol converter, where the protocol converter includes protocol conversion logic, at least one storage device, multiple input/output IO interfaces, and a configuration file interface.
  • the protocol converter includes protocol conversion logic, at least one storage device, multiple input/output IO interfaces, and a configuration file interface.
  • Each of the storage devices stores a plurality of different protocol conversion configuration files; the protocol conversion logic device is connected to one of the storage devices through the configuration file interface; the method includes:
  • the protocol conversion logic device loads all protocol conversion configuration files in the storage device that are interfaced with the configuration file, and configures a logical resource module according to the entire protocol conversion configuration file, and makes the logical resource module and corresponding IO interface connection;
  • the protocol conversion logic device detects, from the connected IO interface, two IO interfaces connected to the communication device as a first target interface and a second target interface;
  • the protocol conversion logic device converts the first protocol data received through the first target interface into a second by using a logical resource module connected to the first target interface and the second target interface Protocol data, and outputting the second protocol data through the second target interface; and converting the second protocol data received through the second target interface into the first protocol data, and passing through the The first target interface outputs the first protocol data.
  • the method further includes: when the protocol conversion logic device is powered on, the protocol conversion logic device loads a new target protocol conversion configuration file, and converts the corresponding data according to the new target protocol conversion configuration file. .
  • the present invention provides a protocol conversion method, which is applied to a protocol converter, where the protocol converter includes: a protocol conversion logic device, multiple input/output IO interfaces, multiple storage devices, and multiple configuration files.
  • An interface wherein each of the configuration file interfaces is connected to one of the storage devices, and each of the configuration file interfaces is further connected to the protocol conversion logic device by a switching device;
  • a protocol conversion configuration file is stored in the storage device, and different protocol conversion configuration files are stored in the multiple storage devices; the method includes:
  • the protocol conversion logic device is connected to a configuration file interface through a switching device in a closed state, loads a target protocol conversion configuration file in a storage device interfaced with the configuration file, and configures the configuration file according to the target protocol conversion configuration file.
  • the protocol converts a logical resource module in the logic device, and establishes a connection between the logical resource module and a corresponding target IO interface, where the target IO interface includes at least a first target interface and a second target interface;
  • the protocol conversion logic device converts, by using the logic resource module, first protocol data received by the first target interface into second protocol data, and outputs the second protocol data by using the second target interface, And converting the second protocol data received by the second target interface into the first protocol data, and outputting the first protocol data by using the first target interface.
  • the method further includes: when the protocol conversion logic device is powered on, the protocol conversion logic device loads a new target protocol conversion configuration file, and converts the corresponding data according to the new target protocol conversion configuration file. .
  • the protocol converter provided in this embodiment is provided with a protocol conversion logic device, multiple IO interfaces, a storage device storing a protocol conversion configuration file, and a configuration file for connecting the storage device and the protocol conversion logic device.
  • Interface the protocol conversion logic device loads the protocol conversion configuration file in the storage device through the configuration file interface, and converts the configuration file configuration protocol according to the protocol
  • the logic resources in the logic are converted, thereby enabling the protocol conversion logic to implement data conversion between the two protocol types.
  • the protocol converter uses the same set of hardware devices to convert the configuration files in different storage devices, thereby realizing mutual conversion between different protocols, and improving the flexibility of conversion of the protocol converter, especially for communication devices.
  • a wide variety of network environments only one protocol converter can complete the debugging and application of such network systems, the on-site debugging process is very convenient.
  • FIG. 1 is a block diagram of a protocol converter according to an embodiment of the present invention.
  • FIG. 2 is a block diagram of an example of a protocol converter according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of a protocol conversion method according to an embodiment of the present invention.
  • FIG. 1 is a block diagram of a protocol converter according to an embodiment of the present invention.
  • the protocol converter includes a protocol conversion logic device 110, a plurality of IO interfaces 120, a configuration file interface 130, and Storage device 140.
  • a protocol conversion profile is stored in the storage device 140.
  • the protocol conversion configuration file is used to configure logic device resources within the protocol conversion logic device 110 to perform the corresponding protocol conversion functions.
  • only one protocol conversion profile is stored in one storage device 140, for example, an AB protocol conversion configuration capable of realizing mutual conversion between the A protocol and the B protocol. file.
  • an AB protocol conversion configuration capable of realizing mutual conversion between the A protocol and the B protocol. file.
  • a storage device 140 stores a plurality of protocol conversion profiles, that is, a conversion profile between a plurality of pairs of different protocols, for example, an AB protocol conversion profile, and a BC protocol conversion.
  • Configuration file and CD protocol conversion configuration file; all protocol conversion configuration files can be stored in a storage device.
  • one protocol converter only needs to be equipped with one storage device; or, all protocols can be converted into configuration files. It is divided into several groups and stored in multiple storage devices. In this application scenario, a protocol converter also needs multiple storage devices.
  • the storage device 140 may use an SD card (Secure Digital Memory Card), a Micro SD card, or the like.
  • SD card Secure Digital Memory Card
  • Micro SD card or the like.
  • the protocol conversion logic device 110 is configured to configure, according to a protocol conversion configuration file in the loaded storage device, a logical resource module required for performing the protocol conversion, and determine two target IO interfaces used in the protocol conversion, and Establishing a connection between the logical resource module and the target IO interface.
  • the protocol conversion logic device 110 includes a plurality of IO interfaces 120, and an interface of a protocol type corresponding to each IO interface 120 is pre-designed. Specifically, each IO interface 120 is connected to a IO interface 120.
  • a PHY (Physical Layer) chip of the protocol type corresponding to the IO interface for example, an SPI interface corresponding to an SPI (Serial Peripheral Interface) protocol and a protocol conversion logic device 110 is connected to the SPI_PHY chip.
  • the protocol conversion logic device 110 loads the protocol conversion configuration file in the storage device 140 connected to the configuration file interface 130, and the protocol conversion logic device 110 connects the protocol conversion configuration. Two IO interfaces corresponding to the file.
  • the protocol conversion logic device 110 loads all the configuration files in the storage device 140 connected to the configuration file interface 130, and specifically needs to convert which two protocol types, and requires an agreement.
  • the conversion logic device 110 determines by determining which two IO interfaces are connected to the communication device and selects the corresponding logic in the protocol conversion logic device 110.
  • the resource module is used to implement the corresponding protocol type conversion. For example, if the A protocol IO interface and the B protocol IO interface of the protocol conversion logic device 110 are connected to the communication device, it is determined that the A protocol and the B protocol are the protocol types that need to be converted.
  • the protocol conversion logic device 110 loads the protocol conversion configuration file in the storage device 140 through the configuration file interface 130, and configures the corresponding logical resource module, thereby implementing mutual conversion between the corresponding protocols.
  • the AB protocol conversion configuration file loaded by the protocol conversion logic device 110 is used to convert the A protocol data and the B protocol data to each other, that is, to implement the communication device using the A protocol and the B protocol. Information exchange between communication devices is possible.
  • the protocol conversion logic device 110 loads the AB protocol conversion configuration file, configures the required internal logic device resources, and determines the IO interface of the A protocol and the IO interface of the B protocol as the target IO interface, and establishes a corresponding protocol conversion logic device 110.
  • the logical resource module is connected to the IO interface of the A protocol, and the IO interface of the logical resource module and the B protocol. Then, the protocol conversion logic device 110 detects whether the IO interface of the A protocol and the IO interface of the B protocol receive data.
  • the protocol conversion logic device 110 converts the A protocol data into the B protocol data and transmits it to the IO interface of the B protocol, and finally transmits it to the B communication device connected to the IO interface of the B protocol via the IO interface of the B protocol, and thus completes the A protocol data. Conversion between data with B protocol. Similarly, if the protocol conversion logic device 110 can also receive the B protocol data transmitted by the B protocol interface and convert it into the A protocol data, it is transmitted to the IO interface of the A protocol.
  • the protocol conversion logic device 110 replaces the protocol conversion configuration file by replacing the storage device 140 connected to the configuration file interface 130, thereby effecting conversion between different protocols.
  • the protocol converter is provided with a configuration file interface 130 that converts the configuration file by manually replacing the storage device replacement protocol connection with the configuration file interface 130.
  • the protocol converter is provided with a plurality of configuration file interfaces 130, each of which is connected to a storage device, each configuration file interface 130 and A switching device is disposed between the storage devices, and the protocol conversion configuration file in the storage device to be loaded is selected by controlling the switching state of the switching device.
  • the protocol conversion logic device 110 When the protocol conversion configuration file needs to be replaced, the protocol conversion logic device 110 is powered down first, and the protocol conversion configuration file loaded before the protocol conversion logic device 110 is deleted after the power is turned off, and then the protocol conversion logic device 110 can be loaded after being powered on again.
  • the protocol conversion configuration file in the replaced storage device implements the conversion between different protocols designed and implemented by the newly loaded protocol conversion configuration file.
  • the storage device 140 may be replaced before the protocol conversion logic device 110 is powered down, or the storage device 140 may be replaced before the protocol conversion logic device 110 is powered off and then powered back on.
  • protocol conversion configuration file needs to be created in advance and stored in the storage device 140.
  • the protocol conversion logic device 110 needs to perform mutual conversion between two protocols, the corresponding protocol conversion configuration file can be loaded. .
  • the protocol converter provided in this embodiment is provided with a protocol conversion logic device, a plurality of IO interfaces, a storage device storing a protocol conversion configuration file, and a configuration file interface for connecting the storage device and the protocol conversion logic device; the protocol conversion logic device
  • the protocol conversion configuration file in the storage device is loaded through the configuration file interface, and the logical resource in the configuration logic conversion logic is converted according to the protocol configuration file, so that the protocol conversion logic device realizes mutual conversion of data of two protocol types.
  • the protocol converter uses the same set of hardware devices to load protocol conversion configuration files in different storage devices, thereby realizing mutual conversion between different protocols, improving the conversion flexibility of the protocol converter, and particularly suitable for the types of communication devices. In a wide range of network environments, only one protocol converter can be used to debug and apply such network systems. The on-site debugging process is very convenient.
  • FIG. 2 is a block diagram of an example of a protocol converter according to an embodiment of the present invention.
  • the protocol conversion logic device 210 in the protocol converter is an FPGA (Field-Programmable Gate Array).
  • FPGA Field-Programmable Gate Array
  • a programmable gate array a plurality of physical layer protocol chips 220, a plurality of IO interfaces 230, and a configuration file interface 240.
  • FPGA is a circuit design done in a hardware description language (for example, Verilog HDL or VHDL)
  • the editable components can be quickly burned onto the FPGA through a simple synthesis and layout. These editable components can be used to implement some basic logic gates (eg, AND, OR, XOR, NOT) or more complex combinations. Function (for example, decoder or mathematical equation). These editable elements also contain memory elements (eg, triggering them or other more complete memory blocks). The system designer can connect the logic blocks inside the FPGA through editable connections as needed.
  • IP International Property
  • IP is an embedded FPGA design. It refers to some well-designed modules, including software modules and hardware modules. These modules are generally well-tested and fully functional modules. Some commonly used but more complex function blocks in digital circuits are designed as modules with modifiable parameters, so that other users can directly call these modules, and all users can customize their own IP cores.
  • the FPGA-customized IP core can be imported into the FPGA along with the configuration file.
  • most of the FPGAs are powered by white chip type, that is, the FPGA is equivalent to a blank chip after power-on, and various logic functions can be realized only after the configuration file is loaded.
  • the FPGA is powered up, it needs to reload the configuration file, so that the core of the protocol converter (protocol conversion logic device) can have different functions and interfaces each time it is powered on.
  • the physical layer protocol chip 220 may include a USB_PHY (PHY, Physical Layer), an EtherCAT_PHY (EtherCAT, Ether Control Automation Technology), and a UART_PHY (UART, Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Transceiver), SPI_PHY (SPI, Serial Peripheral Interface), Ethernet_PHY (Ethernet), PCI_PHY (PCI, Peripheral Component Interconnect), PCIe_PHY (PCIe, PCI-Express,) , CAN_PHY (CAN, Controller Area Network), HDMI_PHY (HDMI, High Definition Multimedia Interface), VGA_PHY (VGA, Video Graphics Array, video graphics array).
  • USB_PHY PHY, Physical Layer
  • EtherCAT_PHY Ether Control Automation Technology
  • UART_PHY UART, Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Transceiver
  • SPI_PHY SPI, Serial Peripheral Interface
  • Ethernet_PHY E
  • the corresponding physical layer protocol chip needs to be set in the protocol converter to ensure the number. Transmission is performed according to parameters specified in the protocol (eg, electrical and optical signals, line status, clock reference, etc.).
  • the physical layer defines the electrical signals, optical signals, line status, clock reference, data encoding, and circuit parameters required for data transmission and reception, and provides a standard interface to the data link layer device.
  • the physical layer chip is called a PHY.
  • the physical layer protocol chip needs to be connected to the IO interface to exchange information with external communication devices.
  • the IO interface 230 connected to the USB_PHY is the IO interface of the USB protocol
  • the IO interface connected to the EtherCAT_PHY is the IO interface of the EtherCAT protocol
  • the IO interface connected to the UART_PHY is the IO interface of the UART protocol
  • the IO connected to the SPI_PHY is the IO interface of the USB protocol
  • the interface is the IO interface of the SPI protocol
  • the IO interface connected to the Ethernet_PHY is the IO interface of the Ethernet protocol
  • the IO interface connected to the PCIe_PHY is the IO interface of the PCIe protocol
  • the IO interface connected with the PCI_PHY is the IO interface of the PCI protocol
  • the connection with the CAN_PHY is the IO interface of the CAN protocol
  • the IO interface is the IO interface of the CAN protocol
  • the IO interface connected to the HDMI_PHY is the IO interface of the HDMI protocol
  • the IO interface connected to the VGA_PHY is the IO interface of the VGA protocol. It can be seen that each physical layer protocol chip is connected to an IO interface.
  • a corresponding protocol conversion configuration file is pre-created according to actual needs, and the configuration file includes an IP core of a corresponding protocol. In theory, you can create a protocol conversion profile between any two protocols.
  • the configuration file includes a USB protocol IP core and an SPI protocol IP core, wherein the USB protocol IP core is used to parse the received data packet transmitted by the USB protocol to obtain a data packet.
  • the data content is passed to the SPI protocol IP core.
  • the SPI protocol IP core encapsulates the received data content into an SPI packet conforming to the SPI protocol.
  • the SPI protocol IP core parses the SPI packet and parses the data content and passes it.
  • the USB protocol IP core encapsulates the received data content into a USB data packet conforming to the USB protocol.
  • the type of the corresponding configuration file interface 130 is different.
  • the corresponding configuration file interface is the SD card slot;
  • the corresponding profile interface is a Micro SD card. Card slot.
  • a corresponding storage device storage area may be provided on the body of the protocol converter, for example, the SD card storage area 250 in FIG. Placing a plurality of SD cards in the SD card storage area 250 is equivalent to carrying a plurality of corresponding point-to-point protocol converters at the same time; the volume of the SD card is much smaller than the volume of the protocol converter. Therefore, the protocol converter provided by the present invention is particularly suitable for It is easy to carry in the network system with many fieldbuses.
  • the user selects the storage device that stores the corresponding protocol conversion configuration file according to the actual requirements. For example, the user needs to convert the PCIe protocol and the PCI protocol to each other.
  • the storage device storing the PCIe-PCI protocol conversion configuration file is selected.
  • the FPGA After the FPGA is powered on, the PCIe-PCI protocol conversion configuration file stored in the storage device is loaded, and the FPGA configures the internal logic resource module of the FPGA according to the PCIe-PCI protocol conversion configuration file, and connects the logic resource module inside the FPGA to the corresponding IO interface.
  • the logical resource module inside the configured FPGA is the main body for implementing protocol conversion.
  • the PCIe protocol IO interface After the PCIe-PCI protocol conversion configuration file is loaded, after the PCIe protocol IO interface receives the PCIe data, it is transferred to the FPGA through the PCIe_PHY.
  • the FPGA calls the PCIe protocol IP core to parse the PCIe data to obtain the specific data content and store it in the FPGA register. Then, the FPGA calls the PCI protocol IP core to encapsulate the data content stored in the register into data conforming to the PCI protocol, and is transmitted to the IO interface output corresponding to the PCI protocol through the PCI_PHY to realize the process of converting the PCIe data into the PCI data.
  • the FPGA When the user needs to perform other types of protocol conversion, the FPGA is powered off first, and then the storage device connected to the configuration file interface 130 is replaced with a storage device storing the configuration file corresponding to the protocol type to be converted. After the power is restarted, the FPGA loads the protocol conversion configuration file in the replaced storage device.
  • the process after loading the configuration file is the same as the above process, and is not mentioned here.
  • the protocol converter provided in this embodiment adopts a power-on white chip type FPGA as a core, pre-customizes a plurality of protocol IP cores, and creates a protocol conversion configuration file in advance and stores the same in a corresponding storage device; After the FPGA is powered on, only the configuration file can be loaded to realize the corresponding logic function. By loading the protocol conversion configuration file in different storage devices, the FPGA can call different IP cores and internal algorithms, thereby implementing the same set of protocol converters.
  • the hardware device realizes mutual conversion between multiple protocols, and improves the flexibility of the protocol converter.
  • the present invention also provides a corresponding protocol conversion method embodiment.
  • FIG. 3 is a flowchart of a protocol conversion method according to an embodiment of the present invention, which is applied to a protocol converter provided by the foregoing embodiment.
  • the protocol converter includes a protocol conversion logic device, a storage device, a plurality of IO interfaces, and a configuration file interface for connecting to the storage device; wherein the storage device stores a protocol conversion configuration file, and one storage device can store a protocol conversion configuration file. Or, a storage device may store a plurality of different protocol conversion configuration files; each of the protocol conversion configuration files is configured to enable the protocol conversion logic device to configure a corresponding logical resource module, and connect the configured logical resource module to the corresponding The IO interface enables the protocol conversion logic to perform the mutual conversion of the corresponding protocol data.
  • the protocol conversion configuration file needs to be created in advance and stored in the storage device.
  • the protocol conversion logic device loads the target protocol conversion configuration file stored in the storage device through the configuration file interface.
  • the storage device includes a storage device such as an SD card or a Micro SD card.
  • the storage area of the storage device may be set on the body of the protocol converter, so that the storage device is directly placed in the corresponding storage area, which is convenient to carry.
  • the method may include the following steps:
  • the protocol conversion logic device loads the target protocol conversion configuration file through the configuration file interface, and configures a corresponding logical resource module according to the target protocol conversion configuration file, and connects the logical resource module to the target IO interface, where the target IO interface is at least The first target interface and the second target interface are included.
  • the target IO interface refers to the IO interface corresponding to the two protocol types that can be converted this time.
  • a protocol conversion profile is stored in a storage device
  • the user needs it according to actual needs. Selecting a storage device storing the target protocol conversion configuration file, and loading the target protocol conversion configuration file in the storage device by the protocol conversion logic device;
  • the protocol conversion logic device loads all protocol translation profiles stored in the storage device.
  • the user is required to connect two communication protocol devices of different protocol types that need to communicate to the corresponding IO interface of the protocol converter, and the protocol conversion logic device determines by determining which two IO interfaces are connected with the communication device.
  • Corresponding target interface and automatically select the configured logical resource module according to the protocol type of the target interface, thereby implementing mutual conversion of protocol data.
  • the protocol conversion logic device loads the target protocol conversion configuration file, and establishes a connection between the corresponding logic resource module in the protocol conversion logic device and the corresponding IO interface.
  • the protocol conversion logic device loads different protocol conversion profiles, different logic device resources within the protocol conversion logic device are connected to the corresponding IO interfaces.
  • the protocol conversion logic device receives the first protocol data by using the first target interface, converting the first protocol data into the second protocol data, and outputting the second protocol data by using the second target interface.
  • the protocol conversion logic device receives the first protocol data conforming to the first protocol from the connected first target interface, parses the first protocol data to obtain specific data content, and encapsulates the data content into a second protocol conforming to the second protocol. data.
  • first protocol data generally refers to protocol data that conforms to the first protocol
  • second protocol data generally refers to protocol data that conforms to the second protocol
  • the protocol conversion logic device receives the second protocol data by using the second target interface, converting the second protocol data into the first protocol data, and outputting the first protocol data by using the first target interface.
  • the protocol conversion logic device converts the obtained second protocol data and outputs it through the second target interface.
  • the protocol conversion logic device is implemented by using an FPGA, and each time the FPGA is powered on, the configuration file needs to be reloaded, so that the core of the protocol converter (protocol conversion logic device) can be powered on each time. Has different functions and interfaces.
  • the protocol conversion logic device When the type of protocol to be converted needs to be replaced, the protocol conversion logic device is powered down first, and then replaced.
  • the storage device after the protocol conversion logic device is powered on, loads the protocol conversion configuration file in the replaced storage device.
  • the protocol conversion logic device converts the configuration file by loading different protocols, and realizes the mutual conversion function between different protocols. That is, the same set of hardware devices are used to replace different protocol conversion configuration files by storing storage devices that store different protocol conversion configuration files, thereby completing mutual conversion between different protocols.
  • the flexibility of protocol conversion is improved, and is especially suitable for a network environment with a wide variety of communication devices. Only one protocol converter of the present invention can complete the debugging and application of such a network system, and the on-site debugging process is very convenient.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

本发明提供协议转换器及协议转换方法,协议转换器设置有协议转换逻辑器件、多个输入输出IO接口、存储有协议转换配置文件的存储设备,以及用于连接存储设备和协议转换逻辑器件的配置文件接口;协议转换逻辑器件通过配置文件接口加载存储设备中的协议转换配置文件,并根据该协议转换配置文件配置协议转换逻辑器内的逻辑资源,进而使该协议转换逻辑器件实现两种协议类型的数据进行相互转换。该协议转换器使用同一套硬件设备,通过加载不同存储设备中的协议转换配置文件,从而实现多种不同的协议之间的相互转换,提高了转换灵活度,尤其适用于通信设备种类繁多的网络环境,只需一台协议转换器即可完成复杂的调试和应用,现场调试过程非常方便。

Description

一种协议转换器及协议转换方法 技术领域
本发明涉及通信技术领域,尤其涉及一种协议转换器及协议转换方法。
背景技术
随着计算机网络技术迅猛发展,出现了大量运行在不同协议上的网络系统,由于各种网络系统的协议不兼容,使得不同网络系统的操作和信息交换难以实现。例如,在工业现场中,许多设备采用的通信接口互不相同,例如,RS-232接口、RS-485接口、CAN(Controller Area Network,控制器局域网络)接口和以太网接口等,各个通信接口采用的通信协议互不兼容,无法实现通信设备之间进行互连通信。
为解决网络系统之间的互连通信问题,提出协议转换器,协议转换器用于将不同的通信协议进行相互转换,使通信网上采用不同通信协议的通信设备之间互相通信。
但是,目前的协议转换器只能完成固定的两种协议之间的相互转换,例如,CAN-USB(Universal Serial Bus,通用串行总线)协议转换器只能实现CAN协议与USB协议之间的相互转换,无法实现多种协议之间的相互转换。对于现场总线繁多的庞大系统而言,可能需要使用十几种协议转换器才能完成一个系统的调试和应用,给现场调试过程带来很大的麻烦。
发明内容
有鉴于此,本发明的目的在于提供一种协议转换器及协议转换方法,以解决现有技术中一个协议转换器只能完成固定的两种协议之间的相互转换,导致协议转换器不灵活的问题。
为解决上述技术问题,本发明公开了如下技术方案:
第一方面,本发明提供一种协议转换器,包括:协议转换逻辑器件、多个 输入输出IO接口、多个存储设备,以及一个配置文件接口;
每个所述存储设备中存储一个协议转换配置文件,且所述多个存储设备中存储有不同的协议转换配置文件;
所述协议转换逻辑器件通过所述配置文件接口连接所述存储设备;
所述协议转换逻辑器件,用于加载与所述配置文件接口相连的存储设备中的目标协议转换配置文件,以及,根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模块,并建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口至少包括第一目标接口和第二目标接口;
所述协议转换逻辑器件,还用于利用所述逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
可选地,所述存储设备包括:安全数码SD卡或Micro SD卡。
可选地,所述协议转换器机身上设置有存放多个所述存储设备的存放区域。
可选地,还包括:不同协议类型对应的物理层协议芯片;
所述物理层协议芯片与相应的IO接口连接,用于按照相应协议规定的参数传输数据。
第二方面,本发明提供另一种协议转换器,包括:协议转换逻辑器件、多个输入输出IO接口、多个存储设备,以及多个配置文件接口,其中,每个所述配置文件接口连接一个所述存储设备,同时所述每个配置文件接口还通过开关器件与所述协议转换逻辑器件连接;
每个所述存储设备中存储有一个协议转换配置文件,且所述多个存储设备中存储有不同的协议转换配置文件;
所述协议转换逻辑器件通过一处于闭合状态的开关器件连接一配置文件接口,加载与该配置文件接口连接的存储设备中的目标协议转换配置文件,并根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模 块,以及建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口至少包括第一目标接口和第二目标接口;
所述协议转换逻辑器件,用于利用所述逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,用于将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
可选地,所述存储设备包括:安全数码SD卡或Micro SD卡。
可选地,所述协议转换器机身上设置有存放多个所述存储设备的存放区域。
第三方面,本发明提供又一种协议转换器,包括:协议转换逻辑器件、多个输入输出IO接口、至少一个存储设备,以及一个配置文件接口;
每个所述存储设备中存储有多个协议转换配置文件;
所述协议转换逻辑器件,用于通过所述配置文件接口连接一个所述存储设备,并加载所连接的存储设备中的全部协议转换配置文件,并建立所述协议转换逻辑器件与所述全部协议转换配置文件所对应的IO接口之间的连接;
所述协议转换逻辑器件,还用于将检测到连接有通信设备的两个IO接口确定为第一目标接口和第二目标接口,并选择与所述第一目标接口和所述第二目标接口相连的逻辑资源模块;
所述协议转换逻辑器件,还用于利用所述逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
可选地,所述存储设备包括:安全数码SD卡或Micro SD卡。
可选地,所述协议转换器机身上设置有存放多个所述存储设备的存放区域。
第四方面,本发明提供一种协议转换方法,应用于协议转换器中,所述协 议转换器包括协议转换逻辑器件,多个存储设备、多个输入输出IO接口,以及一个配置文件接口;其中,每个所述存储设备中存储一个协议转换配置文件,且所述多个存储设备中存储的协议转换配置文件各不相同;所述协议转换逻辑器件通过所述配置文件接口连接一个所述存储设备;所述方法包括:
所述协议转换逻辑器件加载连接在所述配置文件接口上的存储设备中的目标协议转换配置文件;
所述协议转换逻辑器件根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模块,并建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口包括第一目标接口和第二目标接口;
所述协议转换逻辑器件利用所述逻辑资源模块,将从所述第一目标接口接收到的第一协议数据转换成第二协议数据,并通过所述第二目标接口输出所述第二协议数据;以及,将从所述第二目标接口接收到的所述第二协议数据转换成所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
可选地,所述方法还包括:当所述协议转换逻辑器件重新上电时,所述协议转换逻辑器件加载新的目标协议转换配置文件,并按照新的目标协议转换配置文件转换相应的数据。
第五方面,本发明还提供另一种协议转换方法,应用于协议转换器中,所述协议转换器包括协议转换逻辑器件,至少一个存储设备、多个输入输出IO接口,以及一个配置文件接口;其中,每个所述存储设备中存储多个不同的协议转换配置文件;所述协议转换逻辑器件通过所述配置文件接口连接一个所述存储设备;所述方法包括:
所述协议转换逻辑器件加载与所述配置文件接口连接的所述存储设备中的全部协议转换配置文件,并根据所述全部协议转换配置文件配置逻辑资源模块,并使所述逻辑资源模块与对应的IO接口连接;
所述协议转换逻辑器件从所连接的IO接口中检测到连接有通信设备的两个IO接口为第一目标接口和第二目标接口;
所述协议转换逻辑器件利用与所述第一目标接口和所述第二目标接口相连的逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二 协议数据,并通过所述第二目标接口输出所述第二协议数据;以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
可选地,所述方法还包括:当所述协议转换逻辑器件重新上电时,所述协议转换逻辑器件加载新的目标协议转换配置文件,并按照新的目标协议转换配置文件转换相应的数据。
第六方面,本发明提供又一种协议转换方法,应用于协议转换器中,所述协议转换器包括:协议转换逻辑器件、多个输入输出IO接口、多个存储设备,以及多个配置文件接口,其中,每个所述配置文件接口每个所述配置文件接口连接一个所述存储设备,同时所述每个配置文件接口还通过开关器件与所述协议转换逻辑器件连接;每个所述存储设备中存储有一个协议转换配置文件,且所述多个存储设备中存储有不同的协议转换配置文件;所述方法包括:
所述协议转换逻辑器件通过一处于闭合状态的开关器件连接一配置文件接口,加载与该配置文件接口连接的存储设备中的目标协议转换配置文件,并根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模块,并建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口至少包括第一目标接口和第二目标接口;
所述协议转换逻辑器件利用所述逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
可选地,所述方法还包括:当所述协议转换逻辑器件重新上电时,所述协议转换逻辑器件加载新的目标协议转换配置文件,并按照新的目标协议转换配置文件转换相应的数据。
由以上技术方案可见,本实施例提供的协议转换器设置有协议转换逻辑器件、多个IO接口、存储有协议转换配置文件的存储设备,以及用于连接存储设备和协议转换逻辑器件的配置文件接口;协议转换逻辑器件通过配置文件接口加载存储设备中的协议转换配置文件,并根据该协议转换配置文件配置协议 转换逻辑器内的逻辑资源,进而使该协议转换逻辑器件实现两种协议类型的数据进行相互转换。该协议转换器使用同一套硬件设备,通过加载不同存储设备中的协议转换配置文件,从而实现多种不同的协议之间的相互转换,提高了协议转换器的转换灵活度,尤其适用于通信设备种类繁多的网络环境,只需一台协议转换器即可完成此类网络系统的调试和应用,现场调试过程非常方便。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一种协议转换器的框图;
图2为本发明实施例一种协议转换器实例的框图;
图3为本发明实施例一种协议转换方法的流程示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实施例的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明实施例中技术方案作进一步详细的说明。
请参见图1,图1为本发明实施例提供的一种协议转换器的框图,如图1所示,该协议转换器包括协议转换逻辑器件110、多个IO接口120、配置文件接口130和存储设备140。所述存储设备140中存储有协议转换配置文件。
所述协议转换配置文件用于配置协议转换逻辑器件110内的逻辑器件资源以完成相应的协议转换功能。
在本发明的一些实施例中,一个存储设备140中只存储一个协议转换配置文件,例如,能够实现A协议与B协议之间的相互转换的AB协议转换配置 文件。此种应用场景下,一个协议转换器能够实现多少对协议转换就需要配备多少个存储设备来存储对应的协议转换配置文件。
在本发明的另一些实施例中,一个存储设备140中存储有多个协议转换配置文件,即,多对不同协议之间的转换配置文件,例如,存储有AB协议转换配置文件、BC协议转换配置文件和CD协议转换配置文件;可以将全部协议转换配置文件都存储到一个存储设备中,此种应用场景下,一个协议转换器只需配备一个存储设备;或者,可以将全部协议转换配置文件分成几组分别存储到多个存储设备中,此种应用场景下,一个协议转换器也需要多个存储设备。
需要说明的是,考虑到协议转换器的便携性,存储设备140可以采用SD卡(Secure Digital Memory Card)、Micro SD卡等。
所述协议转换逻辑器件110,用于根据加载的存储设备中的协议转换配置文件配置本次进行协议转换所需的逻辑资源模块,以及确定本次协议转换所使用的两个目标IO接口,并建立所述逻辑资源模块与目标IO接口之间的连接。
在本发明的一些实施例中,协议转换逻辑器件110包含多个IO接口120,而且,预先设计好每个IO接口120所对应的协议类型的接口,具体的,每个IO接口120连接一个与该IO接口对应的协议类型的PHY(Physical Layer,物理层)芯片,例如,SPI(Serial Peripheral Interface,串行外设接口)协议对应的IO接口与协议转换逻辑器件110之间连接有SPI_PHY芯片。
对于一个存储设备140中只存储一种协议转换配置文件的场景,协议转换逻辑器件110加载与配置文件接口130连接的存储设备140中的协议转换配置文件后,协议转换逻辑器件110连接协议转换配置文件对应的两个IO接口。
对于一个存储设备140中存储多个协议转换配置文件的场景,协议转换逻辑器件110会加载与配置文件接口130连接的存储设备140中的全部配置文件,具体需要转换哪两个协议类型,需要协议转换逻辑器件110通过检测哪两个IO接口连接有通信设备来确定,并选择协议转换逻辑器件110内相应的逻 辑资源模块以实现相应的协议类型转换。例如,协议转换逻辑器件110的A协议IO接口和B协议IO接口均连接有通信设备,则确定A协议和B协议为需要转换的协议类型。
协议转换逻辑器件110通过配置文件接口130加载存储设备140中的协议转换配置文件,配置相应的逻辑资源模块,从而实现相应协议之间的相互转换。
例如,协议转换逻辑器件110加载的AB协议转换配置文件,该AB协议转换配置文件用于使A协议数据与B协议数据之间相互转换,即,实现使用A协议的通信设备与使用B协议的通信设备之间能够进行信息交互。协议转换逻辑器件110加载该AB协议转换配置文件后,配置所需的内部逻辑器件资源,以及确定A协议的IO接口和B协议的IO接口为目标IO接口,并建立协议转换逻辑器件110内相应的逻辑资源模块与A协议的IO接口,以及,逻辑资源模块与B协议的IO接口之间的连接。然后,协议转换逻辑器件110检测A协议的IO接口和B协议的IO接口是否接收到数据,如果A协议的IO接口接收到A通信设备发送的A协议数据,则传输给协议转换逻辑器件110,协议转换逻辑器件110将A协议数据转换成B协议数据并传输给B协议的IO接口,最终经由B协议的IO接口传输给与B协议的IO接口连接的B通信设备,至此,完成A协议数据与B协议数据之间的转换。同理,如果协议转换逻辑器件110还可以接收B协议接口传输的B协议数据并转换成A协议数据后传输给A协议的IO接口。
协议转换逻辑器件110通过更换与配置文件接口130连接的存储设备140来更换协议转换配置文件,从而实现不同协议之间的转换。
在本发明的一些实施例中,协议转换器设置有一个配置文件接口130,通过手动更换与配置文件接口130连接的存储设备更换协议转换配置文件。
在本发明的另一些实施例中,协议转换器设置有多个配置文件接口130,所述多个配置文件接口130均连接一个存储设备,每个配置文件接口130和存 储设备之间设置有开关器件,通过控制开关器件的开关状态选择要加载的存储设备中的协议转换配置文件。
当需要更换协议转换配置文件时,协议转换逻辑器件110先掉电,掉电后协议转换逻辑器件110之前加载的协议转换配置文件会被删除,然后,协议转换逻辑器件110重新上电后可以加载更换后的存储设备中的协议转换配置文件,实现新加载的协议转换配置文件所设计实现的不同协议之间的转换。
需要说明的是,可以在协议转换逻辑器件110掉电之前更换存储设备140,或者,可以在协议转换逻辑器件110掉电之后重新上电之前更换存储设备140。
需要说明的是,协议转换配置文件需要预先创建好,并存储在存储设备140中,当协议转换逻辑器件110需要进行某两种协议之间的相互转换时,加载相应的协议转换配置文件即可。
本实施例提供的协议转换器设置有协议转换逻辑器件、多个IO接口、存储有协议转换配置文件的存储设备,以及用于连接存储设备和协议转换逻辑器件的配置文件接口;协议转换逻辑器件通过配置文件接口加载存储设备中的协议转换配置文件,并根据该协议转换配置文件配置协议转换逻辑器内的逻辑资源,进而使该协议转换逻辑器件实现两种协议类型的数据进行相互转换。该协议转换器使用同一套硬件设备,加载不同存储设备中的协议转换配置文件,从而实现多种不同的协议之间的相互转换,提高了协议转换器的转换灵活度,尤其适用于通信设备种类繁多的网络环境,只需一台协议转换器即可完成此类网络系统的调试和应用,现场调试过程非常方便。
请参见图2,图2为本发明实施例提供的一种协议转换器实例的框图,如图2所示,该协议转换器内的协议转换逻辑器件210为FPGA(Field-Programmable Gate Array,现场可编程门阵列)、多种物理层协议芯片220、多个IO接口230,配置文件接口240。
FPGA是以硬件描述语言(例如,Verilog HDL或VHDL)完成的电路设 计,可编辑元件经过简单的综合与布局可以快速烧录到FPGA上,这些可编辑元件可以被用来实现一些基本的逻辑门电路(例如,AND、OR、XOR、NOT)或更复杂的组合功能(例如,解码器或数学方程式)。这些可编辑的元件也包含记忆元件(例如,触发其或其他更加完整的记忆块)。系统设计师可以根据需要通过可编辑的连接把FPGA内部的逻辑块连接起来。
IP(Intellectual Property,知识产权)核在嵌入式FPGA设计中,是指某些设计好的模块,包括软件模块和硬件模块,这些模块一般都是已经测试好且功能完善的模块。将一些数字电路中常用但比较复杂的功能块设计成可修改参数的模块,让其他用户可以直接调用这些模块,所有用户都可以定制自己的IP核。
FPGA内部定制的IP核可随配置文件一同导入FPGA内部。目前大部分的FPGA都是上电白片式,即FPGA上电后相当于一个空白的芯片,只有在加载了配置文件以后才能实现各种逻辑功能。FPGA每次上电,都需要重新加载配置文件,这样就可以使协议转换器的核心(协议转换逻辑器件)在每次上电时,都可以具有不同的功能和接口。
如图2所示,物理层协议芯片220可以包括USB_PHY(PHY,Physical Layer,物理层)、EtherCAT_PHY(EtherCAT,Ether Control Automation Technology,以太网自动控制技术)、UART_PHY(UART,Universal Asynchronous Receiver/Transmitter,通用异步收发传输器)、SPI_PHY(SPI,Serial Peripheral Interface,串行外设接口)、Ethernet_PHY(以太网)、PCI_PHY(PCI,Peripheral Component Interconnect,外围设备互联)、PCIe_PHY(PCIe,PCI-Express,)、CAN_PHY(CAN,Controller Area Network,控制器局域网络)、HDMI_PHY(HDMI,High Definition Multimedia Interface,高清晰度多媒体接口)、VGA_PHY(VGA,Video Graphics Array,视频图形阵列)等。当然,在其它应用场景中还可以包括其他协议芯片,此处不再一一列举。
通常情况下,协议转换器内需要设置相应的物理层协议芯片,从而保证数 据按照该协议规定的参数(例如,电与光信号、线路状态、时钟基准等)进行传输。物理层定义了数据传送与接收所需要的电信号、光信号、线路状态、时钟基准、数据编码和电路等参数,并向数据链路层设备提供标准接口,物理层的芯片称之为PHY。物理层协议芯片需要与IO接口连接,从而与外部的通信设备之间进行信息交换。
如图2所示,USB_PHY连接的IO接口230为USB协议的IO接口、与EtherCAT_PHY连接的IO接口为EtherCAT协议的IO接口、与UART_PHY连接的IO接口为UART协议的IO接口、与SPI_PHY连接的IO接口为SPI协议的IO接口、与Ethernet_PHY连接的IO接口为Ethernet协议的IO接口、与PCIe_PHY连接的IO接口为PCIe协议的IO接口、与PCI_PHY连接的IO接口为PCI协议的IO接口、与CAN_PHY连接的IO接口为CAN协议的IO接口、与HDMI_PHY连接的IO接口为HDMI协议的IO接口、与VGA_PHY连接的IO接口为VGA协议的IO接口。由此可见,每种物理层协议芯片对应连接一个IO接口。
在本发明的一些实施例中,根据实际需求预先创建相应的协议转换配置文件,配置文件中包含相应协议的IP核。理论上可以创建任意两种协议之间的协议转换配置文件。
例如,对于USB-SPI协议转换配置文件而言,配置文件内包含USB协议IP核和SPI协议IP核,其中,USB协议IP核用于解析接收到的采用USB协议传输的数据包获得数据包内的数据内容并传递给SPI协议IP核,SPI协议IP核将接收到的数据内容封装成符合SPI协议的SPI数据包;同理,SPI协议IP核接收到SPI数据包后解析得到数据内容并传递给USB协议IP核,USB协议IP核将接收到的数据内容封装成符合USB协议的USB数据包。
用于存储协议转换配置文件的存储设备不相同时,对应的配置文件接口130的类型也不同,例如,若存储设备为SD卡,则相应的配置文件接口为SD卡的卡槽;若存储设备为Micro SD卡,则相应的配置文件接口为Micro SD卡 的卡槽。
可选地,可以在协议转换器的机身上设置相应的存储设备存放区域,例如,图2中的SD卡存放区250。在SD卡存放区250放置多个SD卡相当于同时携带了多个相应的点对点协议转换器;SD卡的体积远远小于协议转换器的体积,因此,本发明提供的协议转换器尤其适用于现场总线繁多的网络系统中,携带方便。
下面结合实例介绍协议转换器的工作过程:
用户根据实际需求选择存储有相应的协议转换配置文件的存储设备,例如,用户需要将PCIe协议与PCI协议相互转换,此时选择存储有PCIe-PCI协议转换配置文件的存储设备。FPGA上电后,加载该存储设备内存储的PCIe-PCI协议转换配置文件,FPGA根据PCIe-PCI协议转换配置文件配置FPGA内部的逻辑资源模块,以及使FPGA内部的逻辑资源模块连接相应的IO接口,配置好的FPGA内部的逻辑资源模块是实现协议转换的主体。
加载完PCIe-PCI协议转换配置文件之后,当PCIe协议的IO接口接收到PCIe数据后,经过PCIe_PHY传输至FPGA内部,FPGA调用PCIe协议IP核解析PCIe数据得到具体的数据内容并存储到FPGA的寄存器中;然后,FPGA调用PCI协议IP核将寄存器中存储的数据内容封装成符合PCI协议的数据,经过PCI_PHY传输至PCI协议对应的IO接口输出,实现PCIe数据转换成PCI数据的过程。
当用户需要进行其他类型的协议转换时,先让FPGA掉电,然后,将与配置文件接口130连接的存储设备更换为存储有要转换的协议类型对应配置文件的存储设备。重新上电后FPGA加载更换后的存储设备中的协议转换配置文件,加载配置文件后的过程与上述过程相同,此处不再赘述。
本实施例提供的协议转换器,采用上电白片式的FPGA作为核心,预先定制多种协议IP核,并预先创建协议转换配置文件并存储到相应的存储设备中; 利用FPGA上电后只有加载配置文件后才能实现相应的逻辑功能的特点,通过加载不同存储设备中的协议转换配置文件,使FPGA调用不同的IP核和内部算法,进而实现利用同一套协议转换器的硬件设备实现多种协议间的相互转换,提高了协议转换器的灵活度。
相应于上述的协议转换器实施例,本发明还提供了相应的协议转换方法实施例。
请参见图3,为本发明实施例一种协议转换方法的流程图,应用于上述实施例提供的协议转换器中。
协议转换器包括协议转换逻辑器件、存储设备、多个IO接口,以及用于连接存储设备的配置文件接口;其中,存储设备中存储有协议转换配置文件,一个存储设备可以存储一个协议转换配置文件,或者,一个存储设备可以存储多个不同的协议转换配置文件;每个所述协议转换配置文件用于使协议转换逻辑器件配置相应的逻辑资源模块,并使配置后的逻辑资源模块连接至相应的IO接口,使协议转换逻辑器件完成相应协议数据相互转换功能。
协议转换配置文件需要预先创建,并存储在存储设备中,协议转换逻辑器件通过配置文件接口加载存储设备中存储的目标协议转换配置文件。例如,所述存储设备包括:SD卡、Micro SD卡等存储设备。
可选地,可以在协议转换器的机身上设置存储设备的存放区域,这样,直接将存储设备放置在相应的存放区域中,携带方便。
如图3所示,该方法可以包括以下步骤:
S110,协议转换逻辑器件通过配置文件接口加载目标协议转换配置文件,并根据该目标协议转换配置文件配置相应的逻辑资源模块,并使该逻辑资源模块与目标IO接口连接,所述目标IO接口至少包括第一目标接口和第二目标接口。目标IO接口是指本次所能转换的两个协议类型所对应的IO接口。
对于一个存储设备中存储一个协议转换配置文件的场景,用户根据实际需 求选择存储有目标协议转换配置文件的存储设备,并由协议转换逻辑器件加载该存储设备中的目标协议转换配置文件;
对于一个存储设备中存储有多个协议转换配置文件的场景,协议转换逻辑器件会加载存储设备中存储的全部协议转换配置文件。此种场景下,需要用户先将需要进行通信的两个不同协议类型的通信设备连接至协议转换器的相应IO接口上,协议转换逻辑器件通过检测哪两个IO接口上连接有通信设备来确定相应的目标接口,并根据目标接口的协议类型自动选择配置后的逻辑资源模块,进而实现协议数据相互转换。
协议转换逻辑器件加载目标协议转换配置文件,建立协议转换逻辑器件内的相应逻辑资源模块与对应IO接口的连接。当协议转换逻辑器件加载不同的协议转换配置文件时,协议转换逻辑器件内不同的逻辑器件资源与相对应的IO接口相连。
S120,当协议转换逻辑器件通过所述第一目标接口接收第一协议数据时,将第一协议数据转换成第二协议数据,并通过第二目标接口输出第二协议数据。
协议转换逻辑器件从所连接的第一目标接口接收符合第一协议的第一协议数据,并解析该第一协议数据得到具体的数据内容,并将数据内容封装成符合第二协议的第二协议数据。
需要说明的是,第一协议数据泛指符合第一协议的协议数据;第二协议数据泛指符合第二协议的协议数据。
S130,当协议转换逻辑器件通过所述第二目标接口接收第二协议数据时,将第二协议数据转换成第一协议数据,并通过第一目标接口输出第一协议数据。
协议转换逻辑器件将转换得到的第二协议数据后通过第二目标接口输出。
本实施例中,协议转换逻辑器件采用FPGA实现,FPGA每次上电,都需要重新加载配置文件,这样就可以使协议转换器的核心(协议转换逻辑器件)在每次上电时,都可以具有不同的功能和接口。
当需要更换转换的协议类型时,先使协议转换逻辑器件掉电,然后,更换 存储设备,协议转换逻辑器件重新上电后,加载更换后的存储设备中的协议转换配置文件。
本实施例提供的协议转换方法,协议转换逻辑器件通过加载不同的协议转换配置文件,实现不同协议之间的相互转换功能。即,使用同一套硬件设备,通过更换存储有不同协议转换配置文件的存储设备实现加载不同的协议转换配置文件,完成不同的协议之间的相互转换功能。提高了协议转换的灵活度,尤其适用于通信设备种类繁多的网络环境,只需本发明的一台协议转换器即可完成此类网络系统的调试和应用,现场调试过程非常方便。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (16)

  1. 一种协议转换器,其特征在于,包括:协议转换逻辑器件、多个输入输出IO接口、多个存储设备,以及一个配置文件接口;
    每个所述存储设备中存储一个协议转换配置文件,且所述多个存储设备中存储有不同的协议转换配置文件;
    所述协议转换逻辑器件通过所述配置文件接口连接所述存储设备;
    所述协议转换逻辑器件,用于加载与所述配置文件接口相连的存储设备中的目标协议转换配置文件,以及,根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模块,并建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口至少包括第一目标接口和第二目标接口;
    所述协议转换逻辑器件,还用于利用所述逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
  2. 根据权利要求1所述的协议转换器,其特征在于,所述存储设备包括:安全数码SD卡或Micro SD卡。
  3. 根据权利要求1或2所述的协议转换器,其特征在于,所述协议转换器机身上设置有存放多个所述存储设备的存放区域。
  4. 根据权利要求1所述的协议转换器,其特征在于,还包括:不同协议类型对应的物理层协议芯片;
    所述物理层协议芯片与相应的IO接口连接,用于按照相应协议规定的参数传输数据。
  5. 一种协议转换器,其特征在于,包括:协议转换逻辑器件、多个输入输出IO接口、多个存储设备,以及多个配置文件接口,其中,每个所述配置文件接口连接一个所述存储设备,同时所述每个配置文件接口还通过开关器件与所述协议转换逻辑器件连接;
    每个所述存储设备中存储有一个协议转换配置文件,且所述多个存储设备 中存储有不同的协议转换配置文件;
    所述协议转换逻辑器件通过一处于闭合状态的开关器件连接一配置文件接口,加载与该配置文件接口连接的存储设备中的目标协议转换配置文件,并根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模块,以及建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口至少包括第一目标接口和第二目标接口;
    所述协议转换逻辑器件,用于利用所述逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,用于将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
  6. 根据权利要求5所述的协议转换器,其特征在于,所述存储设备包括:安全数码SD卡或Micro SD卡。
  7. 根据权利要求5或6所述的协议转换器,其特征在于,所述协议转换器机身上设置有存放多个所述存储设备的存放区域。
  8. 一种协议转换器,其特征在于,包括:协议转换逻辑器件、多个输入输出IO接口、至少一个存储设备,以及一个配置文件接口;
    每个所述存储设备中存储有多个协议转换配置文件;
    所述协议转换逻辑器件,用于通过所述配置文件接口连接一个所述存储设备,并加载所连接的存储设备中的全部协议转换配置文件,并建立所述协议转换逻辑器件与所述全部协议转换配置文件所对应的IO接口之间的连接;
    所述协议转换逻辑器件,还用于将检测到连接有通信设备的两个IO接口确定为第一目标接口和第二目标接口,并选择与所述第一目标接口和所述第二目标接口相连的逻辑资源模块;
    所述协议转换逻辑器件,还用于利用所述逻辑资源模块将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数 据。
  9. 根据权利要求8所述的协议转换器,其特征在于,所述存储设备包括:安全数码SD卡或Micro SD卡。
  10. 根据权利要求8或9所述的协议转换器,其特征在于,所述协议转换器机身上设置有存放多个所述存储设备的存放区域。
  11. 一种协议转换方法,其特征在于,应用于协议转换器中,所述协议转换器包括协议转换逻辑器件,多个存储设备、多个输入输出IO接口,以及一个配置文件接口;其中,每个所述存储设备中存储一个协议转换配置文件,且所述多个存储设备中存储的协议转换配置文件各不相同;所述协议转换逻辑器件通过所述配置文件接口连接一个所述存储设备;所述方法包括:
    所述协议转换逻辑器件加载连接在所述配置文件接口上的存储设备中的目标协议转换配置文件;
    所述协议转换逻辑器件根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模块,并建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口包括第一目标接口和第二目标接口;
    所述协议转换逻辑器件利用所述逻辑资源模块,将从所述第一目标接口接收到的第一协议数据转换成第二协议数据,并通过所述第二目标接口输出所述第二协议数据;以及,将从所述第二目标接口接收到的所述第二协议数据转换成所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    当所述协议转换逻辑器件重新上电时,所述协议转换逻辑器件加载新的目标协议转换配置文件,并按照新的目标协议转换配置文件转换相应的数据。
  13. 一种协议转换方法,其特征在于,应用于协议转换器中,所述协议转换器包括协议转换逻辑器件,至少一个存储设备、多个输入输出IO接口,以及一个配置文件接口;其中,每个所述存储设备中存储多个不同的协议转换配置文件;所述协议转换逻辑器件通过所述配置文件接口连接一个所述存储设备;所述方法包括:
    所述协议转换逻辑器件加载与所述配置文件接口连接的所述存储设备中 的全部协议转换配置文件,并根据所述全部协议转换配置文件配置逻辑资源模块,并使所述逻辑资源模块与所述全部协议转换配置文件所对应的IO接口连接;
    所述协议转换逻辑器件从所连接的IO接口中检测到连接有通信设备的两个IO接口为第一目标接口和第二目标接口;
    所述协议转换逻辑器件利用与所述第一目标接口和所述第二目标接口相连的逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据;以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    当所述协议转换逻辑器件重新上电时,所述协议转换逻辑器件加载新的目标协议转换配置文件,并按照新的目标协议转换配置文件转换相应的数据。
  15. 一种协议转换方法,其特征在于,应用于协议转换器中,所述协议转换器包括:协议转换逻辑器件、多个输入输出IO接口、多个存储设备,以及多个配置文件接口,其中,每个所述配置文件接口连接一个所述存储设备,同时所述每个配置文件接口还通过开关器件与所述协议转换逻辑器件连接;每个所述存储设备中存储有一个协议转换配置文件,且所述多个存储设备中存储有不同的协议转换配置文件;所述方法包括:
    所述协议转换逻辑器件通过一处于闭合状态的开关器件连接一配置文件接口,加载与该配置文件接口连接的存储设备中的目标协议转换配置文件,并根据所述目标协议转换配置文件配置所述协议转换逻辑器件内的逻辑资源模块,并建立所述逻辑资源模块与相应的目标IO接口之间的连接,所述目标IO接口至少包括第一目标接口和第二目标接口;
    所述协议转换逻辑器件利用所述逻辑资源模块,将通过所述第一目标接口接收的第一协议数据转换为第二协议数据,并通过所述第二目标接口输出所述第二协议数据,以及,将通过所述第二目标接口接收到的所述第二协议数据转换为所述第一协议数据,并通过所述第一目标接口输出所述第一协议数据。
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:
    当所述协议转换逻辑器件重新上电时,所述协议转换逻辑器件加载新的目标协议转换配置文件,并按照新的目标协议转换配置文件转换相应的数据。
PCT/CN2016/097657 2016-08-31 2016-08-31 一种协议转换器及协议转换方法 WO2018040016A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680038877.7A CN107980215A (zh) 2016-08-31 2016-08-31 一种协议转换器及协议转换方法
PCT/CN2016/097657 WO2018040016A1 (zh) 2016-08-31 2016-08-31 一种协议转换器及协议转换方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/097657 WO2018040016A1 (zh) 2016-08-31 2016-08-31 一种协议转换器及协议转换方法

Publications (1)

Publication Number Publication Date
WO2018040016A1 true WO2018040016A1 (zh) 2018-03-08

Family

ID=61299877

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097657 WO2018040016A1 (zh) 2016-08-31 2016-08-31 一种协议转换器及协议转换方法

Country Status (2)

Country Link
CN (1) CN107980215A (zh)
WO (1) WO2018040016A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150911A (zh) * 2018-10-16 2019-01-04 唯思科技(北京)有限公司 一种安检机通信协议转换装置
CN110166431A (zh) * 2019-04-16 2019-08-23 中国平安人寿保险股份有限公司 多协议数据转换方法、装置和计算机设备
CN113810402A (zh) * 2021-09-14 2021-12-17 中国电信集团系统集成有限责任公司 面向网络资源调度的多协议适配方法和系统
CN114915548A (zh) * 2022-05-09 2022-08-16 中国船舶重工集团公司第七0七研究所九江分部 一种基于单片机can协议可视化配置和自动解析方法

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109274603B (zh) * 2018-08-29 2022-05-17 天津芯海创科技有限公司 异构协议数据之间基于软件定义的互连方法和装置
CN110347622A (zh) * 2019-06-05 2019-10-18 芜湖职业技术学院 一种多接口协议双向转换装置及实现方法
CN110224948A (zh) * 2019-06-25 2019-09-10 山东浪潮人工智能研究院有限公司 一种基于fpga的多协议通信数据交换装置及方法
CN110445752B (zh) * 2019-06-28 2022-08-30 福建星云电子股份有限公司 一种支持多种can设备并灵活解析各类can报文的实现方法
CN113691484A (zh) * 2020-05-19 2021-11-23 华为技术有限公司 用于协议适配的装置和方法
CN112181882B (zh) * 2020-09-23 2023-01-10 峰飞航空科技(昆山)有限公司 一种信号转换方法、装置、电子设备和存储介质
CN112506833A (zh) * 2020-12-15 2021-03-16 北京无线电测量研究所 一种数据转换传输装置和方法
CN113515482A (zh) * 2021-09-14 2021-10-19 北京国科天迅科技有限公司 数据传输系统、方法、计算机设备和存储介质
CN113783902B (zh) * 2021-11-16 2022-01-21 成都新西旺自动化科技有限公司 一种适用于不同设备间通讯的通讯转换方法和装置
CN117118828B (zh) * 2023-10-23 2024-01-23 上海芯联芯智能科技有限公司 一种协议转换器、电子设备及一种配置方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201146538Y (zh) * 2008-01-21 2008-11-05 上海可鲁系统软件有限公司 一种协议转换装置
CN103905403A (zh) * 2012-12-27 2014-07-02 北京航天福道高技术股份有限公司 多协议通信转换方法
CN104468593A (zh) * 2014-12-16 2015-03-25 上海理工大学 一种多接口通用通信协议转换器
CN105827647A (zh) * 2016-05-18 2016-08-03 浙江京禾电子科技有限公司 协议转换器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404306B (zh) * 2010-09-19 2014-07-16 腾讯科技(深圳)有限公司 一种配置协议的方法及装置
CN103516669A (zh) * 2012-06-21 2014-01-15 苏州工业园区新宏博通讯科技有限公司 自适应多协议转换器
KR101450166B1 (ko) * 2014-01-23 2014-10-13 현대자동차주식회사 차량 내 통신 네트워크에서의 라우팅 정보 갱신 방법 및 그 장치
CN105024971A (zh) * 2014-04-18 2015-11-04 中兴通讯股份有限公司 一种通信协议转换方法及装置
CN204031211U (zh) * 2014-07-23 2014-12-17 哈尔滨工程大学 一种现场总线多协议转换器
JP6292136B2 (ja) * 2015-01-19 2018-03-14 トヨタ自動車株式会社 通信中継装置およびネットワークシステム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201146538Y (zh) * 2008-01-21 2008-11-05 上海可鲁系统软件有限公司 一种协议转换装置
CN103905403A (zh) * 2012-12-27 2014-07-02 北京航天福道高技术股份有限公司 多协议通信转换方法
CN104468593A (zh) * 2014-12-16 2015-03-25 上海理工大学 一种多接口通用通信协议转换器
CN105827647A (zh) * 2016-05-18 2016-08-03 浙江京禾电子科技有限公司 协议转换器

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150911A (zh) * 2018-10-16 2019-01-04 唯思科技(北京)有限公司 一种安检机通信协议转换装置
CN109150911B (zh) * 2018-10-16 2023-12-29 唯思科技(北京)有限公司 一种安检机通信协议转换装置
CN110166431A (zh) * 2019-04-16 2019-08-23 中国平安人寿保险股份有限公司 多协议数据转换方法、装置和计算机设备
CN113810402A (zh) * 2021-09-14 2021-12-17 中国电信集团系统集成有限责任公司 面向网络资源调度的多协议适配方法和系统
CN114915548A (zh) * 2022-05-09 2022-08-16 中国船舶重工集团公司第七0七研究所九江分部 一种基于单片机can协议可视化配置和自动解析方法
CN114915548B (zh) * 2022-05-09 2023-10-31 中国船舶重工集团公司第七0七研究所九江分部 一种基于单片机can协议可视化配置和自动解析方法

Also Published As

Publication number Publication date
CN107980215A (zh) 2018-05-01

Similar Documents

Publication Publication Date Title
WO2018040016A1 (zh) 一种协议转换器及协议转换方法
CN106951388B (zh) 一种基于PCIe的DMA数据传输方法及系统
CN112804128B (zh) 一种支持多协议的总线控制系统及方法
JP2019508915A (ja) メッセージングおよび入出力転送インターフェースのための最適レイテンシパケタイザ有限ステートマシン
US7254603B2 (en) On-chip inter-network performance optimization using configurable performance parameters
JP2005228311A (ja) 開放形コアプロトコルを基盤とするバスシステム
EP2513744A1 (en) Automatic and controllable system operation
CN114048164B (zh) 芯片互联方法、系统、设备及可读存储介质
CN103218337B (zh) 基于wishbone总线实现主与主、从与从通信的片上系统和方法
CN104050146B (zh) 一种微控制单元mcu芯片
CN108255754B (zh) 一种兼容i2c的i3c主设备、i3c主从设备通信系统及方法
CN105051706A (zh) 用于具有pcie协议栈的低功率phy的操作的设备、方法和系统
US9347990B2 (en) Communication device, test system and test method thereof
US10657074B2 (en) Connecting an external PHY device to a MAC device using a management data input/output interface
US8970248B2 (en) Sharing hardware resources between D-PHY and N-factorial termination networks
US9116881B2 (en) Routing switch apparatus, network switch system, and routing switching method
CN206100049U (zh) 一种协议转换器
CN104049995B (zh) 在mcu芯片中配置fpga的方法和装置
CN204117142U (zh) 提供主机即时切换分享通用串行总线电子设备的电子装置
CN116954192A (zh) 总线控制器的功能测试方法、系统、装置及可读存储介质
CN115134427B (zh) 通信协议协调方法、装置、计算机设备和存储介质
EP3118747A1 (en) Field programmable gate array and communication method
US8913527B2 (en) Multiple die communication system
TWI727581B (zh) 資料傳輸系統
TWI323998B (en) Method and system for optimizing the design of a network controller

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16914582

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914582

Country of ref document: EP

Kind code of ref document: A1