当前位置:网站首页>I used Kaitian platform to build an urban epidemic prevention policy inquiry system [Kaitian apaas battle]
I used Kaitian platform to build an urban epidemic prevention policy inquiry system [Kaitian apaas battle]
2022-07-05 11:15:00 【Hua Weiyun】
1 Overview of Kaitian integrated workbench
According to the official documents of Huawei , The so-called Huawei cloud Kaitian integration workbench is based on Huawei's rich experience in digital transformation , Provide enterprise developers with an extensible integration framework based on metadata , Reduce the workload of integration between applications , And precipitate a variety of integrated assets, such as connectors 、 business model 、 industry API etc. . It can help customers quickly establish SaaS Connection channel between applications , Breaking the information island and “ Chimney type ” framework , So as to realize the rapid construction and online application , Continuously improve user experience .
The official website of the product is :https://www.huaweicloud.com/product/mssi.html . The overall architecture of Kaitian integration workbench is shown in the figure below :
Kaitian integrated workbench enables partners SaaS Go to the cloud efficiently , Build industry solutions with partners , Jointly precipitate and share industry experience . Kaitian integrated workbench provides the following core capabilities :(01) Standard data model management : Collection of domain information model 、 Definition 、 Ability to manage , Support the establishment of a standard domain information model base in the industry , Manufacturers in the industry should rely on the standard domain information model for interconnection .(02) agile API Life cycle management : Support partner's API Design 、 The implementation of 、 test 、 Release 、 Operation and maintenance 、 Consumption and operation , And can be encapsulated into connectors and streams that are easy to arrange .(03) Scalable connector management : It is the only way to extend the flow orchestration capability of the integrated workbench , Provides a wealth of preset connectors , Users can also be based on API Custom connector .(04) Visual flow management : Based on connector , Stream composition through visualization , Implement integration flow orchestration . The extension supports various forms of orchestration, such as process orchestration , Event arrangement, etc .
Kaitian integrated workbench Product advantage as follows :
(01) Rich industry experience : Industry oriented business model library , Get managers through 、 Business people and IT personnel . Industry capacity API turn , Covering industry 、 City Governance 、 education 、 office 、Message、Map、 Mobile applications, etc .SaaS Integration assets between applications are diversified , Open the box , Reduce delivery complexity .
(02) Flexible and easy-to-use integration : Integration mode based on standard business model , Each application only needs to be integrated once , Realization X*Y*Z become X+Y+Z. Open connection framework , Various connectors and flows can be defined flexibly , Adapt to the business logic of the enterprise .
2 Kaitian integrates workbench users and application scenarios
Kaitian integrated workbench is a “ to open up 、 symbiosis 、 intelligence 、 synergy ” The platform of , It is built developer 、 System integrator 、 Customer Between “ bridge ” and “ link ” . say concretely , Users can be divided into the following types :(01) Industry oriented API developer : Complete the industry in one stop API Design 、 layout 、 test 、 Publishing and consumption , make API Business economy .(02) For industry application developers : In a low code or zero code way , Easily build industry oriented SaaS application , Accelerate business innovation .(03) For system integrators : Seamless connection with customers , Integrated development , Deliver projects and O & M support . meanwhile , Precipitate the integrated assets of projects on the cloud , Improve delivery efficiency .(04) Facing customers : Use and management of enterprise integrated assets , And combine ecological resources, such as system integrators , Complete the construction of enterprise digital platform .
The application scenarios of Kaitian integration workbench are also very rich , It can be divided into three types of application scenarios :(01) Industry capacity opening scenario , The enterprise regards its own ability as API The form of service is open , adopt API Connect application developers 、 System integrator, etc , Serve more business scenarios , Quickly form an industrial chain , So that enterprises can meet the fragmented and growing needs of customers at the least cost .(02) Enable industry application innovation scenarios , Low code provided by partners through the integration workbench / The way of zero code , It is convenient to use various assets, such as industries API、 business model 、 Connectors, etc , Complete the development and deployment of the application ; It enables developers at different levels , Greatly enhance the supply capacity of enterprise applications .(03)SaaS Application interconnection scenario , Enterprise application construction is gradually carried out with business development , It is bound to solve the synergy between enterprise stock applications and new applications , By establishing the water pipe in the application room , Let value information flow within and among enterprises . Through the integrated workbench , Realize the cloud application room 、 Integration between cloud applications and enterprise internal applications . The following figures can be used to illustrate :
3 The urban epidemic prevention policy inquiry system is rapidly constructed
Various templates are built into Kaitian integrated workbench , You can quickly build streaming applications based on templates . Before developing your own application , Please ensure that the Kaitian integration workbench is successfully opened . Currently in the public beta stage , Free experience , The website opened is : https://www.huaweicloud.com/product/mssi.html .
Be careful : After applying for the public beta , The page will jump to the interface of opening workbench , The page shows 【 You have not opened the integrated workbench 】 It belongs to the normal jump process . Click on 【 Open now 】, Enter the industry and enterprise name , The account has officially opened the integration workbench .
Log in to the Kaitian integration workbench management console https://console.huaweicloud.com/macroverse/ssi/?region=cn-north-4#/console/portal . Get into 【 Stream orchestration 】【 My flow 】, First experience , You can click on the 【 Create a stream from a template 】 Tab , choice 【 Check the epidemic prevention policy of the city according to the entry and exit city 】 Templates to create . As shown in the figure below .
Click on 【 Create stream 】, Pop up screen , single click 【 continue 】, And display the visual management interface of flow arrangement , As shown in the figure below :
Here we first delete the node that sends the email , Then add a new SMS sending node , As shown in the figure below :
Be careful : After testing , Huawei SMS ( Experience ) The message content sent by the node cannot be too long , Otherwise, the sending will fail , therefore , I can simplify the content of SMS .
single click 【 Huawei SMS ( Experience )】, And edit the message content , As shown in the figure below :
Be careful : As the result of the risk level query in the epidemic prevention policy query is "0","1","2","3" equivalence , It's not intuitive , So we customized a function getRisk(riskId).
User defined functions can be defined through the following interface , At present, we support nodejs and python Two languages to create custom functions , The specific interface is as follows :
After the function is created , Can be tested , See if it works correctly , Here we need to pay attention to the data type of parameters , This returns a string "1" instead of The number 1 . The function code is as follows :
# -*- coding:utf-8 -*-import json## main Functions are the entry of methods ,## Set the variable of the variable form item ## Will be preset to inputData in ,## If you define parameters above name## It's in inoutData["name"] You can access variables name## result Is the output of this function , It can be a basic type or string type ##, It can also be Object type ,def main(inputData): result="" if inputData["riskId"] == '0' : result=" no " elif inputData["riskId"] == '1' : result=" Low risk " elif inputData["riskId"] == '2' : result=" Medium risk " elif inputData["riskId"] == '3' : result=" High risk " else : result=" Some medium and high risks " return result
The schematic diagram of test results is as follows :
Click the element node in the canvas on the left , Specific attribute information can be displayed on the right . Here we build a query system based on manually triggering events . The cities of epidemic prevention travel policy query in the template are specified in the first node , For better flexibility , We take cities as parameters , Incoming from the first node . Click the first node , And add parameters :
then , In the first node , Add parameter value , stay 【 Dynamic content 】 You can select the parameters defined in the previous step ,from and to . As shown in the figure below :
thus , We can do it 【 Save and test 】, In this way, you can test whether the customized travel epidemic prevention policy query can work , After correct execution , There can be SMS notification :
【 Open the sky aPaaS Big fight 】 The award-winning essay solicitation is in full swing :https://bbs.huaweicloud.com/blogs/360253 Besides , stay (https://bbs.huaweicloud.com/activity/suggestion.html) Put forward your valuable suggestions , The title is 【 Cloud resident program - Directional essay solicitation 】 start , There is also a chance to win additional rewards .
边栏推荐
- 无密码身份验证如何保障用户隐私安全?
- Bidirectional RNN and stacked bidirectional RNN
- 关于 “原型” 的那些事你真的理解了吗?【上篇】
- Buried point 111
- 7.2每日学习4
- 32:第三章:开发通行证服务:15:浏览器存储介质,简介;(cookie,Session Storage,Local Storage)
- DDR4硬件原理图设计详解
- DDoS attack principle, the phenomenon of being attacked by DDoS
- Question bank and answers of special operation certificate examination for main principals of hazardous chemical business units in 2022
- 【Office】Excel中IF函数的8种用法
猜你喜欢
Talk about the understanding of fault tolerance mechanism and state consistency in Flink framework
DDR4硬件原理图设计详解
The first product of Sepp power battery was officially launched
Codeforces Round #804 (Div. 2)
DDR4的特性与电气参数
Based on shengteng AI Aibi intelligence, we launched a digital solution for bank outlets to achieve full digital coverage of information from headquarters to outlets
华为设备配置信道切换业务不中断
How to make full-color LED display more energy-saving and environmental protection
购买小间距LED显示屏的三个建议
LSTM applied to MNIST dataset classification (compared with CNN)
随机推荐
shell脚本文件遍历 str转数组 字符串拼接
Beego cross domain problem solution - successful trial
When using gbase 8C database, an error is reported: 80000502, cluster:%s is busy. What's going on?
go语言学习笔记-初识Go语言
2022 chemical automation control instrument examination questions and online simulation examination
Oneforall installation and use
Explanation of message passing in DGL
How can edge computing be combined with the Internet of things?
DGL中的消息传递相关内容的讲解
【爬虫】wasm遇到的bug
数据类型 ntext 和 varchar 在not equal to 运算符中不兼容 -九五小庞
Process control
spark调优(一):从hql转向代码
边缘计算如何与物联网结合在一起?
居家办公那些事|社区征文
关于vray 5.2的使用(自研笔记)
Scaffold development foundation
go语言学习笔记-分析第一个程序
Network security of secondary vocational group 2021 Jiangsu provincial competition 5 sets of topics environment + analysis of all necessary private messages I
技术分享 | 常见接口协议解析