Technology Sharing

View Library Docking Series (GA-T 1400) XIV. View Library Docking Series (this level) Add, modify subscription

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

illustrate

之前我们已经对接的设备,设备的话比较简单,是设备主动推送数据到平台的。  
相信大家已经会了,那今天开始的话,我们来做对接平台,相对难点点。
但搞懂了核心的订阅流程的话,其实就不难了。 
  • 1
  • 2
  • 3

Docking Platform

Subscription interface

订阅接口的话,有几个,添加、查询、更新、删除、取消订阅。 
如下:
  • 1
  • 2

insert image description here

process

First look at the document flow chart

subscription
insert image description here

notify

insert image description here

Let me tell you the general process.When we build a platform, if we need data from a lower-level platform, we send a subscription to the lower-level platform. After the lower-level platform responds, if there are subsequent data changes, it will use the notification interface to actively push the data to us.
It is somewhat similar to the subscription in the national standard protocol.

Functionality

Today we will first talk about the two parts of adding and modifying subscriptions. Because the interfaces of these two parts are somewhat similar.