CN105573769B - A kind of manufacture of cement remotely monitors visual configuration method and apparatus - Google Patents

A kind of manufacture of cement remotely monitors visual configuration method and apparatus Download PDF

Info

Publication number
CN105573769B
CN105573769B CN201410532585.1A CN201410532585A CN105573769B CN 105573769 B CN105573769 B CN 105573769B CN 201410532585 A CN201410532585 A CN 201410532585A CN 105573769 B CN105573769 B CN 105573769B
Authority
CN
China
Prior art keywords
configuration
page
monitoring
foreground
monitoring page
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.)
Active
Application number
CN201410532585.1A
Other languages
Chinese (zh)
Other versions
CN105573769A (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.)
Datang Telecommunication Science & Technology Co Ltd
Original Assignee
Datang Telecommunication Science & Technology 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 Datang Telecommunication Science & Technology Co Ltd filed Critical Datang Telecommunication Science & Technology Co Ltd
Priority to CN201410532585.1A priority Critical patent/CN105573769B/en
Publication of CN105573769A publication Critical patent/CN105573769A/en
Application granted granted Critical
Publication of CN105573769B publication Critical patent/CN105573769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of manufacture of cement remotely to monitor visual configuration method and apparatus.The described method includes: configuration information of the configuration foreground to the visual control page for configuring background query manufacture of cement, the JAVA configuration object that the page is monitored according to the configuration information tissue simultaneously returns to the configuration foreground;The FLEX that JAVA configuration object is converted to the monitoring page is configured into object, FLEX configuration object is generated to the source file of the monitoring page according to preset template;It loads the source file and obtains the monitoring page;It is operated according to the setting of the component object to the monitoring page, the FLEX for updating the monitoring page configures object;Updated FLEX configuration object is converted into updated JAVA configuration object, the configuration information of the monitoring page is updated with configuring object according to updated JAVA by the configuration backstage.

Description

