Search

CN-121098663-B - Communication system and method for applying Ethernet equipment to GLink network

CN121098663BCN 121098663 BCN121098663 BCN 121098663BCN-121098663-B

Abstract

The invention provides a communication system for applying Ethernet equipment to GLink networks, which relates to the technical field of information transmission and comprises GLink bridge equipment, an Ethernet switch connected with GLink bridge equipment through a network cable and GLink switch connected with GLink bridge equipment through optical fibers, wherein a UDP communication link is established between a PL end of the GLink bridge equipment and Glink simulation terminals through the Ethernet switch, the Glink simulation terminals comprise CtrlNC sub-terminals, ctrlNT sub-terminals, smartNC sub-terminals and SmartNT sub-terminals, a PS end of the GLink bridge equipment establishes optical fiber communication links with Glink node equipment through the GLink switch, the number of the sub-equipment in the Glink node equipment is the same as the number of the sub-terminals in the Glink simulation terminals, the GLink bridge equipment comprises a JLK1263 chip, the JLK1263 chip informs the PS end to transmit UDP messages to the GLink simulation terminals in an interrupt mode when transmitting control messages, the long data messages are transmitted to the JLK1263 chip through an interface after being cached by DDR, and the short data messages are transmitted to the JLK1263 chip directly through the FIFO interface.

Inventors

  • TANG DONGSHENG
  • WEI HENG
  • ZHAO HAN
  • LIANG XIQUAN

Assignees

  • 武汉中航通用科技有限公司

Dates

Publication Date
20260512
Application Date
20250904

Claims (8)

  1. 1. A communication system for applying an ethernet device to GLink networks, comprising GLink bridge device, ethernet switch connected to the GLink bridge device via network cable, and GLink switch connected to the GLink bridge device via optical fiber; The PL end of the GLink bridge equipment establishes UDP communication links with Glink simulation terminals through the Ethernet switch, wherein the Glink simulation terminals comprise CtrlNC sub-terminals, ctrlNT sub-terminals, smartNC sub-terminals and SmartNT sub-terminals, the PS end of the GLink bridge equipment establishes optical fiber communication links with Glink node equipment through the GLink switch, and the number of the sub-equipment in the Glink node equipment is the same as that of the sub-terminals in the Glink simulation terminals; The GLink bridge equipment comprises a JFK 1263 chip, wherein when a control message is transmitted, the JFK 1263 chip informs a PS end to transmit a UDP message to the GLink simulation terminal in an interrupt mode, and when a data message is transmitted, a long data message is buffered through a DDR and then is transmitted to the JFK 1263 chip through a FIFO interface, and a short data message is directly transmitted to the JFK 1263 chip through the FIFO interface; When the JLK1263 chip is taken as SmartNC and is set to be in a long message mode, the GLink simulation terminal packages SmartNC long message groups into packets of UDP messages and sends the packets to the PL terminal one by one, the PL terminal writes the UDP messages into the DDR while receiving the UDP messages, reads the UDP messages from the DDR and sends the UDP messages to the JLK1263 chip, the JLK1263 chip sends a command sequence and the UDP messages to GLink node equipment, and the GLink node equipment returns a state sequence to the JLK1263 chip after receiving data, and sends the UDP messages to the GLink simulation terminal after the PL terminal sends all GLink message data to the JLK1263 chip; When the JLK1263 chip is used as SmartNT and is set to be in a long message mode, the GLink node device sends Smart long messages to the JLK1263 chip through a command sequence and a data sequence in the SmartNC long message mode, the JLK1263 chip sends GLink messages to the PL end through a high-speed FIFO interface, the JLK1263 chip responds to the GLink node device through a state sequence after the JLK1263 chip sends, the PL end receives the long message messages from the high-speed FIFO interface and writes the long message messages into a DDR cache, meanwhile, the PL end reads GLink messages from the DDR, splits the GLink messages into multiple packets of UDP and sends the multiple packets of UDP to the GLink simulation terminal.
  2. 2. The communication system for applying Ethernet device to GLink networks as recited in claim 1, wherein the PS-side performs initialization operation and register dynamic configuration on the JLK1263 chip via an EMIF interface, and includes data communication with the PL-side via an AXI-Lite interface, and the PL-side performs data analysis to map signals passing through the AXI-Lite interface into EMIF signal form for communication with the JLK1263 chip.
  3. 3. The communication system for applying an ethernet device to GLink networks according to claim 1, wherein said Glink emulation terminal includes 2 CtrlNC sub-terminals, 1 CtrlNT sub-terminals, 4 SmartNC sub-terminals and 4 SmartNT sub-terminals, and said Glink node device includes 2 CtrlNT sub-devices, 1 CtrlNC sub-devices, 4 SmartNC sub-devices and 4 SmartNT sub-devices.
  4. 4. The communication system of claim 1, wherein when the JLK1263 chip is CtrlNC, the GLink emulation terminal encapsulates GLink message into UDP message and sends the UDP message to a PS end of the Glink bridge device, the PS end receives and parses the UDP message, and initiates Ctrl message transmission through an EMIF interface, the GLink node device responds with a status sequence after receiving a command sequence of the JLK1263 chip, the JLK1263 chip notifies the PS end by interrupt, and the PS end sends the UDP message to the GLink emulation terminal after receiving the notification.
  5. 5. The communication system of claim 1, wherein when the JLK1263 chip is CtrlNT, the GLink node device is CtrlNC, and sends a command sequence to the JLK1263 chip, the JLK1263 chip responds with the command sequence and informs the PS end in an interrupt manner, and the PS end obtains GLink message through an EMIF interface after receiving the interrupt notification, packages the GLink message, and sends the UDP message to the GLink simulation terminal.
  6. 6. A communication method for applying an ethernet device to a GLink network, applied to the communication system for applying an ethernet device to a GLink network according to any one of claims 1 to 5, comprising: acquiring a transmission message and detecting the message type of the transmission message; If the message type is a control message, the PS end is informed to transmit UDP messages to the GLink simulation terminal in an interrupt mode, if the message type is a data message and long data, the transmission messages are buffered through the DDR and then transmitted to the JLK1263 chip through the FIFO interface, and if the message type is a short message and short data, the transmission messages are transmitted to the JLK1263 chip through the FIFO interface.
  7. 7. An electronic device comprising a processor and a memory, the memory having stored a computer program, wherein the computer program when executed by the processor implements the communication method of claim 6 for applying an ethernet device to a GLink network.
  8. 8. A computer storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements a communication method of applying an ethernet device to a GLink network as claimed in claim 6.

