CN114885037A - Data transmission device, method and system - Google Patents

Data transmission device, method and system Download PDF

Info

Publication number
CN114885037A
CN114885037A CN202210359255.1A CN202210359255A CN114885037A CN 114885037 A CN114885037 A CN 114885037A CN 202210359255 A CN202210359255 A CN 202210359255A CN 114885037 A CN114885037 A CN 114885037A
Authority
CN
China
Prior art keywords
interface
module
data
processing module
free message
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
Application number
CN202210359255.1A
Other languages
Chinese (zh)
Inventor
樊晓钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siemens Ltd China
Original Assignee
Siemens Ltd China
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 Siemens Ltd China filed Critical Siemens Ltd China
Priority to CN202210359255.1A priority Critical patent/CN114885037A/en
Publication of CN114885037A publication Critical patent/CN114885037A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/02Constructional details
    • H04Q1/028Subscriber network interface devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The embodiment of the application provides a data transmission device, a method and a system, wherein the data transmission device comprises: a processing module and at least one interface module; the processing module is respectively connected with each interface module; the interface module is configured to be connected with at least one external free message device; the processing module is configured to be connected with an external information management system; the interface module is used for receiving first data from the free message equipment through a first communication protocol and sending the first data to the processing module; the processing module is configured to perform format conversion on the first data, and send the format-converted first data to the information management system through a second communication protocol. The scheme can facilitate the communication between the information management system and the free message equipment.

Description

