CN109117138A - A kind of configuration method and device, computer readable storage medium - Google Patents

A kind of configuration method and device, computer readable storage medium Download PDF

Info

Publication number
CN109117138A
CN109117138A CN201810969430.2A CN201810969430A CN109117138A CN 109117138 A CN109117138 A CN 109117138A CN 201810969430 A CN201810969430 A CN 201810969430A CN 109117138 A CN109117138 A CN 109117138A
Authority
CN
China
Prior art keywords
configuration
icon
characteristic
characteristic model
parameter
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
Application number
CN201810969430.2A
Other languages
Chinese (zh)
Other versions
CN109117138B (en
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.)
Beijing Helishi System Integration Co ltd
Original Assignee
Beijing Hollysys 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 Beijing Hollysys Co Ltd filed Critical Beijing Hollysys Co Ltd
Priority to CN201810969430.2A priority Critical patent/CN109117138B/en
Publication of CN109117138A publication Critical patent/CN109117138A/en
Application granted granted Critical
Publication of CN109117138B publication Critical patent/CN109117138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses a kind of configuration method and devices, computer readable storage medium, which comprises in the configuration element of front end configuration interface creating at least one of: icon, component and characteristic model;The icon is a kind of primitive types of at least one foundation drawing member composition, and the component is a kind of customized primitive types, and the characteristic model is the method for pel state change;The configuration element created is saved to back-end server;The configuration element that back-end server saves is loaded at front end configuration interface and is applied.The configuration element that the application passes through creation at least one of: icon, component and characteristic model realize more complicated flexible device configuration application scenarios.

Description