Description

Communication system and method for applying Ethernet equipment to GLink network Technical Field The present invention relates to the field of information transmission technologies, and in particular, to a communication system and method for applying an ethernet device to a GLink network. Background Ethernet, which is a type of computer local area network technology and also a type of random access technology, specifies contents including connection of a physical layer, an electronic signal, and a medium access layer protocol, and is a commonly used local area network technology. With the vigorous development of automation technology, the requirement of enterprises on the automation degree of production lines is increasingly increased. In this context, automated control systems become a central component of industrial production. However, as system complexity increases, signal transmission and compatibility issues between different devices become increasingly pronounced. In particular, in a scenario where multiple controllers are required to share an encoder signal, conventional practice often faces many challenges. Encoders of different brands and models employ respective unique communication protocols, which either make it difficult to directly communicate signals, or, in order to achieve distribution and transmission of signals, have to rely on dedicated encoder protocol converters, which are expensive and often not versatile, requiring the adapted converters to be purchased again once the encoder brands or models are replaced, which undoubtedly increases the operating and time costs of the enterprise. Therefore, how to solve the compatibility and cost problems of encoder signals while ensuring the efficient operation of an automatic control system becomes a key problem to be solved urgently in the current industry. Disclosure of Invention In view of this, the present invention proposes a communication system and method for applying ethernet devices to GLink networks. The technical scheme of the invention is realized in that the first aspect of the invention provides a communication system for applying Ethernet equipment to GLink networks, which comprises: GLink bridge devices, ethernet switches connected to the GLink bridge devices via a network cable, and GLink switches connected to the GLink bridge devices via optical fibers; The PL end of the GLink bridge equipment establishes UDP communication links with Glink simulation terminals through the Ethernet switch, wherein the Glink simulation terminals comprise CtrlNC sub-terminals, ctrlNT sub-terminals, smartNC sub-terminals and SmartNT sub-terminals, the PS end of the GLink bridge equipment establishes optical fiber communication links with Glink node equipment through the GLink switch, and the number of the sub-equipment in the Glink node equipment is the same as that of the sub-terminals in the Glink simulation terminals; The GLink bridge device comprises a JFK 1263 chip, when a control message is transmitted, the JFK 1263 chip informs a PS end to transmit a UDP message to the GLink simulation terminal in an interrupt mode, when a data message is transmitted, a long data message is buffered through a DDR and then is transmitted to the JFK 1263 chip through a FIFO interface, and a short data message is directly transmitted to the JFK 1263 chip through the FIFO interface. On the basis of the technical scheme, preferably, the PS end performs initialization operation and register dynamic configuration on the JLK1263 chip through an EMIF interface, and comprises the steps of performing data communication with the PL end through an AXI-Lite interface, and mapping signals passing through the AXI-Lite interface into an EMIF signal form through data analysis by the PL end to communicate with the JLK1263 chip. On the basis of the above technical solution, preferably, the Glink emulation terminal includes 2 CtrlNC sub-terminals, 1 CtrlNT sub-terminal, 4 SmartNC sub-terminals and 4 SmartNT sub-terminals, and the Glink node device includes 2 CtrlNT sub-devices, 1 CtrlNC sub-device, 4 SmartNC sub-devices and 4 SmartNT sub-devices. On the basis of the technical scheme, preferably, when the JLK1263 chip is taken as CtrlNC, the GLink simulation terminal packages the GLink message into the UDP message and sends the UDP message to the PS terminal of the Glink bridge device, the PS terminal receives and analyzes the UDP message and initiates Ctrl message transmission through an EMIF interface, the GLink node device responds with a state sequence after receiving a command sequence of the JLK1263 chip, the JLK1263 chip notifies the PS terminal in an interrupt mode, and the PS terminal sends the UDP message to the GLink simulation terminal after receiving the notification. On the basis of the technical scheme, preferably, when the JLK1263 chip is taken as CtrlNT, the GLink node device is taken as CtrlNC to send a command sequence to the JLK1263 chip, the JLK1263 chip respo