Method and system for generating custom forwarding table based on xml file of power distribution terminal equipment
A power distribution terminal and forwarding table technology, which is applied in the direction of electrical components, transmission systems, digital transmission systems, etc., can solve the problem that the main configuration file information cannot generate forwarding table information, etc., and achieve concise information, convenient and free equipment configuration, and high efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0055] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0056] like figure 1 and figure 2 As shown, the custom forwarding table generation method based on the XML file of the power distribution terminal equipment includes:
[0057] Step (1): Create a new device array according to the type of power distribution terminal equipment, and initialize the device array; read the XML configuration file; judge whether the format of the XML configuration file is correct, if it is correct, enter step (2), otherwise, end;
[0058] Step (2): Locate the XML configuration file node, get Node data, judgment Whether the node data is empty; if If the node data is not empty, go to step (3); otherwise, end;
[0059] Step (3): Get The number of child nodes of the node is N, if N>0, enter step (4), otherwise, end;
[0060] Step (4): put The data records of the child nodes of the node are stored in the data ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