Data transmission device, method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission apparatus, method, and system.
Background
Manufacturing Execution System (MES) is a production information management System oriented to a Manufacturing enterprise workshop Execution layer. The MES can provide management modules for manufacturing data management, production scheduling management, quality management, production process control, cost management and the like, and a reliable, comprehensive and feasible manufacturing collaborative management platform can be realized through the MES.
The production workshop comprises various free message devices which adopt free format messages for communication, such as an electronic scale, a coating detector and the like, the free message devices need to be communicated with an MES (manufacturing execution system) so as to facilitate the quality management and the production process control of the MES, but the message formats used by different free message devices are different, namely the communication protocols used by different free message devices are different, so that the MES cannot be directly communicated with the free message devices, and the normal production activity is influenced. Therefore, a technical solution is needed to facilitate communication between an information management system such as MES and the like and a free message device.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present invention provide a data transmission apparatus, method, and system, which can facilitate communication between an information management system and a free packet device.
According to a first aspect of embodiments of the present application, there is provided a data transmission apparatus, including: a processing module and at least one interface module; the processing module is respectively connected with each interface module; the interface module is configured to be connected with at least one external free message device; the processing module is configured to be connected with an external information management system; the interface module is used for receiving first data from the free message equipment through a first communication protocol and sending the first data to the processing module; the processing module is configured to perform format conversion on the first data, and send the format-converted first data to the information management system through a second communication protocol.
In a first possible implementation manner, with reference to the first aspect, the data transmission apparatus further includes: an input module; the input module is connected with the processing module; the input module is configured to receive associated information corresponding to the first data and send the associated information to the processing module; the processing module is configured to associate the association information with the first data, and send the associated association information and the first data to the information management system through the second communication protocol.
In a second possible implementation manner, with reference to the first possible implementation manner, the input module includes a touch screen.
In a third possible implementation manner, in combination with the first possible implementation manner, the processing module is connected to the interface module and the input module through a general input/output interface.
In a fourth possible implementation manner, with reference to the first aspect, the data transmission apparatus further includes: a conversion module; the conversion module comprises a first interface and a second interface, and the first interface and the second interface are different types of hardware interfaces; the conversion module is configured to connect with the interface module via the first interface and to connect with the free message device via the second interface; the conversion module is used for transmitting the communication data between the interface module and the free message equipment.
In a fifth possible implementation manner, with reference to the fourth possible implementation manner, the first interface is an RS-485 interface, and the second interface is an RS-232 interface.
In a sixth possible implementation manner, with reference to the first aspect, the interface module is configured to be connected to at least one free packet device with address information, or to one free packet device without address information.
In a seventh possible implementation manner, with reference to the sixth possible implementation manner, the data transmission device further includes a power supply module; the interface module comprises a third interface, a fourth interface and at least one fifth interface, wherein the third interface is connected with the processing module, the fourth interface is used for being connected with the free message equipment without address information, and the fifth interface is used for being connected with the free message equipment with address information; the power supply module is respectively connected with the fourth interface and the at least one fifth interface; the processing module is configured to control the power supply module to supply power to the fourth interface or the at least one fifth interface, so that data transmission is performed between the fourth interface or the at least one fifth interface that is supplied with power and the third interface.
In an eighth possible implementation manner, with reference to the seventh possible implementation manner, the power supply module includes: the transistor comprises a first PMOS (P-channel metal oxide semiconductor) tube, a second PMOS tube, a first NMOS (N-channel metal oxide semiconductor) tube, a second NMOS tube, a first amplification circuit, a second amplification circuit, a first resistor, a second resistor, a first diode, a second diode, a third diode and a fourth diode; the source electrodes of the first PMOS tube and the second PMOS tube are connected with the anode of a power supply, the drain electrode of the first PMOS tube is connected with the drain electrode of the second NMOS tube, the drain electrode of the second PMOS tube is connected with the drain electrode of the first NMOS tube, and the source electrodes of the first NMOS tube and the second NMOS tube are grounded; the grid electrode of the first PMOS tube is connected with the output end of the first amplifying circuit, the input end of the first amplifying circuit is connected with the first output end of the processing module, the grid electrode of the first NMOS tube is connected with the first end of the first resistor, and the second end of the first resistor is connected with the first output end of the processing module; the grid electrode of the second PMOS tube is connected with the output end of the second amplifying circuit, the input end of the second amplifying circuit is connected with the second output end of the processing module, the grid electrode of the second NMOS tube is connected with the first end of the second resistor, and the second end of the second resistor is connected with the second output end of the processing module; the anode of the first diode is connected with the drain electrode of the first PMOS tube, the cathode of the first diode is connected with the power supply input end of the fourth interface, the power supply output end of the fourth interface is connected with the anode of the second diode, and the cathode of the second diode is connected with the drain electrode of the first NMOS tube; the anode of the third diode is connected with the drain electrode of the second PMOS transistor, the cathode of the third diode is connected with the power supply input end of each fifth interface, the power supply output end of each fifth interface is connected with the anode of the fourth diode, and the cathode of the fourth diode is connected with the drain electrode of the second NMOS transistor; the processing module is used for controlling the first PMOS tube and the first NMOS tube to be switched on and the second PMOS tube and the second NMOS tube to be switched off through the first output end and the second output end to supply power to the fourth interface, or controlling the first PMOS tube and the first NMOS tube to be switched off and the second PMOS tube and the second NMOS tube to be switched on and to supply power to the at least one fifth interface.
In a ninth possible implementation manner, with reference to the first aspect, the processing module is connected to the information management system through an ethernet.
In a tenth possible implementation manner, with reference to the first aspect or any one of the foregoing possible implementation manners of the first aspect, the processing module is further configured to receive second data from the information management system through the second communication protocol, and send the second data to the interface module; the interface module is further configured to send the second data to the free message device through the first communication protocol.
According to a second aspect of the embodiments of the present application, there is provided a data transmission method for transmitting communication data between a free packet device and an information management system, the method including: the interface module receives first data from the free message equipment through a first communication protocol; the interface module sends the first data to a processing module; the processing module performs format conversion on the first data; and the processing module sends the first data after format conversion to the information management system through a second communication protocol.
According to a third aspect of embodiments of the present application, there is provided a data transmission system, including: an information management system, at least one free message device, and a data transmission apparatus provided in the first aspect or any possible implementation manner of the first aspect; the information management system is connected with the data transmission device; the data transmission device is respectively connected with each free message device.
According to the technical scheme, after the interface module is connected with the free message equipment, the first data sent by the free message equipment can be received through the first communication protocol and sent to the processing module, the processing module can perform format conversion on the first data, so that the first data after format conversion accords with the second communication protocol, the processing module can send the first data after format conversion to the information management system through the second communication protocol, communication between the free message equipment and the information management system is achieved, manual entry of the data of the free message equipment in the information management system is not needed, and labor intensity can be reduced.
Drawings
FIG. 1 is a schematic diagram of a data transmission device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a data transmission device according to another embodiment of the present application;
FIG. 3 is a schematic diagram of a data transmission device according to yet another embodiment of the present application;
FIG. 4 is a schematic diagram of a data transmission device according to yet another embodiment of the present application;
FIG. 5 is a schematic diagram of a power module of one embodiment of the present application;
FIG. 6 is a flow chart of a data transmission method of one embodiment of the present application;
fig. 7 is a schematic diagram of a data transmission system according to an embodiment of the present application.
List of reference numerals:
10: the data transmission device 20: the free message device 30: information management system
600: data transmission method 700: data transmission system 11: processing module
12: the interface module 13: the input module 14: conversion module
141: first interface 142: second interface 15: power supply module
121: third interface 122: fourth interface 123: fifth interface
Q1: first PMOS transistor Q2: second PMOS transistor Q3: first NMOS transistor
Q4: second NMOS transistor 151: first amplification circuit 152: second discharge circuit
R1: first resistance R2: second resistance D1: first diode
D2: second diode D3: third diode D4: fourth diode
E: power supply a: first output terminal b: second output terminal
601: the interface module receives first data from the free message device through a first communication protocol
602: the interface module sends the first data to the processing module
603: the processing module performs format conversion on the first data
604: the processing module sends the first data after format conversion to the free message equipment through a second communication protocol
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
As described above, different types of free message equipment such as electronic scales and coating detectors are arranged in a production workshop, and the free message equipment needs to communicate with information management systems such as MES to facilitate quality management and production process control. The free message equipment adopts free format messages for communication, and the message formats used by different free message equipment are different, so that the information management system and the free message equipment cannot be directly communicated, and normal production activities are influenced. In order to solve the technical problem, a manual input mode is adopted at present, data acquired by free message equipment are input into an information management system, a plurality of free message equipment are arranged in a production workshop, each free message equipment can generate more data, and the manual input mode causes the labor intensity of personnel to be higher.
In the embodiment of the application, the data transmission device includes a processing module and an interface module, the interface module can be connected with a free message device, the processing module can be connected with information management information, the interface module can communicate with the free message device through a communication protocol supported by the free message device, the processing module can communicate with the information management system through the communication protocol supported by the information management system, the processing module can perform format conversion on communication data between the free message device and the information management system, so that the interface module can transmit data from the information management system to the free message device through the communication protocol supported by the free message device, the processing module can transmit data from the free message device to the information management system through the communication protocol supported by the information management system, and normal communication between the free message device and the information management system is realized, the labor intensity of personnel is reduced.
The following describes in detail a data transmission device, a method and a system provided in an embodiment of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a data transmission device according to an embodiment of the present application. As shown in fig. 1, the data transmission device 10 includes a processing module 11 and at least one interface module 12. The processing module 11 is connected to each interface module 12. Each interface module 12 may be connected to at least one free message device 20 and the processing module 11 may be connected to an information management system 30. The interface module 12 may receive the first data from the free message device 20 through the first communication protocol, and send the first data to the processing module 11, and the processing module 11 may perform format conversion on the first data, and send the format-converted first data to the information management system 30 through the second communication protocol.
The free message device 20 communicates through a first communication protocol, the information management system 30 communicates through a second communication protocol, the first communication protocol and the second communication protocol are different types of communication protocols, and because the message formats of the different types of communication protocols are different, the free message device 20 cannot analyze the message of the second communication protocol, and the information management system 30 cannot analyze the message of the first communication protocol, the free message device 20 and the information management relationship 30 cannot directly communicate.
Each interface module 12 may be connected to at least one free message device 20, and for a plurality of free message devices 20 connected to the same interface module 12, the message devices 20 may respectively communicate with the interface module 12 by using the same first communication protocol, or may communicate with the interface module 12 by using different first communication protocols. When the processing module 11 is connected to a plurality of interface modules 12, the free message devices 20 connected to different interface modules 12 may communicate with the connected interface modules 12 by using the same first communication protocol, or may communicate with the connected interface modules 12 by using different first communication protocols.
When the plurality of free message devices 20 connected to each interface module 12 communicate with the connected interface module 12 by using the same first communication protocol, the processing module 11 may perform format conversion on the first data from different free message devices 20 by using the same data format conversion method, so that the converted first data conforms to the second communication protocol. When the plurality of free message devices 20 connected to each interface module 12 communicate with the connected interface module 12 using at least two different first communication protocols, the processing module 11 performs format conversion on the first data from the different free message devices 20 respectively by using a data format conversion method corresponding to the first communication protocol according to the first communication protocol used by each free message device 20, so that the converted first data conforms to the second communication protocol.
Alternatively, the processing module 11 may be a processing device with data processing capability, such as a Raspberry Pi (risi), a single chip microcomputer (scm), or a Field Programmable Gate Array (FPGA). The first communication protocol may be an RS-485 protocol or an RS-232 protocol, etc., and the second communication protocol may be an OPC UA protocol.
In this embodiment of the application, after the interface module 12 is connected to the free message device 20, the first data sent by the free message device 20 may be received through the first communication protocol, and the first data is sent to the processing module 11, the processing module 11 may perform format conversion on the first data, so that the format-converted first data conforms to the second communication protocol, and then the processing module 11 may send the format-converted first data to the information management system 30 through the second communication protocol, so as to implement communication between the free message device 20 and the information management system 30, and it is not necessary to manually enter the data of the free message device 20 in the information management system 30, thereby reducing labor intensity.
Fig. 2 is a schematic diagram of a data transmission apparatus according to an embodiment of the present application. As shown in fig. 2, the data transmission device 10 includes an input module 13 in addition to the processing module 11 and the interface module 12. The input module 13 is connected to the processing module 11. The input module 13 may receive the association information corresponding to the first data and transmit the association information to the processing module 11, and the processing module 11 may associate the association information with the first data and transmit the association information to the information management system 30 through the second communication protocol.
Information management system 30, when performing quality management and production process control, needs to correlate various data to tag the data or analyze the data from multiple dimensions. For example, when the free message device 20 is an electronic scale, the first data sent by the free message device 20 to the interface module 12 is the weight data of the product, but after the pure weight data is sent to the information management system 30, the information management system 30 cannot determine which batch of product is the weight data, and therefore, the weight data needs to be associated with the product batch information.
After the interface module 12 receives the first data sent by the free message device 20, the input module 13 may receive associated information corresponding to the first data, the interface module 12 sends the first data to the processing module 11, and the input module 13 sends the received associated information to the processing module 11. After receiving the first data and the corresponding association information, the processing module 11 associates the first data with the association information, and sends the associated first data and the associated information to the information management system.
In the embodiment of the present application, the interface module 12 receives the first data, the input module 13 receives the association information corresponding to the first data, and the processing module 11 associates the first data with the corresponding association information and sends the associated first data and the associated information to the information management system 30, so that the information management system 30 performs data processing and data analysis conveniently, and because the association information does not need to be manually entered into the information management system 30, the labor intensity can be further reduced.
In one possible implementation, the input module 13 may include a touch screen. The user inputs the associated information through the touch screen, the input module 13 sends the associated information to the processing module 11, and after the interface module 12 sends the first data corresponding to the associated information to the processing module 11, the processing module 11 associates the associated information with the corresponding first data. For example, the user inputs the product batch information through the touch screen, the product batch information is sent to the processing module 11 by the input module 13, after the processing module 11 receives the product weight data sent by the interface module 12, the processing module 11 associates the product weight data with the product batch information, and then sends the associated product weight data and product batch information to the information management system 30.
In the embodiment of the present application, the input module 13 includes a touch screen, and a user can more conveniently input the associated information through the touch screen, so as to improve the use experience of the user. Since the touch screen has a display function and an information input function, a user inputs related information through the touch screen, which can reduce components included in the input module 13 and ensure that the data transmission device 10 has a lower cost.
In one possible implementation, the processing module 11 is connected to the interface module 12 and the Input module 13 through a General-Purpose Input/Output (GPIO) interface.
Optionally, the processing module 11 is connected to a GPIO bus, and the interface module 12 and the input module 13 are both connected to the GPIO bus through GPIO interfaces, so as to implement connection between the processing module 11 and the interface module 12 and the input module 13.
In the embodiment of the present application, since the GPIO interface is a data communication interface commonly used in the industrial field, the commonly used processor supports the GPIO interface, most of the input devices and the interface conversion device support the GPIO interface, the processing module 11 is respectively connected to the interface module 12 and the input module 13 through the GPIO interface, which can reduce the requirements on the interfaces included in the processing module 11, the interface module 12, and the input module 13, and thus can adopt the commonly used device as the processing module 11, the interface module 12, and the input module 13, thereby ensuring that the data transmission device 10 has a lower cost.
The GPIO interface has a high data transmission security, and the processing module 11 is connected to the interface module 12 and the input module 13 through the GPIO interface, respectively, so that the security of communication between the free packet device 20 and the information management system 30 can be ensured.
Fig. 3 is a schematic diagram of a data transmission apparatus according to an embodiment of the present application. As shown in fig. 3, the data transmission apparatus 10 includes a conversion module 14, the conversion module 14 includes a first interface 141 and a second interface 142, and the first interface 141 and the second interface 142 are different types of hardware interfaces. The conversion module 14 can be connected to the interface module 12 via a first interface 141 and to the free message device 20 via a second interface 142. The translation module 14 may transmit communication data between the interface module 12 and the free messaging device 20.
One interface module 12 can be connected to a plurality of free message devices 20, and when a plurality of free message devices 20 connected to the same interface module 12 have different interfaces, some of the free message devices 20 cannot be directly connected to the interface module 12, and at this time, the free message devices 20 are connected to the interface module 12 through the conversion module 14. The first interface 141 of the conversion module 14 has the same interface type as the interface module 12, and the second interface 142 of the conversion module 14 has the same interface type as the free message device 20, so that the free message device 20 can be connected to the interface module 12 via the conversion module 14, and the conversion module 14 forwards communication data between the free message device 20 and the interface module 12.
In the embodiment of the present application, the free message devices 20 with different interfaces can be connected to the same interface module 12 through the conversion module 14, so that communication between multiple free message devices 20 and the information management system 30 can be realized through one data transmission device 10, and communication between the free message devices 20 with different interfaces and the information management system 30 can be realized through the same data transmission device 10, which improves the applicability of the data transmission device 10, and can reduce the number of data transmission devices 10 required for communication between the free message devices 20 and the information management system 30, and reduce the cost for communication between the free message devices 20 and the information management system 30.
In one possible implementation, the first interface 141 of the conversion module 14 may be an RS-485 interface, and the second interface 142 of the conversion module 14 may be an RS-232 interface.
The first interface of the conversion module 14 is an RS-485 interface, the second interface of the conversion module 14 is an RS-232 interface, and the interface module 12 includes an RS-485 interface. If the interface of the free message device 20 is an RS-485 interface, the free message device 20 can be directly connected to the interface module 14. If the interface of the free message device 20 is the RS-232 interface, the interface of the free message device 20 is connected to the second interface 142 of the conversion module 14, and the first interface 141 of the conversion module 14 is connected to the interface module 12.
In the embodiment of the present application, since the RS-485 interface and the RS-232 interface are commonly used interfaces of the free message device 20, the first interface and the second interface of the conversion module 14 are the RS-485 interface and the RS-232 interface, respectively, the interface module 12 includes the RS-485 interface, and the interface module 12, in cooperation with the conversion module 14, can be compatible with most of the free message devices 20, thereby implementing communication between the free message device 20 and the information management system 30, and ensuring the applicability of the data transmission apparatus 10.
In one possible implementation, each interface module 12 may be connected to one or more free message devices 20 if the free message devices 20 have address information. If the free message device 20 does not have address information, each interface module 12 is connected to one free message device 20.
Since the information management system 30 will communicate with multiple free messaging devices 20, the information management system 30 needs to determine the data sent by each free messaging device 20 for this purpose. If the free message device 20 has address information, the data sent by the free message device 20 to the information management system 30 may carry the address information, and the information management system 30 may determine which free message device 20 sends the data according to the address information, and at this time, the same interface module 12 may connect a plurality of free message devices 20. If the free message device 20 does not have address information, each interface module 12 is connected to one free message device 20, and one data transmission apparatus 10 is connected to only one free message device 20, the information management system 30 distinguishes different free message devices 20 according to the identification of the data transmission apparatus 10.
In the embodiment of the present application, for the free message device 20 with address information, one data transmission apparatus 10 can implement communication between multiple free message devices 20 and the information management system 30, so as to reduce the required amount of the free message device 20, and thus, the cost for communication between the free message device 20 and the information management system 30 can be reduced. For the free message devices 20 without address information, each free message device 20 communicates with the information management system 30 through one data transmission apparatus 10, and the information management system 30 can distinguish different free message devices 20 through the identification of the data transmission apparatus 10, so that the communication between a plurality of free message devices 20 without address information and the information management system 30 can be realized, and therefore, the data transmission apparatus 10 has strong applicability.
Fig. 4 is a schematic diagram of a data transmission apparatus according to an embodiment of the present application. As shown in fig. 4, the data transmission device 10 further includes a power supply module 15. The interface module 12 includes a third interface 121, a fourth interface 122, and at least one fifth interface 123, where the third interface 121 is connected to the processing module 11, the fourth interface 122 is used to connect to a free message device 20 without address information, and the fifth interface 123 is used to connect to a free message device 20 with address information. The power supply module 15 is connected to the fourth interface 122 and the at least one fifth interface 123, respectively. The processing module 11 may control the power supply module 15 to supply power to the fourth interface 122 or the at least one fifth interface 123, so that data transmission is performed between the supplied fourth interface 122 or the at least one fifth interface 123 and the third interface 121.
In this embodiment, the processing module 11 may control the power supply module 15 to supply power to the fourth interface 122 or the fifth interface 123, and the supplied fourth interface 122 or fifth interface 123 may perform data transmission with the third interface 121, so that the processing module 11 communicates with multiple free message devices 20 having address information, or communicates with a free message device 20 without address information. The third interface 121 is communicated with the fourth interface 122 or the fifth interface 123 by supplying power, so that the processing module 11 can communicate with the free message device 20 with or without address information, the applicability of the data transmission device 10 is improved, and the convenience of managing communication objects can be ensured by managing the communication objects by supplying power.
In one possible implementation, fig. 5 is a schematic diagram of a power supply module according to an embodiment of the present application. As shown in fig. 5, the power supply module 15 includes a first PMOS transistor Q1, a second PMOS transistor Q2, a first NMOS transistor Q3, a second NMOS transistor Q4, a first amplifying circuit 151, a second amplifying circuit 152, a first resistor R1, a second resistor R2, a first diode D1, a second diode D2, a third diode D3, and a fourth diode D4. The source electrodes of the first PMOS tube Q1 and the second PMOS tube Q2 are connected with the anode of a power supply E, the drain electrode of the first PMOS tube Q1 is connected with the drain electrode of the second NMOS tube Q4, the drain electrode of the second PMOS tube Q2 is connected with the drain electrode of the first NMOS tube Q3, and the source electrodes of the first NMOS tube Q3 and the second NMOS tube Q4 are grounded.
The gate of the first PMOS transistor Q1 is connected to the output terminal of the first amplifying circuit 151, the input terminal of the first amplifying circuit 151 is connected to the first output terminal a of the processing module 11, the gate of the first NMOS transistor Q3 is connected to the first terminal of the first resistor R1, and the second terminal of the first resistor R1 is connected to the first output terminal a of the processing module 11. The gate of the second PMOS transistor Q2 is connected to the output terminal of the second amplifying circuit 152, the input terminal of the second amplifying circuit 152 is connected to the second output terminal b of the processing module 11, the gate of the second NMOS transistor Q4 is connected to the first terminal of the second resistor R2, and the second terminal of the second resistor R2 is connected to the second output terminal b of the processing module 11.
The anode of the first diode D1 is connected to the drain of the first PMOS transistor Q1, the cathode of the first diode D1 is connected to the power input terminal of the fourth interface 122, the power output terminal of the fourth interface 122 is connected to the anode of the second diode D2, and the cathode of the second diode D2 is connected to the drain of the first NMOS transistor Q3. The anode of the third diode D3 is connected to the drain of the second PMOS transistor Q2, the cathode of the third diode D3 is connected to the power supply input terminal of each fifth interface 123, the power supply output terminal of each fifth interface 123 is connected to the anode of the fourth diode D4, and the cathode of the fourth diode D4 is connected to the drain of the second NMOS transistor Q4.
The processing module 11 may output a control signal through the first output terminal a and the second output terminal b to control the first PMOS transistor Q1 and the first NMOS transistor Q3 to be turned on, and the second PMOS transistor Q2 and the second NMOS transistor Q4 to be turned off, so as to supply power to the fourth interface 122, or control the first PMOS transistor Q1 and the first NMOS transistor Q3 to be turned off, and the second PMOS transistor Q2 and the second NMOS transistor Q4 to be turned on, so as to supply power to at least one fifth interface 123.
In this embodiment, the processing module 11 may control on/off states of the first PMOS transistor Q1, the second PMOS transistor Q2, the first NMOS transistor Q3, and the second NMOS transistor Q4, when the first PMOS transistor Q1 and the first NMOS transistor Q3 are turned on and the second PMOS transistor Q2 and the second NMOS transistor Q4 are turned off, power is supplied to the fourth interface 122, and when the first PMOS transistor Q1 and the first NMOS transistor Q3 are turned off and the second PMOS transistor Q2 and the second NMOS transistor Q4 are turned on, power is supplied to each fifth interface 123, so that the processing module 11 can accurately control power supply states of the fourth interface 122 and the fifth interface 123, thereby implementing communication with the free message device 20 having address information or not having address information, and ensuring reliability of data transmission performed by the data transmission device 10.
It should be understood that the power supply ports of the fifth interfaces 123 may be connected in parallel, as shown in fig. 5, and the power supply ports of the fifth interfaces 123 may also be connected in series, which is not limited to this embodiment of the present application.
In one possible implementation, the processing module 11 is connected to the information management system 30 via an ethernet network.
In the embodiment of the present application, the processing module 11 communicates with the information management system 30 through an ethernet, for example, the processing module 11 may be connected to an ethernet switch through an RJ45 interface, and the ethernet switch is connected to the information management system 30, so as to implement communication between the processing module 11 and the information management system 30. Since the information management system 30 supports ethernet communication, the processing module 11 is connected to the information management system 30 via ethernet, which further improves the applicability of the data transmission device 10.
In a possible implementation manner, the processing module 11 may receive the second data from the information management system 30 through the second communication protocol and send the second data to the interface module 12, and the interface module 12 may send the second data to the free message device 20 through the first communication protocol. For example, the second data may be configuration information to configure the sampling period of the free message device 20.
In the embodiment of the present application, the data transmission apparatus 10 may send the data of the free packet device 20 to the information management system 30, and also send the data of the information management system 30 to the free packet device 20, so as to implement the bidirectional communication between the free packet device 20 and the information management system 30, and is suitable for an application scenario of the bidirectional communication between the free packet device 20 and the information management system 30, and further improve the applicability of the data transmission apparatus 10.
The second data may be configuration information, and the information management system 30 sends the configuration information to the free message device 20 through the data transmission apparatus 10 to configure the free message device 20, so as to configure the free message device 20.
Fig. 6 is a flowchart of a data transmission method according to an embodiment of the present application. Unless otherwise specified, the processing module in the following method embodiment may be the processing module 11 in the foregoing embodiment, the interface module may be the interface module 12 in the foregoing embodiment, the free message device may be the free message device 20 in the foregoing embodiment, and the information management system may be the information management system 30 in the foregoing embodiment. As shown in fig. 6, the data transmission method 600 includes the following steps:
step 601, the interface module receives first data from the free message device through a first communication protocol.
The interface module is connected with the free message device, and the interface module and the free message device can communicate through a first communication protocol. When the free message device needs to send data to the information management system, the interface module may receive first data sent by the free message device through a first communication protocol.
Step 602, the interface module sends the first data to the processing module.
The interface module is connected with the processing module, and the receiving module sends the first year data to the processing module after receiving the first data.
Step 603, the processing module performs format conversion on the first data.
The processing module is connected with the information management system, and the processing module and the information management system are communicated through a second communication protocol. And after receiving the first data, the processing module performs format conversion on the first data according to a preset data processing mode, so that the first data after format conversion conforms to a second communication protocol.
Step 604, the processing module sends the first data after format conversion to the free message device through the second communication protocol.
The format-converted first data conforms to the second communication protocol, so that the processing module can send the format-converted first data to the free message equipment through the second communication protocol, and the data of the free message equipment can be automatically input into the information management system.
In the embodiment of the application, after the interface module receives the first data sent by the free message device, the processing module performs format conversion on the first data, so that the first data after format conversion conforms to the second communication protocol, and then the processing module can send the first data after format conversion to the information management system through the second communication protocol, so that communication between the free message device and the information management system is realized, data do not need to be manually input into the information management system, and labor intensity can be reduced.
It should be noted that the data transmission method provided in the embodiment of the present invention may be implemented based on the data transmission device in the foregoing embodiment, and since details of the data transmission method have been described in detail in the foregoing data transmission device embodiment with reference to the schematic structural diagram, specific processes may refer to descriptions in the foregoing data transmission device embodiment, and are not described herein again.
Fig. 7 is a schematic diagram of a data transmission system according to an embodiment of the present application. As shown in fig. 7, the data transmission system 700 includes an information management system 30, at least one free message device 20, and the data transmission apparatus 10 in any of the above embodiments. The information management system 30 is connected to the data transmission device 10, and the data transmission device 10 is connected to each free message device 20.
It should be noted that, the connection relationship between the free packet device 20 and the information management system 30 and the data transmission apparatus 10, and the communication process between the free packet device 20 and the information management system 30 through the data transmission apparatus 10 have been described in detail in the foregoing data transmission apparatus embodiment, and are not described again here.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware module may be implemented mechanically or electrically. For example, a hardware module may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. A hardware module may also include programmable logic or circuitry (e.g., a general-purpose processor or other programmable processor) that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (13)

