Application program dynamic method and device and electronic equipment

A technology of application programs and electronic equipment, applied in the computer field, can solve problems such as cross-terminal communication performance loss

Pending Publication Date: 2020-11-03
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the application development stage involves some operations such as JS virtual machines, other technology stacks are introduced, which brings more p

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
  • Application program dynamic method and device and electronic equipment
  • Application program dynamic method and device and electronic equipment
  • Application program dynamic method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] An application dynamization method disclosed in the embodiment of this application, such as figure 1 As shown, the method includes: Step 110 to Step 150.

[0032] Step 110, at the electronic device, load the first mapping relationship between the first character string and the preset identifiable symbols in the runtime environment of the Flutter application program through the Flutter application program, and cache the first mapping relationship.

[0033] The Flutter application program described in the embodiment of this application is an application program that is downloaded in advance and can run on an electronic device. The user can trigger the operation of the Flutter application by operating the electronic device. The preset identifiable symbols described in the embodiments of the present application refer to system or global symbols such as method names, class names, and global variable names in the runtime environment of the Flutter application.

[0034] Usua...

Embodiment 2

[0091] An application program dynamization device disclosed in the embodiment of this application, such as Figure 4 As shown, the device includes:

[0092] The first mapping relationship loading module 410 is used to load the first mapping relationship between the first character string and the preset identifiable symbols in the runtime environment of the Flutter application program through the Flutter application program at the electronic device, and cache the the first mapping relationship;

[0093] The program description information downloading module 420 is used to download the description information of the update code of the Flutter application program at the electronic device by running the Flutter application program, the description information is composed of a character string, and is used to pass the Flutter application program. The character string describes the page structure and event processing logic in the update code;

[0094] The second mapping relationsh...

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 an application program dynamic method, belongs to the technical field of computers, and is beneficial to improving the application program dynamic efficiency. The method comprises the following steps: at the electronic equipment, loading a first mapping relationship between a first character string and a preset identifiable symbol in a runtime environment of a Flutter application program through the Flutter application program, and caching the first mapping relationship; then, downloading description information of an update code of the Flutter application program by running the Flutter application program, constructing a second mapping relationship between each second character string in the description information and the custom symbol by running the Flutter application program, and caching the second mapping relationship at the electronic equipment; and when the Flutter application initializes a preset page, mapping a character string included in the description information based on the cached first mapping relationship and/or second mapping relationship, and constructing a dynamic page according to a symbol obtained by mapping so as to execute the dynamic page. The application program dynamic method disclosed by the invention can solve the code adaptation problem of different platforms.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, electronic device, and computer-readable storage medium for dynamizing an application program. Background technique [0002] When using a compiled language for client application development, the application code is usually pre-edited, and then the application code is compiled into an executable file, and then the executable file is installed into the electronic device for execution. When the page structure or event processing flow of the application program needs to be updated, the code needs to be redeveloped, the concurrent version is released, and the electronic device needs to perform an upgrade operation to download a new version of the application program. In order to improve the convenience for users to use application programs and improve the efficiency of application program development, the dynamic application progra...

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
IPC IPC(8): G06F8/41G06F9/445G06F16/958G06F8/38
CPCG06F8/38G06F8/42G06F9/44521G06F16/958
Inventor 董尚先李会超李松涛刘俊龙杨超李鑫
Owner BEIJING SANKUAI ONLINE TECH CO LTD
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