CN114518906A - XML (extensive markup language) description file-based equipment configuration parameter management system and method - Google Patents

XML (extensive markup language) description file-based equipment configuration parameter management system and method Download PDF

Info

Publication number
CN114518906A
CN114518906A CN202210086277.5A CN202210086277A CN114518906A CN 114518906 A CN114518906 A CN 114518906A CN 202210086277 A CN202210086277 A CN 202210086277A CN 114518906 A CN114518906 A CN 114518906A
Authority
CN
China
Prior art keywords
configuration
xml
description file
parameters
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210086277.5A
Other languages
Chinese (zh)
Inventor
张卫海
张天才
林振祥
朱易晟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Rigo Communication Equipment Co ltd
Original Assignee
Xiamen Rigo Communication Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Rigo Communication Equipment Co ltd filed Critical Xiamen Rigo Communication Equipment Co ltd
Priority to CN202210086277.5A priority Critical patent/CN114518906A/en
Publication of CN114518906A publication Critical patent/CN114518906A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a device configuration parameter management system and method based on an XML description file, wherein the method comprises the following steps: acquiring an XML description file, adding view components related to equipment configuration parameters to a list view according to rules of the XML description file to generate a configuration page, and displaying the equipment configuration parameter attributes and corresponding values on the configuration page; the XML description file comprises a plurality of attribute nodes related to the equipment configuration parameters defined according to rules, and the attribute nodes are used for associating the configuration page with the equipment configuration parameters. When the method is used for configuring the equipment with different models, software does not need to be modified, only the description in the XML description file needs to be modified, the time for software development and maintenance can be greatly shortened, in addition, the configuration can be exported to the XML description file and then imported into other equipment, and only two steps of operation of connection and import are needed when the other equipment is imported, so that the batch configuration process is simplified.

Description

