XML analysis module and method based on XML rule, and management method of configuration data
A technology for parsing modules and rules, applied in the field of communication, can solve problems such as long development cycle and many problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] refer to figure 1 with 2 , an XML parsing module based on XML rules, including the following submodules:
[0028] Database model class sub-module: used to create a new sqlite database according to the XML configuration file, generate the database tables contained in the database, and establish the mapping relationship between the database model class and the database table;
[0029] The XML configuration file takes the following as an example:
[0030]
[0031] The configuration file specifies the serial number, interface type, IP address, subnet mask, and mtu configuration of the child nodes.
[0032] The database model class is equivalent to a table in the database. The definition of this table, such as which fields it contains, does not contain specific data, that is, if there is no object, the table is empty.
[0033] A class object is equivalent to a record in the table in the database, and there are 10 data records for 10 objects.
[0034] The above XML con...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


