当前位置:网站首页>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 .

边栏推荐
- Tencent cloud database tdsql- a big guy talks about the past, present and future of basic software
- 基于改进SEIR模型分析上海疫情
- Matlab draws ellipse code according to any angle, sampling points (resolution), position and size
- 源码分析及实践测试OpenFeign负载均衡
- 掌握高性能计算前,我们先了解一下它的历史
- 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
- Rmarkdown easily input mathematical formula
- 大学生毕业季找房,VR全景看房帮你线上筛选
- Monotonic stack structure
- 【C语言进阶】指针的进阶【中篇】
猜你喜欢

Tencent cloud database tdsql- a big guy talks about the past, present and future of basic software

【web】個人主頁web大作業「課錶」「相册」「留言板」

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

【C语言进阶】指针的进阶【中篇】

深入理解LightGBM

SAR image focusing quality evaluation plug-in

2022.05.28 (lc_516_longest palindrome subsequence)

How to query the database table storage corresponding to a field on the sapgui screen

618 great promotion is coming, mining bad reviews with AI and realizing emotional analysis of 100 million comments with zero code

Domain Driven Design (VI) - Architecture Design
随机推荐
Rmarkdown 轻松录入数学公式
Tencent cloud database tdsql- a big guy talks about the past, present and future of basic software
mixin-- 混入
Before we learn about high-performance computing, let's take a look at its history
VR全景作品中各式各样的嵌入功能是如何做到的?
騰訊Libco協程開源庫 源碼分析(二)---- 柿子先從軟的捏 入手示例代碼 正式開始探究源碼
[advanced C language] data storage [Part 2] [ten thousand words summary]
MicroNet实战:使用MicroNet实现图像分类
HW蓝队中级面试复盘
Source code analysis and practical testing openfeign load balancing
ESP8266 系统环境搭建
Easily learn pytoch full convolution neural network to realize expression recognition
2022.05.25 (lc_718_longest repeating subarray)
LeetCode_ Concurrent search set_ Medium_ 399. division evaluation
DataScience&ML:金融科技领域之风控之风控指标/字段相关概念、口径逻辑之详细攻略
Basic improvement - tree DP supplement
Key and encryption mechanism in financial industry
Congratulations | Najie research group of Medical College revealed the function of junB in the process of differentiation of artificial blood progenitor cells in vitro through multi group analysis
APICloud可视化开发新手图文教程
Performance and high availability analysis of database firewall