XML (extensive markup language) description file based equipment configuration parameter management system and method
Technical Field
The invention relates to the technical field of computers, in particular to an equipment configuration parameter management system and method based on an XML description file.
Background
When configuring gateway products of the internet of things, software is generally used for configuration, and when new products are adapted, the software needs to be modified to adapt configuration instructions. Since configuration software usually needs to be configured for a plurality of product models, and configuration instructions and configuration rules of different products are different, it takes time to modify the software when the configuration software is developed or modified. In addition, when a plurality of gateway products are configured in batch, because different gateway configuration rules and commands are different, the analysis rule of the software is usually required to be redesigned, which causes the problems of long development period, high error rate and the like.
Disclosure of Invention
The invention mainly aims to provide an equipment configuration parameter management system and method based on an XML description file, which can greatly shorten the time of software development and maintenance by only modifying the description in the XML description file without modifying software when configuring equipment with different models.
The invention adopts the following technical scheme:
in one aspect, an XML description file-based device configuration parameter management system includes: the system comprises an XML analysis module, a parameter transmission module, a view editing module and a configuration page module;
the XML analysis module is used for analyzing the acquired XML description file according to rules, sending node parameters related to the view editing module and sending the node parameters related to the equipment configuration to the parameter transmission module;
the parameter transmission module is used for receiving the node parameters related to the equipment configuration and sent by the XML analysis module, reading the values of the configuration parameters from the equipment or writing the values of the configuration parameters into the equipment according to the configuration parameter instructions in the node parameters, and sending the values of the configuration parameters to the view editing module;
the view editing module is used for receiving the node parameters related to the view sent by the XML parsing module, acquiring the corresponding component type and component position, adding the node parameters to the list view of the configuration page module as required, sending the values of the configuration parameters sent by the parameter transmission module to the configuration page module for displaying, and sending the values of the modified configuration parameters in the configuration page module to the XML parsing module;
the configuration page of the configuration page module comprises at least one list view, and is used for adding view components corresponding to configuration parameters into a list according to rules of an XML description file and displaying values of the configuration parameters.
Preferably, the configuration page module is further configured to receive a save configuration instruction, so as to save the read value of the configuration parameter or the written value of the configuration parameter.
Preferably, the configuration page module is further configured to receive an import configuration instruction, and the XML parsing module parses the imported XML description file.
Preferably, the configuration page module is further configured to receive an export configuration instruction, so as to send the value of the current configuration parameter to the XML parsing module, and store the value to the XML description file.
Preferably, the XML description file includes a plurality of attribute nodes related to the device configuration parameters defined according to the rules; the attribute nodes comprise < edit >, < name > and < differentiation > nodes of an associated configuration page, wherein the < edit > node is used for configuring the type and the parameters of a display component, the < name > node is used for writing in the content of display, and the < differentiation > node is used for writing in the description of display; the plurality of attribute nodes further comprise < value > and < command > nodes for associating device configuration parameters, the < value > node being a value of a configuration parameter, the < command > node being a configuration parameter instruction; the plurality of property nodes further includes a < combovalue > node for converting between values of configuration parameters and display contents.
In another aspect, a method for managing device configuration parameters based on an XML description file includes:
acquiring an XML description file, adding view components related to equipment configuration parameters to a list view according to rules of the XML description file to generate a configuration page, and displaying the equipment configuration parameter attributes and corresponding values on the configuration page; the XML description file comprises a plurality of attribute nodes related to equipment configuration parameters defined according to rules; the attribute nodes comprise < edit >, < name > and < differentiation > nodes of an associated configuration page, wherein the < edit > node is used for configuring the type and the parameters of a display component, the < name > node is used for writing in the content of display, and the < differentiation > node is used for writing in the description of display; the plurality of attribute nodes further comprise < value > and < command > nodes for associating device configuration parameters, the < value > node being a value of a configuration parameter, the < command > node being a configuration parameter instruction; the plurality of property nodes further includes a < combovalue > node for converting between values of configuration parameters and display contents.
Preferably, the method for managing device configuration parameters based on an XML description file further includes:
and storing the read device configuration parameter attributes and the corresponding values, and exporting the device configuration parameter attributes and the corresponding values to an XML description file according to rules.
Preferably, the method for managing device configuration parameters based on an XML description file further includes:
and modifying the corresponding value corresponding to the equipment configuration parameter, writing the value into the connected equipment, storing the value into an XML description file according to the rule and exporting the value.
Preferably, the acquiring the XML description file, adding the view component related to the device configuration parameter to the list view according to the rule of the XML description file to generate a configuration page, and displaying the device configuration parameter attribute and the corresponding value on the configuration page specifically includes:
when the device is connected, an XML description file corresponding to the device model is automatically selected to be imported, view components related to device configuration parameters are added to the list view according to rules of the XML description file to generate a configuration page, and corresponding values are read from the device and displayed on the configuration page.
Preferably, the acquiring the XML description file, adding the view component related to the device configuration parameter to the list view according to the rule of the XML description file to generate a configuration page, and displaying the device configuration parameter attribute and the corresponding value on the configuration page specifically includes:
after the connection with the equipment is finished, importing a specified XML description file corresponding to the equipment model, adding view components related to equipment configuration parameters to a list view according to rules of the XML description file to generate a configuration page, and displaying and writing corresponding values read from the XML description file into the equipment on the configuration page;
alternatively, the first and second electrodes may be,
and after the connection with the equipment is finished, importing a specified XML description file corresponding to the equipment model, and displaying and writing a corresponding value read from the XML description file into the equipment on a configuration page.
Compared with the prior art, the invention has the following beneficial effects:
when the method is used for configuring the equipment with different models, software does not need to be modified, only the description in the XML description file needs to be modified, the time for software development and maintenance can be greatly shortened, in addition, the configuration can be exported to the XML description file and then imported into other equipment, and only two steps of operation of connection and import are needed when the other equipment is imported, so that the batch configuration process is simplified.
The above description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the description of the technical means more comprehensible.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
FIG. 1 is a first block diagram of an apparatus configuration parameter management system based on an XML description file according to an embodiment of the present invention;
FIG. 2 is a block diagram of a device configuration parameter management system based on an XML description file according to an embodiment of the present invention;
FIG. 3 is a block diagram of a device configuration parameter management system based on an XML description file according to an embodiment of the present invention;
FIG. 4 is a display interface of a configuration page module according to an embodiment of the present invention;
fig. 5 is a flowchart of a device configuration parameter management method based on an XML description file according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention; it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work are within the scope of the present invention.
In the description of the present invention, it is to be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1 to 3, an XML description file-based device configuration parameter management system includes: an XML analysis module 101, a parameter transmission module 102, a view editing module 103 and a configuration page module 104;
the XML parsing module 101 is configured to parse the obtained XML description file 20 according to rules, send a node parameter related to a view in the XML description file to the view editing module 103, and send a node parameter related to device configuration to the parameter passing module 102;
the parameter passing module 102 is configured to receive the node parameter related to the device configuration sent by the XML parsing module 101, read or write a value of the configuration parameter to the device 30 according to a configuration parameter instruction therein, and send the value of the configuration parameter to the view editing module 103;
the view editing module 103 is configured to receive the node parameters related to the view sent by the XML parsing module 101, obtain a corresponding component type and a corresponding component position, add the component type and the component position to a list view of the configuration page module 104 as required, send the values of the configuration parameters sent by the parameter transmission module 102 to the configuration page module 104 for display, and send the values of the configuration parameters modified in the configuration page module 104 to the XML parsing module 101;
the configuration page of the configuration page module 104 includes at least one list view, and is configured to add a view component corresponding to a configuration parameter to a list according to a rule of an XML description file, and display a value of each configuration parameter.
In this embodiment, the device configuration parameter management system based on the XML description file is implemented by configuration software 10, and an implementation subject of the configuration software 10 may be a computer or the like. The device may be a gateway device or other devices.
Specifically, referring to fig. 4, for the configuration page of the configuration page module 104 in this embodiment, the device configuration parameters include a baud rate, a check bit, a data bit, a stop bit, a serial port function, and a packet byte interval time, and a value corresponding to each configuration parameter is displayed in an edit box behind each configuration parameter.
Further, the configuration page module 104 is further configured to receive a save configuration instruction, so as to save the read value of the configuration parameter or the written value of the configuration parameter.
Further, the configuration page module 104 is further configured to receive an import configuration instruction, and the XML parsing module 101 parses the imported XML description file.
Further, the configuration page module 104 is further configured to receive an export configuration instruction, so as to send the value of the current configuration parameter to the XML parsing module 101, and store the value to the XML description file.
It should be noted that, after the device is connected to the computer with the configuration software 10 installed therein through the serial port, the configuration software 10 may actively read the XML description file stored in the memory or on the specified path of the computer, and automatically select the XML description file matched with the device model to be imported. Usually, the value corresponding to the configuration parameter of the XML description file is null, and after the configuration software 10 processes the null, the configuration parameter read from the XML description file and the value of the configuration parameter read from the device are displayed on the configuration page (see fig. 4). The read configuration button, save configuration button, import configuration button, and export configuration button in the lower right of fig. 4 are buttons that are not directly associated with the XML description file (i.e., all devices' configuration pages will present these buttons) and can be clicked on after the device successfully connects to the computer. Clicking on the read configuration button can read the values of the configuration parameters from the device. Clicking the save configuration button can save the values of the parameters read in the device, and can write and save the values of the modified configuration parameters to the device. And clicking an import configuration button, acquiring an XML description file from the selected path, analyzing and displaying the XML description file, and writing the value of the configuration parameter into the equipment. And clicking a configuration exporting button, exporting the configuration parameter attribute and the corresponding value to an XML description file and storing the XML description file to a specified path, so that subsequent equipment with the same model can be conveniently imported in batches.
Further, the XML description file comprises a plurality of attribute nodes related to the equipment configuration parameters defined according to the rules; the attribute nodes comprise < edit >, < name > and < differentiation > nodes of an associated configuration page, wherein the < edit > node is used for configuring the type and the parameters of a display component, the < name > node is used for writing in the content of display, and the < differentiation > node is used for writing in the description of display; the plurality of attribute nodes further comprise < value > and < command > nodes for associating device configuration parameters, the < value > node being a value of a configuration parameter, the < command > node being a configuration parameter instruction; the plurality of property nodes further includes a < combovalue > node for converting between values of configuration parameters and display contents.
It should be noted that the attribute nodes may also include others, and the naming rules of the attribute nodes may be different, and this embodiment is not particularly limited as long as the configuration and the XML description file can be mutually parsed.
Referring to fig. 5, a method for managing device configuration parameters based on an XML description file includes:
s101, acquiring parameters and instructions thereof which need to be configured by the equipment.
Specifically, the instruction will exist in an XML description file, and the device configuration information is obtained by software according to the instruction.
And S102, writing an XML description file according to the XML rule.
Specifically, the XML description file is used for layout of a configuration page of the associated device and the configuration software, and is also used for reading, writing, importing, and exporting device parameters. Reading and writing here refers to reading or modifying the values of configuration parameters in the device, and importing and exporting can write the same configuration into a plurality of different devices of the same model.
The present embodiment will explain the XML description file rule by taking the following XML description file as an example.
Figure BDA0003488114710000061
Figure BDA0003488114710000071
In the above XML description file, it is specified that a tag named < child > is provided under a node where any menu of the configuration page is located, the "serial port configuration" is a first-level menu, and a second-level menu such as a local serial port 1, a local serial port 2, etc. may be provided under the < child > tag, and when the first-level menu is selected in the configuration page, the second-level menu under the first-level menu may be displayed. If the < child > tag is not found under a node, it indicates that the node is a configuration parameter and not a menu, such as the < editor > node in this embodiment. Regardless of whether the < child > tag exists, all nodes except the < child > tag are the attributes of the node, and the values of all nodes in the rule are stored in the value attribute of the node. If the < value > child node attribute "value" under the < baud rate > node is null, when the device is connected, the parameter is read from the device and written into the "value" attribute, if the value of the node is modified, the information needs to be converted into an instruction to be written into the device from the configuration software during storage, the description file can also be exported as a configuration file, and the value is imported as configuration data into the next device.
The nodes used as the attributes in the nodes can be defined according to requirements, only need to be written according to rules required by the device when writing configuration software, and can define whether the attributes of the device configuration parameters, such as parameter names, are multi-parameter configuration items or not, wherein the parameters are the first parameters of the multi-parameter configuration items; the parameter may also be defined to be displayed in the several rows or several columns in the configuration page. In short, these properties may be device-oriented or configuration software-oriented. In the configuration items of the embodiment, nodes < edit >, < name >, < description > are oriented to configuration software, the nodes < edit > are used for configuring the type and parameters of the display component, and the nodes < name >, < description > are used for writing the content and description of the display; the < value > and the < command > are used for reading the configuration of the equipment and are instructions and values of configuration items; and the < combovalue > is used for converting the value of the configuration item and the display content, for example, when the value of the configuration corresponding to the 'close' option in the < serial port 1 communication > is 0, and the value read from the device is 0, the configuration page is displayed to be closed.
S103, the configuration software acquires the XML description file, adds the view components related to the equipment configuration parameters to the list view according to the rules of the XML description file to generate a configuration page, and displays the equipment configuration parameter attributes and the corresponding values on the configuration page.
Specifically, at least one list view is needed in a configuration page of the configuration software, so as to add a view component corresponding to the configuration item to the list according to the rule of the XML description file.
The view editing module is used for adding the component type and the component position acquired by the XML parsing module to a list view of the configuration page according to requirements, such as a drop-down box, an editing box, whether the component type and the component position can be edited or not, displaying the value acquired by the parameter transmission module from the equipment in the configuration page, and transmitting the value to the XML parsing module when the parameter in the configuration page is modified.
The parameter transmission module acquires a configuration item instruction from the node parameters related to the equipment configuration transmitted by the XML analysis module, reads the configuration parameters from the equipment according to the instruction, stores the read parameters in an XML analysis file, and simultaneously transmits the parameters to the view editing module.
The XML analysis module analyzes the XML description file and transmits the node parameters related to the view in the XML description file to the view editing module at the beginning, transmits the node parameters related to the equipment configuration to the parameter transmission module, acquires the parameters or modifies the parameters through other modules, and stores the parameters transmitted to the XML analysis module by other modules into corresponding nodes of the XML model when the parameters are changed.
The parameter exporting is to export the XML model in the XML parsing module again into an XML description file which is stored locally, wherein the XML description file carries the acquired and modified configuration parameters. And importing an XML description file with parameters required by configuration, acquiring parameter configuration by the parameter transmission module through the XML analysis module, and transmitting the parameters to the equipment according to the configuration instruction.
Further, the method for managing device configuration parameters based on the XML description file further includes:
and storing the read device configuration parameter attributes and the corresponding values, and exporting the device configuration parameter attributes and the corresponding values to an XML description file according to rules.
Further, the method for managing device configuration parameters based on the XML description file further includes:
and modifying the corresponding value corresponding to the equipment configuration parameter, writing the value into the connected equipment, storing the value into an XML description file according to the rule and exporting the value.
Further, the acquiring the XML description file, adding the view component related to the device configuration parameter to the list view according to the rule of the XML description file to generate a configuration page, and displaying the device configuration parameter attribute and the corresponding value on the configuration page specifically includes:
when the device is connected, an XML description file corresponding to the device model is automatically selected to be imported, view components related to device configuration parameters are added to the list view according to rules of the XML description file to generate a configuration page, and corresponding values are read from the device and displayed on the configuration page.
Further, the acquiring the XML description file, adding the view component related to the device configuration parameter to the list view according to the rule of the XML description file to generate a configuration page, and displaying the device configuration parameter attribute and the corresponding value on the configuration page specifically includes:
after the connection with the equipment is finished, importing a specified XML description file corresponding to the equipment model, adding view components related to equipment configuration parameters to a list view according to rules of the XML description file to generate a configuration page, and displaying and writing corresponding values read from the XML description file into the equipment on the configuration page;
alternatively, the first and second electrodes may be,
and after the connection with the equipment is finished, importing a specified XML description file corresponding to the equipment model, and displaying and writing a corresponding value read from the XML description file into the equipment on a configuration page.
Specifically, after the device is connected with a computer equipped with configuration software through a serial port, the configuration software can actively read an XML description file stored in a memory or on a specified path of the computer, and automatically select an XML description file matched with the model of the device to be imported. Usually, the value corresponding to the configuration parameter of the XML description file is null, and after the configuration software processes the null, the configuration parameter read from the XML description file and the value of the configuration parameter read from the device are displayed on the configuration page (see fig. 4). The read configuration button, save configuration button, import configuration button, and export configuration button in the lower right of fig. 4 are buttons that are not directly associated with the XML description file (i.e., all devices' configuration pages will present these buttons) and can be clicked on after the device successfully connects to the computer. Clicking on the read configuration button can read the values of the configuration parameters from the device. Clicking the save configuration button can save the values of the parameters read in the device, and can write and save the values of the modified configuration parameters to the device. And clicking an import configuration button, acquiring an XML description file from the selected path, analyzing and displaying the XML description file, and writing the value of the configuration parameter into the equipment. And clicking a configuration exporting button, exporting the configuration parameter attribute and the corresponding value to an XML description file and storing the XML description file to a specified path, so that subsequent equipment with the same model can be conveniently imported in batches.
In addition, in the present invention, the XML description file may be designed as required, for example:
Figure BDA0003488114710000091
Figure BDA0003488114710000101
that is, the < child > tag in the step S102 may be removed to represent the < chlid > tag in the node attribute, and any child node may be designed in the node attribute.
The foregoing is only a preferred embodiment of the present invention; the scope of the invention is not limited thereto. Any person skilled in the art should be able to cover the technical scope of the present invention by equivalent or modified solutions and modifications within the technical scope of the present invention.

Claims (10)

1. An XML description file-based device configuration parameter management system, comprising: the system comprises an XML analysis module, a parameter transmission module, a view editing module and a configuration page module;
the XML analysis module is used for analyzing the acquired XML description file according to rules, sending node parameters related to the view editing module and sending the node parameters related to the equipment configuration to the parameter transmission module;
the parameter transmission module is used for receiving the node parameters related to the equipment configuration and sent by the XML analysis module, reading the values of the configuration parameters from the equipment or writing the values of the configuration parameters into the equipment according to the configuration parameter instructions in the node parameters, and sending the values of the configuration parameters to the view editing module;
the view editing module is used for receiving the node parameters related to the view sent by the XML parsing module, acquiring the corresponding component type and component position, adding the node parameters to the list view of the configuration page module as required, sending the values of the configuration parameters sent by the parameter transmission module to the configuration page module for displaying, and sending the values of the modified configuration parameters in the configuration page module to the XML parsing module;
the configuration page of the configuration page module comprises at least one list view, and is used for adding view components corresponding to configuration parameters into a list according to rules of an XML description file and displaying values of the configuration parameters.
2. The XML-description-file-based device configuration parameter management system according to claim 1, wherein the configuration page module is further configured to receive a save configuration instruction to save the read value of the configuration parameter or the written value of the configuration parameter.
3. The XML-description-file-based device configuration parameter management system according to claim 1, wherein the configuration page module is further configured to receive an import configuration instruction, and the XML parsing module parses the imported XML-description file.
4. The XML-description-file-based device configuration parameter management system according to claim 1, wherein the configuration page module is further configured to receive an export configuration instruction, so as to send the current configuration parameter value to the XML parsing module and save the current configuration parameter value to the XML description file.
5. An XML-based device configuration parameter management system according to claim 1, wherein said XML-based device configuration parameter management system comprises a plurality of attribute nodes related to device configuration parameters defined according to rules; the attribute nodes comprise < edit >, < name > and < differentiation > nodes of an associated configuration page, wherein the < edit > node is used for configuring the type and the parameters of a display component, the < name > node is used for writing in the content of display, and the < differentiation > node is used for writing in the description of display; the plurality of attribute nodes further comprise < value > and < command > nodes for associating device configuration parameters, the < value > node being a value of a configuration parameter, the < command > node being a configuration parameter instruction; the plurality of property nodes further includes a < combovalue > node for converting between values of configuration parameters and display contents.
6. An XML description file-based device configuration parameter management method is characterized by comprising the following steps:
acquiring an XML description file, adding view components related to equipment configuration parameters to a list view according to rules of the XML description file to generate a configuration page, and displaying the equipment configuration parameter attributes and corresponding values on the configuration page; the XML description file comprises a plurality of attribute nodes related to equipment configuration parameters defined according to rules; the attribute nodes comprise < edit >, < name > and < differentiation > nodes of an associated configuration page, wherein the < edit > node is used for configuring the type and the parameters of a display component, the < name > node is used for writing in the content of display, and the < differentiation > node is used for writing in the description of display; the plurality of attribute nodes further comprise < value > and < command > nodes for associating device configuration parameters, the < value > node being a value of a configuration parameter, the < command > node being a configuration parameter instruction; the plurality of property nodes further includes a < combovalue > node for converting between values of configuration parameters and display contents.
7. The XML-description-file-based device configuration parameter management method according to claim 1, further comprising:
and storing the read device configuration parameter attributes and the corresponding values, and exporting the device configuration parameter attributes and the corresponding values to an XML description file according to rules.
8. The XML-description-file-based device configuration parameter management method according to claim 1, further comprising:
and modifying the corresponding value corresponding to the equipment configuration parameter, writing the value into the connected equipment, storing the value into an XML description file according to the rule and exporting the value.
9. The method according to claim 1, wherein the acquiring the XML description file, adding the view component related to the device configuration parameter to the list view according to the rule of the XML description file to generate the configuration page, and displaying the device configuration parameter attribute and the corresponding value on the configuration page specifically includes:
when the device is connected, an XML description file corresponding to the device model is automatically selected to be imported, view components related to device configuration parameters are added to the list view according to rules of the XML description file to generate a configuration page, and corresponding values are read from the device and displayed on the configuration page.
10. The method according to claim 1, wherein the acquiring the XML description file, adding the view component related to the device configuration parameter to the list view according to the rule of the XML description file to generate the configuration page, and displaying the device configuration parameter attribute and the corresponding value on the configuration page specifically includes:
after the connection with the equipment is finished, importing a specified XML description file corresponding to the equipment model, adding view components related to equipment configuration parameters to a list view according to rules of the XML description file to generate a configuration page, and displaying and writing corresponding values read from the XML description file into the equipment on the configuration page;
alternatively, the first and second liquid crystal display panels may be,
and after the connection with the equipment is finished, importing a specified XML description file corresponding to the equipment model, and displaying and writing a corresponding value read from the XML description file into the equipment on a configuration page.
CN202210086277.5A 2022-01-25 2022-01-25 XML (extensive markup language) description file-based equipment configuration parameter management system and method Pending CN114518906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210086277.5A CN114518906A (en) 2022-01-25 2022-01-25 XML (extensive markup language) description file-based equipment configuration parameter management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210086277.5A CN114518906A (en) 2022-01-25 2022-01-25 XML (extensive markup language) description file-based equipment configuration parameter management system and method

Publications (1)

Publication Number Publication Date
CN114518906A true CN114518906A (en) 2022-05-20

Family

ID=81597219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210086277.5A Pending CN114518906A (en) 2022-01-25 2022-01-25 XML (extensive markup language) description file-based equipment configuration parameter management system and method

Country Status (1)

Country Link
CN (1) CN114518906A (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040190034A1 (en) * 2003-03-24 2004-09-30 Fuji Xerox Co., Ltd. Image processing system
KR20040090866A (en) * 2003-04-18 2004-10-27 (주)아이펜텍 XML Document Editor Using a Form and Computer-Readable Recording Medium
US20050091346A1 (en) * 2003-10-23 2005-04-28 Brijesh Krishnaswami Settings management infrastructure
US20120290429A1 (en) * 2010-08-31 2012-11-15 Daniel Reuven Ostroff System and method of creating and remotely editing interactive generic configurator programs
CN103218751A (en) * 2013-04-25 2013-07-24 清华大学 Technological prescription document processing system of semiconductor equipment based on extensive markup language (XML)
CN107959580A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 The method and apparatus of configuration service
CN108416069A (en) * 2018-05-10 2018-08-17 湖南利能新能源有限公司 A kind of data acquisition device and method
CN109460231A (en) * 2018-09-25 2019-03-12 北京通广龙电子科技有限公司 Upper computer software implementation method based on XML
CN109460276A (en) * 2018-10-25 2019-03-12 北京字节跳动网络技术有限公司 The page and page configuration document generating method, device, terminal device and medium
CN110795024A (en) * 2019-10-12 2020-02-14 北京四方继保自动化股份有限公司 Protection equipment universal man-machine interaction system and method based on XML
CN111488631A (en) * 2020-06-28 2020-08-04 中国核动力研究设计院 Nuclear-level security display device and configuration-analysis system thereof
CN111651405A (en) * 2020-04-28 2020-09-11 中国平安财产保险股份有限公司 Configuration file management method, device, equipment and storage medium
CN112000331A (en) * 2020-08-07 2020-11-27 北京三快在线科技有限公司 Page rendering method and device, electronic equipment and storage medium
CN112181409A (en) * 2019-07-03 2021-01-05 马上消费金融股份有限公司 Application construction method, application rendering method and device
CN112631585A (en) * 2020-12-22 2021-04-09 中国航空工业集团公司西安航空计算技术研究所 XML-based rapid parameter interface configuration method
CN113391808A (en) * 2021-07-08 2021-09-14 北京沃东天骏信息技术有限公司 Page configuration method and device and electronic equipment
CN113608903A (en) * 2021-06-21 2021-11-05 天津津航计算技术研究所 Fault management method based on XML language
CN113900958A (en) * 2021-10-29 2022-01-07 中国电信股份有限公司 Test case script generation method, system, medium and electronic device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040190034A1 (en) * 2003-03-24 2004-09-30 Fuji Xerox Co., Ltd. Image processing system
KR20040090866A (en) * 2003-04-18 2004-10-27 (주)아이펜텍 XML Document Editor Using a Form and Computer-Readable Recording Medium
US20050091346A1 (en) * 2003-10-23 2005-04-28 Brijesh Krishnaswami Settings management infrastructure
US20120290429A1 (en) * 2010-08-31 2012-11-15 Daniel Reuven Ostroff System and method of creating and remotely editing interactive generic configurator programs
CN103218751A (en) * 2013-04-25 2013-07-24 清华大学 Technological prescription document processing system of semiconductor equipment based on extensive markup language (XML)
CN107959580A (en) * 2016-10-17 2018-04-24 中兴通讯股份有限公司 The method and apparatus of configuration service
CN108416069A (en) * 2018-05-10 2018-08-17 湖南利能新能源有限公司 A kind of data acquisition device and method
CN109460231A (en) * 2018-09-25 2019-03-12 北京通广龙电子科技有限公司 Upper computer software implementation method based on XML
CN109460276A (en) * 2018-10-25 2019-03-12 北京字节跳动网络技术有限公司 The page and page configuration document generating method, device, terminal device and medium
CN112181409A (en) * 2019-07-03 2021-01-05 马上消费金融股份有限公司 Application construction method, application rendering method and device
CN110795024A (en) * 2019-10-12 2020-02-14 北京四方继保自动化股份有限公司 Protection equipment universal man-machine interaction system and method based on XML
CN111651405A (en) * 2020-04-28 2020-09-11 中国平安财产保险股份有限公司 Configuration file management method, device, equipment and storage medium
CN111488631A (en) * 2020-06-28 2020-08-04 中国核动力研究设计院 Nuclear-level security display device and configuration-analysis system thereof
CN112000331A (en) * 2020-08-07 2020-11-27 北京三快在线科技有限公司 Page rendering method and device, electronic equipment and storage medium
CN112631585A (en) * 2020-12-22 2021-04-09 中国航空工业集团公司西安航空计算技术研究所 XML-based rapid parameter interface configuration method
CN113608903A (en) * 2021-06-21 2021-11-05 天津津航计算技术研究所 Fault management method based on XML language
CN113391808A (en) * 2021-07-08 2021-09-14 北京沃东天骏信息技术有限公司 Page configuration method and device and electronic equipment
CN113900958A (en) * 2021-10-29 2022-01-07 中国电信股份有限公司 Test case script generation method, system, medium and electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
玉龙 等: "一种基于读取和解析XML文件的设备自动配置方案", 技术研发与应用 视听, 28 June 2019 (2019-06-28) *
陆杨: "线激光3D相机后台软件的设计与实现", CNKI 优秀硕士学位论文全文库,信息科技, 22 November 2021 (2021-11-22), pages 35 - 49 *

Similar Documents

Publication Publication Date Title
US7725606B2 (en) Method and apparatus for two phase structured message to tagged message translation
EP3709227B1 (en) System and method for interoperable communication of an automation system component with multiple information sources
US6889360B1 (en) Representing IMS transaction definitions as XML documents
WO2001073546A2 (en) Industrial automation system graphical programming language storage and transmission
CN101211336B (en) Visualized system and method for generating inquiry file
CN104932480A (en) Automobile diagnostic system design method and apparatus
CN110333863A (en) A kind of method and device for generating, showing the small routine page
CN100407193C (en) Network equipment managing method, network equipment managing system and processing program
US20070100871A1 (en) Method and system for creating management information base specifications
CN112464119A (en) Web-end-based SCADA (supervisory control and data acquisition) online configuration editing method
CN108664546B (en) XML data structure conversion method and device
CN102609506A (en) Method for generating HL7 (Health Level 7) message through mapping
US20220030090A1 (en) Selective address space aggregation
CN109614143B (en) Development method for automatically generating fault flow chart in IETM browser
CN114518906A (en) XML (extensive markup language) description file-based equipment configuration parameter management system and method
Wollschlaeger A framework for fieldbus management using XML descriptions
CN115392193A (en) Message conversion code generation method, related device and computer storage medium
KR100453224B1 (en) Apparatus and method for editing a numerical formula by using wire/wireless internet
US20090217156A1 (en) Method for Storing Localized XML Document Values
CN114968235A (en) Page form generation method and device, computer equipment and storage medium
Runde et al. EDDL and semantic web—From field device integration (FDI) to Future Device Management (FDM)
CN113705143A (en) Automatic simulation system and automatic simulation method
CN110311819A (en) Automatic production of HTML page and MIBs table generating method, management method, equipment end and management system based on page configuration file
CN112256708B (en) Method, device, terminal and storage medium for acquiring and storing text content
KR100483283B1 (en) System And Method For WEB Based GDMO Information Search

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination