Mask making method and apparatus for webassembly applications

By generating and storing mask data files on resource-constrained devices, the problem of installing WebAssembly applications on resource-constrained devices is solved, and the effect of directly installing WebAssembly applications is achieved.

CN117785251BActive Publication Date: 2026-11-20BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311777973.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2026-11-20
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

Resource-constrained devices cannot install WebAssembly applications by downloading installation packages.

Method used

By obtaining the pre-set starting address of the mask code in the read-only memory area, the starting address of the registry in the read-only memory area, and the starting address of the module static type data in the non-volatile memory area, the binary executable file of the WebAssembly module is parsed, and the mask code, module registry, and module static type data are generated and stored, and then merged into a mask data file.

Benefits of technology

This technology enables the direct installation of WebAssembly applications on resource-constrained devices, overcoming the limitations of downloading installation packages and improving application installation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117785251B_ABST
    Figure CN117785251B_ABST
Patent Text Reader

Abstract

The present specification provides a mask manufacturing method and device of a WebAssembly application. The method comprises: performing the following processing on a WebAssembly module (referred to as a module) for manufacturing a mask of a WebAssembly application (referred to as an application): reading a binary executable file of a current module, parsing each piece of data recorded in the binary executable file, and storing each piece of data to a mask memory object; generating mask code corresponding to the current module, a module registry, and module static type data according to each piece of data stored in the mask memory object; determining whether the current module is the last module, if not, repeating the above processing with the next module as the current module; if yes, merging the mask code, the module registry, and the module static type data corresponding to all the processed modules and outputting them to a mask data file; and the mask data file is a mask of a manufactured application.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • System and method for automatically analyzing, detecting and classifying malicious program behavior

    CN102930210A

  • Circular queue management with split indexes

    US20220129275A1