A kind of configuration method and device, computer readable storage medium
Technical field
The present invention relates to technical field of automation in industry, and in particular to a kind of configuration method and device computer-readable are deposited Storage media.
Background technique
In industrial automation comprehensively monitoring field, when the device object of monitoring changes, developer just needs more Change program, issue software again, greatly reduce software service efficiency in this way, and increases the cost of exploitation.Configuration instrument is soft Part can be used family and go out the monitored picture needed not having deep software development technique energy configuration, improve industrial production effect Rate reduces production cost.
With flourishing for Internet technology, more and more application scenarios are all carried out by network, are based on webpage (Web) configuration instrument is also gradually concerned by people, and user can monitor conveniently by browser far whenever and wherever possible The equipment at end, relative to the configuration instrument of traditional client/server (Client/Server, C/S) mode, so that people Production and living efficiency is further improved.
Current most of configuration instruments based on Web are able to achieve the configuration function of the basic pel of such as rectangle, circle, polygon Can, and realize these foundation drawing members represent equipment real-time status monitoring, but the disadvantage is that can not support logic application scenarios or Application scenarios required for complicated composition monitoring of tools.
Summary of the invention
The embodiment of the invention provides a kind of configuration method and devices, computer readable storage medium, can support cleverer Complicated device configuration application scenarios living.
In order to reach the object of the invention, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of configuration methods, comprising:
In the configuration element of front end configuration interface creating at least one of: icon, component and characteristic model;The icon For a kind of primitive types of at least one foundation drawing member composition, the component is a kind of customized primitive types, the characteristic Model is the method for pel state change;
The configuration element created is saved to back-end server;
The configuration element that back-end server saves is loaded at front end configuration interface and is applied.
In one embodiment, the process of the creation icon includes:
By at least one basis, pel aggregates into an icon;
To the basic pel bind properties parameter of each of icon;
The property parameters of one or more binding are defined as icon formula, and the execution item of the icon formula is set Part.
In one embodiment, the process of the creation component includes:
Receive externally input component script and property parameters.
In one embodiment, the process of the creation characteristic model includes:
Externally input characteristic script and characterisitic parameter are received, the characteristic script is for defining patrolling for the characteristic model Handling function is collected, the characterisitic parameter is used to define the parameter of the logical operation function;
The execution condition of the characteristic model is set and executes parameter;
When the configuration element is characteristic model, when the configuration element that will be created is saved to back-end server, The method also includes:
The characteristic script and characterisitic parameter, the execution condition and execution parameter are compiled into characteristic script file.
In one embodiment, the characteristic model includes at least one of:
Dynamic performance model and interaction characteristic model, the execution condition of the dynamic performance model are the parameter of associate device Variation, the execution condition of the interaction characteristic model are mouse or keyboard operation.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited on the computer readable storage medium One or more program is contained, one or more of programs can be executed by one or more processor, to realize such as The step of configuration method of any description above.
The embodiment of the invention also provides a kind of configuration equipment, including processor and memory, the processor is for holding The configuration program stored in the row memory, the step of to realize the configuration method such as any description above.
The embodiment of the invention also provides a kind of configuration equipments, including front end configuration interface and back-end server, before described Holding configuration interface includes creating unit, storage unit and configuration unit, in which:
Creating unit, for creating the configuration element of at least one of: icon, component and characteristic model;The icon For a kind of primitive types of at least one foundation drawing member composition, the component is a kind of customized primitive types, the characteristic Model is the method for pel state change;
Storage unit, the configuration element for will be created are saved to back-end server;
Configuration unit, for loading the configuration element saved and applying.
In one embodiment, the process of the creation icon of the creating unit includes:
By at least one basis, pel aggregates into an icon;
To the basic pel bind properties parameter of each of icon;
The property parameters of one or more binding are defined as icon formula, and the execution item of the icon formula is set Part.
In one embodiment, the process of the creation characteristic model of the creating unit includes:
Externally input characteristic script and characterisitic parameter are received, the characteristic script is for defining patrolling for the characteristic model Handling function is collected, the characterisitic parameter is used to define the parameter of the logical operation function;
The execution condition of the characteristic model is set and executes parameter;
When the configuration element is characteristic model, the storage unit is also used to: the characteristic script and characteristic are joined Several, the described execution condition and execution parameter are compiled into characteristic script file.
The technical solution of the embodiment of the present invention, has the following beneficial effects:
Configuration method and device provided in an embodiment of the present invention, computer readable storage medium, by create it is following at least One of configuration element: icon, component and characteristic model realize more complicated flexible device configuration application scenarios.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow diagram of configuration method of the embodiment of the present invention;
Fig. 2 is a kind of architecture diagram of configuration method of the embodiment of the present invention;
Fig. 3 is a kind of front end configuration interface schematic diagram of configuration method of the embodiment of the present invention;
Fig. 4 is that a kind of characteristic model configuration of configuration method of the embodiment of the present invention executes flow diagram;
Fig. 5 is a kind of dynamic characteristic editor panel schematic diagram of the embodiment of the present invention;
Fig. 6 is a kind of interaction characteristic editor panel schematic diagram of the embodiment of the present invention;
Fig. 7 is that a kind of icon configuration of configuration method of the embodiment of the present invention executes flow diagram;
Fig. 8 is a kind of icon attributes edit panel schematic diagram of the embodiment of the present invention;
Fig. 9 is a kind of formula editor panel schematic diagram of the embodiment of the present invention;
Figure 10 is a kind of formula property editor panel schematic diagram of the embodiment of the present invention;
Figure 11 is a kind of icon configuration exemplary diagram of configuration method of the embodiment of the present invention;
Figure 12 is that a kind of component configuration of configuration method of the embodiment of the present invention executes flow diagram;
Figure 13 is a kind of component edits panel schematic diagram of the embodiment of the present invention;
Figure 14 is a kind of component configuration exemplary diagram of configuration method of the embodiment of the present invention;
Figure 15 is a kind of customized layout editor panel schematic diagram of configuration method of the embodiment of the present invention;
Figure 16 is that a kind of custom script configuration of configuration method of the embodiment of the present invention executes flow diagram;
Figure 17 is a kind of structural schematic diagram of configuration equipment of the embodiment of the present invention;
Figure 18 is the structural schematic diagram of another configuration equipment of the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature can mutual any combination.
As shown in Figure 1, a kind of configuration method according to an embodiment of the present invention, includes the following steps:
Step 101: in the configuration element of front end configuration interface creating at least one of: icon, component and characteristic model; The icon is a kind of primitive types of at least one foundation drawing member composition, and the component is a kind of customized primitive types, The characteristic model is the method for pel state change;
It should be noted that icon is a new primitive types of one or more foundation drawing member compositions, icon and base Plinth pel is the same, can be quickly dragged and dropped on the page (page described in the embodiment of the present invention i.e. front end configuration interface), be become One pel example;Component is the completely new primitive types that User Exploitation comes out, and needs to define the pattern of pel in component Attribute, and need to add the drawing code of pel.It is described basis pel include straight line, rectangle, ellipse, arc, sector, polygon, Text, picture, Bezier etc..
Configuration method provided in an embodiment of the present invention is a kind of based on browser/server (Browser/Server, B/S) Industrial automation configuration method, be made of front end configuration interface and back-end server in structure, structure is as shown in Fig. 2, front end Support the functions such as basic pel, icon, component, customized layout, high level control, basic pel, icon, component etc. in configuration interface It supports the element properties control functions such as dynamic characteristic, interaction characteristic and customized page script, is building device configuration applied field Before scape and during building device configuration application scenarios, front end configuration interface passes through offline configuration data interaction and back-end services Device carries out data interaction;After building device configuration application scenarios, front end configuration interface by Real time displaying data interaction with Back-end server carries out data interaction.
In the present embodiment, front end configuration interface includes at least one of: toolbar, resource management window, master are aobvious Show area, attributes edit window, information input window.
In the present embodiment, the process of the creation characteristic model includes:
Externally input characteristic script and characterisitic parameter are received, the characteristic script is for defining patrolling for the characteristic model Handling function is collected, the characterisitic parameter is used to define the parameter of the logical operation function;
The execution condition of the characteristic model is set and executes parameter.
In the present embodiment, the characteristic model includes at least one of: dynamic performance model and interaction characteristic model, institute The execution condition for stating dynamic performance model is the Parameters variation of associate device, and the execution condition of the interaction characteristic model is mouse Or keyboard operation.
It should be noted that the customized pel characteristic in family can be used in dynamic performance model, the state of pel is according to equipment Real time data be changed;The customized man-machine interactive operation with pel in family can be used in interaction characteristic model.Dynamic characteristic Model and realizing for interaction characteristic model are mainly realized in such a way that characteristic customizes plus compiles.Dynamic performance model and interaction The composition that characteristic model is realized is similar with treatment process, and difference is that characteristic executes the difference of condition, and dynamic performance model is held Row condition is point associated by group monitoring device, and the execution condition of interaction characteristic model is group mouse or keyboard operation, right below Its realization is described in detail.
The realization of characteristic model function mainly consists of three parts, first is that characteristic model, it includes characteristic script and characteristic Parameter two parts define in characteristic script to the operation logic of pel (as changed the background colour of pel, making pel flashing, make Pel is mobile etc.), the detailed configuration parameter of characteristic script is defined in characterisitic parameter;Second is that characteristic configuration panel, gives user people Property configuration entrance, user by characteristic configuration panel selection need characteristic model, the execution condition of characteristic model is set And execute parameter;Third is that characteristic compiles, after background server receives requirement for compiler, the corresponding page file of analytic properties is searched The feature definitions of pel parse icon file if meeting icon object, feature definitions in icon are searched, according to characteristic Model is converted into the characteristic of user configuration the JS script file that can be executed.
The complete execution process of characteristic model function is as follows: characteristic script and the attribute configuration file for writing customization are (described Include characterisitic parameter in attribute configuration file) it is used as characteristic model, then in characteristic editor's panel, selects characteristic model, sets It sets characteristic and executes condition, setting characteristic executes parameter, is saved by the page, the characteristic information of pel in the page is reached rear end, It is compiled in rear end and generates script file, when final online is run, front-end interface is realized by way of loading characteristic script file Characteristic executes, and executes process as shown in figure 4, dynamic characteristic editor panel is as shown in figure 5, interaction characteristic editor panel such as Fig. 6 It is shown.
In the present embodiment, the process of the creation icon includes:
By at least one basis, pel aggregates into an icon;
To the basic pel bind properties parameter of each of icon;
The property parameters of one or more binding are defined as icon formula, and the execution item of the icon formula is set Part.
It should be noted that family, which can be used, in icon function produces more complicated pel using basic pel, meet more Complicated application demand.The realization of icon function is described in detail below.
The realization of icon is made of five parts.First is that icon editor, in Hightopo, (Hightopo is a is based on The configuration software of HTML5) in, icon is a special object, does not allow single object editing, we are in processing icon editor When, icon is split into multiple basic graphics primitive objects, realizes the editor of single graphics primitive object, then when stored, polymerization becomes One compound object;Second is that icon attribute, icon is as a kind of new primitive types, if to realize the variation of pattern, it is necessary to Externally exposure attribute, we define icon attribute, are then bound in icon attribute and icon using the mode that data are bound The pattern of portion's object, the modification of such icon attribute will be transmitted to the variation of pel pattern inside icon;Third is that icon formula, We combine a series of attribute modification, by a call operation, to realize a series of modification;Fourth is that formula is special Property, it is formulated the control defined to icon one or more attribute, formula property is exactly to configure which is executed under which conditions Formula;Fifth is that icon storage file, the icon data for editing completion are stored on the server of rear end, are drawn for subsequent configuration With.
As shown in fig. 7, the complete execution process of icon function is as follows: opening icon page at front end configuration interface first Face needs icon required for using foundation drawing member configuration according to application, secondly opens attributes edit panel as shown in Figure 8, To the basic pel bind properties parameter of each of icon, formula editor's panel as shown in Figure 9 is then opened, by the category of binding Property parameter definition be formula, then open characteristic editor panel as shown in Figure 10 to icon be arranged formula property, complete icon Definition, and be stored on back-end server, finally open configuration page instance icon in front end, and icon attribute is set, The configuration of icon is completed, icon configuration example is as shown in figure 11.
In the present embodiment, the process of the creation component includes:
Receive externally input component script and property parameters.
It should be noted that assembly function may provide the user with the function of a customized pel of editor, it is able to satisfy more The pel configuration requirements of customization.The realization of assembly function is described in detail below.
The realization of assembly function consists of two parts: first is that component edits panel, it provides the user with entering for component edits Mouthful, user can input the script of Custom component and property parameters by component edits panel;Second is that component stores File, the Custom component data that user edits are collected and stored on server by program, are quoted for subsequent configuration.
As shown in figure 12, the complete execution process of assembly function is as follows: user uses painting canvas by edit box first (Canvas) interfaces such as paintbrush, paintbrush provided edit the script of Custom component in component edits panel as shown in fig. 13 that And property parameters, these data are then saved into component file, and instancing component and the category of component finally is set in the page Property parameter completes the configuration of component, and component configuration example is as shown in figure 14.
Step 102: the configuration element created is saved to back-end server;
In the present embodiment, when the configuration element is characteristic model, the step 102 further include:
The characteristic script and characterisitic parameter, the execution condition and execution parameter are compiled into characteristic script file.
Step 103: loading the configuration element that back-end server saves at front end configuration interface and apply.
In the present embodiment, configuration method provided in an embodiment of the present invention also supports high level control configuration function, high level control It may provide the user with more complicated man-machine interactive operation.High level control function supports edit box, table, button, check box, list Select frame, label control (Tab Control), view control.
In the present embodiment, configuration method provided in an embodiment of the present invention also supports customized place function.Customized layout Function can make the customized view layout of front end inline graphics interface display, and front-end interface opens customized layout edit box function Can, interface view divide in edit box and binds the page to each view, and saves as extensible markup language (Extensible Markup Language, XML) configuration file, when graphical interfaces on-line operation, read configuration file, will draw The view divided shows that customized layout editor panel is as shown in figure 15.
In the present embodiment, configuration method provided in an embodiment of the present invention also supports custom script function.Custom script More flexible powerful control display function may be implemented in function, it can control full page and its interior pel.It is logical It crosses and adds scripted code in the page and be stored in page data, when the online page loads, obtain script from back-end server Code, to execute the control to elements such as interface pels, process is as shown in figure 16.
It should be noted that front end configuration interface loads the configuration element that back-end server saves when carrying out data configuration Or rear end server requires to carry out data interaction, which accesses data every time when saving created configuration element Measure that smaller, frequency is lower, and only Partial Elements interacts with back-end services in webpage, therefore the asynchronous JavaScript of use with XML (Asynchronous Javascript And XML, Ajax) technology is completed.
When the page on-line operation that configuration is completed, needs to carry out frequent data interaction with back-end server, could show The real-time status of equipment out, the function are realized by full-duplex communication agreement (WebSocket) technical solution based on TCP.Before End defines data interaction interface with rear end, when the loading page of front end configuration interface, pel in the server subscriptions page of rear end The underlying device data point title of binding, page cycle rear end server send value request, when the state point value of equipment is sent out When changing, back-end server sends the point value of variation by WebSocket, corresponding after front end receives the equipment point value of variation Pel show corresponding equipment state, front end configuration interface rear end server, which sends the page and instead subscribes to, when page close asks It asks.
The embodiment of the invention also discloses a kind of computer readable storage medium, deposited on the computer readable storage medium One or more program is contained, one or more of programs can be executed by one or more processor, to realize such as The step of configuration method of any description above.
As shown in figure 17, a kind of configuration equipment according to an embodiment of the present invention, including processor 170 and memory 171, institute Processor 170 is stated for executing the configuration program stored in the memory 171, to realize the configuration side such as any description above The step of method.
As shown in figure 18, a kind of configuration equipment according to an embodiment of the present invention, including front end configuration interface 180 and rear end clothes Business device 181, front end configuration interface 180 include creating unit 1801, storage unit 1802 and configuration unit 1803, in which:
Creating unit 1801, for creating the configuration element of at least one of: icon, component and characteristic model;It is described Icon is a kind of primitive types of at least two foundation drawing members composition, and the component is a kind of customized primitive types, described Characteristic model is the method for pel state change;
Storage unit 1802, the configuration element for will be created are saved to back-end server 181;
Configuration unit 1803 for the configuration element from the load preservation of back-end server 181 and is applied.
It should be noted that icon is a new primitive types of one or more foundation drawing member compositions, icon and base Plinth pel is the same, can be quickly dragged and dropped on the page, and a pel example is become;Component is that come out one of User Exploitation is complete New primitive types need to define the Style Attributes of pel in component, and need to add the drawing code of pel.The foundation drawing Member includes straight line, rectangle, ellipse, arc, sector, polygon, text, picture, Bezier etc..
Configuration equipment provided in an embodiment of the present invention is a kind of industrial automation configuration tool software based on B/S framework, It is made of in structure front end configuration interface 180 and back-end server 181, structure is as shown in Fig. 2, front end configuration interface 180 is supported The functions such as basic pel, icon, component, customized layout, high level control, the supports such as basic pel, icon, component dynamic are special Property, the element properties control function such as interaction characteristic and customized page script, before building device configuration application scenarios and take Build during device configuration application scenarios, front end configuration interface 180 by offline configuration data interaction and back-end server 181 into Row data interaction;After building device configuration application scenarios, front end configuration interface 180 is by Real time displaying data interaction with after Server 181 is held to carry out data interaction.
As shown in figure 3, front end configuration interface 180 includes at least one of: toolbar, resource management window, master Viewing area, attributes edit window, information input window.
In the present embodiment, the process of the creation characteristic model of the creating unit 1801 includes:
Externally input characteristic script and characterisitic parameter are received, the characteristic script is for defining patrolling for the characteristic model Handling function is collected, the characterisitic parameter is used to define the parameter of the logical operation function;
The execution condition of the characteristic model is set and executes parameter.
In the present embodiment, the characteristic model includes at least one of: dynamic performance model and interaction characteristic model, institute The execution condition for stating dynamic performance model is the Parameters variation of associate device, and the execution condition of the interaction characteristic model is mouse Or keyboard operation.
It should be noted that the customized pel characteristic in family can be used in dynamic performance model, the state of pel is according to equipment Real time data be changed;The customized man-machine interactive operation with pel in family can be used in interaction characteristic model.Dynamic characteristic Model and realizing for interaction characteristic model are mainly realized in such a way that characteristic customizes plus compiles.Dynamic performance model and interaction The composition that characteristic model is realized is similar with treatment process, and difference is that characteristic executes the difference of condition, and dynamic characteristic is a group monitoring Point associated by equipment, interaction characteristic are group mouse or keyboard operation, the realization of specific characteristic functions and completely execution process Referring to described previously, details are not described herein again.
In the present embodiment, the process of the creation icon of the creating unit 1801 includes:
By at least one basis, pel aggregates into an icon;
To the basic pel bind properties parameter of each of icon;
The property parameters of one or more binding are defined as icon formula, and the execution item of the icon formula is set Part.
It should be noted that family, which can be used, in icon function produces more complicated pel using basic pel, meet more Complicated application demand.The realization of specific icon function and complete execution process are referring to described previously, and details are not described herein again.
In the present embodiment, the process of the creation component of the creating unit 1801 includes:
Receive externally input component script and property parameters.
It should be noted that assembly function may provide the user with the function of a customized pel of editor, it is able to satisfy more The pel configuration requirements of customization.The realization of specific assembly function and complete execution process are referring to described previously, herein no longer It repeats.
In the present embodiment, when the configuration element is characteristic model, the storage unit 1802 is also used to: by the spy Property script and characterisitic parameter, the execution condition and execute parameter be compiled into characteristic script file.
In the present embodiment, configuration equipment provided in an embodiment of the present invention also supports high level control configuration function, high level control It may provide the user with more complicated man-machine interactive operation.High level control function supports edit box, table, button, check box, list Select frame, Tab control, view control.
In the present embodiment, configuration equipment provided in an embodiment of the present invention also supports customized place function.Customized layout Function can make the customized view layout of front end inline graphics interface display, and front-end interface opens customized layout edit box function Can, interface view divide in edit box and binds the page to each view, and saves as xml configuration file, figure Configuration file is read when the on-line operation of interface, the view of division is shown, customized layout editor panel is as shown in figure 15.
In the present embodiment, configuration equipment provided in an embodiment of the present invention also supports custom script function.Custom script More flexible powerful control display function may be implemented in function, it can control full page and its interior pel.It is logical It crosses and adds scripted code in the page and be stored in page data, when the online page loads, obtain script from back-end server Code, to execute the control to elements such as interface pels, process is as shown in figure 16.
It should be noted that front end configuration interface 180 loads the group that back-end server 181 saves when carrying out data configuration When state element or rear end server 181 save created configuration element, require to carry out data interaction, the process is each Access that data volume is smaller, frequency is lower, and only Partial Elements are interacted with back-end services in webpage, thus using Ajax technology come It completes.
When the page on-line operation that configuration is completed, need to carry out frequent data interaction, Cai Nengxian with back-end server 181 The real-time status of equipment is shown, which is realized by WebSocket technical solution.Front and rear end defines data interaction and connects Mouthful, when 180 loading page of front end configuration interface, the underlying device data of pel binding in 181 subscriptions page of rear end server Point title, page cycle rear end server 181 sends value request, when the state point value of equipment changes, rear end clothes Business device 181 sends the point value of variation by WebSocket, and after front end receives the equipment point value of variation, corresponding pel shows phase The equipment state answered, 180 rear end server 181 of front end configuration interface sends that the page is counter to subscribe to request when page close.
Configuration method and device provided in an embodiment of the present invention, computer readable storage medium realize that dynamic is special by design Property, interaction characteristic, assembly function, icon function, custom script function, by being used cooperatively between them and extend, it is real Show more complicated flexible configuration scene, meets the device configuration applied field of composition various logic application scenarios or complicated composition The demand of scape.
Obviously, it is logical to should be understood that the module of the above-mentioned embodiment of the present invention or step can be used by those skilled in the art Computing device realizes that they can be concentrated on a single computing device, or be distributed in multiple computing device institutes group At network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are deposited Storage is performed by computing device in the storage device, and in some cases, can be to be different from sequence execution institute herein The step of showing or describing, perhaps they are fabricated to integrated circuit modules or by the multiple modules or step in them Suddenly single integrated circuit module is fabricated to realize.In this way, the embodiment of the present invention is not limited to any specific hardware and software In conjunction with.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not intended to limit the invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