A kind of manufacture of cement remotely monitors visual configuration method and apparatus
Technical field
The present invention relates to data processing fields, remotely monitor visual configuration method more particularly to a kind of manufacture of cement, And a kind of manufacture of cement remotely monitors visualization configuration means.
Background technique
Currently, the cement industry condition of production remotely monitors mainly using customized development mode, by UI design and developer It designs and develops out one by one according to cement production process flow chart, such development process is relatively easy, brings but then very More problems:
Firstly, monitoring point and base map location difficulty, since monitored picture is made of many measurement points and signaling point, position It is different with change in shape, only according to being visually the position coordinates and shape size for being difficult to accurate positioning monitoring point, operate very It is difficult;Secondly, customized development need to be familiar with corresponding software development technique to technical requirements height, general business personnel can not be competent at, this Increase the development difficulty of system;Again, difficult in maintenance, be not suitable with production business and change at any time, whenever have new demand and It changes, it is necessary to which professional personnel modify source code, considerably increase maintenance cost;Finally, customized development limits significantly is The popularization of system is unfavorable for quickly developing the cement plant for being adapted to the different conditions of production.
Also there is production monitoring to configure function in the DCS (scattered control system, also known as Distributed Control System) of cement industry at present Can, generally using direct customized developments of language such as VB or VC++, there are the following problems:
1, user need to install software, but not have internet remote monitoring function, cross-platform can not use.
2, although part scattered control system provides patterned configuration feature, but configuration flow is complicated, technical requirements Height, upper hand is difficult, but also to install software.
3, to be that code is fixed write dead the monitoring page, and development and maintenance cost is high, needs whenever user machine system upgrades Again new version is developed, upgrade maintenance is difficult.
Summary of the invention
The present invention provides a kind of manufacture of cement remotely to monitor visual configuration method and apparatus, with all or part of solution Above-mentioned technical problem.
The present invention provides a kind of manufacture of cement remotely to monitor visual configuration method, comprising:
Configuration information of the foreground to the visual control page for configuring background query manufacture of cement is configured, according to the configuration The JAVA configuration object of the page is monitored described in information tissue and returns to the configuration foreground;
The FLEX that JAVA configuration object is converted to the monitoring page is configured into object, the FLEX is configured into object The source file of the monitoring page is generated according to preset template;
It loads the source file and obtains the monitoring page;
It is operated according to the setting of the component object to the monitoring page, updates the FLEX configuration pair of the monitoring page As;
Updated FLEX configuration object is converted into updated JAVA configuration object, with by the configuration backstage according to Updated JAVA configuration object is updated the configuration information of the monitoring page.
Preferably, it is described by the FLEX configuration object according to preset template generate it is described monitoring the page source file it Afterwards, the method also includes:
The monitoring page is shown according to the source file of the monitoring page.
Preferably, the configuration information include the monitoring page info of the page, each component object attribute information and Event information in the monitoring page.
Preferably, the basis operates the setting of the component object of the monitoring page on configuration foreground, described in update The FLEX of the monitoring page configures object
Component pair is created according to the type of the component object of the monitoring page in the selection of configuration foreground and mouse position As, and/or, duplication stickup or deletion are carried out to the component object of the monitoring page in the selection of configuration foreground, and/or, root According to the setting operation of the attribute configuration window of the component object of the monitoring page described in configuration foreground or the behaviour of configuration DCS coding Make, updates shape, size, color or the font attribute of figure, and/or, according to the group on configuration foreground to the monitoring page The drag operation at the control point of part object adjusts the coordinate position of the component object;
Update the FLEX configuration object of the monitoring page.
Preferably, the configuration foreground includes: to the configuration information of the configuration background query visual control page
Configuration foreground, which is received, checks request to the monitoring page, and extracts the page iden-tity of the monitoring page;
The configuration information of the page is monitored described in preset data base querying according to the page iden-tity.
Preferably, it is described configuration backstage according to updated JAVA configure object to it is described monitoring the page configuration information into Row updates
The configuration backstage configures object according to updated JAVA and deletes in the configuration information on the configuration foreground Deleted component record, and/or, it updates in the updated component record in the configuration foreground, and/or, creation is matched described Set the newly added component record in foreground.
Preferably, the method also includes:
The configuration backstage returns to the prompt information being updated to the configuration information to the configuration foreground, and by institute It states configuration foreground and shows the prompt information.
Preferably, the component object include the monitoring page, monitoring element, table, tendency chart, DCS signal group and At least one of monitoring elementary event.
The present invention also provides a kind of manufacture of cement remotely to monitor visualization configuration means, comprising:
Information inquiry module, for configuring configuration of the foreground to the visual control page for configuring background query manufacture of cement Information monitors the JAVA configuration object of the page according to the configuration information tissue and returns to the configuration foreground;
First format converting module, for JAVA configuration object to be converted to the FLEX configuration pair of the monitoring page As;
Source file generation module, for FLEX configuration object to be generated to the source of the monitoring page according to preset template File;
Page generation module is monitored, obtains the monitoring page for loading the source file;
Object update module is configured, for operating according to the setting of the component object to the monitoring page, described in update The FLEX for monitoring the page configures object;
Second format converting module, for updated FLEX configuration object to be converted to updated JAVA configuration pair As being updated with configuring object according to updated JAVA by the configuration backstage to the configuration information of the monitoring page.
Preferably, described device further include:
Renewal of the page module is monitored, for updating the monitoring page according to updated configuration object.
Compared with the background art, the present invention includes the following advantages:
The embodiment of the present invention proposes a kind of long-range monitoring visual configuration mechanism, passes through aiming at the problem that background technique It configures foreground and configuration backstage and realizes that configuration foreground is according to the configuration information group from the visual control page for configuring background query The JAVA configuration object of the monitoring page is knitted, and is converted to FLEX configuration object, and by configuration object according to preset template generation The source file of the page is monitored, further the setting of the component object of the monitoring page is operated according on configuration foreground, to configuration pair As being updated and being converted to JAVA object, mutually the configuration information on reply configuration backstage is updated, thus raw for cement industry It produces situation and remotely monitor and provide a kind of visualization, quick configuration mode, convenient for for different cement producer visual configuration cement The monitoring page of production, has following advantages:
1, configuration personnel, can be at any time according to the life of itself suitable for general service personnel without understanding software development technique Monitoring business demand is produced to be configured and adjusted.
2, configuration without installing any client, is operated, is easy to use on a web browser based on web.
3, configuration is visual, completes to configure with a kind of intuitive and convenient mode of operation, and the visual configuration based on web More convenient and quicker is used, monitoring point location in the manufacture of cement monitoring page has been well solved and has been not allowed, configures cumbersome difficulty Topic.
4, the monitoring page is to greatly reduce exploitation and dimension based on the component object and template for being suitable for manufacture of cement monitoring Protect cost, get rid of traditional code formula development scheme, it is more efficient so that manufacture of cement remote monitoring system possess it is good heavy With property, scalability and maintainability.
5, using the monitoring page source document generating method based on template, so that the monitoring page is able to Mass production, simultaneously It is more preferable than carrying out page presentation performance in such a way that dynamic creation monitors the page.
Detailed description of the invention
Fig. 1 is that a kind of manufacture of cement of the embodiment of the present invention remotely monitors the flow chart of visual configuration method;
Fig. 2 is the visual configuration schematic diagram of the embodiment of the present invention;
Fig. 3 is the visual control modularization design figure of the embodiment of the present invention;
Fig. 4 is the monitoring page configuration model of the embodiment of the present invention;
Fig. 5 is the visualization component class figure of the embodiment of the present invention;
Fig. 6 is the generation schematic diagram that the page is monitored in the embodiment of the present invention;
Fig. 7 is that a kind of manufacture of cement of the embodiment of the present invention remotely monitors the structural block diagram of visualization configuration means.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is described in detail below by implementation process of the embodiment to the method for the invention.
Referring to Fig.1, it illustrates a kind of manufacture of cement described in the embodiment of the present invention remotely to monitor visual configuration method Flow chart, the method can specifically include:
Step 101 configures configuration information of the foreground to the visual control page for configuring background query manufacture of cement, according to The JAVA configuration object of the page is monitored described in the configuration information tissue and returns to the configuration foreground.
The scheme of the embodiment of the present invention realizes that configuration foreground can be the movement of user by configuring foreground and configuration backstage Terminal (such as mobile phone, PAD etc.) or fixed terminal (such as computer etc.), configuration rear end can be server or work station etc..
It configures foreground and shows the visual monitoring page, to monitor manufacture of cement, configuration foreground is preserved in configuration rear end Monitor the corresponding configuration information of the page, wherein the configuration information may include the page info of the monitoring page, monitoring page Event information etc. in face in the attribute information of each component object and the monitoring page, can be arranged according to actual needs.This Component object described in inventive embodiments may include the monitoring page, monitoring element, table, tendency chart, DCS signal group and Monitor any one or more among elementary event.
Corresponding configuration object can be organized according to configuration information, the configuration information record various assemblies pair of the monitoring page As configurable attribute information, therefore, the attribute information for also recording in object and having component object is configured.This is in configuration foreground group The configuration object knitted is the configuration object of JAVA format.
In one preferred embodiment of the invention, the foreground that configures is to the configuration background query visual control page Configuration information may include:
Sub-step S11, configuration foreground, which are received, checks request to the monitoring page, and extracts the page mark of the monitoring page Know.
Sub-step S12, the configuration information for monitoring the page described in preset data base querying according to the page iden-tity.
Configuration information can be stored in preset database, can be to monitor the page iden-tity of the page as label to not Configuration information with the monitoring page distinguishes, and can be inquired in preset database according to the page iden-tity of the monitoring page should Monitor the corresponding configuration information of the page.
The FLEX that JAVA configuration object is converted to the monitoring page is configured object by step 102, by the FLEX Configuration object generates the source file of the monitoring page according to preset template.
In the embodiment of the present invention, configuration backstage uses the configuration object of JAVA format, and configuration foreground uses the configuration of FLEX Object, therefore, configuration foreground get JAVA configuration object after, can be converted into first FLEX configuration object, according to turn Configuration object after changing can be able to be MXML source document further according to the source file according to preset template tissue monitoring page The source file of the types such as part, xml or html, load source file can be monitored the page.
In the embodiment of the present invention, it is preferable that MXML source file generates the freemaker mould plate technique for using open source.
Step 103, the load source file obtain the monitoring page.
After the source file for generating the monitoring page, it can further load source file and obtain the monitoring page.
Step 104 is operated according to the setting of the component object to the monitoring page, updates the FLEX of the monitoring page Configure object.
The operator for configuring foreground can be configured component object in the monitoring page, and component object passes through setting hair After changing, need further exist for for corresponding configuration object being updated.
In the embodiment of the present invention, it is preferable that the basis setting to the component object for monitoring the page on configuration foreground Operation is set, the FLEX configuration object for updating the monitoring page includes:
Sub-step S21, according to configuration foreground selection the monitoring page component object type and mouse position Component object is created, and/or, duplication stickup is carried out to the component object of the monitoring page in the selection of configuration foreground or is deleted It removes, and/or, according to the setting operation of the attribute configuration window of the component object of the monitoring page described in configuration foreground or configuration DCS coding operation, update shape, size, color or the font attribute of figure, and/or, according to configuration foreground to the prison The drag operation for controlling the control point of the component object of the page adjusts the coordinate position of the component object;
Sub-step S22, the FLEX for updating the monitoring page configure object.
Component object can be created, replicated, deleted in the monitoring page, Update attribute, the operation such as adjustment position.Match The attribute information for having recorded component object in the monitoring page in object is set, is operated according to the above-mentioned update to component object, it can be with Configuration object is updated accordingly.
When selection creates component object, according to mouse institute on the type of the component object of the monitoring page of selection and interface Position, increase the attribute information of new component object in configuration object.
When selection replicates some component object, the operation that component object is pasted in corresponding duplication is carried out, when selection is deleted When some component object, the component object is deleted in configuration object.
When needing the attribute to component object to be configured, can match in the attribute for the component object being arranged for needs It sets in window, is arranged accordingly, it can also be by configuring DCS coding (Distributed Control System, distribution Formula control system) it is configured, for example, the contents such as shape, size, color or font attribute of figure in the setting page, are matching It sets in object and modifies to the attribute of component object.
When needing the position to component object to be adjusted, component object can be dragged to according on the monitoring page The location information of component object attribute information is modified on new position, configuration foreground according to the position after dragging in configuration object.
Updated FLEX configuration object is converted to updated JAVA configuration object by step 105, by the configuration Backstage configures object according to updated JAVA and is updated to the configuration information of the monitoring page.
Configuration foreground updates component object, and the configuration object that can further save to configuration backstage carries out more Newly, updated FLEX configuration object is converted into new JAVA first and configures object, object is then configured according to new JAVA It updates the JAVA that configuration backstage saves and configures object, further, object is configured according to JAVA, the monitoring page saved to configuration backstage The configuration information in face is updated.
The configuration backstage configures object according to updated JAVA and is updated to the configuration information of the monitoring page Include:
The configuration backstage configures object according to updated JAVA and deletes in the configuration information on the configuration foreground Deleted component record, and/or, it updates in the updated component record in the configuration foreground, and/or, creation is matched described Set the newly added component record in foreground.
It is further preferred that after the FLEX configuration object for updating the monitoring page, the method also includes:
The monitoring page is updated according to updated configuration object.
After being updated to the component object in the monitoring page, can further it be added again according to updated configuration object Carry the monitoring page.
It is further preferred that the method can also include:
The configuration backstage returns to the prompt information being updated to the configuration information to the configuration foreground, and by institute It states configuration foreground and shows the prompt information.
After updating configuration object, the prompt information that prompt has been updated can be generated, and show use in configuration leading portion Family.
In conclusion the embodiment of the present invention aiming at the problem that background technique, proposes a kind of long-range monitoring visual configuration Mechanism is realized by configuring foreground and configuration backstage.
It configures foreground and the page is monitored according to the configuration information tissue of the visual control page from configuration background query JAVA configures object, and is converted to FLEX configuration object, and will configure object according to the source of the preset template generation monitoring page File further operates the setting of the component object of the monitoring page according on configuration foreground, is updated simultaneously to configuration object JAVA object is converted to, mutually the configuration information on reply configuration backstage is updated, to remotely supervise for the cement industry condition of production Control provide it is a kind of visualization, quick configuration mode, convenient for the monitoring page for different cement producer visual configuration manufacture of cement Face has following advantages:
1, configuration personnel, can be at any time according to the life of itself suitable for general service personnel without understanding software development technique Monitoring business demand is produced to be configured and adjusted.
2, configuration without installing any client, is operated, is easy to use on a web browser based on web.
3, configuration is visual, completes to configure with a kind of intuitive and convenient mode of operation, and the visual configuration based on web More convenient and quicker is used, monitoring point location in the manufacture of cement monitoring page has been well solved and has been not allowed, configures cumbersome difficulty Topic.
4, the monitoring page is to greatly reduce exploitation and dimension based on the component object and template for being suitable for manufacture of cement monitoring Protect cost, get rid of traditional code formula development scheme, it is more efficient so that manufacture of cement remote monitoring system possess it is good heavy With property, scalability and maintainability.
5, using the monitoring page MXML source code generation method based on template, so that the monitoring page is able to Mass production, together When than to carry out page presentation performance more preferable in such a way that dynamic creation monitors the page.
To make ability and technical staff more fully understand the present invention, below by way of multiple attached drawings from different perspectives to the present invention Embodiment is illustrated.
With reference to Fig. 2 shows the visual configuration schematic diagrams of the embodiment of the present invention.
It is real by configuration foreground and the combination of configuration backstage that manufacture of cement of the present invention remotely monitors visual configuration method It is existing.
Mainly realizes conversion between the monitoring visual configuration of the page, FLEX model and JAVA model, in advance in configuration foreground Look at displaying and monitoring page MXML source file generate, and further control load MXML source file generate monitoring the page, and, will Source file is sent to configuration backstage and is saved.
Wherein, the visual configuration of What You See Is What You Get is mainly carried out by drag and drop, movement, attribute setting.
The FLEX visualization component object of the page is monitored, i.e. component entities may include the monitoring page, monitor in the page Each element (text, semaphore, hot spot, tendency chart, signal group etc.) and monitoring elementary event.
The main persistence for realizing the monitoring page in configuration backstage saves and exports according to template the source file of the page.Including holding Longization save monitoring page configuration information database, can receive configuration foreground queries configuration information request database into Row query processing;The JAVA configuration object received is saved;The MXML source file that configuration foreground generates is received to be protected It deposits, MXML source file is exported according to template.The corresponding component entities for preserving JAVA format in configuration backstage.
The visual control modularization design figure of the embodiment of the present invention is shown with reference to Fig. 3.Wherein, FLEX visual configuration circle Face is the monitoring page shown on configuration foreground, and the end FLEX configures foreground, and the end JAVA configures backstage.
Visual control configuration flow is described as follows:
(1) user's request will open the monitoring page.
(2) configuration information of the monitoring page is obtained according to monitoring page ID.
(3) configuration backstage is by inquiry database, obtains all information (including the page info, each prison of the monitoring page Control element information and event information), and organize organization data and obtain.
(4) obtaining monitoring page configuration information object, (configuration information object, which that is to say, described in the embodiment of the present invention matches Set object).
(5) monitoring page configuration information object is returned.
(6) conversion of the Java allocation models to Flex visual configuration model (such as attribute type, object type are converted).
(7) switch to the visual configuration object at the end Flex.
(8) by traversal parsing, load visualizes Flex control object, and creation shows the monitoring page.
(9) show that visual control configures the page to user.
(10) user carries out the operations such as drag and drop, movement, component property setting to component.
(11) (creation, is deleted at duplication) visual control configuration element, and their attribute is set.It include: according to user The component type and mouse position of selection carry out creation component;Clone's duplication is carried out according to the component that user selects to paste;According to The component of user's selection carries out deleting component operation.
(12) Flex visual configuration object is updated.
(13) updated object is returned.
(14) the visual configuration page is updated.
(15) it after the complete page of user configuration, clicks and saves operation, save the configuration page.
(16) conversion of the Flex object model to Java object model.
(17) monitoring page configuration information is saved.
(18) data processing (delete, update, creation configuration information).
(19) it returns and saves operation information.
(20) interface prompt saves operation information.
The monitoring page configuration model of the embodiment of the present invention is shown with reference to Fig. 4.The model such as is related at the multiple assemblies object Configuration, comprising:
DCS component relation entity) (DCS signal entity identifier, monitoring element arrangements message identification, DCS signal group mark, State, state for time)
DCS signal group (DCS signal identification, monitoring page iden-tity, X-coordinate, Y coordinate, height, width, foreground color, background face Color, border color, display shape, when whether having frame, whether can flash, load source program path, event, state, state Between)
Event configuration (event identifier, event title, load source program path, remarks, state, state for time)
Monitor element and event relation configuration (monitoring element and event relation mark, monitoring element arrangements message identification, thing Part mark, state, state for time)
Whether monitoring page configuration information (monitoring title, width, height, base map file name, sequence, write from memory by monitoring page iden-tity Recognize the page, whether show, state, state for time)
Monitoring element arrangements information, (monitoring element arrangements message identification, monitoring page iden-tity, type, DSC label, X are sat Mark, Y coordinate, height, width, foreground color, background color, border color, default display text, text or so alignment thereof, text Consistency from top to bottom mode, whether runic, font size, progress bar direction, display shape, whether have frame, whether can flash, be No background flashing, load source program path, event, state, state for time)
Monitoring table configuration information, (table mark, title, monitoring page iden-tity, X-coordinate, Y coordinate, column header are high Degree, rower grease head highness, cell width, cell height, line number, columns, state, state for time)
Table element configuration information (sit by table element configuration identifier, table mark, monitoring element arrangements message identification, row Mark, column coordinate, state, state for time)
Tendency chart entity (trend map logo, tendency chart entity identifier, DCS coding, color, annotation, state, state for time)
Tendency chart (trend map logo, monitoring element arrangements message identification, tendency chart title, remarks, state, state for time)
The data persistence for configuring backstage uses the model.
The visualization component class figure of the embodiment of the present invention is shown with reference to Fig. 5, is described as follows:
(1) manufacture of cement monitoring basic module CUIComponent is inherited from the UIComponent component of Flex, rewrites CreateChildren () commitProperties () the methods of measure () and updateDisplay List (), And it is added to a series of relevant attribute in cement monitoring points and method.
(2) other components (including progress bar, text, table, tendency chart, hot spot, figure and semaphore) are inherited from base This component CUIComponent, extends the attribute of itself, rewrite clone (), CreateChildren () and UpdateDisplayList () method.
(3) early warning animation in monitoring point is realized using Timer timer tune updateDisplayList () method.
(4) the mouse event setting method of monitoring point be setContextMenu (callBackFuncs:Array, ItemArr:Array): void, wherein callBackFuncs is the processing function set after clicking menu item by right key, itemArr For menu item string assemble.
The generation schematic diagram that the page is monitored in the embodiment of the present invention is shown with reference to Fig. 6.
Wherein, CMonitorPage monitors template as shown, all monitoring pages are all CMonitorPage templates Subclass, by template generation MonitorPageID, base map control, storage/monitoring element set of controls, subclass need to rewrite init () With setMonitorPageImgPath (monitor PageImgPath:String) method, further inherits and obtain CMonitorPage, wherein by setting monitoring the page width, monitoring page height, textures path, textures, storing monitor component Group, initialization, setting base map path, scaling, load base map, more new data obtain the monitoring page.The generation of MXML source file makes It is the freemaker mould plate technique of open source.
From the foregoing, it will be observed that the present invention provides:
1, manufacture of cement component-based monitors page visual configuration method.
2, the manufacture of cement based on template monitors page MXML source code generation method.
3, allocation models is remotely monitored suitable for the production of cement industry.
4, it is suitable for the Flex visualization component that cement industry production remotely monitors for one group.
It should be noted that for the aforementioned method embodiment, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, The embodiments described in the specification are all preferred embodiments, and related movement is not necessarily essential to the invention.
Based on the description of the above method embodiment, visualization is remotely monitored the present invention also provides corresponding manufacture of cement to match Installation practice is set, to realize content described in above method embodiment.
Referring to Fig. 7, it illustrates a kind of manufacture of cement described in the embodiment of the present invention remotely to monitor visualization configuration means Structural block diagram, comprising:
Information inquiry module 201, for configuring foreground to the visual control page for configuring background query manufacture of cement Configuration information monitors the JAVA configuration object of the page according to the configuration information tissue and returns to the configuration foreground;
First format converting module 202, the FLEX for JAVA configuration object to be converted to the monitoring page match Set object;
Source file generation module 203, for FLEX configuration object to be generated the monitoring page according to preset template Source file;
Page generation module 204 is monitored, obtains the monitoring page for loading the source file;
Object update module 205 is configured, for operating according to the setting of the component object to the monitoring page, updates institute State the FLEX configuration object of the monitoring page;
Second format converting module 206 is configured for updated FLEX configuration object to be converted to updated JAVA Object carries out more the configuration information of the monitoring page with configuring object according to updated JAVA by the configuration backstage Newly.
In the embodiment of the present invention, it is preferable that described device further include:
Renewal of the page module is monitored, for updating the monitoring page according to updated configuration object.
In the embodiment of the present invention, it is preferable that the configuration information includes page info, each component pair of the monitoring page Event information in the attribute information of elephant and the monitoring page.
In the embodiment of the present invention, it is preferable that the configuration object update module includes:
Object Creation submodule, for according to configuration foreground selection the monitoring page component object type and Mouse position creates component object, and/or, object deletes submodule, for the monitoring page in the selection of configuration foreground Component object carry out duplication stickup or deletion, and/or, object editing submodule, for according to the prison described in configuration foreground The setting operation of the attribute configuration window of the component object of the page or the operation of configuration DCS coding are controlled, the shape, big of figure is updated Small, color or font attribute, and/or, object adjusting submodule, for according to the component on configuration foreground to the monitoring page The drag operation at the control point of object adjusts the coordinate position of the component object;
It configures object and updates submodule, the FLEX for updating the monitoring page configures object.
In the embodiment of the present invention, it is preferable that the information inquiry module includes:
Marker extraction submodule checks request to the monitoring page for configuring foreground reception, and extracts the monitoring page The page iden-tity in face;
Data base querying submodule, for monitoring the page described in preset data base querying according to the page iden-tity Configuration information.
In the embodiment of the present invention, it is preferable that the configuration information update module includes:
Record deletion submodule configures according to updated JAVA for the configuration backstage and matches confidence described in object deletion In the deleted component record in the configuration foreground in breath;
And/or record updates submodule, for updating in the updated component record in the configuration foreground;
And/or record creation submodule, for creating in the newly added component record in the configuration foreground.
In the embodiment of the present invention, it is preferable that described device further include:
Cue module is returned to the configuration foreground for the configuration backstage and is mentioned to what the configuration information was updated Show information, and the prompt information is shown by the configuration foreground.
In the embodiment of the present invention, it is preferable that the component object includes the monitoring page, monitoring element, table, trend Figure, DCS signal group and monitoring elementary event at least one of.
The embodiment of the present invention proposes a kind of long-range monitoring visual configuration mechanism, passes through aiming at the problem that background technique It configures foreground and configuration backstage and realizes that configuration foreground is according to the configuration information group from the visual control page for configuring background query The JAVA configuration object of the monitoring page is knitted, and is converted to FLEX configuration object, and by configuration object according to preset template generation The source file of the page is monitored, further the setting of the component object of the monitoring page is operated according on configuration foreground, to configuration pair As being updated and being converted to JAVA object, mutually the configuration information on reply configuration backstage is updated, thus raw for cement industry It produces situation and remotely monitor and provide a kind of visualization, quick configuration mode, convenient for for different cement producer visual configuration cement The monitoring page of production, has following advantages:
1, configuration personnel, can be at any time according to the life of itself suitable for general service personnel without understanding software development technique Monitoring business demand is produced to be configured and adjusted.
2, configuration without installing any client, is operated, is easy to use on a web browser based on web.
3, configuration is visual, completes to configure with a kind of intuitive and convenient mode of operation, and the visual configuration based on web More convenient and quicker is used, monitoring point location in the manufacture of cement monitoring page has been well solved and has been not allowed, configures cumbersome difficulty Topic.
4, the monitoring page is to greatly reduce exploitation and dimension based on the component object and template for being suitable for manufacture of cement monitoring Protect cost, get rid of traditional code formula development scheme, it is more efficient so that manufacture of cement remote monitoring system possess it is good heavy With property, scalability and maintainability.
5, using the monitoring page MXML source code generation method based on template, so that the monitoring page is able to Mass production, together When than to carry out page presentation performance more preferable in such a way that dynamic creation monitors the page.
For above-mentioned manufacture of cement remotely monitors visualization configuration means embodiment, due to itself and embodiment of the method base This is similar, so being described relatively simple, the part explanation of related place embodiment of the method shown in Figure 1.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
The present invention can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, service Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, top set Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, including any of the above system or equipment Distributed computing environment etc..
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
In the present invention, " component ", " device ", " system " etc. refer to the related entities for being applied to computer, such as hardware, firmly Combination, software or software in execution of part and software etc..In detail, for example, component can with but be not limited to run on place Manage process, processor, object, executable component, execution thread, program and/or the computer of device.In addition, running on server On application program or shell script, server can be component.One or more components can be in the process and/or line of execution Cheng Zhong, and component can be localized and/or be distributed between two or multiple stage computers on one computer, and can be by Various computer-readable medium operations.Component can also be according to the signal with one or more data packets, for example, coming from one It is handed over component interaction another in local system, distributed system, and/or network in internet by signal and other systems The signal of mutual data is communicated by locally and/or remotely process.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise", not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including described want There is also other identical elements in the process, method, article or equipment of element.
Moreover, "and/or" expression above had both contained the relationship of "and" herein, the relationship of "or" is also contained, In: if option A and option b are the relationships of "and", then it represents that can simultaneously include option A and option b in certain embodiment;If Option A and option b are the relationships of "or", then it represents that can individually include option A in certain embodiment, or individually include option b.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Visual configuration method is remotely monitored to a kind of manufacture of cement provided by the present invention above and manufacture of cement is long-range Visualization configuration means are monitored, are described in detail, specific case used herein is to the principle of the present invention and embodiment party Formula is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile it is right In those of ordinary skill in the art, according to the thought of the present invention, change is had in specific embodiments and applications Place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (9)