1. A data transmission apparatus (10), comprising: a processing module (11) and at least one interface module (12);
the processing module (11) is respectively connected with each interface module (12);
the interface module (12) is designed to be connected to at least one external free message device (20);
the processing module (11) is configured to be connected with an external information management system (30);
the interface module (12) is configured to receive first data from the free message device (20) through a first communication protocol, and send the first data to the processing module (11);
the processing module (11) is configured to perform format conversion on the first data, and send the first data after format conversion to the information management system (30) through a second communication protocol.
2. The apparatus of claim 1, wherein the data transmission apparatus further comprises: an input module (13);
the input module (13) is connected with the processing module (11);
the input module (13) is configured to receive association information corresponding to the first data and to send the association information to the processing module (11);
the processing module (11) is configured to associate the association information with the first data, and send the associated association information and the first data to the information management system (30) through the second communication protocol.
3. The device according to claim 2, characterized in that the input module (13) comprises a touch screen.
4. The device according to claim 2, wherein the processing module (11) is connected to the interface module (12) and the input module (13) via a general purpose input output interface, respectively.
5. The apparatus of claim 1, wherein the data transmission apparatus further comprises: a conversion module (14);
the conversion module (14) comprises a first interface (141) and a second interface (142), wherein the first interface (141) and the second interface (142) are different types of hardware interfaces;
the conversion module (14) is designed to be connected to the interface module (12) via the first interface (141) and to be connected to the free message device (20) via the second interface (142);
the conversion module (14) is used for transmitting communication data between the interface module (12) and the free message equipment (20).
6. The apparatus of claim 5, wherein the first interface (141) is an RS-485 interface and the second interface (142) is an RS-232 interface.
7. The device according to claim 1, characterized in that the interface module (12) is designed to be connected to at least one of the free message devices (20) having address information or to one of the free message devices (20) having no address information.
8. The device according to claim 7, characterized in that the data transmission device (10) further comprises a power supply module (15);
the interface module (12) comprises a third interface (121), a fourth interface (122) and at least one fifth interface (123), the third interface (121) is connected with the processing module (11), the fourth interface (122) is used for being connected with the free message device (20) without address information, and the fifth interface (123) is used for being connected with the free message device (20) with address information;
the power supply module (15) is connected to the fourth interface (122) and the at least one fifth interface (123), respectively;
the processing module (11) is configured to control the power supply module (15) to supply power to the fourth interface (122) or the at least one fifth interface (123), so that data transmission is performed between the fourth interface (122) or the at least one fifth interface (123) and the third interface (121).
9. The device according to claim 8, characterized in that said power supply module (15) comprises: the amplifier comprises a first PMOS tube (Q1), a second PMOS tube (Q2), a first NMOS tube (Q3), a second NMOS tube (Q4), a first amplifying circuit (151), a second amplifying circuit (152), a first resistor (R1), a second resistor (R2), a first diode (D1), a second diode (D2), a third diode (D3) and a fourth diode (D4);
the source electrodes of the first PMOS tube (Q1) and the second PMOS tube (Q2) are connected with the positive electrode of a power supply (E), the drain electrode of the first PMOS tube (Q1) is connected with the drain electrode of the second NMOS tube (Q4), the drain electrode of the second PMOS tube (Q2) is connected with the drain electrode of the first NMOS tube (Q3), and the source electrodes of the first NMOS tube (Q3) and the second NMOS tube (Q4) are grounded;
the grid electrode of the first PMOS tube (Q1) is connected with the output end of the first amplifying circuit (151), the input end of the first amplifying circuit (151) is connected with the first output end (a) of the processing module (11), the grid electrode of the first NMOS tube (Q3) is connected with the first end of the first resistor (R1), and the second end of the first resistor (R1) is connected with the first output end (a) of the processing module (11);
the grid electrode of the second PMOS tube (Q2) is connected with the output end of the second amplifying circuit (152), the input end of the second amplifying circuit (152) is connected with the second output end (b) of the processing module (11), the grid electrode of the second NMOS tube (Q4) is connected with the first end of the second resistor (R2), and the second end of the second resistor (R2) is connected with the second output end (b) of the processing module (11);
the anode of the first diode (D1) is connected with the drain of the first PMOS tube (Q1), the cathode of the first diode (D1) is connected with the power supply input end of the fourth interface (122), the power supply output end of the fourth interface (122) is connected with the anode of the second diode (D2), and the cathode of the second diode (D2) is connected with the drain of the first NMOS tube (Q3);
the positive electrode of the third diode (D3) is connected to the drain of the second PMOS transistor (Q2), the negative electrode of the third diode (D3) is connected to the power supply input terminal of each fifth interface (123), the power supply output terminal of each fifth interface (123) is connected to the positive electrode of the fourth diode (D4), and the negative electrode of the fourth diode (D4) is connected to the drain of the second NMOS transistor (Q4);
the processing module (11) is configured to output a control signal through the first output terminal (a) and the second output terminal (b), control the first PMOS transistor (Q1) and the first NMOS transistor (Q3) to be turned on, and control the second PMOS transistor (Q2) and the second NMOS transistor (Q4) to be turned off, so as to supply power to the fourth interface (122), or control the first PMOS transistor (Q1) and the first NMOS transistor (Q3) to be turned off, and control the second PMOS transistor (Q2) and the second NMOS transistor (Q4) to be turned on, so as to supply power to the at least one fifth interface (123).
10. The device according to claim 1, characterized in that the processing module (11) is connected to the information management system (30) by means of ethernet.
11. The apparatus of any one of claims 1-10,
the processing module (11) is further configured to receive second data from the information management system (30) through the second communication protocol, and send the second data to the interface module (12);
the interface module (12) is further configured to send the second data to the free message device (20) through the first communication protocol.
12. A data transfer method (400) for transferring communication data between a free messaging device (20) and an information management system (30), the method comprising:
the interface module (12) receives first data from the free message device (20) through a first communication protocol;
the interface module (12) sends the first data to the processing module (11);
the processing module (11) performs format conversion on the first data;
the processing module (11) sends the first data after format conversion to the information management system (30) through a second communication protocol.
13. A data transmission system (500), comprising: -an information management system (30), -at least one free messaging device (20) and-a data transmission arrangement according to any of claims 1-11;
the information management system (30) is connected with the data transmission device;
the data transmission device is respectively connected with each free message device (20).
CN202210359255.1A 2022-04-07 2022-04-07 Data transmission device, method and system Pending CN114885037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210359255.1A CN114885037A (en) 2022-04-07 2022-04-07 Data transmission device, method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210359255.1A CN114885037A (en) 2022-04-07 2022-04-07 Data transmission device, method and system