1. a kind of configuration method characterized by comprising
In the configuration element of front end configuration interface creating at least one of: icon, component and characteristic model;The icon is extremely A kind of primitive types of few foundation drawing member composition, the component are a kind of customized primitive types, the characteristic model For the method for pel state change;
The configuration element created is saved to back-end server;
The configuration element that back-end server saves is loaded at front end configuration interface and is applied.
2. configuration method according to claim 1, which is characterized in that it is described creation icon process include:
By at least one basis, pel aggregates into an icon;
To the basic pel bind properties parameter of each of icon;
The property parameters of one or more binding are defined as icon formula, and the execution condition of the icon formula is set.
3. configuration method according to claim 1, which is characterized in that it is described creation component process include:
Receive externally input component script and property parameters.
4. configuration method according to claim 1, which is characterized in that it is described creation characteristic model process include:
Externally input characteristic script and characterisitic parameter are received, the characteristic script is used to define the logic behaviour of the characteristic model Make function, the characterisitic parameter is used to define the parameter of the logical operation function;
The execution condition of the characteristic model is set and executes parameter;
It is described when the configuration element that will be created is saved to back-end server when the configuration element is characteristic model Method further include:
The characteristic script and characterisitic parameter, the execution condition and execution parameter are compiled into characteristic script file.
5. configuration method according to claim 4, which is characterized in that the characteristic model includes at least one of:
Dynamic performance model and interaction characteristic model, the execution condition of the dynamic performance model are that the parameter of associate device becomes Change, the execution condition of the interaction characteristic model is mouse or keyboard operation.
6. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium one or The multiple programs of person, one or more of programs can be executed by one or more processor, with realize as claim 1 to The step of claim 5 any described configuration method.
7. a kind of configuration equipment, which is characterized in that including processor and memory, the processor is for executing the memory The configuration program of middle storage, with realize claim 1 to claim 5 it is any as described in configuration method the step of.
8. a kind of configuration equipment, which is characterized in that including front end configuration interface and back-end server, front end configuration interface packet Include creating unit, storage unit and configuration unit, in which:
Creating unit, for creating the configuration element of at least one of: icon, component and characteristic model;The icon is extremely A kind of primitive types of few foundation drawing member composition, the component are a kind of customized primitive types, the characteristic model For the method for pel state change;
Storage unit, the configuration element for will be created are saved to back-end server;
Configuration unit, for loading the configuration element saved and applying.
9. configuration equipment according to claim 8, which is characterized in that the process packet of the creation icon of the creating unit It includes:
By at least one basis, pel aggregates into an icon;
To the basic pel bind properties parameter of each of icon;
The property parameters of one or more binding are defined as icon formula, and the execution condition of the icon formula is set.
10. configuration equipment according to claim 8, which is characterized in that the mistake of the creation characteristic model of the creating unit Journey includes:
Externally input characteristic script and characterisitic parameter are received, the characteristic script is used to define the logic behaviour of the characteristic model Make function, the characterisitic parameter is used to define the parameter of the logical operation function;
The execution condition of the characteristic model is set and executes parameter;
When the configuration element is characteristic model, the storage unit is also used to: by the characteristic script and characterisitic parameter, institute It states execution condition and executes parameter and be compiled into characteristic script file.
CN201810969430.2A 2018-08-23 2018-08-23 Configuration method and device and computer readable storage medium Active CN109117138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810969430.2A CN109117138B (en) 2018-08-23 2018-08-23 Configuration method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810969430.2A CN109117138B (en) 2018-08-23 2018-08-23 Configuration method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109117138A true CN109117138A (en) 2019-01-01
CN109117138B CN109117138B (en) 2022-12-13

