Method for analyzing FTL template element

A template and element technology, applied in the field of parsing FTL template elements, can solve the problems that the program cannot automatically complete the automatic matching between templates and actual business, data filling, increase the workload of template maintainers, template element parsing technology, etc., to avoid errors, The effect of simplifying work and simplifying user operations

Inactive Publication Date: 2018-05-22
FOUNDER INT WUHAN +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the business of each enterprise is different, and the customization of templates is also various, and the template elements are ever-changing. In open source or public technologies, there is no analysis technology for template elements, so that the program cannot automatically complete the template. A series of automated operations for automatic matching with actual business, data filling, updating static content or files
In view of this situation, manual intervention is necessary
Templates provide us with a method for updating static content, but it also increases the workload of template maintainers, mainly in the manual identification of template elements and the artificial formation of structured data structures for program processing, but manual identification is also not possible avoiding omissions

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
  • Method for analyzing FTL template element
  • Method for analyzing FTL template element

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] see figure 1 , in an embodiment of the present invention, a method for parsing FTL template elements includes the following steps: first formulate template writing rules that meet actual business needs, then import or write FTL template files, and then program reads the FTL template files, and The content of the FTL template is parsed. After successful parsing, a JSON array of template elements will be output. Finally, the JSON array is parsed and saved to the database in turn.

[0022] see figure 2 , the key steps of the method for parsing FTL template elements are: first read the FTL template file into the memory, then retrieve the content line by line, and record the label elements that meet the template writing rules, because the FTL template If the content structure is similar to HTML, you can convert the tag elements into an XML structure, then parse the XML data, read the attributes and attribute values ​​​​of the XML elements, and finally convert these structu...

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 method for analyzing FTL template elements. The method comprises the following steps: 1) according to actual business scene, making a template writing rule, the template writing rule including rules of template elements; 2) according to the established template writing rule, writing a FTL template file; 3) through input / output streams, loading the FTL template file to memory; 4) according to the template writing rule established in the step 1), analyzing contents of a FTL template, then outputting a template element list which is given business meaning; 5) storing template elements, including storing the template element list in a database. The method simplifies user operation, and ensures correctness of business, and really effectively improves working efficiency.

Description

technical field [0001] The invention relates to the technical field of templates, in particular to a method for parsing FTL template elements. Background technique [0002] With the birth and vigorous development of template technology, it is possible to complete dynamic updates of originally static content or files, and can indirectly realize the ability to interact with server-side data. This replaces the tedious, time-consuming and labor-intensive manual update operation, which not only saves costs, but also greatly improves the benefits of the enterprise. [0003] However, the business of each enterprise is different, and the customization of templates is also various, and the template elements are ever-changing. In open source or public technologies, there is no analysis technology for template elements, so that the program cannot automatically complete the template. A series of automated operations for automatic matching with actual business, data filling, and updatin...

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): G06F17/30
CPCG06F16/9577
Inventor 李宗锦
Owner FOUNDER INT WUHAN
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