Data processing method and device, equipment and storage medium
A data processing and function technology, applied in the computer field, can solve the problem of low efficiency of parameterized calculation and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] refer to figure 2 , figure 2 It is a flowchart of steps of a data processing method according to Embodiment 1 of the present application. Specifically, the data processing method provided by this embodiment includes the following steps:
[0045] In step 202, an initial abstract syntax tree corresponding to the source program code is obtained, and the source program code includes a parameter reference relationship.
[0046]Abstract Syntax Tree (Abstract Syntax Code, AST) is a tree representation of the abstract syntax structure of source code, each node on the tree represents a structure in the source code, which is based on the abstract syntax structure to convert the source code into A representation of a tree structure. Abstract syntax tree describes the process of how to deduce statements in a programming language from grammatical structures. The nodes of abstract syntax tree are divided into different types such as binary expressions, declarations, and function...
Embodiment 2
[0063] refer to Figure 4 , Figure 4 It is a flowchart of steps of a data processing method according to Embodiment 2 of the present application. Specifically, the data processing method provided by this embodiment includes the following steps:
[0064] In step 402, an initial abstract syntax tree corresponding to the source program code is obtained, and the source program code includes the parameter reference relationship.
[0065] Further, the initial abstract syntax tree corresponding to the source code can be obtained in the following manner:
[0066] Get the source code;
[0067] Perform lexical analysis and syntax analysis on the source code, and generate an initial abstract syntax tree corresponding to the source code.
[0068] When performing lexical analysis and syntax analysis on the source program code to generate the initial abstract syntax tree, reference may be made to the implementation of the specific analysis method in the related art, which will not be r...
Embodiment 3
[0087] refer to Image 6 , Image 6 It is a flowchart of steps of a data processing method according to Embodiment 3 of the present application.
[0088] The application scenarios of this embodiment may be: parts design scenarios, such as: design of household products (wardrobes, tables and chairs, etc.). Taking home product design as an example, in this scenario, due to the constraints of later product processing technology, indoor space location, etc., the design process of each product usually involves dozens or even hundreds of attributes (each attribute corresponds to one attribute). parameters), such as: length, height, thickness, etc. are used to describe the specific dimensions of the product, and the properties of different parts may be mutually dependent and restricted, satisfying a certain linkage relationship (formula), that is: some attribute values may be Need to rely on other attribute values, calculated by formula. like Figure 7 , involving A, B, C, D, E...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com