当前位置:网站首页>Only three steps are needed to learn how to use low code thingjs to connect with Sen data Dix data
Only three steps are needed to learn how to use low code thingjs to connect with Sen data Dix data
2022-06-10 19:50:00 【51CTO】
Sen data DIX Have strong data processing ability , Built in mainstream integration plug-ins , Minute level integration IT O & M scenarios and IoT Manage scenario data , Improve efficiency . For non mainstream systems , Support online JS Script editing , Provide flexibility 、 Canonical interface , Meet the personalized needs of low code , Easy one click docking of IOT data .
Q How Sen data relates to ThingJS Data integration ?
A: With HTTP Server Take the data ,ThingJS The platform passes DIX in HTTP Server DIP Data interaction , The way is in DIX HTTP Server DIP Written in JavaScript Script or splicing block code to realize data interaction .
With HTTP Server Take the data , Just three steps to learn how to use low code and Sen data DIX Data docking .

1. establish DIP
Q What is? HTTP Server DIP
A: HTTP Server DIP It's a Http Service interface , Interfaces can be written internally JavaScript Scripts filter third-party data 、 mapping 、 encapsulation ;DIX-Blockly yes DIX Visual programming , stay HttpServer DIP The code logic is spliced by dragging building blocks , Get third-party data and filter it 、 mapping 、 encapsulation , With Http Send data to ThingJS platform , So as to realize the actual business requirements .
DIP To configure
Custom fill in DIP name .

IN To configure
http The default service path is /http/rest, You can also customize the path .
Request mode : Refers to the way the client requests GET perhaps POST.

Script configuration
After entering the script configuration section , The left editor is JavaScript Script editing area , The code block on the right is a visual programming area .JavaScript Built in code templates in the script editing area , Data integration can be completed only by parameter configuration , Greatly reduce the technical difficulty and development cost .

(JavaScript Script editing area interface )
DIP Instance saving and starting
After the configuration information is filled in , Click save , After successful saving, the data will be saved in Sen DIX The data integration page of HTTPServer Of DIP Already exist . Click start , You can get the data of the third party , And send the processed data to ThingJS platform .

2. Data docking
Upload SDK
ThingJS The platform passes SDK Docking with Mori data DIX, First, in the ThingJS Upload in the project of the platform SDK.

Use SDK
Generate SDK Reference path : On the uploaded file name Right click -> Select the reference path .

adopt SDK Access to the data
Use SDK in Http Method to connect data , Dawson data DIX Page get created HttpServer DIP The address of . The interface address in the sample code url Option set to DIX Of HttpServer DIP Address of the interface , And then you can ask HttpServer DIP Got the data .

3. Data interaction
Sen data DIX Get the third-party data post-processing package , Map the obtained data to ThingJS Properties required by the platform , And encapsulated as ThingJS Data format required by the platform . Finally, return the mapped data to ThingJS The platform completes data interaction .

边栏推荐
- 腾讯Libco协程开源库 源码分析(二)---- 柿子先从软的捏 入手示例代码 正式开始探究源码
- HW蓝队中级面试复盘
- SAR image focusing quality evaluation plug-in
- 【web】个人主页web大作业「课表」「相册」「留言板」
- LeetCode_并查集_中等_399. 除法求值
- This article introduces you to j.u.c's futuretask, fork/join framework and BlockingQueue
- SQL statement to view the basic table structure and constraint fields, primary codes and foreign codes in the table (simple and effective)
- 我的第一部作品:TensorFlow2.x
- 轻松学Pytorch-全卷积神经网络实现表情识别
- Zabbix Server Trapper远程代码执行漏洞(CVE-2017-2824)
猜你喜欢

Super simple course design SSM student management system (including simple addition, deletion, modification and query of source code)

One article explains in detail the exploration and practice of eventmesh landing on Huawei cloud

一文带你了解J.U.C的FutureTask、Fork/Join框架和BlockingQueue

高考结束,VR全景云游为你展现景区的美好风光

Zabbix Server Trapper远程代码执行漏洞(CVE-2017-2824)
![[advanced C language] data storage [part I] [ten thousand words summary]](/img/d3/077189a235fd688d4504b7a62456e3.png)
[advanced C language] data storage [part I] [ten thousand words summary]

Micronet practice: image classification using micronet

How to increase the monthly salary of software testing from 10K to 30K? Only automated testing can do it
![[advanced C language] advanced pointer [Part 2]](/img/fe/44e7f7c39bd77239b9a70628768ecc.png)
[advanced C language] advanced pointer [Part 2]

618大促将至,用AI挖掘差评,零代码实现亿级评论观点情感分析
随机推荐
DDD landing practice repeat record of theoretical training & Event storm
100003字,带你解密 双11、618电商大促场景下的系统架构体系
Easily learn pytoch full convolution neural network to realize expression recognition
Matlab draws ellipse code according to any angle, sampling points (resolution), position and size
【 Web 】 page d'accueil personnelle 】 Programme d'études 】 albums de photos 】 babillard d'information 】
恭喜 | 医学院那洁课题组通过多组学分析揭示JUNB在体外分化人造血祖细胞过程中的功能
[6.4-6.10] wonderful review of Blog
LeetCode_并查集_中等_399. 除法求值
一文详解EventMesh落地华为云的探索及实践
在VR全景中如何添加聚合热点?内容模块如何添加?
Tencent cloud database tdsql- a big guy talks about the past, present and future of basic software
[01] every high-quality author deserves to be seen. Let's take a look at this week's high-quality content!
618 great promotion is coming, mining bad reviews with AI and realizing emotional analysis of 100 million comments with zero code
MATLAB 根据任意角度、取样点数(分辨率)、位置、大小画椭圆代码
Writing technical articles is a fortune for the future
2022.05.27 (lc_647_palindrome substring)
Yuntu says that every successful business system cannot be separated from apig
Source code analysis of Tencent libco collaborative process open source library (II) -- persimmon starts from the soft pinch, and the sample code officially begins to explore the source code
Logback排除指定包/类/方法日志输出
Detailed interpretation of tph-yolov5 | making small targets in target detection tasks invisible