Program information issuing method and device, and electronic equipment

A technology of electronic equipment and programs, applied in the computer field, can solve problems such as no support solutions and inability to make applications dynamic

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

AI Technical Summary

Problems solved by technology

In the existing technology, the support for application dynamization is to make pages through built-in templates. For the logical delivery of compiled languages, there is no effective support solution in the industry. Therefore, flexible dynamization of applications cannot be achieved.

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 information issuing method and device, and electronic equipment
  • Program information issuing method and device, and electronic equipment
  • Program information issuing method and device, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] A method for distributing program information disclosed in the embodiment of this application, such as figure 1 As shown, the method includes: Step 110 to Step 150.

[0029] Step 110, obtain the abstract syntax tree of the target source program through a preset syntax analysis tool.

[0030] The Abstract Syntax Tree (AST) is a tree representation of the abstract syntax structure of the source code, and each node on the tree represents a structure in the source code. In the embodiment of the present application, the abstract syntax tree of the target source program may be obtained by using a syntax analysis tool or syntax analysis algorithm in the prior art. For example, the sub-item tools used in the static code inspection tool set in the development environment are stripped out, the process of analyzing the abstract syntax tree of the source code is completed, and the data structure of the abstract syntax tree is obtained.

[0031] Step 120, according to the data str...

Embodiment 2

[0079] A device for issuing program information disclosed in the embodiment of the present application, such as figure 2 As shown, the device includes:

[0080] An abstract syntax tree obtaining module 210, configured to obtain the abstract syntax tree of the target source program through a preset syntax analysis tool;

[0081] An intermediate transmission object determination module 220, configured to determine an intermediate transmission object matching the node of a preset structure type according to the data structure of the node in the abstract syntax tree;

[0082] A key-value mapping object acquisition module 230, configured to convert each of the intermediate transfer objects by calling a preset conversion interface to obtain a key-value mapping object corresponding to the corresponding intermediate transfer object;

[0083] The information assembling module 240 is configured to assemble the key-value mapping objects corresponding to each of the intermediate transmi...

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 program information issuing method, belongs to the technical field of computers, and can realize issuing of program information including language logic. The program issuingmethod disclosed by the embodiment of the invention comprises the steps of obtaining an abstract syntax tree of a target source program through a preset syntax analysis tool; determining an intermediate transmission object matched with the node of a preset structure type according to the data structure of the node in the abstract syntax tree; converting each intermediate transmission object by calling a preset conversion interface to obtain a key value mapping object corresponding to the corresponding intermediate transmission object; according to the hierarchical information of the abstract syntax tree, assembling key value mapping objects corresponding to the intermediate transmission objects layer by layer to obtain program information corresponding to the target source program; and encrypting the program information obtained through assembly, and issuing the program information obtained through encryption to a specified electronic device, so that the program information including language logic can be issued.

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 delivering program information. 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 the prior art, the support for application dynamization is to make pages through built-in templates. There is no effective support solution in the industry for the log...

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 & AuthorityApplications(China)
IPC IPC(8): G06F8/30G06F8/41G06F21/60
CPCG06F8/42G06F8/30G06F21/602
Inventor董尚先李松涛李会超杨超刘俊龙李鑫
OwnerBEIJING SANKUAI ONLINE TECH CO LTD