Unlock instant, AI-driven research and patent intelligence for your innovation.

Small program compilation method, small program running method and device, storage medium

A compiling method and a technology for small programs, which are applied in the fields of operating methods and devices for small programs, compiling methods, and storage media, can solve the problems of large workload and low development efficiency, and save development costs, reduce workload, and improve development. The effect of efficiency

Active Publication Date: 2022-06-21
RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF20 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, when developing the same small program for different platforms, it is necessary to develop a set of codes for different platforms. For the R&D personnel, the workload is large and the development efficiency is low.

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
  • Small program compilation method, small program running method and device, storage medium
  • Small program compilation method, small program running method and device, storage medium
  • Small program compilation method, small program running method and device, storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] Hereinafter, the present application will be described in detail with reference to the accompanying drawings and in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.

[0072] In this embodiment, a method for compiling an applet is provided, such as figure 1 As shown, the method includes:

[0073] Step 101: Based on the source code type of the source applet, convert the source code of the source applet to the target code type of the target platform to obtain the target applet.

[0074] The embodiment of the present application is used to compile the applet based on the source platform into the applet that can run on the target platform. The compilation of the applet includes two parts, one is the pre-execution compilation part, and the other is the execution-time compilation part . After obtaining the source applet based on...

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

This application discloses a small program compilation method, a small program running method and device, and a storage medium. The small program compilation method includes: based on the source code type of the source small program, converting the source code of the source small program to the target converting the target code type of the platform to obtain the target applet; when starting the target applet in the target platform, configuring the API of the target applet based on the target code type; A functional constructor of the program, obtaining a replacement function corresponding to the functional constructor; replacing the functional constructor with the replacement function, and performing functional logic conversion on the target applet by calling the replacement function. This application helps reduce the workload of developing small programs for multiple platforms, improves the efficiency of small program development, and saves development costs.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a method for compiling an applet, a method and device for running an applet, and a storage medium. Background technique [0002] With the rapid development of Internet technology, Mini Programs, as a convenient tool that can be used without downloading and installing, have received extensive attention from all walks of life. Mini Programs need to be run through the platform. For example, Alipay Mini Programs need to be run on the Alipay platform. . [0003] In the prior art, when the same applet is developed for different platforms, it is necessary to develop a set of codes for different platforms respectively. For R&D personnel, the workload is large and the development efficiency is low. SUMMARY OF THE INVENTION [0004] In view of this, the present application provides a method for compiling an applet, a method and device for running the applet, and a stora...

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/41G06F8/30G06F40/151
CPCG06F8/41G06F8/313G06F40/151
Inventor 刘宇
Owner RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD