Method and device for extracting template file data structure
A template file and data structure technology, applied in the Internet field, can solve problems such as synchronous generation of business data, inability to complete the correctness and verification of template files in time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] When extracting the data structure of the template file, the computer can extract the data structure of the data parameters according to the description of each line of code; however, if the code statement is complex, such as involving assignment, macro call, for loop and other operations, Due to the changes involved in parameter types, values, etc., the computer cannot make effective distinctions and responses.
[0022] For example, assume the template file is:
[0023] {%setb=a%}
[0024] {%setc=b%}
[0025] {{c.d}}
[0026] {%set=1%}
[0027] Based on the processing methods in related technologies, the data structure directly generated by the computer may be:
[0028] {a:'',b'',c:{d:''},e:1}
[0029] However, due to the assignment operation of "=", the expected data structure is only:
[0030] {a:{d:''}}
[0031] In other words, only the data of a and d need to be provided in the above template file; among them, b and c are only formal parameters of intermedia...
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