1. a kind of manufacture of cement remotely monitors visual configuration method characterized by comprising
Configure configuration information of the foreground to the visual control page for configuring background query manufacture of cement;Configuration backstage is according to The JAVA configuration object of the page is monitored described in configuration information tissue and returns to the configuration foreground;
By the JAVA configuration object be converted to it is described monitoring the page FLEX configure object, by the FLEX configuration object according to Preset template generates the source file of the monitoring page;
It loads the source file and obtains the monitoring page;
It is operated according to the setting of the component object to the monitoring page, the FLEX for updating the monitoring page configures object;
Updated FLEX configuration object is converted into updated JAVA configuration object, with by the configuration from the background according to update JAVA configuration object afterwards is updated the configuration information of the monitoring page, comprising: after the configuration backstage is according to update JAVA configuration object delete in the configuration information in the deleted component record in the configuration foreground, and/or, update is in institute The configuration updated component record in foreground is stated, and/or, it creates in the newly added component record in the configuration foreground.
2. according to the method described in claim 1, it is characterized by:
After the source file that FLEX configuration object is generated to the monitoring page according to preset template, the method is also Include:
The monitoring page is shown according to the source file of the monitoring page.
3. according to the method described in claim 1, it is characterized by:
The configuration information includes the attribute information and the monitoring page of the page info of the monitoring page, each component object In event information.
4. the method according to claim 1, wherein the basis is on configuration foreground to the group of the monitoring page The setting of part object operates, and the FLEX configuration object for updating the monitoring page includes:
Component object is created according to the type of the component object of the monitoring page in the selection of configuration foreground and mouse position, And/or duplication stickup or deletion is carried out to the component object of the monitoring page in the selection of configuration foreground, and/or, according to The setting operation of the attribute configuration window of the component object of the monitoring page described in foreground or the operation of configuration DCS coding are configured, Shape, size, color or the font attribute of figure are updated, and/or, according to the component pair on configuration foreground to the monitoring page The drag operation at the control point of elephant adjusts the coordinate position of the component object;
Update the FLEX configuration object of the monitoring page.
5. the method according to claim 1, wherein the configuration foreground to configuration background query visual control The configuration information of the page includes:
Configuration foreground, which is received, checks request to the monitoring page, and extracts the page iden-tity of the monitoring page;
The configuration information of the page is monitored described in preset data base querying according to the page iden-tity.
6. the method according to claim 1, wherein further include:
The configuration backstage returns to the prompt information being updated to the configuration information to the configuration foreground, and is matched by described It sets foreground and shows the prompt information.
7. according to the method described in claim 1, it is characterized by:
The component object includes the monitoring page, monitoring element, table, tendency chart, DCS signal group and monitoring elementary event At least one of.
8. a kind of manufacture of cement remotely monitors visualization configuration means characterized by comprising
Information inquiry module is included in configuration foreground, for the visual control page to configuration background query manufacture of cement Configuration information so that the JAVA configuration that configuration backstage monitors the page according to the configuration information tissue and returns object To the configuration foreground;
First format converting module, the FLEX for JAVA configuration object to be converted to the monitoring page configure object;
Source file generation module, for FLEX configuration object to be generated to the source document of the monitoring page according to preset template Part;
Page generation module is monitored, obtains the monitoring page for loading the source file;
Object update module is configured, for operating according to the setting of the component object to the monitoring page, updates the monitoring The FLEX of the page configures object;
Second format converting module configures object for updated FLEX configuration object to be converted to updated JAVA, with Object is configured according to updated JAVA by the configuration backstage to be updated the configuration information of the monitoring page, comprising: The configuration backstage configures deleted on the configuration foreground in the object deletion configuration information according to updated JAVA Component record, and/or, it updates in the updated component record in the configuration foreground, and/or, it creates new on the configuration foreground The component record of addition.
9. device according to claim 8, which is characterized in that further include:
Renewal of the page module is monitored, for updating the monitoring page according to updated configuration object.
CN201410532585.1A 2014-10-10 2014-10-10 A kind of manufacture of cement remotely monitors visual configuration method and apparatus Active CN105573769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410532585.1A CN105573769B (en) 2014-10-10 2014-10-10 A kind of manufacture of cement remotely monitors visual configuration method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410532585.1A CN105573769B (en) 2014-10-10 2014-10-10 A kind of manufacture of cement remotely monitors visual configuration method and apparatus

