Ai-Things IoT Platform Documentation
website·Indexed 31 days ago
https://doc.iot-aithings.comDocumentation for the Ai-Things IoT cloud platform, covering hardware module flashing tutorials for Ai-M61, Ai-M62, Ai-BW16, Ai-BW20, and Ai-WB2 series. Includes guides on product definition, MCU and module OTA updates, device panel development, virtual device debugging, and App integration for Google Play, Apple App Store, and various manufacturer push notification services (Huawei, Xiaomi, OPPO, vivo, Honor).
What's inside Ai-Things
- The offline control panel is built using a Vue 2.x ecosystem. The technical stack includes Less for styling, VantUI for components, antv/f2 for data visualization, animate for animations, and postcss-px-to-viewport for responsive layout. The framework source code is available on GitHub.Framework Repository: https://github.com/ubases/app-device-panel
Overview of Global Service Deployment
The platform provides global service clusters deployed across multiple regions, including China, Southeast Asia, Europe, and North America, to ensure coverage across core global business areas.Overview of the AIoT platform by Aithings
Aithings provides a global AIoT platform offering a full-stack IoT solution for smart device enterprises. The platform integrates wireless communication modules, device firmware, and upper-layer applications, including mobile apps, multi-language voice assistants, and cloud platforms. It is specifically optimized for consumer electronics, with a strong focus on the environmental appliance vertical. The platform supports global deployment and multiple languages, including Chinese, English, French, Italian, German, and Spanish.Overview of the Embedded Panel Generation Tool
The Embedded Panel Generation Tool is a drag-and-drop GUI builder designed for embedded system developers. It allows users to design user interfaces by placing and configuring graphical elements such as buttons, sliders, text boxes, images, and animations. The final output is a ZIP code package that can be integrated into an embedded project to run on the device.Overview of App Message Push Notifications
The App Message Push notification module allows developers to send real-time notifications and information to end-users (App users). This functionality is used to enhance user experience, increase user activity, and implement remote control scenarios. Developers can configure the effective time, target users, push content, and the action triggered when the notification is opened via the development platform.Overview of Aithings IoT Platform operational support features
The Aithings IoT development platform provides full-link operational support for developers and C-end users through three core capabilities:
- Intelligent Marketing Push: Reaching users via App messages and splash screen pushes to increase conversion and device usage.
- Efficient User Service: An online feedback system for real-time response combined with updated help documentation to reduce support costs.
- Dynamic Information Maintenance: Ensuring product information is synchronized in real-time for a consistent user experience.
Overview of App Splash Screen Push notifications
The App Splash Screen Push feature is available in both the Aithings (爱星物联) App and customer OEM Apps. It allows developers to display a customized startup screen when a user opens the application to increase brand exposure, attract user attention, and deliver important messages such as brand logos, slogans, special promotions, or latest activities. The feature is managed via the development platform, where users can configure the display duration, target audience, and the specific content of the splash screen.Overview of Data Management statistics
The Data Management system provides statistical tracking and visualization for device and user metrics. Key tracked metrics include:
- Device Activation: Daily, monthly, and cumulative activation statistics.
- Device Faults: Daily, monthly, and cumulative fault statistics.
- APP Users: Daily, monthly, and cumulative registration statistics.
- APP Active Users: User activity statistics for the most recent 30 days.
All statistical data is desensitized and encrypted in compliance with data security regulations to ensure there are no security risks while remaining useful for product analysis and market trend research.
Backend development and integration workflow
The Aithings IoT cloud platform uses a microservices architecture exposing APP and Cloud APIs. Backend customization is only necessary if standard device monitoring and control are insufficient. The integration process follows these steps: 1. Study source code and documentation; 2. Evaluate functional changes and database/module impact; 3. Design microservice logic and APIs; 4. Develop business logic and API interfaces; 5. Perform joint testing with APP, WEB, and devices.Prometheus Overview and Core Features
Prometheus is an open-source system monitoring and alerting toolkit and time-series database. It is used in the IoT Cloud Platform to monitor microservices health and performance. Key features include:
- Multi-dimensional Data: Uses a time-series data model identified by metric names and key-value pairs.
- PromQL: A powerful query language for slicing and dicing time-series data to create graphs, tables, and alerts.
- Visualization: Integrates with Grafana and includes a built-in expression browser.
- Efficient Storage: Stores data in a custom format in memory and on local disk.
- Pull-based Collection: Primarily pulls time-series data via HTTP, though it supports a push-based model for short-lived jobs (e.g., cron jobs) via a Pushgateway.
- Service Discovery: Supports both static configuration and dynamic service discovery to find targets.
Use AIThings Public Cloud for IoT Development
The AIThings Public Cloud platform provides self-service online tools for the entire smart product development lifecycle. It supports developers in thing model (物模型) design, module selection, embedded development, firmware updates, and application development. For operations teams, it provides marketing channels, data reports, user data, and device information for pre-sales promotion and after-sales maintenance.Manage iOS App dependencies and Cordova assets
The iOS App utilizes a hybrid architecture combining native code and Cordova. Dependencies are managed as follows:
- Third-party Libraries: Use CocoaPods for libraries available in Pods repositories; otherwise, import them as source code directly into the project.
- Cordova Base Library: Native code is imported via
xcodeprojasCordovaLib. JavaScript code is located in the project'swwwdirectory. - Cordova Plugins: Native code is imported into the project's
Pluginsdirectory based on the plugin configuration files. JavaScript code is located inStaging > www > plugins. - H5 Frontend Development: All files in the
wwwdirectory—excludingcordova_plugins.js,cordova-js-src,cordova.js, and thepluginsfolder—are H5 frontend files and can be replaced with custom frontend development code.