MoteBus is a message transport bus for peer-to-peer communication. It supports xMsg, xRPC protocols.
To use this package, it is necessary to acquire the motebus binary file from www.ypcloud.com/download/motebus.zip
7. Cloud Seven-Layer
OSI Layer MoteMsg Functions
7 Application
App365 Builder
App365 Framework
Apps, Human Interface, IoT Event
6
Shell
(Presentation)
mShell, mCloud, mHub
Object Transformation, Resource Interface
Security Token
5 Session xMsg, xRPC, xSync, xObj
Async/Sync Reliable Session Protocol
Session security
4 Transport
MoteMsg Protocol (MMP)
MoteMsg Address (MMA)
Message Transport Bus
Mote addressing and routing
3 Network TCP/IP, WiFi Networking addressing and routing
2 Data Link
Bluetooth, ZigBee
WSN etc.
Error detection and flow control
1 Physical Devices Physical media
8. SMTP
Simple Mail Transfer Protocol
xMsg
Message Protocol
HTTP
HyperText Transfer Protocol
xRPC
Extended RPC
Async
Async / Sync Reliable Protocol
xMsg and xRPC are based on MoteMsg Protocol (MMP)
Sync
ReliableUnreliable
10. MoteBus and IN
Web mote.js
MoteBus (motebus.js)
Web App
Web bus.js mms.js
Android Apk
ws: Ajax
Browser
Node.js
MoteBus (motebus.js)
Kernel
uCenter
DB
Web device
AI
IoT.js
EI device Microservices
mscreen@abc.com device@192.168.10.5 functions@center
MoteOS
(Node.js)
Intelligent Network (in.js) IN (in.js)
MMA (MoteMsg Address)
MoteBus (motebus.js)
IN (in.js)
Functions.js
MoteBus (Windows) MoteBus (Linux) MoteBus
Web socket.js Web mms.js
16. An Operating System for IoT and Blockchain
• A Linux based Operating System built in MoteBus
• MoteBus is a MessageTransport Bus based onTCP/IP network
• xMsg and xRPC are reliable delivery Session protocol for async. and sync communication
• MoteMsg Address unique network addressing method can support decentralized Internet
• MMA Addressing can establish Cluster network services without DNS and URL
• Development Studio supports Node.js, Python and Mote C++
• MoteOS is becoming a major operating system on top of Raspberry Pi today
• MoteBus integrate both IoT and Cloud,easy of use and built in security in Session layer will
replace RESTful and MQTT
• MoteOS is the best operating system for both IoT and Blockchain
17. HTTP/1
REST RPC
JSON / XML
HTTP/2
gRPC
IDL / ProtoBuf
MoteBus
xRPC
Flexible
DataObject
Transport
Inter-Process
Communication
Payload
xRPC vs. gRPC vs. REST
Transport Bus Comparison
TCP/IP TCP/IP TCP/IP
(Binary) (Binary)(Text)
(Streaming RPC) (Messaging RPC)
(One TCP) (One TCP)(Separate TCP)
(Non-Streaming)
Micro
Services
Micro
Services
Micro
Services
Layer-4Layer-7Layer-7
22. MoteBus
Peer-to-Peer
No LAN No WAN
Timeout Control
File is Object
tv@home
bike@road
screen@shop
MMA
MMA
MoteMsg Address
speaker@office
Cam@school
Inside Outside Process
AI
23. MoteBus and IN
Web mote.js
MoteBus (motebus.js)
Web App
Web bus.js mms.js
Android Apk
ws: Ajax
Browser
Node.js
MoteBus (motebus.js)
Kernel
uCenter
DB
Web device
AI
IoT.js
EI device Microservices
mscreen@abc.com device@192.168.10.5 functions@center
MoteOS
(Node.js)
Intelligent Network (in.js) IN (in.js)
MMA (MoteMsg Address)
MoteBus (motebus.js)
IN (in.js)
Functions.js
MoteBus (Windows) MoteBus (Linux) MoteBus
Web socket.js Web mms.js
24. MoteBus Inside
EI Merge Microservices
EI Device Microservices
Text
opencv.js
asr.js
tts.js
“ Turn the light on ”
mail.js
1
3
2
……
………..
……..