CN109669606A - Device parameter configuration method and its system, computer readable storage medium - Google Patents
Device parameter configuration method and its system, computer readable storage medium Download PDFInfo
- Publication number
- CN109669606A CN109669606A CN201811556339.4A CN201811556339A CN109669606A CN 109669606 A CN109669606 A CN 109669606A CN 201811556339 A CN201811556339 A CN 201811556339A CN 109669606 A CN109669606 A CN 109669606A
- Authority
- CN
- China
- Prior art keywords
- node
- parameter
- configuration
- nodes
- enumerate
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to device parameter configuration method and its systems, computer readable storage medium.The device parameter configuration method includes: that the node of device parameter (10) are established in the mind map of tree structure;Attribute list (20) are generated to Parameter nodes (102);Script (30) are generated to node (103) are enumerated;It saves in xml format;The file of XML format is parsed, it generates configuration interface (40), comprising: be referred to as the corresponding explanation of keyword query with the name of node (10), and it is shown in configuration interface (40), keyword search is referred to as to corresponding Parameter nodes with using the name of the Parameter nodes as the child node for enumerating node (103), and the corresponding node of enumerating enumerating node and capable of choosing of the Parameter nodes is shown in configuration interface (40) as combobox;The configuration that user is received in configuration interface (40) operates;Equipment is uploaded to carry out parameter configuration to it according to write access with by the parameter information of user configuration.
Description
Technical field
The present invention relates to device parameter configuration technology field more particularly to device parameter configuration methods, device parameter configuration
System and computer readable storage medium.
Background technique
Many equipment, especially industrial equipment, such as temperature sensor etc. need to carry out parameter configuration before use.If
Standby manufacturer would generally provide the parameter configuration tool of equipment to client.The parameter configuration tool of traditional equipment includes equipment description
File (Electric device description, abbreviation EDD), with professional language, such as C language, format show.Visitor
EDD file is read with dedicated reading tool software in family, generates a configuration interface.User is in interface modification parameter.
However, EDD file generallys use the format of professional language (such as C language), writes and reading is required to profession
Technical ability, the relationship between parameter is intricate, is many times difficult to clear.
Summary of the invention
An object of the present invention is to provide device parameter configuration method and its system, computer readable storage medium, should
Method and system describes the structure and correlation of device parameter with mind map, readable strong, wants to the technical ability of professional language
Ask low, parameter configuration is simple, high-efficient.
One aspect of the present invention provides device parameter configuration method, comprising:
In the mind map of tree structure, the node and its each junior's child node for establishing device parameter form tree-like ginseng
Table structure, wherein between node and its junior's child node have relevance, node include Parameter File folder node, Parameter nodes,
With enumerate node, the child node that Parameter File presss from both sides node is that of a sort Parameter File presss from both sides node or Parameter nodes, Parameter nodes
Child node be enumerate node, enumerate node child node be enumerate the associated Parameter nodes of node with this and enumerate node
Sun Jiedian be enumerate the associated Parameter nodes of node it is corresponding enumerate that node can choose enumerate node;
Attribute list is generated with the constraint of setup parameter at least Parameter nodes in node and its each junior's child node
Condition, constraint condition include: maximum value, minimum value and read channel and write access;
It is corresponding with node is enumerated to set that node generation script is enumerated at least one in node and its each junior's child node
Parameter value;
Tree-like argument structure is saved in xml format;
The file of XML format is parsed, the configuration interface of generating device parameter comprising:
Keyword is referred to as with the name of node and inquires corresponding explanation in a multi-language dictionary, and the explanation is shown in
Configuration interface, and
Keyword is referred to as in XML format file using the name of the Parameter nodes as the child node for enumerating node to search
Corresponding Parameter nodes, and the corresponding node of enumerating enumerating node and capable of choosing of the Parameter nodes is shown in as combobox
Configuration interface;
The configuration that user is received in configuration interface operates;With
The parameter information of user configuration is uploaded to equipment according to write access to carry out parameter configuration to it.
The device parameter configuration method describes the structure and correlation of device parameter with mind map, readable strong, right
The skill requirement of professional language is low, and parameter configuration is simple, high-efficient.
In the schematical embodiment of another kind of device parameter configuration method, the constraint condition of attribute list setting is also
Including type, unit, visibility, default value, whether read-only, read command and write order, read command includes read channel, write order
Including write access.
In the schematical embodiment of another kind of device parameter configuration method, in attribute list, maximum value and most
Small value is the function of an at least other parameters;When parsing to the file of XML format, maximum value is calculated according to function automatically
And minimum value, and it is shown in configuration interface.In this way, facilitating user configuration, configuration accuracy and efficiency are improved.
In the schematical embodiment of another kind of device parameter configuration method, further includes: saved according in mind map
The title of point imports parameter value from a data file, or imports parameter value from an equipment to be configured.User can be from the number in this way
According to importing historical data in file, or parameter current setting value is imported from equipment to be configured, be based on having configuration convenient for user
Configuration is optimized, allocative efficiency is improved.
Another aspect of the present invention provides device parameter configuration system, comprising:
One mind map constructs module, in the mind map of tree structure, establishes the node of device parameter and its each
Junior's child node forms tree-like argument structure, wherein has relevance between node and its junior's child node, node includes ginseng
It counts folder node, Parameter nodes and enumerates node, the child node that Parameter File presss from both sides node is of a sort Parameter File folder section
Point or Parameter nodes, the child nodes of Parameter nodes are to enumerate node, and the child node for enumerating node is that enumerate node with this associated
Parameter nodes and the Sun Jiedian for enumerating node enumerate that the associated Parameter nodes of node are corresponding to be enumerated node and can choose
Enumerate node;
One attribute list generation module generates attribute at least Parameter nodes in node and its each junior's child node
With the constraint condition of setup parameter, constraint condition includes: maximum value, minimum value and read channel and write access for list;
One script generation module enumerates node at least one in Parameter nodes and its each junior's child node and generates script
To set the value of parameter corresponding with node is enumerated;
One memory module saves tree-like argument structure in xml format;
One parsing module parses the file of XML format, the configuration interface of generating device parameter, comprising:
One enquiry module is referred to as keyword with the name of node and inquires corresponding explanation in a multi-language dictionary, and
The explanation is shown in configuration interface, and
One combobox generation module, is referred to as keyword using the name of the Parameter nodes as the child node for enumerating node and exists
Search corresponding Parameter nodes in XML format file, and by the Parameter nodes it is corresponding enumerate that node can choose enumerate
Node is shown in configuration interface as combobox;
One input module, the configuration for receiving user in configuration interface operate;With
The parameter information of user configuration is uploaded to equipment according to write access and is matched with carrying out parameter to it by one configuration module
It sets.
Another aspect of the present invention provides computer readable storage medium, is stored with computer program, computer
Program realizes the step of above-mentioned device parameter configuration method when being executed by a processor.
Another aspect of the present invention provides device parameter configuration system, including a processor and a memory, storage
The program that can be executed by processor is stored in device, for so that processor executes the step of above-mentioned device parameter configuration method
Suddenly.
Device parameter configuration system describes the structure and correlation of device parameter with mind map, readable strong, right
The skill requirement of professional language is low, and parameter configuration is simple, high-efficient.
Detailed description of the invention
Hereafter by with clearly understandable mode by description of a preferred embodiment and in conjunction with attached drawing come to the present invention it is above-mentioned
Characteristic, technical characteristic, advantage and its implementation are further described, in which:
Fig. 1 is the flow chart for the device parameter configuration method that the embodiment of the present invention provides;
Fig. 2 is the structural schematic diagram for the mind map that the embodiment of the present invention provides;
Fig. 3 is the structural schematic diagram for enumerating node and its script that the embodiment of the present invention provides;
Fig. 4 is the structural schematic diagram of the Parameter nodes that the embodiment of the present invention provides and its attribute list;
Fig. 5 is the schematic diagram for the configuration interface that the embodiment of the present invention provides;
Fig. 6 is the structural block diagram for the device parameter configuration system that the embodiment of the present invention provides;
Fig. 7 is the structural block diagram for the device parameter configuration system that another embodiment of the present invention provides.
Label declaration:
S100, S200, S300, S400, S500, S501, S502, S600, S700 step
10 nodes
101 Parameter Files press from both sides node
102 Parameter nodes
103 enumerate node
20 attribute lists
30 scripts
40 configuration interfaces
1000 device parameters configure system
100 mind maps construct module
200 attribute list generation modules
300 script generation modules
400 memory modules
500 parsing modules
501 enquiry modules
502 combobox generation modules
600 input modules
700 configuration modules
800 processors
900 memories
Specific embodiment
In order to which the technical features, objects and effects of invention are more clearly understood, the Detailed description of the invention present invention is now compareed
Specific embodiment, identical label indicates identical part in the various figures.
It each figure discussed below and is used to describe the various embodiments of the principle of the disclosure in the patent file
It only should not be construed as limiting the scope of the present disclosure by way of illustration and anyway.Those skilled in the art will manage
Solution, can implement the principle of the disclosure in any equipment suitably arranged.Reference example non-limiting embodiments are described
The various innovative teachings of the application.
Herein, " schematic " expression " serving as examplea, instances, or illustrations " should not will be described herein as " showing
Any diagram, the embodiment of meaning property " are construed to technical solution that is a kind of preferred or more having advantages.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented
Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand
Component schematically shows only one of those, or has only marked one of those.
Fig. 1 is the flow chart for the device parameter configuration method that the embodiment of the present invention provides.Fig. 2 is the embodiment of the present invention
The structural schematic diagram of the mind map of offer.Referring to Fig.1 with 2, device parameter configuration method packet that the embodiment of the present invention provides
Include following steps:
Step S100: in the mind map of tree structure, establish device parameter node 10 and its each junior's child node
Form tree-like argument structure.
Wherein, between node 10 and its junior's child node have relevance, node 10 include Parameter File folder node 101,
Parameter nodes 102 and enumerate node 103, Parameter File press from both sides node 101 child node be of a sort Parameter File press from both sides node or
Parameter nodes, the child node of Parameter nodes 102 are to enumerate node, and the child node for enumerating node 103 is to enumerate node 103 with this to close
The Parameter nodes of connection and the Sun Jiedian for enumerating node 103 are to enumerate the associated Parameter nodes of node 103 correspondence to enumerate node
103 can choose enumerate node.
The mind map of tree structure as shown in Fig. 2, include root node and its under child nodes at different levels.Each node 10 represents
The parameter of equipment.Root node only has downstream site, is followed successively by child node, Sun Jiedian etc.;The existing superior node of intermediate node also has
Downstream site;Afterbody node only has superior node, is followed successively by father node, grandparent node etc..That is, the mind map
In node 10, relationship depending on the relative position, either superior node, being also possible to downstream site.The name of root node in Fig. 2
Referred to as ID_SITRANS_TH320, the title of next stage child node are respectively ID_Identification, ID_Input, and
ID_Output.By taking node ID _ Input as an example, the title of next stage child node is respectively ID_MainNoiseFilter, ID_
Custom1 ..., ID_Mnitoring.Specifically referring to figure 2., numerous to list herein.The type of node 10 includes including parameter
Folder node 101, Parameter nodes 102 and enumerate node 103.Different types of node 10 is according between actual parameter
Relevance can be located at different levels.There is relevance between node 10 and its junior's child node.Pass between different levels
Connection property may be different.The next stage node (child node) of Parameter File folder node is of a sort Parameter File folder node or parameter
Node.The classification principle can be selected according to actual needs.Parameter File folder node itself does not represent any parameter.?
I other words the relevance of Parameter File folder node and its next stage node (child node) is the next of same parameters folder node
Grade node is " same class ".What Parameter nodes represented is the parameter of equipment, and next stage node (child node) is to enumerate node.When
So, Parameter nodes can also not have next stage node (child node).Enumerating node indicates that the Parameter nodes can select all
Possible parameter value.That is, the node of enumerating of the next stage of Parameter nodes corresponds to the parameter that the Parameter nodes may select
Value.For example, in Fig. 2 Parameter nodes ID_PV_MappedTo corresponds to 3 pieces of next stage there are three the parameter value that may be selected
Lifting node is respectively 0:ID_Sensor1,2:ID_Sensor1_CJC, 15:ID_ElecTemp.Parameter nodes and its next stage section
The relevance of point (child node) is that the next stage node of same parameters node is enumerated for what the Parameter nodes can select.It enumerates
The next stage node (child node) of node is to enumerate the associated Parameter nodes of node with this and enumerate the lower two-stage node of node
(Sun Jiedian) for enumerate the associated Parameter nodes of node it is corresponding enumerate that node can choose enumerate node.Fig. 3 is the present invention
Embodiment provide the structural schematic diagram for enumerating node and its script.Referring to Fig. 3, node 0:ID_Standard is enumerated as ginseng
The child node of several sections of point ID_ConnType, the child node for enumerating node 0:ID_Standard is Parameter nodes associated with it
ID_SensorConn, the Sun Jiedian for enumerating node 0:ID_Standard are to enumerate the associated parameter of node 0:ID_Standard
Node ID _ SensorConn is corresponding enumerate that node 0:ID_Standard can choose enumerate node, respectively 2:ID_
Wire2,3:ID_Wire3 and 4:ID_Wire4.What the Parameter nodes ID_SensorConn under other nodes can choose
Enumerating node may be 1:ID_Wire1,2:ID_Wire2,3:ID_Wire3 and 4:ID_Wire4, and enumerate node 0:ID_
The node that Parameter nodes ID_SensorConn under Standard can choose is different.Thus pass through the ginseng of tree structure
Table structure by relevant Parameter nodes, is enumerated node and is associated, and the correlation between parameter is clear, readable
By force.
Step S200: attribute list 20 is generated at least Parameter nodes 102 in node 10 and its each junior's child node
With the constraint condition of setup parameter, constraint condition includes: maximum value, minimum value and read channel and write access.
Fig. 4 is the structural schematic diagram of the Parameter nodes that the embodiment of the present invention provides and its attribute list.It can be with from Fig. 4
Find out, the child node of the Parameter File folder node of entitled ID_ProcessVlaueScale is 4 Parameter nodes, respectively ID_
LowerValue, ID_UpperValue, ID_Measuring_Min_Span, ID_S1_S2_LowerValue and ID_S1_
S2_UpperValue.In Fig. 4 with Parameter nodes ID_LowerValue be illustrated its attribute list 20.In attribute list 20
Set the constraint condition of parameter.Such as the constraint condition of Parameter nodes ID_LowerValue includes maximum value Max, minimum value
Min and read channel and write access.Optionally, the constraint condition that attribute list 20 is set further includes type Type, unit
Unit, visibility Visible, default value Default, whether read-only Readonly, read command ReadCmd and write order
WriteCmd, read command ReadCmd include read channel, and write order WriteCmd includes write access.In this way, subsequent step S500 into
After row parsing, the constraint condition of the parameter can be obtained from the attribute list of the Parameter nodes, carry out parameter setting convenient for client.
Step S300: node 103 is enumerated at least one in node 10 and its each junior's child node and generates script 30 to set
The value of fixed parameter corresponding with node is enumerated.
In conjunction with Fig. 3 as can be seen that entitled 1:ID_Pt100_DIN_IEC_751's enumerates node with script 30 (see Fig. 3
Lower part).The value of parameter corresponding with node 1:ID_Pt100_DIN_IEC_751 is enumerated is set in the script 30.For example,
Set enumerate node 1:ID_Pt100_DIN_IEC_751 correspond to parameter ID_LowerValue_Min value be -200.00, it is right
The value for answering parameter ID_UpperValue_Max is 850.00, and the minimum value of corresponding parameter ID_SensorFactor is 0.4, corresponding
The maximum value of parameter ID_SensorFactor is 6, and the value of corresponding parameter ID_Measuring_Min_Span is 10.00.In this way,
After subsequent step S500 is parsed, the abridged edition for enumerating node can be run obtain this and enumerate the corresponding parameter value of node, just
Parameter setting is carried out in client.
Step S400: tree-like argument structure is saved in xml format.
The tree-like argument structure for the mind map description that abovementioned steps are formed is saved as to the file of XML format.
Step S500: parsing the file of XML format, the configuration interface of generating device parameter.
Fig. 5 is the schematic diagram for the configuration interface that the embodiment of the present invention provides.When parsing, according to set by mind map
Incidence relation between the structure and parameter of device parameter is shown in the form of configuration interface.For can be in configuration circle
Device parameter is configured on face, parameter configuration is simple, high-efficient.
Step S500 includes the following steps:
Step S501: keyword is referred to as with the name of node 10 and inquires corresponding explanation in a multi-language dictionary, and will
The explanation is shown in configuration interface 40.
The entitled multilingual resource tag of the node 10.Keyword is referred to as in a multilingual word with the name of node 10
It is inquired in allusion quotation, finds the explanation of the corresponding node 10, and be shown in configuration interface 40.Client can be in configuration interface in this way
40 read the explanation to determine the meaning of corresponding parameter.For example, nodename is ID_LowerValue_Min, after parsing
It obtains it and is construed to Lower Value Min.
Step S502: keyword is referred to as in XML format text using the name of the Parameter nodes as the child node for enumerating node
Search corresponding Parameter nodes in part, and using the Parameter nodes it is corresponding enumerate that node can choose enumerate node as under
Frame is drawn to be shown in configuration interface 40.Referring to Fig. 3, the son section that node 0:ID_Standard is Parameter nodes ID_ConnType is enumerated
Point, the child node for enumerating node 0:ID_Standard is Parameter nodes ID_SensorConn associated with it, enumerates node 0:
The Sun Jiedian of ID_Standard is to enumerate the associated Parameter nodes ID_SensorConn correspondence of node 0:ID_Standard to enumerate
What node 0:ID_Standard can choose enumerates node, respectively 2:ID_Wire2,3:ID_Wire3 and 4:ID_
Wire4.When parsing, by the title ID_SensorConn as the Parameter nodes for the child node for enumerating node 0:ID_Standard
It is scanned in the XML format file as keyword, finds corresponding Parameter nodes.By Parameter nodes ID_
SensorConn is corresponding enumerate that node 0:ID_Standard can choose enumerate node 2:ID_Wire2,3:ID_Wire3,
Configuration interface 40 is shown in as combobox with 4:ID_Wire4.In this way, user has selected parameter 0:ID_ in configuration interface 40
After Standard, corresponding combobox list parameter ID_SensorConn can only enumerate 2:ID_Wire2,3:ID_Wire3 and
It is selected in 4:ID_Wire4.User is when carrying out device parameter configuration in this way, the relevance of system automatic prompt parameter, real
Event binding and chain triggering are showed, have reduced customer parameter configuration and a possibility that conflicting between parameter occur, improve system
Accuracy, success rate and the allocative efficiency of parameter configuration.
Step S600: the configuration for receiving user in configuration interface 40 operates.
User carries out configuration operation in the configuration interface 40 that abovementioned steps are formed.Configuration system detects and receives matching for user
Set operation.
Step S700: the parameter information of user configuration is uploaded to equipment according to write access to carry out parameter configuration to it.
When user is after configuration interface 40 has selected or input parameter information, configuration system is by the parameter information of user configuration
Equipment is uploaded to by the write access set in aforementioned parameters attribute list.This completes the configurations to device parameter.
The device parameter configuration method that the embodiment of the present invention provides describes the structure and phase of device parameter with mind map
Mutual relation, readable strong, low to the skill requirement of professional language, parameter configuration is simple, high-efficient.
In a schematical embodiment, as shown in figure 4, in attribute list 20, maximum value Max and minimum value
Min is the function of an at least other parameters.The function of the maximum value Max of Parameter nodes ID_LowerValue is [ID_ in Fig. 4
UpperValue]-[ID_Measuring_Min_Span].The function of minimum M in is [ID_LowerValue_Min].It is right
When the file of XML format is parsed, maximum value and minimum value are calculated according to above-mentioned function automatically, and be shown in configuration interface
40.When configuring in this way to the maximum value Max of parameter Lower Value, system is automatically according to function [ID_
UpperValue]-[ID_Measuring_Min_Span] calculate maximum value Max;To the minimum of parameter Lower Value
When value Min is configured, system calculates minimum M in automatically according to function [ID_LowerValue_Min], facilitates user
Configuration improves configuration accuracy and efficiency.
In a schematical embodiment, the device parameter configuration method further include: according to mind map interior joint
10 title imports parameter value from a data file, or imports parameter value from an equipment to be configured.User can be from the number in this way
According to importing historical data in file, or parameter current setting value is imported from equipment to be configured, be based on having configuration convenient for user
Configuration is optimized, allocative efficiency is improved.
The embodiments of the present invention also provide device parameters to configure system.Fig. 6 is the equipment that the embodiment of the present invention provides
The structural block diagram of parameter configuring system.The device parameter configures system 1000
One mind map construct module 100, in the mind map of tree structure, establish device parameter node and its
Each junior's child node forms tree-like argument structure, wherein has relevance between node and its junior's child node, node includes
Parameter File presss from both sides node, Parameter nodes and enumerates node, and the child node that Parameter File presss from both sides node is of a sort Parameter File folder
Node or Parameter nodes, the child node of Parameter nodes are to enumerate node, and the child node for enumerating node is to enumerate node with this to be associated with
Parameter nodes and enumerate the Sun Jiedian of node the associated Parameter nodes of node are corresponding to be enumerated node and can choose to enumerate
Enumerate node;
One attribute list generation module 200 generates at least Parameter nodes in node and its each junior's child node
For attribute list with the constraint condition of setup parameter, constraint condition includes: maximum value, minimum value and read channel and write access;
One script generation module 300 is enumerated node at least one in Parameter nodes and its each junior's child node and is generated
Script is to set the value of parameter corresponding with node is enumerated;
One memory module 400, saves tree-like argument structure in xml format;
One parsing module 500, parses the file of XML format, the configuration interface of generating device parameter, comprising:
One enquiry module 501 is referred to as keyword with the name of node and inquires corresponding explanation in a multi-language dictionary,
And the explanation is shown in configuration interface, and
One combobox generation module 502 is referred to as key using the name of the Parameter nodes as the child node for enumerating node
Word searches corresponding Parameter nodes in XML format file, and Parameter nodes correspondence is enumerated what node can be chosen
Node is enumerated as combobox and is shown in configuration interface;
One input module 600, the configuration for receiving user in configuration interface operate;With
The parameter information of user configuration is uploaded to equipment according to write access to join to it by one configuration module 700
Number configuration.
The embodiments of the present invention also provide computer readable storage mediums, are stored with computer program.Computer journey
Sequence realizes the step of above-mentioned device parameter configuration method when being executed by a processor.
Another embodiment of the present invention additionally provides device parameter configuration system.Fig. 7 is that another embodiment of the present invention mentions
The structural block diagram of the device parameter configuration system of confession.It includes a processor 800 and a storage that the device parameter, which configures system 1000,
Device 900 is stored with the program that can be executed by processor 800 in memory 900, for so that processor 800 execute it is above-mentioned
The step of device parameter configuration method.
Although not each embodiment is only wrapped it should be appreciated that this specification is described according to each embodiment
Containing an independent technical solution, only for clarity, those skilled in the art should incite somebody to action this narrating mode of specification
As a whole, the technical solution in each embodiment may also be suitably combined to form those skilled in the art to specification
The other embodiments being understood that.
The series of detailed descriptions listed above are illustrated only for possible embodiments of the invention,
The protection scope that they are not intended to limit the invention, it is all without departing from equivalent embodiment made by technical spirit of the present invention or change
It should all be included in the protection scope of the present invention.
Claims (7)
1. device parameter configuration method characterized by comprising
In the mind map of tree structure, the node (10) and its each junior's child node for establishing device parameter form tree-like ginseng
Table structure, wherein there is relevance, the node (10) includes Parameter File between the node (10) and its junior's child node
It presss from both sides node (101), Parameter nodes (102) and enumerates node (103), the child node of Parameter File folder node (101) is same
A kind of Parameter File folder node or Parameter nodes, the child node of the Parameter nodes (102) is to enumerate node, described to enumerate section
The child node of point (103) is to enumerate the associated Parameter nodes of node (103) and the Sun Jie for enumerating node (103) with this
Point enumerated for described in enumerate that node (103) can choose described in node (103) associated Parameter nodes correspondence enumerate node;
Attribute list (20) are generated to set at least Parameter nodes (102) in the node (10) and its each junior's child node
Determine the constraint condition of parameter, the constraint condition includes: maximum value, minimum value and read channel and write access;
To at least one in the node (10) and its each junior's child node enumerate node (103) generate script (30) with set with
The value for enumerating the corresponding parameter of node;
The tree-like argument structure is saved in xml format;
The file of the XML format is parsed, the configuration interface (40) of generating device parameter comprising:
Keyword is referred to as with the name of the node (10) and inquires corresponding explanation in a multi-language dictionary, and the explanation is shown
It is shown in the configuration interface (40), and
Keyword is referred to as in the XML format text using the name of the Parameter nodes as the child node for enumerating node (103)
Search corresponding Parameter nodes in part, and by the Parameter nodes it is corresponding described in enumerate that node can choose enumerate node work
The configuration interface (40) are shown in for combobox;
The configuration that user is received in the configuration interface (40) operates;With
The parameter information of user configuration is uploaded to the equipment according to the write access to carry out parameter configuration to it.
2. device parameter configuration method according to claim 1, which is characterized in that the pact of attribute list (20) setting
Beam condition further includes type, unit, visibility, default value, whether read-only, read command and write order, and the read command includes institute
Read channel is stated, the write order includes the write access.
3. device parameter configuration method according to claim 2, which is characterized in that in the attribute list (20), institute
It states maximum value and the minimum value is the function of an at least other parameters;When being parsed to the file of the XML format, root
The maximum value and the minimum value are calculated automatically according to the function, and are shown in the configuration interface (40).
4. device parameter configuration method according to claim 3, which is characterized in that further include: according to the mind map
The title of interior joint (10) imports parameter value from a data file, or imports parameter value from an equipment to be configured.
5. device parameter configures system characterized by comprising
One mind map constructs module (100), in the mind map of tree structure, establishes the node of device parameter and its each
Junior's child node forms tree-like argument structure, wherein has relevance, the section between the node and its junior's child node
Point includes Parameter File folder node, Parameter nodes and enumerates node, and the child node of the Parameter File folder node is of a sort
Parameter File presss from both sides node or Parameter nodes, and the child node of the Parameter nodes is to enumerate node, the child node for enumerating node
To enumerate the associated Parameter nodes of node with this and the Sun Jiedian for enumerating node is described to enumerate the associated parameter of node
That enumerates that node can choose described in node is corresponding enumerates node;
One attribute list generation module (200), it is raw at least Parameter nodes in the node and its each junior's child node
At attribute list with the constraint condition of setup parameter, the constraint condition includes: maximum value, minimum value and read channel and writes
Channel;
It is raw to enumerate node at least one in the Parameter nodes and its each junior's child node for one script generation module (300)
At script to set and the value for enumerating the corresponding parameter of node;
One memory module (400) saves the tree-like argument structure in xml format;
One parsing module (500), parses the file of the XML format, the configuration interface of generating device parameter, packet
It includes:
One enquiry module (501) is referred to as keyword with the name of the node and inquires corresponding solution in a multi-language dictionary
It releases, and the explanation is shown in the configuration interface, and
One combobox generation module (502) is referred to as closing using the name of the Parameter nodes as the child node for enumerating node
Keyword searches corresponding Parameter nodes in the XML format file, and will enumerate node institute described in Parameter nodes correspondence
The node of enumerating that can be chosen is shown in the configuration interface as combobox;
One input module (600), the configuration for receiving user in the configuration interface operate;With
The parameter information of user configuration is uploaded to the equipment to it according to the write access by one configuration module (700)
Carry out parameter configuration.
6. computer readable storage medium is stored with computer program, which is characterized in that the computer program is by a processing
The step of device realizes device parameter configuration method according to any one of claims 1 to 4 when executing.
7. device parameter configures system, which is characterized in that including a processor (800) and a memory (900), the memory
(900) it is stored with the program that can be executed by the processor (800) in, is used for so that the processor (800) is executed as weighed
Benefit require any one of 1 to 4 described in device parameter configuration method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811556339.4A CN109669606B (en) | 2018-12-19 | 2018-12-19 | Equipment parameter configuration method and system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811556339.4A CN109669606B (en) | 2018-12-19 | 2018-12-19 | Equipment parameter configuration method and system and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109669606A true CN109669606A (en) | 2019-04-23 |
CN109669606B CN109669606B (en) | 2021-08-31 |
Family
ID=66144131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811556339.4A Active CN109669606B (en) | 2018-12-19 | 2018-12-19 | Equipment parameter configuration method and system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109669606B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825409A (en) * | 2019-10-30 | 2020-02-21 | 炬星科技(深圳)有限公司 | Parameter management method, electronic device, and computer storage medium |
CN112169313A (en) * | 2020-10-19 | 2021-01-05 | 网易(杭州)网络有限公司 | Game interface setting method and device, electronic equipment and storage medium |
CN112631585A (en) * | 2020-12-22 | 2021-04-09 | 中国航空工业集团公司西安航空计算技术研究所 | XML-based rapid parameter interface configuration method |
CN114090523A (en) * | 2022-01-19 | 2022-02-25 | 荣耀终端有限公司 | Electronic device, and node parsing method and medium for XML file thereof |
CN117472359A (en) * | 2023-12-26 | 2024-01-30 | 广东太亚科技有限公司 | Visual configuration multistage linkage constraint method, device and computer equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6996771B1 (en) * | 1999-11-05 | 2006-02-07 | International Business Machines Corporation | Dynamic parameter modification |
CN101005681A (en) * | 2006-01-17 | 2007-07-25 | 大唐移动通信设备有限公司 | Interface automatic forming method and interface automatic forming system |
CN104158692A (en) * | 2014-08-25 | 2014-11-19 | 烽火通信科技股份有限公司 | Method of implementing configuration and management of data of home gateway based on XML (Extensible Markup Language) |
CN106951252A (en) * | 2017-03-21 | 2017-07-14 | 四川元易云科技有限公司 | A kind of user interface creating method based on SaaS |
CN108829308A (en) * | 2018-06-29 | 2018-11-16 | 杭州嘉楠耘智信息科技有限公司 | System parameter configuration method and device and mining raspberry dispatching system |
-
2018
- 2018-12-19 CN CN201811556339.4A patent/CN109669606B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6996771B1 (en) * | 1999-11-05 | 2006-02-07 | International Business Machines Corporation | Dynamic parameter modification |
CN101005681A (en) * | 2006-01-17 | 2007-07-25 | 大唐移动通信设备有限公司 | Interface automatic forming method and interface automatic forming system |
CN104158692A (en) * | 2014-08-25 | 2014-11-19 | 烽火通信科技股份有限公司 | Method of implementing configuration and management of data of home gateway based on XML (Extensible Markup Language) |
CN106951252A (en) * | 2017-03-21 | 2017-07-14 | 四川元易云科技有限公司 | A kind of user interface creating method based on SaaS |
CN108829308A (en) * | 2018-06-29 | 2018-11-16 | 杭州嘉楠耘智信息科技有限公司 | System parameter configuration method and device and mining raspberry dispatching system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825409A (en) * | 2019-10-30 | 2020-02-21 | 炬星科技(深圳)有限公司 | Parameter management method, electronic device, and computer storage medium |
CN110825409B (en) * | 2019-10-30 | 2023-10-31 | 炬星科技(深圳)有限公司 | Parameter management method, electronic device and computer storage medium |
CN112169313A (en) * | 2020-10-19 | 2021-01-05 | 网易(杭州)网络有限公司 | Game interface setting method and device, electronic equipment and storage medium |
CN112169313B (en) * | 2020-10-19 | 2024-04-12 | 网易(杭州)网络有限公司 | Game interface setting method and device, electronic equipment and storage medium |
CN112631585A (en) * | 2020-12-22 | 2021-04-09 | 中国航空工业集团公司西安航空计算技术研究所 | XML-based rapid parameter interface configuration method |
CN112631585B (en) * | 2020-12-22 | 2023-03-31 | 中国航空工业集团公司西安航空计算技术研究所 | XML-based rapid parameter interface configuration method |
CN114090523A (en) * | 2022-01-19 | 2022-02-25 | 荣耀终端有限公司 | Electronic device, and node parsing method and medium for XML file thereof |
CN114090523B (en) * | 2022-01-19 | 2022-06-07 | 荣耀终端有限公司 | Electronic device, and node parsing method and medium for XML file thereof |
CN117472359A (en) * | 2023-12-26 | 2024-01-30 | 广东太亚科技有限公司 | Visual configuration multistage linkage constraint method, device and computer equipment |
CN117472359B (en) * | 2023-12-26 | 2024-03-01 | 广东太亚科技有限公司 | Visual configuration multistage linkage constraint method, device and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109669606B (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109669606A (en) | Device parameter configuration method and its system, computer readable storage medium | |
US6393425B1 (en) | Diagramming real-world models based on the integration of a database, such as models of a computer network | |
EP2460258B1 (en) | Method and device for auto-generating goose signal connection topology from substation level | |
US20040015890A1 (en) | System and method for adapting files for backward compatibility | |
US20040160464A1 (en) | System and method for providing a graphical user interface and alternate mappings of management information base objects | |
CN110244941B (en) | Task development method and device, electronic equipment and computer readable storage medium | |
US20040003067A1 (en) | System and method for enabling a user interface with GUI meta data | |
CA2713247A1 (en) | Integration environment generator | |
CN111353754A (en) | Method and device for generating flow template, electronic equipment and readable storage medium | |
CN102968431B (en) | A kind of control device that the Chinese entity relationship based on dependency tree is excavated | |
EP2511841A2 (en) | System and method for generation of cim-based power system circuit models | |
CN114416049B (en) | Configuration method and device of service interface combining RPA and AI | |
CN114594927A (en) | Low code development method, device, system, server and storage medium | |
CN114138997A (en) | Computer-implemented system and method with digital twinning and graph-based structure | |
CN113608955B (en) | Log recording method, device, equipment and storage medium | |
CN113434216A (en) | Scene-based command line construction method and system | |
CN109325217A (en) | A kind of document conversion method, system, device and computer readable storage medium | |
US20210132921A1 (en) | Techniques for approximate neighbor selection in tree models for computing co-occurrence | |
CN111858355A (en) | Test case processing method and device, computer equipment and readable storage medium | |
Lausdahl et al. | Connecting UML and VDM++ with open tool support | |
CN101976196A (en) | Quality of service oriented code automatic code generating method | |
CN103678054B (en) | Test method and device for BACnet equipment | |
US20050177788A1 (en) | Text to XML transformer and method | |
EP3982224A1 (en) | Data extraction in industrial automation systems | |
US11212191B2 (en) | GUI assisted infrastructure as code |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |