Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for realizing serial device access to Ethernet based on logic device

A device access and logic device technology, applied in the network field, can solve the problem of poor flexibility of data conversion modules such as serial port conversion chips

Active Publication Date: 2021-01-26
HANGZHOU DPTECH TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since data conversion modules such as serial conversion chips are not compatible with serial devices with different serial protocols, when selecting a data conversion module, you need to know the serial protocol used by the serial device first, and then choose a data conversion module that matches the serial device , so the flexibility of data conversion modules such as serial port conversion chips is poor

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for realizing serial device access to Ethernet based on logic device
  • A method and device for realizing serial device access to Ethernet based on logic device
  • A method and device for realizing serial device access to Ethernet based on logic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] In order to solve the poor flexibility of the serial port conversion chip in the prior art, and the disadvantages caused by the given serial port driver registration mechanism in the system where the serial port conversion chip uses the serial port controller to call the network device configuration, the first embodiment of the present application shows A method for connecting serial devices to Ethernet based on logic devices, please refer to figure 2 , figure 2 It is a network architecture diagram showing a logic device-based serial device access to Ethernet shown in Embodiment 1 of the present application.

[0036] Such as figure 2 As shown, in terms of hardware structure, compared with the prior art, the logic device in this embodiment replaces the original serial port conversion chip, and the connection mode with serial port devices and network devices remains unchanged. Wherein, the logic device may be CPLD (Complex Programmable Logic Device, complex programma...

Embodiment 2

[0062] Corresponding to the foregoing embodiment 1 of a method for implementing serial device access to Ethernet based on a logic device, the present application also provides Embodiment 2 of an apparatus for realizing serial device access to Ethernet based on a logic device.

[0063] Embodiment 2 of the present application, an apparatus for implementing a serial port device to access an Ethernet based on a logic device, can be applied to a network device. The device embodiments can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory for execution by the processor of the network device where it is located. From a hardware perspective, such as Figure 5 As shown, it is a hardware structure diagram of a network device where a device for connecting a seria...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for realizing access of serial interface devices to the Ethernet based on a logic device. The method and the device are applied to a network device. The logic device generates simulated serial interfaces through simulation of a serial interface communication protocol and is connected between the serial interface devices and the network device. The methodcomprises the steps of judging a device type of the serial interface device when it is detected that the serial interface device accesses any simulated serial interface; determining a realization modeof carrying out read / write operation on the simulated serial interface, wherein the realization mode corresponds to the device type; reading serial interface data from the simulated serial interfaceaccessed by the serial interface device based on the realization mode; and converting the serial interface data into Ethernet data. Through adoption of the technical scheme provided by the invention,the flexibility of accessing the Ethernet by the serial interface devices can be improved.

Description

technical field [0001] The present application relates to the field of network technology, in particular to a method and device for realizing serial device access to Ethernet based on logic devices. Background technique [0002] A serial port device refers to a device that uses a serial port as a transmission interface. The serial port device generates serial port data based on the serial port protocol, and transmits the serial port data through the serial port. Among them, different types of serial devices adopt different serial protocols. [0003] When the serial device is connected to the Ethernet to transmit the serial data to the Ethernet, since the serial data adopts the serial port protocol and the Ethernet data adopts the Ethernet protocol, and the devices transmitting data of different protocols cannot be connected, therefore, if the serial device needs to successfully If the Ethernet is connected, a data conversion module needs to be added between the serial devic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06
CPCH04L69/08H04L69/18
Inventor 缪飞宇
Owner HANGZHOU DPTECH TECH