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

Program calling method and device and storage medium

A technology of program calling and program package, which is applied in the direction of program control device, program control design, program loading/starting, etc. It can solve the problems affecting the speed of page construction, program package occupies large memory, and runs slowly, so as to save memory , Improve the running speed, and facilitate editing and updating effects

Active Publication Date: 2020-06-02
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Quick applications are built with pages as objects at runtime. When there are many pages, the package will occupy a large amount of memory and run slowly, which will easily affect the speed of page construction.

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
  • Program calling method and device and storage medium
  • Program calling method and device and storage medium
  • Program calling method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059]Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0060] figure 1 is a flow chart of a program calling method shown according to an exemplary embodiment, such as figure 1 shown, including the following steps:

[0061] Step S101, when compiling the mixed-mode mobile application, determine the component tags contained in the page-level file;

[0062] Step S102, in the application-level file of the mixed-mode mobile application, look up the comp...

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 program calling method and device and a storage medium. The method comprises the steps of determining a component label contained in a page-level file when a mixed mode mobile application is compiled; searching for component declaration information corresponding to the component tag in an application-level file of the mixed-mode mobile application, the application-levelfile comprising component declaration information of a first type of functional components commonly called by at least two pages, and the component declaration information of a second type of functional components called by at least two pages; According toAccording to the component declaration information, loading a page object of the first type of functional component on a page corresponding to the page-level file. Through the technical scheme in the embodiment of the invention, the component declaration information of the same functional component called by different pages is added into theapplication-level file, and the component declaration information does not need to be added into each page-level file, so that the size of an application package is reduced, and the execution speed ofthe file is increased.

Description

technical field [0001] The present disclosure relates to the field of program development, in particular to a method and device for calling a program, and a storage medium. Background technique [0002] At present, mobile electronic devices, such as mobile phones, tablet computers, and smart wearable devices, have been widely used in various fields such as communication, entertainment, and education. Users can implement corresponding functions based on applications on mobile terminals, including hybrid-mode mobile applications (Hibrid Apps) that do not require client installation, such as quick apps and applets. [0003] Take Quick Apps as an example. Quick Apps are a new application form based on the mobile phone hardware platform. Users do not need to download and install, just click and use, and can enjoy the performance experience of native applications. In the process of quick application development, developers can write JS codes to realize the operation of quick appl...

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): G06F9/451G06F9/445G06F8/38
CPCG06F9/451G06F9/44521G06F8/38
Inventor 董永清孙良木潘温
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD