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

Cross-platform multi-language compiling method and ultra-light Internet-of-Things virtual machine

A compiling method and multi-language technology, applied in the field of software development, can solve the problem that the software compiling volume and memory occupation requirements are getting higher and higher, and achieve the effect of small footprint and reduced firmware volume

Pending Publication Date: 2021-11-26
王喆
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, with the development trend of miniaturization of Internet of Things devices, smart meters and smart home appliances are more connected to the Internet of Things platform in the form of single-chip microcomputer + wireless module. The current common software development methods and platforms are difficult to be directly used on miniaturized IoT devices

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
  • Cross-platform multi-language compiling method and ultra-light Internet-of-Things virtual machine
  • Cross-platform multi-language compiling method and ultra-light Internet-of-Things virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In the following description, for purposes of illustration rather than limitation, specific details such as specific system architectures, interfaces, and techniques are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0033] The invention mainly compiles and runs various execution files in multi-language and cross-platform based on an ultra-light Internet of Things virtual machine. The ultra-lightweight Internet of Things virtual machine of the present invention is a general-purpose and streamlined virtual machine, which is mainly composed of a general grammar front-end parser, a compiler, and an executor, and ...

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 cross-platform multi-language compiling method and an ultra-light Internet-of-Things virtual machine. The method comprises the following steps: converting a source code formed by a high-level programming language into an intermediate code in a preset format through a general grammar front-end parser; compiling the intermediate code into a byte code in a preset format through a compiler; and judging whether the loading is cross-language loading or not, loading and executing the intermediate code in the preset format or the byte code in the preset format in combination with target loading time, and outputting an execution result. According to the method, a set of standard and extensible byte code formats are executed by using the ultra-light Internet-of-Things virtual machine, so grammatical characteristics of different programming languages can be met, multi-language mixed development is performed, a compiling volume and occupied memory are reduced by translating different languages into more abstract intermediate codes, and the virtual machine can be conveniently used on a miniaturized Internet-of-Things terminal.

Description

technical field [0001] The invention relates to the field of software development, in particular to a cross-platform multi-language compiling method and an ultra-light virtual machine for the Internet of Things. Background technique [0002] The Internet of Things is to connect all items with the Internet through information sensing devices for information exchange, that is, things are closely related to realize intelligent identification and management. In recent years, the Internet of Things has developed faster and faster, and various Internet of Things devices are becoming more and more common in our daily lives, such as smart homes, smart wearable devices, and so on. The commonly used software development languages ​​currently used in the IoT field include Python, JavaScript, Lua, HTML, CSS, and QML. In many cases, a software development platform needs to use the above-mentioned multiple languages ​​at the same time, so it needs Capable of multi-language mixed developm...

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 Applications(China)
IPC IPC(8): G06F8/41G06F9/455G16Y30/00
CPCG06F8/41G06F9/45558G16Y30/00Y02D10/00
Inventor 王喆
Owner 王喆
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