CN103312600B - A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application - Google Patents

A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application Download PDF

Info

Publication number
CN103312600B
CN103312600B CN201310178616.3A CN201310178616A CN103312600B CN 103312600 B CN103312600 B CN 103312600B CN 201310178616 A CN201310178616 A CN 201310178616A CN 103312600 B CN103312600 B CN 103312600B
Authority
CN
China
Prior art keywords
interface
industrial
protocol
wide area
vpn
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.)
Expired - Fee Related
Application number
CN201310178616.3A
Other languages
Chinese (zh)
Other versions
CN103312600A (en
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.)
Weifang University
Original Assignee
Weifang University
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 Weifang University filed Critical Weifang University
Priority to CN201310178616.3A priority Critical patent/CN103312600B/en
Publication of CN103312600A publication Critical patent/CN103312600A/en
Application granted granted Critical
Publication of CN103312600B publication Critical patent/CN103312600B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

Under wan environment, realize method and the gateway apparatus of industrial bus communication, by one or more serial communication interfaces of the support RS232/485 in Presence Protocol interface, resolve the serial protocol being common to industrial instrument; By the smart machine that one or more RJ45 Ethernet interface access is on-the-spot, resolve or route industrial ethernet protocol; By Wide Area Network interface connecting wan network, acquiescence sets up VPN VPN (virtual private network), and loads the industrial ethernet protocol being applicable to Wide Area Network; Kernel portion, by USB configuration interface, reads the user profile USB dish from described USB configuration interface, resolves the bus protocol needing to support on serial ports according to configuration file, and load operating, by the data placement of exchange at intra-sharing memory space.Utilize the bus protocol gateway realizing I/O control hierarchy in the wide area network of the present invention, solve the problem using business Ethernet connection industrial field device only to monitor few control at present.

Description