Publications (2)

Publication Number Publication Date
CN105573769A CN105573769A (en) 2016-05-11
CN105573769B true CN105573769B (en) 2019-02-22

Family

ID=55883945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410532585.1A Active CN105573769B (en) 2014-10-10 2014-10-10 A kind of manufacture of cement remotely monitors visual configuration method and apparatus

Country Status (1)

Country Link
CN (1) CN105573769B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076946A1 (en) * 2016-10-24 2018-05-03 北京亚控科技发展有限公司 Method and system for displaying physical object based on configuration, and computer program and storage medium
CN110412932A (en) * 2018-04-27 2019-11-05 杭州诺云科技有限公司 A kind of record system and method, Inversion System and the method for control process data
CN108733849B (en) * 2018-06-15 2019-04-19 武汉理工大学 Manufacture of cement kiln system heat consumption analysis visualization system and method based on MVC
CN110597119A (en) * 2019-09-16 2019-12-20 上海思彤科技发展有限公司 Sheet metal paint spraying product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101692736A (en) * 2009-09-16 2010-04-07 南京联创科技集团股份有限公司 Method for monitoring telecom mobile service exchange based on flex technology
CN101694660A (en) * 2009-06-01 2010-04-14 高维海 Instantaneous website system and method for combining website with instantaneous communication platform
CN102236709A (en) * 2011-07-01 2011-11-09 深圳中兴力维技术有限公司 Flex-based monitoring page display method and system
CN103870280A (en) * 2014-03-21 2014-06-18 上海新炬网络技术有限公司 Webpage seamless combining processing method based on FLEX and JSP

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7929915B2 (en) * 2007-09-28 2011-04-19 Verizon Patent And Licensing Inc. Method and system for measuring cross-polarization isolation value and 1 dB gain compression point

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694660A (en) * 2009-06-01 2010-04-14 高维海 Instantaneous website system and method for combining website with instantaneous communication platform
CN101692736A (en) * 2009-09-16 2010-04-07 南京联创科技集团股份有限公司 Method for monitoring telecom mobile service exchange based on flex technology
CN102236709A (en) * 2011-07-01 2011-11-09 深圳中兴力维技术有限公司 Flex-based monitoring page display method and system
CN103870280A (en) * 2014-03-21 2014-06-18 上海新炬网络技术有限公司 Webpage seamless combining processing method based on FLEX and JSP

