Method and system for deploying third-party application to microcontroller by edge assistance

A technology of microcontrollers and edge servers, applied in software deployment, program control design, instruments, etc., can solve the problems of consuming large network bandwidth and exacerbation, so as to reduce software complexity and development burden, reduce usage, and increase code The effect of execution efficiency

Active Publication Date: 2020-03-31
FOSHAN POLYTECHNIC
View PDF12 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this method does not have the problems caused by the previous two methods, re-downloading the entire software package from the cloud often consumes a large amount of network bandwidth, especially when passing through the billing network, and all applications on the device to be upgraded must be This problem is further exacerbated by the overall overloading of the network

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 deploying third-party application to microcontroller by edge assistance
  • Method and system for deploying third-party application to microcontroller by edge assistance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] (1) When the user starts to deploy the three application programs A, B, and C to the IoT node, and sends the instruction to the application change collection module located on the development machine.

[0053] (2) The application change collection module receives the above instructions, and generates the download instructions Ad, Bd and Cd of the three application programs. These download instructions contain the intermediate bytecodes Ai, Bi and Ci of the three application programs of A, B and C respectively.

[0054] (3) The edge server receives Ad, Bd and Cd. Since the current IoT node is empty, the intermediate bytecode state of the temporary node is empty. At this point, the edge server updates the temporarily stored intermediate bytecode states to Ai, Bi, and Ci.

[0055] (4) The edge server compiles Ai, Bi, Ci into local codes Ac, Bc, and Cc that can be executed on the microcontroller through the code generation module.

[0056] (5) The edge server allocates a...

Embodiment 2

[0059] (7) When the user adds application D to the IoT node, and updates the version of C to C2, remove application B at the same time.

[0060] (8) The application change collection module obtains the above instructions, and generates the download instruction Dd of the application program D, the differential upgrade instruction Cu of the application program C, and the delete instruction Br of the application program B. Dd contains the intermediate bytecode Di of D, Cu contains those parts of C2's intermediate bytecode C2i that differ from Ci, and Br contains nothing but delete instructions.

[0061] (9) The edge server receives Dd, Cu and Br. Due to the currently temporarily stored intermediate bytecode state bits Ai, Bi, and Ci, the combination of Ai, Bi, Ci, and Di is obtained by applying Dd, the combination of Ai, Bi, C2i, and Di is obtained by applying Cu, and finally the combination of Ai, Bi is obtained by applying Br , C2i and Di are the final intermediate bytecode st...

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 discloses a method and system for deploying a third-party application to a microcontroller in an edge-assisted manner. The method comprises the steps: transmitting an instruction packageto an edge server, and compiling an updated intermediate byte code of equipment into a corresponding native instruction set code according to the application of the instruction package to the contentof the intermediate byte code of a current node temporarily stored on the edge server; allocating the size of each application partition according to a compiling result; according to the allocated memory address of each application, each application is statically or dynamically linked to a corresponding position, a binary image is generated and downloaded into an application node, and updating ofthe application node is completed; the usage amount of network bandwidth is reduced, and the deployment of application programs is accelerated; the code execution efficiency on the microcontroller with compact resources is improved, and the usage amount of the memory is greatly reduced; and the software complexity and the development burden of the microcontroller are reduced.

Description

technical field [0001] The present disclosure relates to the field of program deployment and embedded systems, in particular to a method and system for edge-assisted deployment of third-party applications to microcontrollers, which is suitable for application deployment in multi-application microcontroller embedded systems. Background technique [0002] With the advancement of technology, various types of embedded devices and non-embedded devices and their organizational methods are becoming increasingly complex, so they are internally divided into multiple protection domains and run in each protection domain. The need to dynamically deploy multiple applications on devices is also rapidly increasing. However, the microcontroller does not have a memory management unit (Memory Management Unit, MMU) but only a memory protection unit (Memory Protection Unit, MPU); the MMU can perform mapping from virtual addresses to real addresses, while the MPU does not have this One function...

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/60G06F8/658G06F8/41
CPCG06F8/60G06F8/658G06F8/41G06F9/4552G06F8/48G06F9/44557G06F8/44
Inventor 肖志良曾绍稳黄一原
Owner FOSHAN POLYTECHNIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products