CN109525474A - A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform - Google Patents
A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform Download PDFInfo
- Publication number
- CN109525474A CN109525474A CN201811489277.XA CN201811489277A CN109525474A CN 109525474 A CN109525474 A CN 109525474A CN 201811489277 A CN201811489277 A CN 201811489277A CN 109525474 A CN109525474 A CN 109525474A
- Authority
- CN
- China
- Prior art keywords
- interface
- processing unit
- central processing
- module
- protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40032—Details regarding a bus interface enhancer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Abstract
A kind of multiplex roles protocol-intelligent converter based on Linux platform, the converter includes Embedded Hardware Platform and the host computer for being equipped with linux system, central processing unit is provided on Embedded Hardware Platform, RS232 interface, RS485 interface, network interface and the CAN interface convenient for connecting with external equipment are connected on central processing unit, central processing unit is communicated to connect by network interface and CAN interface and host computer;The memory module connecting with central processing unit, network module, display module and data acquisition interface are additionally provided on Embedded Hardware Platform.The converter is as a kind of multi-interface data protocol conversion tool, solve the problems, such as that multiclass interface in industry spot, various protocols equipment can not interconnect, it supports all devices data interaction, data acquisition, pushes promotion and application of the informatization in underlying device.
Description
Technical field
The present invention relates to protocol conversion technology field, especially a kind of multiplex roles protocol-intelligent based on Linux platform turns
Parallel operation further relates to the conversion method of the multiplex roles protocol-intelligent converter based on Linux platform.
Background technique
Currently, China's manufacturing industry is in the critical period of transition and upgrade, information technology of new generation just with the manufacturing
Technology closely merges, miscellaneous Internet of Things using very extensive, realize production equipment interconnect has become industry from
The development trend of dynamicization.Using production equipment as the node of information Perception, in the internet of things environment, it is dispersed with ten hundreds of numbers
According to node, each node is interior at work to carry out data update.Since data information is completely dispersed, node supports data
Transport protocol is not quite similar, and brings very big difficulty to data acquisition, data query.
And currently used industrial control equipment communication interface has RS-232, RS-485, CAN and network, due to each interface protocol
Difference, the agreement of various communication structures is incompatible, so that the operation and information exchange between heterogeneous network are difficult to carry out.At this
In the case of kind, need through a kind of multiplex roles protocol-intelligent converter by the various kinds of equipment networking of distinct interface, different agreement, in fact
The interoperability of information exchange and equipment room between existing heterogeneous network.Common protocol converter can be only done a little currently on the market
Conversion to point, the mutual conversion between various protocols is at present or a research hotspot.
Summary of the invention
The technical problem to be solved by the present invention is in view of the deficiencies of the prior art, provide it is a kind of design rationally, user
Just, the multiplex roles protocol-intelligent converter based on Linux platform of multi-protocol interface conversion can be carried out.
Another technical problem to be solved by this invention there is provided above-mentioned multiplex roles agreement intelligence based on Linux platform
The conversion method of energy converter.
The technical problem to be solved by the present invention is to what is realized by technical solution below.The present invention is that one kind is based on
The multiplex roles protocol-intelligent converter of Linux platform, the converter include Embedded Hardware Platform and are equipped with linux system
Host computer is provided with central processing unit on Embedded Hardware Platform, is connected on central processing unit convenient for connecting with external equipment
RS232 interface, RS485 interface, network interface and CAN interface, central processing unit by network interface and CAN interface with it is upper
Machine communication connection;The memory module connecting with central processing unit, network module, display mould are additionally provided on Embedded Hardware Platform
Block and data acquisition interface.
The technical problems to be solved by the invention can also be further realized by technical solution below, for above
The multiplex roles protocol-intelligent converter based on Linux platform, the central processing unit is 32 RAM processors, described
Host computer is the PC machine equipped with linux system.
The technical problems to be solved by the invention can also be further realized by technical solution below, for above
The multiplex roles protocol-intelligent converter based on Linux platform is additionally provided with for supplying on the Embedded Hardware Platform
The power module of electricity.
The technical problems to be solved by the invention can also be further realized by technical solution below, for above
The multiplex roles protocol-intelligent converter based on Linux platform is also connected on the central processing unit multiple convenient for power-off
The house dog of position.
The technical problems to be solved by the invention can also be further realized by technical solution below, for above
The multiplex roles protocol-intelligent converter based on Linux platform is additionally provided with for CAN interface at the CAN interface
The CAN controller controlled.
The technical problems to be solved by the invention can also be further realized by technical solution below, for above
The multiplex roles protocol-intelligent converter based on Linux platform, between the central processing unit and data acquisition interface also
It is provided with A/D module.
The technical problems to be solved by the invention can also be further realized by technical solution below, Yi Zhongji
In the multiplex roles protocol-intelligent conversion method of Linux platform, this method uses the above-described multiplex roles based on Linux platform
Protocol-intelligent converter, its step are as follows:
(1) there is multi-protocols parameter configuration software by host computer exploitation, multi-protocols parameter configuration software includes Operation control module,
Interface administration module, human-computer interaction module and remote loading module, Operation control module are used to manage all operations of user;It connects
Mouthful management module be used to manage respectively with central processing unit communication each RS232 interface, RS485 interface, network interface it is initial
Change and data conversion;Human-computer interaction module is provided with parameter configuration interface, and parameter configuration is checked and carried out for user;It is long-range to add
Carry downloading, update, debugging and configuration that module carries out program for user;
(2) host computer is connect by multi-protocols parameter configuration software with central processing unit communication, and Operation control module receives use
Family instruction, using interface administration module by central processing unit to each RS232 interface being connected on Embedded Hardware Platform,
RS485 interface and network interface carry out initialization and the reading of device parameter, then are shown device parameter by human-computer interaction module
Show on parameter configuration interface;
(3) when needing to modify parameter, parameter modification can be carried out directly on parameter configuration interface, Operation control module receives
The parameter of modification is sent to using interface administration module by central processing unit and is connected to RS232 interface, RS485 by user instruction
The equipment of interface and network interface carries out parameter modification.
The technical problems to be solved by the invention can also be further realized by technical solution below, for above
The multiplex roles protocol-intelligent conversion method based on Linux platform is respectively divided in the memory headroom of central processing unit
Exit port end data buffer area and outlet end data buffer zone are transmitting-receiving message buffer and the outlet end of input end respectively
Message buffer is received and dispatched, the data message received in input end bus is deposited into the reception of outlet end bus by protocol converter
Buffer area, starting sends program as needed after message frame, and it is total that the data message for receiving buffer area is deposited into outlet
The buffer area that sends datagram of line end is then converted into the protocol specification type of outlet end bus needs and is sent;Instead
It then uses opposite data communication process if it is the data packet sent from outlet end bus.
The technical problems to be solved by the invention can also be further realized by technical solution below, for above
The multiplex roles protocol-intelligent conversion method based on Linux platform, the remote loading module are provided with network interface, use
Family can carry out webpage connection using network interface and multi-protocols parameter configuration software by Web browser, show on webpage
Parameter configuration interface out carries out parameter reading and modification.
Compared with prior art, the present invention is based on the multiplex roles protocol-intelligent converter of Linux platform realize RS-232,
Mutual conversion between the multiplex roles agreement such as RS-485, RS-422, CAN and network, the knob as connection sensing layer and network layer
Band, it has good remote interaction ability, and the conventional serial interface equipment of industry spot is accessed IP network, realizes multiple and different associations
The serial equipment and Ethernet of view carry out bidirectional data exchange, facilitate the working condition and inside process data of acquisition equipment, are
Production provides scientific and effective data supporting with maintenance;It is also equipped with equipment Management Function simultaneously, it can manage each sense of bottom
Know node, understand the relevant information of each node, and can be realized the long-range control of device talk, is industry manufacture intelligent Process
In indispensable infrastructure device.
Detailed description of the invention
Fig. 1 is a kind of structural block diagram of the invention;
Fig. 2 is a kind of operating mode block diagram of the invention;
Fig. 3 is transmitting-receiving schematic diagram of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, right below in conjunction with attached drawing of the present invention
Technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of the invention
Embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making wound
Every other embodiment obtained under the premise of the property made labour, shall fall within the protection scope of the present invention.
Referring to Fig.1-3, a kind of multiplex roles protocol-intelligent converter based on Linux platform uses TI (Texas Instrument)
Embedded Hardware Platform, (SuSE) Linux OS and the application software of AM3352 processor are by the various communications of industrial field device
Interface carries out network conversion, by Jlink emulator and Jtag interface, the uboot that AM3352 processor is provided and open source
Linux3.2.0 operating system is burnt in falsh memory, then installs the interface driver that AM3352 processor provides
Finish, realizes the deployment of operating system within hardware, while providing necessary environment for application software operation.In system starting
Flash storage is loaded.As long as program is in compiling plus the library FlashFileSystemD river to Flash
Memory is written and read.By loading Flash File System in an operating system, server end receives the configuration number of client
According to rear, save it in flash storage.Meanwhile corresponding process is opened and closed according to parameter, complete client
Specified protocol conversion.
Protocol conversion can carry out reading and writing data, data parsing, and data are transmitted according to configuration, automatic identification equipment.
Data are uploaded to server, cloud platform by computer network, can utilize cloud computing, big data fusion and analytical technology hand
Section carries out scientific disposal to data, to realize visualized management and the control of field device.
The multiplex roles protocol-intelligent converter based on Linux platform, specifically includes following functions: device configuration and pipe
Reason, multi-protocols access, protocol conversion and standard data format data are transmitted.
The multiplex roles protocol-intelligent converter based on Linux platform includes Embedded Hardware Platform, operating system, application
Three parts of software.
Transfer principle is described by taking CAN bus and the protocol conversion of the end RS485 as an example below:
In the memory headroom of main control chip, RS485 end data buffer area and CAN end data buffer area is respectively divided out, respectively
It is the transmitting-receiving message buffer at the end RS485 and the transmitting-receiving message buffer at the end CAN, protocol converter will connect in RS485 bus
The data message received is deposited into the reception buffer area of RS485 bus, and starting sends program as needed after message frame,
The data message for receiving buffer area is deposited into the buffer area that sends datagram at CAN bus end, being then converted into CAN bus needs
The protocol specification type wanted simultaneously is sent;, whereas if being the data packet sent from CAN bus, then opposite number is used
According to communication process.The storage of data continuation address may be implemented using the register inside main control chip, which is convenient for
Cyclic redundancy check and transmission data.In actual operation, it incorporates corresponding buffer area and uses round-robin queue's buffer area
Data structure: RS485 receives buffer area and merges with the transmission buffer area at the end CAN;The end RS485 sends buffer area and CAN is terminated
Buffer area is received to merge;Round-robin queue stores so that under limited RAM environment, significantly more efficient to utilize memory space, has simultaneously
Effect, which avoids, usually there is the case where receiving data accumulation and having little time processing in CAN communication, when the data of buffer area are available,
Read and write the value difference or full flag set of pointer;When buffer area data are empty, the value for reading and writing pointer is identical.
1, Embedded Hardware Platform
1.1 main control chip
Embedded Hardware Platform is using 32 ARM central processing unit designs, and TI (Texas Instrument) AM3352 processor is as master control
Chip, the processor are adopted based on ARM Cortex-A8 framework, and second level cache is possessed, and universal memory interface (supports DDR/
DDR2/DDR3), general memory interface, be internally integrated two gigabit ethernet link layer interface functions (Ethernet interface 1, with
Too network interface 2), 6 UART (serial ports), 2 McSPI, 3 I2C interfaces and a Jtag interface.Its internal height is integrated to be connect
Mouth greatly improves the reliability of system while reducing design difficulty.
AM3352 microcontroller and ethernet control module, CAN control module and UART are packaged, internal ROM
The integrated initialization api function and CommAPI function used for above-mentioned interface standard, user can call directly, enable CAN,
The exploitation of RS485, RS232 application greatly simplifies;CANopen driving is embedded in R0M in piece and not only improves reduction overall risk
And complexity, also bring the advantage of low-power consumption.Entire encapsulation is designed as the communication of each interface in industry and built-in network
Using providing inexpensive, easy to use, height optimization solution.
X5043 is " house dog " chip with EEPROM that Xicor company, the U.S. releases in recent years, also referred to as P control
Circuit.In existing control circuit, the characteristics of due to microcomputer and hardware itself, one-denier of control system is interfered and makes program
Out of control, microcomputer cannot automatically restore to normal condition and continue to run, after human intervention just can state back to normal, in view of very much
Industry control occasion is all unattended, so " house dog " circuit comes into being.This makes microcomputer can be certainly after occurring extremely
It is dynamic to reset to normal operating condition.X5043 provides four kinds of common functions: power supply electrifying resets control, " house dog " timing
Device, decompression management and ' 40 of the serial EEPROM with block protection function.The chip is simplifying hardware circuit design, reduces print
There is very big advantage in terms of the area occupied and raising reliability of making sheet.
The design of 1.2 network interfaces
In multiple network control chip, comprehensively considers transmission rate, price, power consumption and the factors such as anti-interference, selected Intel
The LXT972ALC chip of company, main PCS (Physical Coding Sublayer), PMA (the physics matchmaker for completing IEEE802.3 standard and defining
Body additional sub-layer) major function.Mutual conversion in addition to completing other interface data and network data, the Configuration Online of system
Long-range update with program is realized also by the network interface.In the design of network, the selection of isolating transformer is coupled to net
The influence of network interface is most important.
This system selects the HR61H40 transformer of Han Ren group to make Network Isolation, mainly realizes two functions:
(1) enhance signal;
(2) varying level for the heterogeneous networks equipment room that isolation cable is connected prevents damage when network cable transmission different voltages from setting
It is standby.
The design of 1.3 serial line interfaces
UART interface is connect with embeded processor;DDR3 is connect with universal memory interface;Nandflash and general memory interface
Connection;CAN module MCP2510CAN controls chip and realizes, is connect by McSPI interface with embeded processor.
The hardware protocol of RS485 is mainly that conversion completion is carried out by UART Universal Asynchronous Receiver Transmitter (UART);General transmitting-receiving
Device is exactly the main modular that equipment room carries out asynchronous serial communication, its main function is as follows:
(1) data conversion of external bus and serial port asked is handled;
It (2), can be in the case where not shared clock signal, only as long as communicating pair is using identical frame format and transmission rate
Communication process can be completed with two signal wires (RxD and TxD);
(3) when the asynchronous serial port is communicated, using independent Transmit-Receive Unit, the transmitting-receiving of controller is largely improved
Efficiency.
The selection of 1.3 memories and other
For storage program area, application program, user's Interactive Web Page, the configuration information of system and parameter, need to memory
It is extended.For this system using the AM29F040B-90JF of Advanced Micro Devices as the flash storage chip extended out, capacity is 4 M
× 8 bit very well satisfy the needs of system.32M SDRAM, data acquisition module realized with ADS7842, and by DG506
Chip realizes the selection to data acquisition channel;CAN communication module is realized by CAN controller SJA1000.3 RS232/ are provided
RS485 isolation communication serial ports, supports the programming of serial ports Free, supports CAN protocol freely to program, PORT COM is equal by 2 CAN mouthfuls
Designed using full Phototube Coupling, at the same isolation signals line, power supply, and have lightning stroke and carrying out surge protection;Traffic rate user can
Configuration, it is every to have independent data indication LED, 300~115200bps of RS232/RS485 traffic rate all the way;TCP communication speed
Rate 10/100Mbps.
2, Design of System Software
Operating system is the Linux3.2.0 system of open source, by Jlink emulator and Jtag interface, the uboot that TI is provided
It is burnt in nandfalsh with Linux3.2.0, the interface driver for then providing TI installs, and realizes operating system hard
Deployment in part, while necessary environment is provided for application software operation.
The selection of 2.1 development languages
The development language that T1 Texas Instrument AM3352 is supported has assembler language, C language and Java language.Wherein Java language is on boundary
Face, which is write, to be allowed to better meet the requirement of development system with the advantage on network.Meanwhile (Java is virtual by the JVM of TI2N I
Machine), although 40 kb of low memory occupied, it can but support most JVM functions, such as to the complete branch of thread
It holds and (could support up 16 threads), the support to all fundamental types and the support to Strings etc..In addition to supporting completely
Java. net packet is outer, also includes a javax. com subsystem completely realized.TI2N IOS operating system more makes Java
Ideal chose as this system development language.
The division of 2.2 system tasks
In conjunction with the characteristics of system and the principle of task division, the task of system divide as follows:
A) general each embedded system manages all user jobs by a job control task, so, multiplex roles
Protocol converter will also have a job control task to manage all operations.
B) it needs to open and close certain interfaces according to the demand of client in systems, and interface is initialized, with
And the data conversion of distinct interface is realized according to the requirement of configuration, this just needs an interface task to realize above-mentioned function.It connects
Mouth task is responsible for managing RS2232, RS2485 and network interface.
C) in order to enable client visually to view the state of equipment, and easily system is configured, it is necessary to people
Machine interactive task completes these functions.
D) for the ease of the diagnosis of the maintenance of system and failure, system need to carry out the downloading of program, update, debugging and
Configuration.And Telnet the and FTP function that the Slush in TIN I is provided can complete aforesaid operations.Program is realized using FTP
Downloading and update, utilize Telnet complete node Remote configuration.
In summary, system can functionally be divided into 4 tasks from realization:
(1) main task;(2) interface management task;(3) human-computer interaction task;(4) remote interaction task.
From design angle, then embedded software can be divided into 4 modules:
(1) Operation control module;(2) interface administration module;(3) human-computer interaction module;(4) remote loading module.
The realization of 2.3 parameter configurations
Its basic ideas are as follows: in Java App let source program, create a Socket (socket) to complete to turn with agreement
The communication of parallel operation.Then App let source program is compiled into Java bytecode, and Java bytecode is embedded in Web page, led to
It crosses B/S mode and accesses web data on Web server.In this way, when client browser browses this webpage, App let
By as the automatic downloading of a part of webpage, upon activation, Socket communication is carried out with protocol converter, realizes parameter configuration.
System balances the load of server end and browser end by Java App let, on the server by a part of original operation
Work assigned to browser end, reduce the load of server.
3, main points of the invention:
(1) it is based on Linux platform embedded development
Protocol conversion technology is based on Linux embedded system development, makes it have very hard real-time, can be used for various equipment controls
In;It is capable of providing powerful network function, supports ICP/IP protocol and other agreements, the support of TCP/UDP/IP/PPP agreement is provided
And unified MAC accesses layer interface, can be various mobile computing device spare interfaces.And convenient and simple for operation, offer friend
Good graphical interfaces.
(2) the online mass configuration of multi-protocols parameter
The online mass configuration of multi-protocols parameter is realized by flush type WEB server mode, and user by host computer without matching
It sets software and carries out parameter configuration, respective protocol IP address, port numbers, baud rate can be realized by the access of Computer Browser
Etc. parameters configuration.
(3) in such a way that B/S and C/S structure combines
User obtains the configuration interface of system by the browser of computer, how computer and protocol conversion is realized on the page
The dynamic interaction of device is the problem of must be taken into consideration.Client can be greatly simplified according to traditional B/S structure is although easy to operate
The load of computer is held, but causes the load of protocol converter excessive.Although and using traditional C/S structure can be with balanced service
The load of device and client, but client software must be installed, versatility is bad, and the maintenance of system is larger.In view of association
The processing capacity and its versatility of converter are discussed, this system is in design in such a way that B/S and C/S are combined.Access mould
In formula or B/S mode is used, embedded web server is accessed by browser, and uses C/S model and Java on communication pattern
The mode that App let technology combines is realized based on Windows Sockets.Java App let can be in any flat of compatible Java
It is directly run on the Web browser of platform.Respective advantage is thus combined, to keep the operation of protocol converter more steady
It is fixed.
4, the technical indicator of product
4.1 functional parameter
(1) support multi-protocols access: supporting RS-232, RS-485, CAN and network interface, no replacement is required existing serial equipment, also without
A large amount of human and material resources need to be put into, real-time data acquisition, the production monitoring, network automatically management of industry spot can be realized.
(2) support remote parameter setting: the system of multi-protocols intelligent converter operation realizes embedded type WEB _ Server
Function, connect network and protocol conversion device, logged in, its running parameter can be configured by IE browser.
(3) it supports the programming of serial ports Free, supports CAN protocol freely to program, facilitate operating with for user;
(4) hardware configuration complies fully with industrial standard, in terms of temperature range, vibration, Electro Magnetic Compatibility and interface
It is all made of special designing, ensure that the steady operation under adverse circumstances, provides high quality guarantee for your equipment.
4.2 performance indicator
(1) using 32 arm processor designs, it be furnished with the memory block 4M and 32M SDRAM;
(2) PORT COM is all made of the design of full Phototube Coupling, at the same isolation signals line, power supply, and have lightning stroke and surge is anti-
The function of shield;
(3) 3 RS232/RS485 isolation communication serial ports are provided, 2 CAN mouthfuls;
(4) traffic rate user is configurable, every to have independent data indication LED, RS232/RS485 traffic rate 300 all the way
~115200bps;TCP communication rate 10/100Mbps;
(5) power supply uses two-way DC9-36V/AC90~264V hot backup redundancy (optional), facilitates plant-grid connection;
(6) working environment index: operating temperature: -25 DEG C~70 DEG C, humidity: 5%-95%RH is without condensation, IP20 protection;
(7) there is power failure memory function, do not need Reparametrization after power-off.
The problem of present application addresses multiclass interface, various protocols equipment can not interconnect in industry spot supports institute
There are device data interaction, data acquisition, promotion and application of the informatization in underlying device is pushed, in addition, the present invention adds
Enter equipment management and configuration module, has great convenience for the user the configuration of the communication to all kinds of mass production equipment and personalization
Management.
Claims (9)
1. a kind of multiplex roles protocol-intelligent converter based on Linux platform, it is characterised in that: the converter includes embedded hard
Part platform and the host computer for being equipped with linux system, are provided with central processing unit on Embedded Hardware Platform, on central processing unit
It is connected with RS232 interface, RS485 interface, network interface and the CAN interface convenient for connecting with external equipment, central processing unit is logical
It crosses network interface and CAN interface and host computer communicates to connect;It is additionally provided on Embedded Hardware Platform and is connect with central processing unit
Memory module, network module, display module and data acquisition interface.
2. the multiplex roles protocol-intelligent converter according to claim 1 based on Linux platform, it is characterised in that: described
Central processing unit is 32 RAM processors.
3. the multiplex roles protocol-intelligent converter according to claim 1 based on Linux platform, it is characterised in that: described
The power module for power supply is additionally provided on Embedded Hardware Platform.
4. the multiplex roles protocol-intelligent converter according to claim 1 based on Linux platform, it is characterised in that: described
The house dog convenient for power-off restoration is also connected on central processing unit.
5. the multiplex roles protocol-intelligent converter according to claim 1 based on Linux platform, it is characterised in that: described
The CAN controller for being controlled CAN interface is additionally provided at CAN interface.
6. the multiplex roles protocol-intelligent converter according to claim 1 based on Linux platform, it is characterised in that: described
A/D module is additionally provided between central processing unit and data acquisition interface.
7. a kind of multiplex roles protocol-intelligent conversion method based on Linux platform, it is characterised in that: this method uses claim
Multiplex roles protocol-intelligent converter described in 1-6 any one based on Linux platform, its step are as follows:
(1) have multi-protocols parameter configuration software by host computer exploitation, multi-protocols parameter configuration software include Operation control module,
Interface administration module, human-computer interaction module and remote loading module, Operation control module are used to manage all operations of user;It connects
Mouthful management module be used to manage respectively with central processing unit communication each RS232 interface, RS485 interface, network interface it is initial
Change and data conversion;Human-computer interaction module is provided with parameter configuration interface, and parameter configuration is checked and carried out for user;It is long-range to add
Carry downloading, update, debugging and configuration that module carries out program for user;
(2) host computer is connect by multi-protocols parameter configuration software with central processing unit communication, and Operation control module receives use
Family instruction, using interface administration module by central processing unit to each RS232 interface being connected on Embedded Hardware Platform,
RS485 interface and network interface carry out initialization and the reading of device parameter, then are shown device parameter by human-computer interaction module
Show on parameter configuration interface;
(3) when needing to modify parameter, parameter modification can be carried out directly on parameter configuration interface, Operation control module receives
The parameter of modification is sent to using interface administration module by central processing unit and is connected to RS232 interface, RS485 by user instruction
The equipment of interface and network interface carries out parameter modification.
8. the multiplex roles protocol-intelligent conversion method according to claim 7 based on Linux platform, it is characterised in that:
In the memory headroom of central processing unit, exit port end data buffer area and outlet end data buffer zone is respectively divided, be respectively into
The transmitting-receiving message buffer at mouth end and the transmitting-receiving message buffer of outlet end, protocol converter will receive in input end bus
Data message be deposited into the reception buffer area of outlet end bus, starting sends program as needed after message frame, will
The data message for receiving buffer area is deposited into the buffer area that sends datagram of outlet bus end, is then converted into outlet end bus
The protocol specification type that needs simultaneously is sent;, whereas if being the data packet sent from outlet end bus, then using opposite
Data communication process.
9. the multiplex roles protocol-intelligent conversion method according to claim 7 based on Linux platform, it is characterised in that: institute
It states remote loading module and is provided with network interface, user can be matched using network interface with multi-protocols parameter by Web browser
It sets software and carries out webpage connection, parameter configuration interface is shown on webpage, carry out parameter reading and modification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811489277.XA CN109525474A (en) | 2018-12-06 | 2018-12-06 | A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811489277.XA CN109525474A (en) | 2018-12-06 | 2018-12-06 | A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109525474A true CN109525474A (en) | 2019-03-26 |
Family
ID=65794963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811489277.XA Pending CN109525474A (en) | 2018-12-06 | 2018-12-06 | A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109525474A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110262989A (en) * | 2019-06-14 | 2019-09-20 | 福建星云电子股份有限公司 | A kind of multifunctional communication converter and the means of communication |
CN111124427A (en) * | 2019-11-13 | 2020-05-08 | 山东中磁视讯股份有限公司 | Method, system and equipment for extracting and integrating data |
CN111464233A (en) * | 2020-05-18 | 2020-07-28 | 深圳市投资控股有限公司 | Relay converter for networking communication of ocean glider |
CN112202657A (en) * | 2020-10-15 | 2021-01-08 | 江苏新安电器股份有限公司 | Digital multiplexing communication method |
CN112714105A (en) * | 2020-12-11 | 2021-04-27 | 国网浙江省电力有限公司温州供电公司 | Embedded OPC UA protocol conversion system |
CN113014462A (en) * | 2021-02-22 | 2021-06-22 | 上海节卡机器人科技有限公司 | Data conversion method, device, controller and circuit thereof |
CN113285905A (en) * | 2020-02-19 | 2021-08-20 | 台达电子工业股份有限公司 | Cross-protocol control equipment and cross-protocol equipment restoring method thereof |
CN114745466A (en) * | 2022-04-01 | 2022-07-12 | 惠州市德赛西威智能交通技术研究院有限公司 | Linux system based mobile phone interconnection plug-in design system and method |
CN115134428A (en) * | 2022-06-28 | 2022-09-30 | 南京德通电力科技有限公司 | Automatic protocol switching method and system for communication manager |
CN115714720A (en) * | 2021-08-20 | 2023-02-24 | 中移物联网有限公司 | Embedded network framework and method for supporting multiple communication systems |
CN117376441A (en) * | 2023-12-07 | 2024-01-09 | 沈阳邦粹科技有限公司 | WIA-FA wireless access equipment and method supporting multi-protocol conversion in production manufacturing workshop |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201118640Y (en) * | 2007-07-20 | 2008-09-17 | 核工业理化工程研究院 | Multi-interface communication protocol converter |
CN101626351A (en) * | 2008-07-09 | 2010-01-13 | 青岛高校信息产业有限公司 | Multiprotocol data acquisition gateway |
CN102082742A (en) * | 2009-11-27 | 2011-06-01 | 中国科学院自动化研究所 | Intelligent network protocol conversion and communication control system |
US8219214B1 (en) * | 2008-03-18 | 2012-07-10 | Mimlitz James E | Supervisory control and data acquisition protocol converter |
CN202495966U (en) * | 2012-03-07 | 2012-10-17 | 陕西科技大学 | Embedded configurable multi-protocol communication network converter |
CN103595690A (en) * | 2012-08-13 | 2014-02-19 | 成都思迈科技发展有限责任公司 | A multi-serial port communication protocol converter based on an ARM |
CN104901877A (en) * | 2015-06-17 | 2015-09-09 | 燕山大学 | Multi-interface self-adaptive wireless heterogeneous network protocol conversion method and communication device |
CN106878163A (en) * | 2017-04-13 | 2017-06-20 | 冶金自动化研究设计院 | A kind of intelligent networking gateway of many data protocol conversions |
CN107995081A (en) * | 2017-12-29 | 2018-05-04 | 徐州中矿大传动与自动化有限公司 | The system and method for a variety of communication bus conversions is supported at the same time |
CN209105202U (en) * | 2018-12-06 | 2019-07-12 | 连云港杰瑞深软科技有限公司 | A kind of multiplex roles protocol-intelligent converter based on Linux platform |
-
2018
- 2018-12-06 CN CN201811489277.XA patent/CN109525474A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201118640Y (en) * | 2007-07-20 | 2008-09-17 | 核工业理化工程研究院 | Multi-interface communication protocol converter |
US8219214B1 (en) * | 2008-03-18 | 2012-07-10 | Mimlitz James E | Supervisory control and data acquisition protocol converter |
CN101626351A (en) * | 2008-07-09 | 2010-01-13 | 青岛高校信息产业有限公司 | Multiprotocol data acquisition gateway |
CN102082742A (en) * | 2009-11-27 | 2011-06-01 | 中国科学院自动化研究所 | Intelligent network protocol conversion and communication control system |
CN202495966U (en) * | 2012-03-07 | 2012-10-17 | 陕西科技大学 | Embedded configurable multi-protocol communication network converter |
CN103595690A (en) * | 2012-08-13 | 2014-02-19 | 成都思迈科技发展有限责任公司 | A multi-serial port communication protocol converter based on an ARM |
CN104901877A (en) * | 2015-06-17 | 2015-09-09 | 燕山大学 | Multi-interface self-adaptive wireless heterogeneous network protocol conversion method and communication device |
CN106878163A (en) * | 2017-04-13 | 2017-06-20 | 冶金自动化研究设计院 | A kind of intelligent networking gateway of many data protocol conversions |
CN107995081A (en) * | 2017-12-29 | 2018-05-04 | 徐州中矿大传动与自动化有限公司 | The system and method for a variety of communication bus conversions is supported at the same time |
CN209105202U (en) * | 2018-12-06 | 2019-07-12 | 连云港杰瑞深软科技有限公司 | A kind of multiplex roles protocol-intelligent converter based on Linux platform |
Non-Patent Citations (1)
Title |
---|
张科;张红娟;: "多接口协议转换器的设计与实现" * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110262989A (en) * | 2019-06-14 | 2019-09-20 | 福建星云电子股份有限公司 | A kind of multifunctional communication converter and the means of communication |
CN110262989B (en) * | 2019-06-14 | 2024-02-20 | 福建星云电子股份有限公司 | Multifunctional communication converter and communication method |
CN111124427A (en) * | 2019-11-13 | 2020-05-08 | 山东中磁视讯股份有限公司 | Method, system and equipment for extracting and integrating data |
CN113285905A (en) * | 2020-02-19 | 2021-08-20 | 台达电子工业股份有限公司 | Cross-protocol control equipment and cross-protocol equipment restoring method thereof |
CN111464233A (en) * | 2020-05-18 | 2020-07-28 | 深圳市投资控股有限公司 | Relay converter for networking communication of ocean glider |
CN112202657A (en) * | 2020-10-15 | 2021-01-08 | 江苏新安电器股份有限公司 | Digital multiplexing communication method |
CN112714105A (en) * | 2020-12-11 | 2021-04-27 | 国网浙江省电力有限公司温州供电公司 | Embedded OPC UA protocol conversion system |
CN113014462A (en) * | 2021-02-22 | 2021-06-22 | 上海节卡机器人科技有限公司 | Data conversion method, device, controller and circuit thereof |
CN115714720A (en) * | 2021-08-20 | 2023-02-24 | 中移物联网有限公司 | Embedded network framework and method for supporting multiple communication systems |
CN114745466A (en) * | 2022-04-01 | 2022-07-12 | 惠州市德赛西威智能交通技术研究院有限公司 | Linux system based mobile phone interconnection plug-in design system and method |
CN114745466B (en) * | 2022-04-01 | 2024-03-08 | 惠州市德赛西威智能交通技术研究院有限公司 | Mobile phone interconnection plug-in design system and method based on Linux system |
CN115134428A (en) * | 2022-06-28 | 2022-09-30 | 南京德通电力科技有限公司 | Automatic protocol switching method and system for communication manager |
CN115134428B (en) * | 2022-06-28 | 2024-01-30 | 南京德通电力科技有限公司 | Automatic protocol switching method and system for communication manager |
CN117376441A (en) * | 2023-12-07 | 2024-01-09 | 沈阳邦粹科技有限公司 | WIA-FA wireless access equipment and method supporting multi-protocol conversion in production manufacturing workshop |
CN117376441B (en) * | 2023-12-07 | 2024-02-09 | 沈阳邦粹科技有限公司 | WIA-FA wireless access equipment and method supporting multi-protocol conversion in production manufacturing workshop |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109525474A (en) | A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform | |
CN100524122C (en) | Bus controller for numerical control system of full digital ring bus | |
CN201294545Y (en) | Multi-protocol data acquisition gateway | |
CN101626351A (en) | Multiprotocol data acquisition gateway | |
CN101340404A (en) | Embedded gateway for wireless network protocol conversion between WiFi and ZigBee | |
CN201479158U (en) | Multi-interface gateway | |
CN102231718B (en) | Gateway of communication between Ethernet for control and automation technology (EtherCAT) and CAN, and communication method thereof | |
CN101631394A (en) | Multi-interface coordinator of wireless sensor network | |
CN101697075A (en) | Remote wireless network household appliance control system and access control method thereof | |
CN102143606A (en) | Wireless sensor network gateway for farmland information acquisition | |
CN100504688C (en) | Private chip for implementing bus controller function in ring bus numerical control system | |
CN105005363A (en) | Server platform based on universal ARM architecture | |
CN209105202U (en) | A kind of multiplex roles protocol-intelligent converter based on Linux platform | |
CN105589438A (en) | Intelligent mobile communication base station energy management system | |
CN101013315A (en) | General numerical control system based on full digital ring bus | |
CN105703988A (en) | WEB-based multiprotocol intelligent household gateway | |
CN106059877B (en) | EtherCAT main station module based on SPARC framework CPU | |
CN214281032U (en) | Intelligent power distribution gateway based on edge calculation | |
CN103064329A (en) | Photovoltaic device data collection system and implementation method based on singlechip | |
CN202395811U (en) | Protocol conversion device used for intelligent BMS | |
CN101013314A (en) | Integrated numerical control system based on full digital ring bus | |
CN205176626U (en) | Intelligent movement communication base station energy management device | |
CN106909206A (en) | A kind of high in the clouds penetrating type serial server | |
CN204833071U (en) | Server platform based on general type ARM framework | |
CN200997073Y (en) | Universal digital-controlled system based on digital ring bus |
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 |