Code relationship generation method and device, electronic device and storage medium

A technology for generating devices and relationships, applied to electronic equipment and storage media, code relationship generation methods, and device fields, can solve problems such as inability to meet code relationship usage requirements, and achieve the effect of convenient modification or adjustment

Pending Publication Date: 2019-10-15
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the relationship between codes is mainly realized through the analysis of the representation layer, which cannot meet the current requirements for the use of code relationships

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
  • Code relationship generation method and device, electronic device and storage medium
  • Code relationship generation method and device, electronic device and storage medium
  • Code relationship generation method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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.

[0047] figure 1 is a flowchart of a method for generating a code relationship according to an exemplary embodiment, as shown in figure 1 As shown, the code relationship generating method is used in a server, a terminal or a stand-alone system, and includes the following steps.

[0048] S1. Obtain multiple native variables through global code scanning.

[0049] Native variables are defined for...

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

Embodiments of the invention provide a code relationship generation method and apparatus, an electronic device and a storage medium, and the method specifically comprise the steps of performing globalcode scanning on a to-be-analyzed program code to obtain a plurality of native variables; judging the operation type of the execution function of each native variable; and generating a calling relationship between the code modules according to the operation types of all the execution functions and a preset module function and business database, and generating a visual code relationship graph according to the calling relationship between the code modules. According to the scheme, a reverse analysis method is used for discovering and positioning a code non-representation interaction relationship, a code function and service logic are introduced, and finally, a code relationship graph capable of clearly and accurately describing all calling relationships in a program is generated, so that aprogrammer can conveniently modify or adjust a program code.

Description

technical field [0001] The present disclosure relates to the technical field of computer software, and in particular to a code relationship generation method, device, electronic equipment and storage medium. Background technique [0002] There are different relationships between different codes in computer software, and analyzing and describing these relationships can facilitate the use of codes. At present, the relationship between codes is mainly realized through the analysis of the representation layer, which cannot meet the current requirements for the use of code relationships. Contents of the invention [0003] In order to clearly and accurately describe the interaction relationship in the program code, the present disclosure provides a code relationship generation method, device, electronic equipment and storage medium. [0004] In the first aspect, a code relationship generation method is provided, which optionally includes: [0005] Globally scan the program cod...

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): G06F8/75
CPCG06F8/75
Inventor 杨文博
Owner BEIJING DAJIA INTERNET INFORMATION 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