Publications (1)

Publication Number Publication Date
CN114885037A true CN114885037A (en) 2022-08-09

Family

ID=82668658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210359255.1A Pending CN114885037A (en) 2022-04-07 2022-04-07 Data transmission device, method and system

Country Status (1)

Country Link
CN (1) CN114885037A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014033568A1 (en) * 2012-08-30 2014-03-06 Noemalife S.P.A. Communication device and method for connecting a management information system to an electrical appliance
CN205812069U (en) * 2016-07-14 2016-12-14 北京交通大学 A kind of internet interface conversion equipment for connecting Clinical Laboratory equipment
WO2017084535A1 (en) * 2015-11-20 2017-05-26 英赛克科技(北京)有限公司 Method for trusted protocol conversion and system
CN112583824A (en) * 2020-12-11 2021-03-30 国网浙江省电力有限公司温州供电公司 Protocol conversion configuration system and method based on OPC UA

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014033568A1 (en) * 2012-08-30 2014-03-06 Noemalife S.P.A. Communication device and method for connecting a management information system to an electrical appliance
WO2017084535A1 (en) * 2015-11-20 2017-05-26 英赛克科技(北京)有限公司 Method for trusted protocol conversion and system
CN205812069U (en) * 2016-07-14 2016-12-14 北京交通大学 A kind of internet interface conversion equipment for connecting Clinical Laboratory equipment
CN112583824A (en) * 2020-12-11 2021-03-30 国网浙江省电力有限公司温州供电公司 Protocol conversion configuration system and method based on OPC UA