Family

ID=64860970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810969430.2A Active CN109117138B (en) 2018-08-23 2018-08-23 Configuration method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109117138B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977335A (en) * 2019-03-29 2019-07-05 江苏极熵物联科技有限公司 A kind of Web configuration method towards industrial equipment
CN109978981A (en) * 2019-03-15 2019-07-05 广联达科技股份有限公司 A kind of batch rendering method improving buildings model display efficiency
CN109992269A (en) * 2019-04-04 2019-07-09 睿驰达新能源汽车科技(北京)有限公司 A kind of development approach and device of operation platform
CN111209055A (en) * 2019-12-31 2020-05-29 上海上实龙创智慧能源科技股份有限公司 Page function configuration method and device based on Vue
CN111831192A (en) * 2020-07-23 2020-10-27 北京思特奇信息技术股份有限公司 Method and system for drawing flow chart and electronic equipment
CN111966341A (en) * 2020-07-23 2020-11-20 中国航发控制系统研究所 Gas turbine monitoring software event configuration method supporting event sequence customization
CN112163791A (en) * 2020-10-30 2021-01-01 北京中水科水电科技开发有限公司 Water, electricity and power distribution integrated configuration interaction method
CN112799664A (en) * 2021-01-25 2021-05-14 广州新科佳都科技有限公司 Configuration method and system supporting heterogeneous environment
CN113656729A (en) * 2021-07-23 2021-11-16 广州鲁邦通物联网科技有限公司 Method and system for automatically generating WEB data curve of equipment based on XML (extensive markup language) rule
CN116910842A (en) * 2023-09-12 2023-10-20 中国长江电力股份有限公司 Industrial dynamic interaction diagram construction method
CN117519009A (en) * 2023-10-31 2024-02-06 北京龙软科技股份有限公司 Configuration editing system and method based on WEB mode

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339503A (en) * 2008-07-08 2009-01-07 江苏方天电力技术有限公司 Electric network wiring scheme on-line editing configuration method
CN101882071A (en) * 2009-05-07 2010-11-10 北京四方继保自动化股份有限公司 Picture design method for configuration software
CN102360288A (en) * 2011-09-29 2012-02-22 南京国电南自轨道交通工程有限公司 Scriptable full-configuration HMI (Human Machine Interface) system driven by real-time data
CN102760059A (en) * 2012-05-15 2012-10-31 江苏省电力公司 Automatic generating method for standardized test scripts of relay protection device of electrical system
CN103064682A (en) * 2012-12-27 2013-04-24 福州福大自动化科技有限公司 Device-orientated human-computer interface configuration design method
CN104700450A (en) * 2015-01-12 2015-06-10 深圳市瑞尔时代科技有限公司 Method for achieving quick three-dimensional modeling based on Flash3D engine
CN105467872A (en) * 2015-11-27 2016-04-06 江苏省电力公司电力科学研究院 Graphical configuration sequentialization control system
CN105786893A (en) * 2014-12-24 2016-07-20 北京国际系统控制有限公司 XML(Extensive Markup Language)-based dynamic picture display method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339503A (en) * 2008-07-08 2009-01-07 江苏方天电力技术有限公司 Electric network wiring scheme on-line editing configuration method
CN101882071A (en) * 2009-05-07 2010-11-10 北京四方继保自动化股份有限公司 Picture design method for configuration software
CN102360288A (en) * 2011-09-29 2012-02-22 南京国电南自轨道交通工程有限公司 Scriptable full-configuration HMI (Human Machine Interface) system driven by real-time data
CN102760059A (en) * 2012-05-15 2012-10-31 江苏省电力公司 Automatic generating method for standardized test scripts of relay protection device of electrical system
CN103064682A (en) * 2012-12-27 2013-04-24 福州福大自动化科技有限公司 Device-orientated human-computer interface configuration design method
CN105786893A (en) * 2014-12-24 2016-07-20 北京国际系统控制有限公司 XML(Extensive Markup Language)-based dynamic picture display method and system
CN104700450A (en) * 2015-01-12 2015-06-10 深圳市瑞尔时代科技有限公司 Method for achieving quick three-dimensional modeling based on Flash3D engine
CN105467872A (en) * 2015-11-27 2016-04-06 江苏省电力公司电力科学研究院 Graphical configuration sequentialization control system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
曾少宁等: "基于MVC模式的Web用户界面建模", 《测控技术》 *
王霏霏等: "应用于微机保护装置的界面组态软件设计与实现", 《广西电力》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978981A (en) * 2019-03-15 2019-07-05 广联达科技股份有限公司 A kind of batch rendering method improving buildings model display efficiency
CN109978981B (en) * 2019-03-15 2023-04-25 广联达科技股份有限公司 Batch rendering method for improving display efficiency of building model
CN109977335A (en) * 2019-03-29 2019-07-05 江苏极熵物联科技有限公司 A kind of Web configuration method towards industrial equipment
CN109992269A (en) * 2019-04-04 2019-07-09 睿驰达新能源汽车科技(北京)有限公司 A kind of development approach and device of operation platform
CN111209055A (en) * 2019-12-31 2020-05-29 上海上实龙创智慧能源科技股份有限公司 Page function configuration method and device based on Vue
CN111831192A (en) * 2020-07-23 2020-10-27 北京思特奇信息技术股份有限公司 Method and system for drawing flow chart and electronic equipment
CN111966341A (en) * 2020-07-23 2020-11-20 中国航发控制系统研究所 Gas turbine monitoring software event configuration method supporting event sequence customization
CN112163791A (en) * 2020-10-30 2021-01-01 北京中水科水电科技开发有限公司 Water, electricity and power distribution integrated configuration interaction method
CN112799664A (en) * 2021-01-25 2021-05-14 广州新科佳都科技有限公司 Configuration method and system supporting heterogeneous environment
CN113656729A (en) * 2021-07-23 2021-11-16 广州鲁邦通物联网科技有限公司 Method and system for automatically generating WEB data curve of equipment based on XML (extensive markup language) rule
CN116910842A (en) * 2023-09-12 2023-10-20 中国长江电力股份有限公司 Industrial dynamic interaction diagram construction method
CN117519009A (en) * 2023-10-31 2024-02-06 北京龙软科技股份有限公司 Configuration editing system and method based on WEB mode