A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application
Technical field
The present invention relates to industrial bus field, particularly relate to a kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application.
Background technology
Traditional industrial bus network service major part is all the application among a small circle based on limited distance, as to be applied on plant produced line or between a certain technique car in, range of application great majority are all within 1km scope, and traditional industrial bus gateway application is very suitable also very ripe in such occasion.The industrial occasions extended is applied at present based on Internet of Things, such as, to the centralized control of industrial automation system being distributed in each corner public utility of city, main equipment manufacturer is for supervision and the maintenance of selling equipment state, these application such as functional (communication/electric power) steel tower security monitoring, industrial bus more reliably should be used to realize, but due to the restriction of the communication distance of existing industrial bus and the complexity of wan networking environment, general all at Ethernet protocol or the 3G wireless communication technique of use commercial correspondance at present, and only realize the most basic Stateful Inspection function at present due to the consideration of reliability and secure context.
Realize industrial equipment by wide area network at present, the remote monitoring of system uses commercial Ethernet protocol technology, and reckon without the fail safe of industrial applications, reliability and real-time, so only realize less demanding general data function for monitoring.And when be used in some only need collection site instrument when, because most of instrument self does not have Ethernet network savvy, so scene must increase cost place a controller to realize protocol conversion and the network insertion of general purpose instrument bus.
Summary of the invention
The object of the present invention is to provide a kind of industrial bus protocol gateway device being applied to wan environment, industrial bus communication function is realized under wan environment, ensure that the fail safe of communication, reliability and real-time, the monitoring and controlling concentrated multiple far-end industrial automation equipment I/O rank can be applied to completely.And when only needing acquisition instrument, eliminating special controller, saving application cost.
The invention provides a kind of method realizing industrial bus communication under wan environment, it is characterized in that, described method comprises:
By power input interface, to industrial bus protocol gateway device input DC power, described interface has reversal connection protection function;
By one or more serial communication interfaces of the support RS232/485 in Presence Protocol interface, resolve the serial protocol being common to industrial instrument; By the smart machine that one or more RJ45 Ethernet interface access is on-the-spot, resolve or route industrial ethernet protocol;
By Wide Area Network interface connecting wan network, acquiescence sets up VPN VPN (virtual private network), and loads the industrial ethernet protocol being applicable to Wide Area Network;
Kernel portion, by USB configuration interface, reads the user profile USB dish from described USB configuration interface, resolves the bus protocol needing to support on serial ports according to configuration file, and load operating, by the data placement of exchange at intra-sharing memory space.
Kernel portion is further by the VPN parameter read in USB dish, and use Wide Area Network interface to attempt accessing the VPN in WAN network, after success, the Industrial Ethernet of carrying out I/O control hierarchy with the central apparatus be in same VPN communicates.
Described communication connects based on object to be carried out: node A sends the non-connection request message that a requirement connects in a broadcast manner, nodes all on network all receives this request, and judge whether to issue oneself, Node B issues oneself, just send the non-connection response message that comprises OCID in a broadcast manner, after node A receives, learn OCID, object connection establishment.
Only open 44818 and 2222 ports that Industrial Ethernet uses.
When inserting arbitrary USB dish, the configuration file of inside is written back in current USB dish by described gateway apparatus.
Meanwhile, the present invention also provides a kind of industrial bus protocol gateway device being applied to wan environment, and it is characterized in that, described gateway apparatus comprises:.
Power input interface, supports DC power supply input, has reversal connection protection function;
Presence Protocol interface, comprising: one or more serial communication interface, supports RS232/485, for resolving the serial protocol being common to industrial instrument; One or more RJ45 Ethernet interface, for accessing on-the-spot smart machine, is resolved or route industrial ethernet protocol;
Wide Area Network interface, for connecting wan network, acquiescence sets up VPN VPN (virtual private network), and loads the industrial ethernet protocol being applicable to Wide Area Network;
USB configuration interface, kernel portion reads the user profile USB dish from described USB configuration interface, resolves the bus protocol needing to support on serial ports according to configuration file, and load operating, by the data placement of exchange at intra-sharing memory space.
Kernel portion is further by the VPN parameter read in USB dish, and use Wide Area Network interface to attempt accessing the VPN in WAN network, after success, the Industrial Ethernet of carrying out I/O control hierarchy with the central apparatus be in same VPN communicates.
Described communication connects based on object to be carried out: node A sends the non-connection request message that a requirement connects in a broadcast manner, nodes all on network all receives this request, and judge whether to issue oneself, Node B issues oneself, just send the non-connection response message that comprises OCID in a broadcast manner, after node A receives, learn OCID, object connection establishment.
Only open 44818 and 2222 ports that Industrial Ethernet uses.
When inserting arbitrary USB dish, the configuration file of inside is written back in current USB dish by described gateway apparatus.
Accompanying drawing explanation
Fig. 1 is the industrial bus gateway apparatus profile and the structure explanation that realize the control of I/O rank based on wide area network application;
Fig. 2 is the interface framework of wide area network industrial bus gateway of the present invention;
Fig. 3 is the network configuration block diagram that wide area network industrial bus gateway of the present invention uses.
Embodiment
According to a particular embodiment of the invention, hardware aspect mainly meets the environment for use of the harshness of industry spot to guarantee to run without interruption for a long time; DIN guide rails assembling mode; Input/output interface is placed on panel and following side handled easily.Main input/output interface has:
Power input interface, supports the input of direct current 24VDC power supply, has reversal connection protection function;
USB configuration interface, adopts the mode of USB flash disk loading configuration file, personnel's parameters easy to use;
Presence Protocol interface, (1) 2 or 4 serial communication interfaces, support RS232/485, can resolve the serial protocol being common to industrial instrument; (2) 1 RJ45 Ethernet interface NET2, for accessing on-the-spot smart machine, resolve or route industrial ethernet protocol.
Wide Area Network interface, be positioned at the RJ45 interface NET1 of bottom for connecting wan network, acquiescence sets up VPN VPN (virtual private network), and loads the industrial ethernet protocol being applicable to Wide Area Network.
First kernel portion reads the user profile in USB dish, resolves the bus protocol needing to support on serial ports, and load operating, and by the data placement of exchange at intra-sharing memory space; The simultaneously Industrial Ethernet of the upper Supporting connectivity field intelligent device of optional load operating NET2, and equally by the data placement of exchange at intra-sharing memory space.Afterwards, by the VPN parameter in USB dish, NET1 is used to attempt accessing the privately owned dedicated network of a certain VPN in WAN network, after success, the Industrial Ethernet communication carrying out I/O control hierarchy is started with the central apparatus be in same VPN, communication herein adopts the reliability and the real-time that ensure that communication two party based on the mode of " object connection ", and both sides adopt the exchange cycle appointed and verification mode the data of intra-sharing memory space and central apparatus to be exchanged.
As mentioned above, technical scheme of the present invention adopts based on the communication modes of " object connection " and the communication cycle of agreement, guarantees reliability and the real-time of I/O control in wide area network complex network environment.Only open 44818 and 2222 ports that Industrial Ethernet uses, guarantee the fail safe of communication data.Integration USB configuration file load mode, even if those skilled in the art can set up VPN VPN (virtual private network) fast.
Embodiment one, realizes the industrial bus gateway apparatus of I/O rank control based on wide area network application.
With reference to Fig. 3, be row to set up at wide area network based on the communication modes of " object connection " and the communication cycle of agreement, reliability and real-time how to guarantee I/O control in complex network environment are described.
It is based on " object connects " that the wide area network that this device uses has an important feature by Industrial Ethernet, and namely must set up connection before communication starts, communication two party obtains only connection identifier (CID (ObjectConnectionID) jointly.If connect and relate to two-way transfer of data, just need two OCID.The definition of OCID and form are the random not Repeating Fields of a 32Bit of common agreement above communication.By obtaining OCID, the transmission of follow-up data message just need not comprise and connect relevant all information, only needs to comprise OCID, thus improves communication efficiency.Simultaneously OCID needs a data message to send cycle parameter, and this parameter is determined setting up in OCID process, and after OCID sets up, each data message sent as the cycle, guaranteed the certainty that message sends and real-time.And with this cycle for benchmark, according to network environment situation, if the two originating party of transmitting-receiving does not all receive the message of the other side within continuous print several cycle, then think disconnecting; Subsequent packet needs again to attempt connecting before transmitting.
If node A attempts to connect with Node B, it just sends the non-connection request message that a requirement connects in a broadcast manner, nodes all on network all receives this request, and judging whether to issue oneself, Node B issues oneself, and it is just made a response, also the non-connection response message that comprises OCID is sent in a broadcast manner, after node A receives, learn OCID, object connection just establishes.
Embodiment two, realizes the industrial bus gateway apparatus of I/O rank control based on wide area network application.
In industry spot, in order to accelerate the enforcement of automated system, General Requirements adopt send out most just, the most easy-to-use configuration mode and means; And when later stage system cloud gray model, also need the replacement of the shortest time and minimum operating procedure finishing equipment, to reduce system downtime.See figures.1.and.2, this sentences the applicating example of USB dish load configurations file, illustrates that industrial bus gateway apparatus loads the process of configuration:
1, operating personnel are without any need for special-purpose software, only need general text editor, open the default configuration file of the fixed name in USB dish, according to practical application, amendment several crucial application parameter wherein, as the communication time of OCID, the IP address of vpn server, cipher mode and password, preservation after completing;
2, USB USB dish being inserted into this industrial bus gateway apparatus configures after on mouth, and to gateway apparatus electrifying startup, gateway can read the configuration file in this USB dish automatically.Start rear USB dish can extract.
3, if reinsert arbitrary USB dish in running, then the configuration file of inside can be written back in current USB dish by this gateway apparatus, and the personnel of maintaining easily check and backup configuration information.
4, if attendant needs to change this gateway apparatus at the scene, only need the USB dish of gateway apparatus to be before inserted in new gateway apparatus.Network ip address and other configuration parameter of all devices are all suitable for new gateway apparatus.Just can run by restorer fast without the need to any professional knowledge.
Utilize the bus protocol gateway realizing I/O control hierarchy in the wide area network of the present invention, solve the problem using business Ethernet connection industrial field device only to monitor few control at present.Utilize the ability to communicate of I/O control hierarchy, the reliability and real-time monitored between center and far-end field apparatus can be improved.In conjunction with the protocol conversion function of gateway, when only gathering industrial instrument data, the use of on-the-spot controller can be reduced, saving the cost of system application.Utilize VPN technologies and only open limited several network port, providing the fail safe of network communication.Under the network condition using 3G wireless, conjunction bag can be carried out to field network side agreement, then in the unified transmission of wide area network side, decrease bandwidth occupancy and the campus network of 3G wireless telecommunications.
Above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to above-described embodiment to invention has been detailed description, it will be understood by those of skill in the art that it still can be modified to the technical scheme described in previous embodiment, or equivalent replacement is carried out to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of embodiment of the present invention technical scheme.

Claims (2)

1. under wan environment, realize a method for industrial bus communication, it is characterized in that, described method comprises:
By power input interface, to industrial bus protocol gateway device input DC power, described interface has reversal connection protection function; By one or more serial communication interfaces of the support RS232/485 in Presence Protocol interface, resolve the serial protocol being common to industrial instrument;
By the smart machine that one or more RJ45 Ethernet interface access is on-the-spot, resolve or route industrial ethernet protocol;
By Wide Area Network interface connecting wan network, acquiescence sets up VPN VPN (virtual private network), and loads the industrial ethernet protocol being applicable to Wide Area Network;
Kernel portion reads the user profile in USB dish by USB configuration interface, resolves the bus protocol needing to support on serial ports according to configuration file, and load operating, by the data placement of exchange at intra-sharing memory space;
Kernel portion is further by the VPN parameter read in USB dish, and use Wide Area Network interface to attempt accessing the VPN in WAN network, after success, the Industrial Ethernet of carrying out I/O control hierarchy with the central apparatus be in same VPN communicates;
Described communication connects based on object to be carried out: node A sends the non-connection request message that a requirement connects in a broadcast manner, nodes all on network all receives this request, and judge whether to issue oneself, Node B issues oneself, just send the non-connection response message that comprises OCID in a broadcast manner, after node A receives, learn OCID, object connection establishment;
Only open 44818 and 2222 ports that Industrial Ethernet uses;
When inserting arbitrary USB dish, the configuration file of inside is written back in current USB dish by described gateway apparatus.
2. be applied to an industrial bus protocol gateway device for wan environment, it is characterized in that, described gateway apparatus comprises:
Power input interface, supports DC power supply input, has reversal connection protection function;
Presence Protocol interface, comprising: one or more serial communication interface, supports RS232/485, for resolving the serial protocol being common to industrial instrument; One or more RJ45 Ethernet interface, for accessing on-the-spot smart machine, is resolved or route industrial ethernet protocol;
Wide Area Network interface, for connecting wan network, acquiescence sets up VPN VPN (virtual private network), and loads the industrial ethernet protocol being applicable to Wide Area Network;
USB configuration interface, kernel portion reads the user profile USB dish from described USB configuration interface, resolves the bus protocol needing to support on serial ports according to configuration file, and load operating, by the data placement of exchange at intra-sharing memory space; Kernel portion is further by the VPN parameter read in USB dish, and use Wide Area Network interface to attempt accessing the VPN in WAN network, after success, the Industrial Ethernet of carrying out I/O control hierarchy with the central apparatus be in same VPN communicates;
Described communication connects based on object to be carried out: node A sends the non-connection request message that a requirement connects in a broadcast manner, nodes all on network all receives this request, and judge whether to issue oneself, Node B issues oneself, just send the non-connection response message that comprises OCID in a broadcast manner, after node A receives, learn OCID, object connection establishment;
Only open 44818 and 2222 ports that Industrial Ethernet uses;
When inserting arbitrary USB dish, the configuration file of inside is written back in current USB dish by described gateway apparatus.
CN201310178616.3A 2013-05-15 2013-05-15 A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application Expired - Fee Related CN103312600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310178616.3A CN103312600B (en) 2013-05-15 2013-05-15 A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310178616.3A CN103312600B (en) 2013-05-15 2013-05-15 A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application

Publications (2)

Publication Number Publication Date
CN103312600A CN103312600A (en) 2013-09-18
CN103312600B true CN103312600B (en) 2016-04-27

Family

ID=49137399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310178616.3A Expired - Fee Related CN103312600B (en) 2013-05-15 2013-05-15 A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application

Country Status (1)

Country Link
CN (1) CN103312600B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108289050B (en) * 2018-01-25 2023-07-04 北京海智元科技有限公司 Ring network control system and control method for transmitter
CN108683521B (en) * 2018-04-20 2021-01-15 厦门爱陆通通信科技有限公司 Equipment configuration management method based on serial link
CN109884978A (en) * 2019-04-02 2019-06-14 浙江捷诺电器股份有限公司 A kind of remote system and its method for PLC device debugging

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272360A (en) * 2008-04-18 2008-09-24 浙江大学 Virtual special network safety gateway with multiple access modes
CN101540092A (en) * 2009-04-15 2009-09-23 无锡大禹科技有限公司 Mother-child type environmentally-friendly data acquisition transmission device
CN201903782U (en) * 2010-12-06 2011-07-20 黑龙江省科学院自动化研究所 3G wireless industrial network device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272360A (en) * 2008-04-18 2008-09-24 浙江大学 Virtual special network safety gateway with multiple access modes
CN101540092A (en) * 2009-04-15 2009-09-23 无锡大禹科技有限公司 Mother-child type environmentally-friendly data acquisition transmission device
CN201903782U (en) * 2010-12-06 2011-07-20 黑龙江省科学院自动化研究所 3G wireless industrial network device

Also Published As

Publication number Publication date
CN103312600A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN102710669B (en) A kind of method that firewall policy controls and device
CN105163364A (en) Intelligent device WiFi connection system and intelligent device WiFi connection method based on intelligent gateway
Bergmann et al. A CoAP-gateway for smart homes
CN103368263B (en) The detection method of dispatch automated system IEC104 stipulations communication state
CN102355479B (en) Method and equipment for forwarding traffic of multi-NAT (network address translation) gateway
CN104967656B (en) Remote transmission system for monitoring house deformation in real time through wireless ZigBee data acquisition
CN205281140U (en) Smart home system
CN102638460A (en) Residential gateway, cloud server and method for communicating residential gateway and cloud server
CN102611710B (en) Data interaction method and data interaction system for scheduling master station and transformer substation based on MMS (Multimedia Messaging Service)
CN104144080A (en) System and method for managing terminal equipment through far-end equipment
CN103312600B (en) A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application
CN204810306U (en) Moving ring monitoring system based on many nets fuse gateway
WO2013189381A3 (en) Link detection method and device for passive optical network
CN112787997A (en) Method for realizing intranet IP communication based on gateway serving as server side
CN110460483A (en) A kind of Profinet and Modbus equipment isomery network-building method based on SDN
CN103096300B (en) Base station virtual local area network identifier automatic obtaining method and system
CN103997533A (en) System and method for remotely maintaining dynamic terminals based on wireless network
CN102983988B (en) A kind of proxy for equipment device and network administration apparatus
CN105306276B (en) OAM protocol encapsulating method, system and EPON based on software defined network access net
CN104506425A (en) Instant messaging system based on family cloud host and method thereof
CN103152728A (en) Establishment method and device for remote connection
CN104104566B (en) Smart home based on multicast and the double protocol realizations of unicast automatically accesses system and its cut-in method
CN116600330A (en) HUB hierarchical topology management method and device based on NETCONF protocol
CN102710644A (en) Method and device for saving bandwidth in internet protocol (IP) monitoring system
CN214205565U (en) Intelligent gateway equipment fusing LoRa and NB-IOT wireless communication technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Du Fanrong

Document name: the First Notification of an Office Action

C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Wei Xianmin

Inventor before: Du Fanrong

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20160328

Address after: Weifang City, Shandong province 261061 Dongfeng East Street, No. 5147

Applicant after: Weifang College

Address before: 100102, 23 floor, building 601, Wangjing garden, Beijing, Chaoyang District, 2709

Applicant before: Du Fanrong

C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice

Addressee: Du Fanrong

Document name: Notification of Passing Examination on Formalities

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160427

Termination date: 20190515