牛插(PluginOK)中间件 论坛 框架对接 牛插(PluginOK)中间件框架提供的对接接口

标签: 

该话题包含 0 个回复,有 1 个参与人,并且由  zorrosoft3 月, 2 周 前 最后一次更新。

正在查看 1 帖子:1-1 (共 1 个帖子)
  • 作者
    帖子
  • #186

    zorrosoft
    管理员

    底层采用了WebSocket技术实现网页端和本中间件的通讯技术,所以网页端需要集成WebSocket,在非IE系列的浏览器中对WebSocket兼容性良好,而在IE10以下版本中兼容性很差,所以框架特别提供了在IE中使用WebSocket连接的ActiveX组件。对接接口协议都是通过WebSocket收发JSON的通讯包实现。
    如果您还没有安装牛插中间件,请先从这里 http://local.zorrosoft.com/Files/WRL.zip 下载解压,然后按文档TestWrl.txt说明进行安装。然后用谷歌浏览器打开在线测试网站:https://local.zorrosoft.com,然后点击连接即可成功和牛插框架通讯了。下面是框架支持的对接协议:

    1)、获取牛插中间件版本信息:
    举例:{“req”:”Wrl_Version”,”rid”:1,”para”:””}
    说明:连接主服务后可执行,返回当前牛插版本、当前电脑版本、唯一标识等;

    2)、请求重启牛插主服务,需要验证TK信息,TK由打包工具生成,24小时内有效。
    {“req”:”Wrl_Restart”,”rid”:2,”para”:{“TK”:”8EE0F6A89E301225DDD556DAEE460111F59EA39EB08EC5DC985725C33AFEACAB7076097D786164208D501EDD95F1CBDCADF174B6B005ECFB852BF6502A8CCAD1A8EC8C43A02DDF0B8932C4AB9F4D9E87F98ADAEA09AB5C4048FDDF4CF1E827CB4348B749470EE671E1B49251BFD6FCD4B490B7F828F3844C2EBED529588C90482A0E6E07E21137986153E9E0AECE68F3D61FC1F21639D97E11A0B94B3F5B2B23F16C40A6B17568B6BD2716AB7323D34BBC941CD80A833527320AA79E2F79A57659AADB7AB7B26D28593B6F415C1EF0EE033B35B3D723F98BECF0C334BB8C05DFF81104F84F2514D0E878BC8936D1962504939618EE43474438E5AC72E1E998D2″}}

    3)、请求卸载牛插中间件,需要验证TK信息,TK由打包工具生成,24小时内有效。
    {“req”:”Wrl_Remove”,”rid”:3,”para”:{“TK”:”630035EFB20C2E5433722C36BCBD2F11A5658041E0782837C9E7D9417186A20E8079EF9E70D536E47FC14AA9FE8E5726B7F4E5EB685AED4DC5C0D519ACE64BA2037D0569FFCDCA8AE31718D9B193C049581077898C6B7A3A8467EED0D44A7F02390E22AADBB82C8907EB3E4E1ACAC056A7C35A8444497B7A2E742627C084D99A5EB98AEB5164B237584B6DAAED75D64FBB5A1DEC8A832CCDCC589EA94012BF55B4AA327B7B09E72106A52281D2C6030CD3B3C4621C20270B33FA9B6738ED5042410ED94B3148B835BA19619438422B00EF2F4B3944142751D7F94A477C33FB42170CE337F09D80AA0021110CA70F588959BD2ED4F9240CB07E3A456D29945B52″}}

    4)、列出已安装所有插件:
    举例:{“req”:”Plugin_List”,”rid”:2,”para”:{“Detail” : 0}}
    说明:连接主服务后可执行,可获取当前已安装所有插件信息;

    5)、判断插件是否已存在
    举例:{“req”:”Plugin_Exist”,”rid”:3,”para”:{“PID” : “F90B1CF0-8485-40ec-B4E8-B87598AAB35D”}}
    说明:连接主服务后可执行,PID为插件唯一标识;

    6)、安装插件
    范例插件的安装:{“req”:”Plugin_Install”,”rid”:1,”para”:{“Name”:”Dll无界面插件范例”,”PID”:”A22E18F1-95F8-4FDB-99D2-188E5FB12B23″,”Date”:”2019-04-01″,”Desc”:”牛插DLL版COM插件范例-读写TXT记事本及获取当前系统信息”,”DownAddr”:”http://local.zorrosoft.com/Files/Plugin/PluginComDll.pid”,”MD5″:”F67DE66F7BE92CF8839BB405C1468BA2″,”Version”:”1.0.2.2″,”Size”:524288,”Type”:1,”Cookie”:””,”Auth”:””,”TK”:”49EE2AFBED8FAB4C062C302FEAB3B72E7EC0978BBBE6A956EAFA4DEE7525ABA59E7C27C494D162926D3FD0497C26F66BDCA4C0DA88F65A822BEE9FC8D752D03FC027D54059F46AD3AFCBA65594AE1A398035C480DE1CBBE1365D92FD16DC1355C2C6BB340D2BAB16F1101CB856911719054FB19BEB04DFB3EEA1DC33E7C162D00B48B32707C59E2D603B35F5F771791AE3838FFB6FACF1FED91B3A582283836EA0649E6967B8230E0ABAFE4951B2F4DAF259D9612418AD8226AC880F6D7EF15FA180D6CCFDECA6110486E9AC0D2C43E34B0F289FFE02AE739A88F674D256EA71964E0A6B86D87CB759C24D32E51B014C572844BC563B2FD83FCD1922D2FCB5C6″}}

    7)、插件升级
    {“req”:”Plugin_Update”,”rid”:1,”para”:{“Name”:”Dll无界面插件范例”,”PID”:”A22E18F1-95F8-4FDB-99D2-188E5FB12B23″,”Date”:”2019-04-01″,”Desc”:”牛插DLL版COM插件范例-读写TXT记事本及获取当前系统信息”,”DownAddr”:”http://local.zorrosoft.com/Files/Plugin/PluginComDll_Update.pid”,”MD5″:”EEB30432E50F6C4719372D59357486FF”,”Version”:”1.0.2.2″,”Size”:524288,”Type”:1,”Cookie”:””,”Auth”:””,”TK”:”6F03C1AA1B38CD80F4C05D32B901A20A33377E5518FB98386C02DB1006214A78A72F7CA4FF2E2BF72E068DB9E7E1ABF51329820C3D7064414B031C9C53F21FA61D74D87B1E8F76C7E4D4A92235555281052AA4E32E64ED5A3774FB30256B31DC44EE2CC49DAC366784B545C7836FA12B9E2CBD6A992C38B89816528A5971F9ED8A46A9778353858BBB101D655169C612DA29AE73B75D9F950E7BA80E27D84723EAB7CFB1047DDA4F54B4FD2E8B3213D91B401FC52439353D19492A28D56936718BF27A5546010C7655A2CB71F7FDBE3034A1BCCC2CB9C6F454988450E9F526B1FB65481E177E77631CD3F115DBC8FD7D84628D3DF81837149111F0DBD15809CC”}}

    8)、卸载插件:
    {“req”:”Plugin_Remove”,”rid”:1,”para”:{“PID”:”99225C6D-B7A3-441c-AEFB-3EE23ACA2209″,”Type”:2}}

    9)、牛插框架升级请求:
    {“req”:”Wrl_Update”,”rid”:1,”para”:{“Name”:”牛插升级包”,”Date”:”2019-05-08″,”Desc”:”解决可能因为安装路径权限不够导致的EXE插件加载异常问题”,”DownAddr”:”http://local.zorrosoft.com/Files/Update/Wrl_Update.pid”,”MD5″:”5698EB3ECAD315504C976EE853EE573E”,”Version”:”1.0.8.13″,”Size”:2686976,”Cookie”:””,”Auth”:””,”TK”:”5998FA9B192FDC35B5AE3B322472C94DDCC78A0A37B76B240B46028F62C5EE1CC252029AEE20506AA283193DB2827360A9BDB7888425A2978380407EB41E07A558A28333CE5A87EF7EFB38D2CC761ED14306D0A5F64B2F81AB0AC00A81DAC62F8E34D6BF71134A9C96ADFD303E0E63B9DDC761EB8AFBA0E20B1C81A7FB374A60A03D6AA1AB5C85F379B123371CFE3A41ECC8A9FA708F1E7178BAB342DD4024AC607485D6455CB352E9E4A1B187C6323580BB1C5B37C4614C552C146D4449B85A59508FA8360CDA98DEE53A939B18E40A5C6ED2CC82C8D692BA9AFF6E67DC2E1956E0FC962234D8BC663D7D18089D56B9A0EA588B351AE5FEAB30B37B10213B6E”}}

正在查看 1 帖子:1-1 (共 1 个帖子)

抱歉,回复话题必需登录。