Method for long connection communication of embedded terminal
An embedded terminal and long-term connection technology, which is applied in digital transmission systems, data exchange networks, electrical components, etc., can solve the problems of high multi-threading overhead and complex data synchronization, achieve simple and clear processes, reduce the occupation of memory resources, Avoid the effects of cumbersome interactions
Image
Examples
Embodiment
[0025] In order to make the purpose of the present invention, technical solutions and advantages clearer, the present invention is described in further detail below in conjunction with embodiment:
[0026] The embodiment provides a method for implementing long-connection communication of an embedded terminal with a single thread, and its specific application example can be applied to an intelligent gateway in a smart home scene. The smart gateway establishes a persistent connection with the cloud server; sends task instructions to the smart gateway through the persistent connection, so that the smart gateway can perform corresponding tasks according to the task instructions; after the smart gateway completes the task, it reports the corresponding status data and control reply. It can be integrated to provide development and use for SDK.
[0027] In step S01, for terminals with different operating systems, for example, the home smart gateway generally uses FreeRTOS or Linux, an...
PUM
Login to View More Abstract
Description
Claims
Application Information
- IPC
- H04L29/08; H04L12/26; H04L29/06
- CPC
- H04L43/10; H04L67/141; H04L69/162
- Inventors
- 袁中庆; 李世绍

