当前位置:网站首页>Several ways of connecting upper computer and MES
Several ways of connecting upper computer and MES
2022-07-28 03:48:00 【Brother Chang said programming】
Preface
In practical application , Students often ask : How does the upper computer communicate with MES Information exchange ?
Today I would like to introduce , The upper computer and MES Several common ways of docking .
database
Database is a skill that any developer must master , therefore , For some simple interactions , It should be acceptable to both parties through the database , Pay attention here , Try to avoid handling production data sheets , According to the actual business scenario , By adding a data table dedicated to interaction , To reduce operational errors .
file
sometimes , The upper computer can also communicate with... Through files MES Interaction , It can be files in various formats , text file 、excel、xml Fine . such as , Host computer or MES Generate text files regularly , The generation time of the other party's detection file , To determine whether the process is completed , Then realize the follow-up process .
Transport layer TCP
there TCP Refers to the transport layer TCP, Both parties have agreed on the contents of the agreement , adopt Socket Connect , Send and receive , To achieve data communication .
application layer TCP
application layer TCP Including some defined application layer protocols , such as ModbusTCP、MQTT、OPCUA etc. .
KepServer
There are developers from some manufacturers , For convenience , Will use KepServer To do data interaction ,KepServer You can not only walk OPC, It also supports databases or Iot Gateway Plug-ins and other methods .
WebService
WebService It's a SOA( Service oriented programming ) The architecture of , It is not dependent on language , It doesn't depend on the platform , Different languages can be implemented ( adopt xml describe ) Call each other between , adopt Internet Based on Http The interaction between network applications of the protocol . adopt SOAP stay Web Software services provided on , Use WSDL The document explains , And pass UDDI To register .
WebApi
WebApi Is a simple build HTTP A new framework for services . stay .Net On the platform WebApi It's an open source 、 ideal 、 structure REST-ful Service Technology , Can be deployed in applications and IIS On .
Of course , We can also pass Http Protocol to achieve docking , After all WebApi The essence of Http agreement .
WCF
WCF Is based on SOAP Of , The data format is XML,WCF yes Web Service(ASMX) The evolution of , Can support a variety of protocols , image TCP,HTTP,HTTPS,Named Pipes, MSMQ. however WCF The main problem is , It's very complicated to configure , therefore WCF Less and less used .
边栏推荐
- 单调栈——739. 每日温度
- Advanced Mathematics (Seventh Edition) Tongji University exercises 3-6 personal solutions
- Common weak network testing tools
- 贪心——53. 最大子数组和
- [P4] check the differences between the two historical versions of the library file
- [openvx] VX for basic use of objects_ lut
- Collection | 0 basic open source data visualization platform flyfish large screen development guide
- 收藏|0 基础开源数据可视化平台 FlyFish 大屏开发指南
- 接口自动化测试,完整入门篇
- [force deduction] 1337. Row K with the weakest combat effectiveness in the matrix
猜你喜欢

Vertical align align the elements in the row are vertically centered

Differences among BRD, MRD and PRD

Server memory failure prediction can actually do this!

静态博客搭建工具汇总

Appnium--APP自动化测试工具

Xctf attack and defense world web master advanced area php2

Protocols in swift

ES6 from getting started to mastering 08: extended object functions

接口自动化测试,完整入门篇

Dynamic planning - 62. Different paths
随机推荐
How to solve MySQL deep paging problem
一篇文章掌握Postgresql中对于日期类数据的计算和处理
C语言力扣第45题之跳跃游戏 II。遍历跳跃
Lightpicture - exquisite drawing bed system
Tungsten Fabric SDN — BGP as a Service
做自动化测试,你后悔了吗?
95后阿里P7晒出工资单:真的是狠狠扎心了...
deepstream 检测结果截图
Leetcode58. 最后一个单词的长度
Interview essential skills: SQL query special training!
Vertical align align the elements in the row are vertically centered
[P4] check the differences between the two historical versions of the library file
[openvx] VX for basic use of objects_ image
Leetcode skimming: dynamic programming 08 (segmentation and subsets)
pip-script. py‘ is not present Verifying transaction: failed
Data mining-01
Unity simply implements the dialog function
Implementation of online rental system based on SSM
Day08 redis的基础知识
【图像分类】2021-MLP-Mixer NIPS