Also Published As

Publication number Publication date
CN105573769A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN103645908B (en) Full life circle development achievement system of intemetware
CN108345482A (en) The self-defined edit methods of dynamic page, device, electronic equipment and storage medium
WO2015188626A1 (en) Method for viewing single line diagram of electric power system on mobile terminal in real time
CN105573769B (en) A kind of manufacture of cement remotely monitors visual configuration method and apparatus
CN103150624A (en) Equipment management and monitoring system based on process flow diagram
CN108829746B (en) Main data management system and device based on memory database
US11314769B2 (en) Generation and graphical display of data transform provenance metadata
CN116225429A (en) Pulling type component frame-based ipage webpage type low-code development platform
WO2022048329A1 (en) Menu display method and apparatus
CN107766042A (en) A kind of visual data manager and device of the model file based on CSAR
CN104731588B (en) Page layout document generating method and page layout file creating apparatus
US20210109981A1 (en) Automating mapping between content schema and rendered pages
JP2014164560A (en) Dynamic manual creation device and method therefor and computer program
CN103500094A (en) Service platform monitoring model capable of supporting user visible user-definition
CN103530134A (en) Configurable software platform structure
CN108228846A (en) Resource file management method and device
JP2016167160A (en) Document management client apparatus and document management method
CN104809126A (en) Business process engine system
CN109086042B (en) Business interface development method based on operator and control
CN102129468B (en) Method for displaying customizable cluster state
CN103135912B (en) A kind of method of generating run object and electronic equipment
US20170364496A1 (en) Visualization interface for information object system
JP2019197405A (en) Project status management device, project status management program, and project status management method
CN110704154A (en) Multi-language template issuing method and system
CN102929186B (en) Method for implementing data communication between model system and Web monitor screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant