Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for implementing a distributed Internet of Things application execution engine

A technology of application execution and implementation method, applied in the field of Internet of Things, can solve the problems of reducing development cost, shortening the development cycle, and linearly increasing the amount of repetitive code in the application, so as to solve the problems of poor scalability, shorten the development cycle, and reduce the development code volume effect

Active Publication Date: 2020-12-11
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, IoT application development still faces many challenges. There are three main reasons: First, IoT devices and platforms are highly heterogeneous. Existing IoT applications need to be developed across heterogeneous devices and heterogeneous operating systems, and repetitive codes are applied. The amount grows linearly, and the amount of interactive code between heterogeneous APIs grows exponentially
Second, the scalability of most IoT application development frameworks or methods is poor, and the MCU processing capabilities of various IoT devices vary greatly. The existing development frameworks or methods can only provide support for some of the devices, and cannot to general
Third, IoT applications usually need to be developed separately on multiple devices such as the hardware side, the router side, and the cloud. In this case, the amount of development code is large and the development cost remains high.
However, the defects of these methods are also obvious - the amount of code developed is large, there are many API interaction codes and repetitive codes between each functional block, and separate development for different devices cannot effectively reduce the cost of object-side applications. Difficult development is not conducive to shortening the development cycle and reducing development costs
[0007] There are also some documents disclosing several relatively mature JavaScript engines in the field of Internet of Things, as well as embedded JavaScript engines that focus on portability and simplicity, which are easy to embed into other software to provide script execution functions, but embedded JavaScript The engine can only be integrated into the project to run and use in an embedded way, and it is not convenient to directly use JavaScript language for project development
Literature [8][9] is a JavaScript engine for a dedicated development board, which can directly use JavaScript as a development language, but this JavaScript engine cannot solve the problem of developing across heterogeneous devices and heterogeneous operating systems
For example, a lightweight JavaScript engine designed to run on very resource-constrained devices, such as devices with only a few KB of RAM (<64KB) to run the engine or limited ROM space (<200KB) for the code engine equipment, this solution can effectively solve the need for a unified development language and reduce the difficulty of development, but it still uses the method of multi-terminal separate development, the amount of code required for development has not been reduced, and it still cannot solve the problem of effectively reducing the amount of development code The problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for implementing a distributed Internet of Things application execution engine
  • Method and system for implementing a distributed Internet of Things application execution engine
  • Method and system for implementing a distributed Internet of Things application execution engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the technical solution of the present invention clearer, the present invention will be described in further detail below in conjunction with the accompanying drawings. It should be understood that the specific implementations described here are only used to explain the present invention and not limit the present invention.

[0039] Aiming at the problems of poor scalability, low cross-heterogeneous performance, and large amount of development codes in existing Internet of Things application development methods, the present invention proposes a lightweight distributed Internet of Things application execution engine suitable for Internet of Things application development. The present invention includes two parts: a program automatic slice distribution method and a lightweight JavaScript engine WebletScript (hereinafter referred to as WebletScript). The automatic program fragmentation distribution method abstracts heterogeneous devices based on configuratio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a distributed Internet-of-Things application execution engine realization method. The method comprises an execution engine construction step, wherein a JavaScript engine is written, and the JavaScript engine is deployed to a cloud device, an intelligent routing terminal, a terminal device and multiple object devices; a configuration document writing step, wherein properties of the object devices are written into a configuration document, so that the object devices are abstracted into a unified model; an application program writing step, wherein an application program is written on the terminal device according to grammar rules of JavaScript, and the application program is stored into the cloud device; an application program slicing step, wherein the application program is divided into program slices for the object devices according to the configuration document, and a main execution logic part is separated from the application program to generate a control program; an application program distribution step, wherein the control program and the program slices are distributed to the object devices; and an application program execution step, wherein the controlprogram and the program slices are executed on the object devices.

Description

technical field [0001] The invention is applicable to the field of the Internet of Things, and in particular relates to a distributed Internet of Things application execution engine. Background technique [0002] In recent years, the decline in the cost of microelectronics has brought about a decrease in the cost of key components, which has led to a substantial decline in the overall hardware cost in the IoT field. According to a Gartner report, the number of IoT devices has reached 4.9 billion in 2015, and it is expected that by 2020 In 2019, the global IoT market will exceed US$100 billion, and the number of IoT devices will reach 26 billion. However, in terms of application software, Internet of Things applications present the status quo of serious fragmentation, high development difficulty, and long development cycle. [0003] An IoT application usually consists of three parts: a cloud system, an object device, and an intelligent routing end. The existence of the routi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F8/41
CPCG06F8/315G06F8/427G06F8/447
Inventor 李栋黄斌赵泽崔莉
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products