Similar Documents

Publication Publication Date Title
US8774056B2 (en) Automated device discovery on a network
CN109450704B (en) Plug-and-play intelligent distribution transformer terminal and distribution data communication system
CN112905508B (en) Address allocation method, communication device and storage medium for serial communication equipment
CN112510819B (en) Power network operation data monitoring system
CN112948299A (en) Serial port communication system and communication method
CN115134236A (en) Intelligent network card management method, device, equipment and readable medium
CN114885037A (en) Data transmission device, method and system
CN103217956B (en) Industrial control system as well as control method and control device thereof
EP3691210B1 (en) Flexible ethernet message forwarding method and apparatus
US20140068048A1 (en) Managing remote devices
CN112383543B (en) Power equipment monitoring data processing system
CN110442096B (en) Data acquisition control workstation and data transmission method thereof
CN113347195A (en) Dynamic mounting system and method for communication protocol packet of Internet of things equipment
CN103166801A (en) Server and monitor method of server
CN104168145A (en) System and method for conducting wireless updating on wireless communication units
CN111770059A (en) System for realizing communication between adaptive serial port communication software and remote GPRS (general packet radio service) equipment
EP4044398A1 (en) Power distribution terminal having display module, and wireless power distribution display system and method
CN110995490B (en) In-situ module device and configuration-free method
Xu et al. Profibus automation technology and its application in DP slave development
CN101009653A (en) The method for sending message and the system for switching device and main and standby switching
CN101594000B (en) Power supply method and power supply system by using optical network element
CN110798242B (en) Circuit, multichannel device and multichannel short message sending method
CN112671915A (en) Message pushing processing method and intelligent device
CN108173699B (en) CPU high-efficiency processing method based on Marvell exchange chip when obtaining message source port
CN111447270A (en) Data forwarding middleware for Internet of things

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