Supercharge Your Innovation With Domain-Expert AI Agents!

Method for reading and XML conversion based on DXF file format

A file format and file technology, applied in the field of reading and XML conversion based on DXF file format, can solve the problems of low operation efficiency of text files and difficulty in data mining

Inactive Publication Date: 2012-06-27
UNIV OF SCI & TECH BEIJING
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of this method are: ① Although the text mining technology is relatively mature, it is still difficult to mine data; ② When extracting data, it is necessary to operate the text file in DXF format many times, and the operation efficiency of the text file is relatively low. Low

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 reading and XML conversion based on DXF file format
  • Method for reading and XML conversion based on DXF file format
  • Method for reading and XML conversion based on DXF file format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0153] Step 1: Create the basic function class of the finite state automaton.

[0154] State: state class

[0155] FSMEvent: event class

[0156] Production: state transition function

[0157] Handle: event handling

[0158] Transition: transfer object

[0159] The details are as follows:

[0160] State (corresponding to different states in the finite state automaton): name identifier, state transition function set (the next state can be determined according to the event, which can be called an edge, that is, all edge sets emitted from this state)

[0161] member:

[0162] Name: the name of the state, uniquely identified

[0163] nextStateTable: edge set, the key is the event, and the value is the state transition function.

[0164] For example image 3 In the state transition diagram, a circle is used as a state, and the text inside the circle is used as a name identifier. The state transition function set is a collection of rays emitted from the state, which can be s...

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 reading and XML conversion based on a DXF file format, which relates to the technical field of various projects using CAD engineering drawing. In the method, a DXF file structure is processed as a formal language; a three-type grammar is used for describing the DXF file structure; a finite state automata is used for identifying the content of a DXF file, namely reading characters of the DXF file in sequence; a pair of group codes and group values form a group, and circulation is performed according to the group; event advancing, state transition and event processing are performed according to the read group codes and the group values; and a file with an XML format is output until a file reading character is EOF, thus, the conversion from the DXF formatto the XML format is performed. The method can effectively process non-standard DXF files, and has the advantages of versatility, flexibility, extendibility and portability. The converted XML file format is good and has a clear structure to ensure that the extraction of effective data by using user special software and all kinds of engineering software becomes very simple and easy, and a lot of time for studying DXF group codes and group value structures is unnecessary, thereby reducing the development cost.

Description

technical field [0001] The invention relates to various engineering technical fields using CAD engineering drawings. The DXF (drawing exchange format) graphic exchange file format is used to exchange graphic data between different CAD software to realize resource sharing. This technology realizes the conversion of DXF graphics exchange files into XML files, which is beneficial to use XML data mining technology to extract its effective data and form a data warehouse for various engineering special software. Background technique [0002] The invention is based on an intelligent evaluation system of urban traffic signs and markings, and realizes extracting effective data from traffic road CAD drawings delivered by designers. [0003] The file formats of different CAD software are not the same, and for commercial considerations, the standard format files are generally not made public. Due to the needs of product expansion, CAD software generally provides secondary development t...

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 Patents(China)
IPC IPC(8): G06F17/50G06F17/22
Inventor 班晓娟龙永霞
Owner UNIV OF SCI & TECH BEIJING
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More