Also Published As

Publication number Publication date
CN109117138B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN109117138A (en) A kind of configuration method and device, computer readable storage medium
CN102866886B (en) Web-based visual algorithm animation development system
CN103984818B (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
US8499282B2 (en) System and method for extending capabilities and execution efficiency of script based applications
CN107729139A (en) A kind of method and apparatus for concurrently obtaining resource
CN110244942B (en) Page generation method, device and system
US8839192B2 (en) System and method for presentation of cross organizational applications
CN109933760A (en) List generation method, device, computer equipment and computer readable storage medium
US20120102414A1 (en) Distributed controller of a user interface framework for web applications
Linaje et al. A method for model based design of rich internet application interactive user interfaces
Johnsson et al. Towards end-user development of graphical user interfaces for internet of things
US20120166977A1 (en) User programming access to data model in user interface design
CN115129304A (en) Zero-code-platform-based visual business service arrangement method and device
CN105955731A (en) Quick compiling method and system of mobile game
CN106919406A (en) A kind of desktop application component issue, update method and device
CN112083926A (en) Web user interface generation method and device
DE202006021112U1 (en) Device for processing business objects, electronic formats and workflows
Hatzi et al. A visual programming system for automated problem solving
Palviainen et al. A semi-automatic end-user programming approach for smart space application development
Fatima et al. Extending interaction flow modeling language (ifml) for android user interface components
CN115203162A (en) WYSIWYG graph data construction method
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN113849164A (en) Data processing method and device, electronic equipment and memory
CN113806596B (en) Operation data management method and related device
CN112883654B (en) Model training system based on data driving

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211122

Address after: 100176 room 3412, floor 4, building 3, yard 2, Desheng Middle Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Beijing Helishi system integration Co.,Ltd.

Address before: 100176 No.2, Disheng Middle Road, Yizhuang Economic and Technological Development Zone, Daxing District, Beijing

Applicant before: BEIJING HOLLYSYS Co.,Ltd.

GR01 Patent grant
GR01 Patent grant