CN103473041B - A kind of visual data processing method and system - Google Patents

A kind of visual data processing method and system Download PDF

Info

Publication number
CN103473041B
CN103473041B CN201310300504.0A CN201310300504A CN103473041B CN 103473041 B CN103473041 B CN 103473041B CN 201310300504 A CN201310300504 A CN 201310300504A CN 103473041 B CN103473041 B CN 103473041B
Authority
CN
China
Prior art keywords
model
controller
data
visual pattern
visual
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.)
Expired - Fee Related
Application number
CN201310300504.0A
Other languages
Chinese (zh)
Other versions
CN103473041A (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.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201310300504.0A priority Critical patent/CN103473041B/en
Publication of CN103473041A publication Critical patent/CN103473041A/en
Application granted granted Critical
Publication of CN103473041B publication Critical patent/CN103473041B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention is applied to computer graphical processing field, there is provided a kind of visual data processing method and system, methods described include:Model is set up by concluding, and selects corresponding numerical computation method to calculate and solved;The data solved in the model are interacted with data in controller;Visual pattern is created according to the interaction data and is used for representing model.Performance model view controller mode release user interface of the present invention, the coupling between behavior and expression, by model, view are separated with controller, allow a model that there are multiple display views, no matter when which kind of data variation there occurs, change notification all of view all can be caused the renewal for showing by controller.

Description

A kind of visual data processing method and system
Technical field
The invention belongs to computer graphical processing field, more particularly to a kind of visual data processing method and it is System.
Background technology
Visualization of Scientific Computing has been developed rapidly for over ten years as a new branch of science, and American-European grade is sent out Substantial amounts of fund and manpower are put in research, application and the training with method theoretical in visualization in scientific computing up to country, has been taken Obtained significant benefit.Visualization in scientific computing, multimedia become computer science and related application together with virtual reality The study hotspot of section.The research of visualization in scientific computing is concentrated mainly on visualized algorithm research and visualization system is studied.
Visualization application is by being engaged in the scientist (applied research expert) of scientific algorithm with to be engaged in computer soft in early days What the cooperation between the expert of part too development was completed.The latter provides the tool software of practicality for the former, and the former coordinates the latter to test The correctness of card software.As the development of science and technology, application problem become increasingly complex, this cooperation is not much of that.Currently, The application of scientific algorithm has enter into interdisciplinary, cross-branch group's collaborative work mode.This working method be it is distributed, Cooperating type, and the computer environment for adopting is the heterogeneous computers of networking.From for application demand, in the urgent need to exploitation point Cloth software for calculation instrument and the tool software of support large data sets collaborative work.Generally speaking, it is visual under distributed environment Change is one of dominant direction of visualization in scientific computing development.
At present, in project analysis field, the newer visualization tool such as distributed visible and Volume Rendering Techniques is not yet obtained Make full use of.Project analysis commodity software is reliable and stable due to pursuing, no matter in analysis method or in visualization processing All relatively fall behind.The result of calculation formed by many work of the commodity software to research lacks effective visual analyzing Instrument.These by research worker develop software for calculation be also required to it is integrated with visualization system, formed it is visual calculating and point Analysis environment.Additionally, with the popularization of network technology, realize that distributed calculating has also become development trend in a network environment, Corresponding visualization tool should also have distributed function.
The content of the invention
The embodiment of the present invention provides a kind of visual data processing method and system, it is intended to performance model-view-control Device (Model-View-Controller, MVC) mode release user interface, the coupling between behavior and expression, and by inciting somebody to action Model, view are separated with controller so that a model can have multiple display views, no matter when there occurs which kind of number According to change, change notification all of view all can be caused the renewal for showing by controller.
A kind of visual data processing method is embodiments provided, methods described comprises the steps:
Model is set up by concluding, and selects corresponding numerical computation method to calculate and solved;
The data solved in model are interacted with data in controller;
Visual pattern is created according to interaction data and is used for representing model.
The embodiment of the present invention additionally provides a kind of visual data handling system, and the system includes:
Analog, for setting up model by conclusion, and selects corresponding numerical computation method to calculate solution;
Visualization device, for the data solved in model are interacted with data in controller;
Controller, for creating visual pattern according to interaction data and representing model.
The embodiment of the present invention is by model, view are separated with controller so that a model can have multiple showing Show view, which kind of data variation no matter when there occurs, change notification all of view can all be caused to show more by controller Newly.
Description of the drawings
Fig. 1 is the flow chart of visual data processing method provided in an embodiment of the present invention;
Fig. 2 is the structure chart of visual data handling system provided in an embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and It is not used in the restriction present invention.
The flow chart that Fig. 1 shows visual data processing method provided in an embodiment of the present invention, details are as follows:
In step S101, model is set up by concluding, and select corresponding numerical computation method to calculate solve;
In an embodiment of the present invention, model includes Visualization Model, the data model of 3 d data field, data flow mould Type, distributed visible system model, model can be represented with any C++ objects.
Wherein, Visualization Model studies its basic procedure and basic function mould with visualization in scientific computing process as core Block;The data model of 3 d data field mainly to visualize the data mode of handled 3 d data field as core, studies which Data are organized and data structure;Data flow model with data processing as core, the processing procedure of data;Distributed visible Visualization system consists of core to system model in a distributed manner, studies the primitive form and function of distributed visible system.
Model stores the data that all users can edit or browse.This includes the number related to visable representation simultaneously According to such as border, size, color etc..The method that persister model need to be provided when setting up model.When browser when closed, mould Type needs to be saved or persistence.When browser is opened, model state can recover from long-time memory.
Model must keep unrelated with view or controller.Do not store any to view or the reference of controller in model. Because framework may abandon view or controller.If maintaining these references, it is difficult to avoid encountering failure Visual pattern or editor's part.The change that method allows monitoring model need to be provided when setting up model.This cause controller can and When response modification, and view is appropriately adjusted.Controller is registered as event receiver in model (and revocation note Volume), and notified using attribute modification event.
In step s 102, the data solved in model are interacted with data in controller;
In an embodiment of the present invention, visual pattern is simple graph or complex logic structure nested with one another.
Visual pattern is model or its visable representation of certain part on screen.It can be simple graph, also may be used Being complex logic structure nested with one another.Meanwhile, visual pattern is not required to it is to be understood that model and controller, it passes through IFigure With controller and model exchange data.Any class for realizing IFigure interfaces can serve as visual pattern.
Due to graphical browser it is relatively simple, it is not necessary to dynamic creation visual pattern is representing data model, but uses Predefined visual pattern.This allows user that object is dragged and dropped into any position, even if view does not have reference model or controller, It is all necessary for the model visual attribute that each user may need to check or change.Therefore can usually define and possess big The complicated visual pattern of amount visual attribute, such as color, text, nested visual pattern etc., each attribute both correspond to them Represented model attributes.
Used as the preferred embodiments of the present invention, controller is created when browsing model by user, the fragment of the model with The sub-controller of controller is corresponding.
That is, when user starts to browse model, the controller of a top layer is created out first.If model It is made up of several fragments, this information will be notified framework by top controller.Further, the sub-controller of each fragment is created Build out.If they include sub-piece again, this process recurrence will be continued always, until all composition models Object has corresponding controller.
In step s 103, visual pattern is created according to interaction data and is used for representing model.
In an embodiment of the present invention, controller is used for the modification of monitoring model, and the visable representation of more new model.Mould Type can send PropertyChangeEvent notices when changing.When controller receives this notice, by the outward appearance for adjusting model Or structure makes corresponding changes.
Controller guidance model, monitoring model change produced event, then update view.Due to being done in model layer Design alternative, all of controller must all follow existing pattern.Each controller is realized PropertyChangeListener interfaces.When it is activated, the reception of the attribute modification event of model will be registered itself as Person;When deactivated, oneself is removed from the list of monitor;When it receives attribute modification event, it can be according to attribute-name Refresh the visual pattern for representing model with new old value.
Model-view-controller (Model-View-Controller, MVC) pattern is used for releasing user interface, behavior Coupling and expression between.Model can be represented with any C++ objects.View must realize IFigure interfaces.The type of control Must be EditPart or its subclass.
Mode1-View-Control1er, i.e., one application input, processs, export flow process according to Model, View, The mode of Controller is separated, and such a application is divided into three layer-model layer, view layer, key-courses.
Fig. 2 shows the structure chart of visual data handling system provided in an embodiment of the present invention, and details are as follows:
Analog 21, for setting up model by conclusion, and selects corresponding numerical computation method to calculate solution.
In an embodiment of the present invention, model includes Visualization Model, the data model of 3 d data field, data flow mould Type, distributed visible system model.
Wherein, Visualization Model studies its basic procedure and basic function mould with visualization in scientific computing process as core Block;The data model of 3 d data field mainly to visualize the data mode of handled 3 d data field as core, studies which Data are organized and data structure;Data flow model with data processing as core, the processing procedure of data;Distributed visible Visualization system consists of core to system model in a distributed manner, studies the primitive form and function of distributed visible system.
Model stores the data that all users can edit or browse.This includes the number related to visable representation simultaneously According to such as border, size, color etc..The method that persister model need to be provided when setting up model.When browser when closed, mould Type needs to be saved or persistence.When browser is opened, model state can recover from long-time memory.
Model must keep unrelated with view or controller.Do not store any to view or the reference of controller in model. Because framework may abandon view or controller.If maintaining these references, it is difficult to avoid encountering failure Visual pattern or editor's part.The change that method allows monitoring model need to be provided when setting up model.This cause controller can and When response modification, and view is appropriately adjusted.Controller is registered as event receiver in model (and revocation note Volume), and notified using attribute modification event.
Visualization device 22, for the data solved in model are interacted with data in controller.
In an embodiment of the present invention, visual pattern is simple graph or complex logic structure nested with one another.
Visual pattern is model or its visable representation of certain part on screen.It can be simple graph, also may be used Being complex logic structure nested with one another.Meanwhile, visual pattern is not required to it is to be understood that model and controller, it passes through IFigure With controller and model exchange data.Any class for realizing IFigure interfaces can serve as visual pattern.
Due to graphical browser it is relatively simple, it is not necessary to dynamic creation visual pattern is representing data model, but uses Predefined visual pattern.This allows user that object is dragged and dropped into any position, even if view does not have reference model or controller, It is all necessary for the model visual attribute that each user may need to check or change.Therefore can usually define and possess big The complicated visual pattern of amount visual attribute, such as color, text, nested visual pattern etc., each attribute both correspond to them Represented model attributes.
Used as the preferred embodiments of the present invention, controller is created when browsing model by user, the fragment of the model with The sub-controller of controller is corresponding.
That is, when user starts to browse model, the controller of a top layer is created out first.If model It is made up of several fragments, this information will be notified framework by top controller.Further, the sub-controller of each fragment is created Build out.If they include sub-piece again, this process recurrence will be continued always, until all composition models Object has corresponding controller.
Controller 23, for creating visual pattern according to interaction data and representing model.
In an embodiment of the present invention, controller is additionally operable to the modification of monitoring model, and the visable representation of more new model. Model can send PropertyChangeEvent notices when changing.When controller receives this notice, by adjusting the outer of model See or structure makes corresponding changes.
The embodiment of the present invention is by model, view are separated with controller so that a model can have multiple displays View.If user changes the data of model by the controller of certain view, all other to depend on regarding for these data Figure should all reflect these changes.Therefore, which kind of data variation no matter when is there occurs, change notification can all be owned by controller View, cause show renewal.This is actually a kind of change-mechanism of transmission of model.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (6)

1. a kind of visual data processing method, it is characterised in that methods described comprises the steps:
Set up model by concluding, including the data model of Visualization Model, 3 d data field, data flow model, it is distributed can Depending on changing system model, and corresponding numerical computation method is selected to calculate solution, the model of concluded foundation stores all users The data that can be edited or browse, while including the data related to visable representation;
The data solved in the model are interacted with data in controller;
The controller is created when browsing model by user, and the fragment of the model is corresponding with the sub-controller of controller, when When user starts to browse model, the controller of a top layer is created out first, for the model of multiple fragments composition, top layer This information notifies that framework, and then the sub-controller of each fragment are created out by controller, for again comprising sub-piece Situation, by this process, recurrence continues always, until the object of all composition models has corresponding controller;
Visual pattern is created according to the interaction data and is used for representing model, visual pattern is model or its certain part in screen Visable representation on curtain;
The visual pattern is by IFigure and controller and model exchange data;
The controller is used for the modification of monitoring model, and the visable representation of more new model, and model can be sent when changing PropertyChangeEvent is notified, when controller receives this notice, is made accordingly by the outward appearance or structure that adjust model Change.
2. the method for claim 1, it is characterised in that the visual pattern is simple graph or nested with one another answers Miscellaneous logical structure.
3. the method for claim 1, it is characterised in that the controller is used for the modification of monitoring model, and updates mould The visable representation of type.
4. a kind of visual data handling system, it is characterised in that the system includes:
Analog, for setting up model, including data model, the data flow of Visualization Model, 3 d data field by conclusion Model, distributed visible system model, and select corresponding numerical computation method to calculate solution, the model of concluded foundation is deposited The data that all users can edit or browse are stored up, while including the data related to visable representation;
Visualization device, for the data solved in the model are interacted with data in controller;
The controller is created when browsing model by user, and the fragment of the model is corresponding with the sub-controller of controller, when When user starts to browse model, the controller of a top layer is created out first, for the model of multiple fragments composition, top layer This information notifies that framework, and then the sub-controller of each fragment are created out by controller, for again comprising sub-piece Situation, by this process, recurrence continues always, until the object of all composition models has corresponding controller;
Controller, visual pattern represents model for creating according to the interaction data, and visual pattern is model or which is a certain Visable representation of the part on screen;
The visual pattern is by IFigure and controller and model exchange data;
The controller is used for the modification of monitoring model, and the visable representation of more new model, and model can be sent when changing PropertyChangeEvent is notified, when controller receives this notice, is made accordingly by the outward appearance or structure that adjust model Change.
5. system as claimed in claim 4, it is characterised in that the visual pattern is simple graph or nested with one another answers Miscellaneous logical structure.
6. system as claimed in claim 4, it is characterised in that the controller is used for the change of monitoring model, and updates mould The visable representation of type.
CN201310300504.0A 2013-07-12 2013-07-12 A kind of visual data processing method and system Expired - Fee Related CN103473041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310300504.0A CN103473041B (en) 2013-07-12 2013-07-12 A kind of visual data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310300504.0A CN103473041B (en) 2013-07-12 2013-07-12 A kind of visual data processing method and system

Publications (2)

Publication Number Publication Date
CN103473041A CN103473041A (en) 2013-12-25
CN103473041B true CN103473041B (en) 2017-04-05

Family

ID=49797914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310300504.0A Expired - Fee Related CN103473041B (en) 2013-07-12 2013-07-12 A kind of visual data processing method and system

Country Status (1)

Country Link
CN (1) CN103473041B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484182A (en) * 2014-12-25 2015-04-01 广东电子工业研究院有限公司 Elastic extensible multi-data-source mvc (model-view-controller) model architecture
CN104636136B (en) * 2015-01-12 2018-06-08 沈文策 The method that Group is simulated based on UITableView types Plain in iOS system
CN105549982B (en) * 2016-01-14 2018-08-10 国网山东省电力公司物资公司 A kind of development of automation platform based on model configuration
CN105808244A (en) * 2016-03-01 2016-07-27 杭州师范大学 Dynamic data visualized analysis tool based on workflows
CN107172130B (en) * 2017-04-25 2020-07-03 武汉聚风天下科技有限公司 MVC (model view controller) registration implementation method and server
CN108536566A (en) * 2018-03-29 2018-09-14 重庆大学 A kind of dynamic and visual method of system equipment critical processes
CN109189512B (en) * 2018-06-28 2021-12-28 中译语通科技股份有限公司 Data graphical editing interface method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364176A (en) * 2008-08-12 2009-02-11 北京航空航天大学 BPEL visual model building system based on GMF

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020143800A1 (en) * 2001-01-24 2002-10-03 Henrik Lindberg Model view controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364176A (en) * 2008-08-12 2009-02-11 北京航空航天大学 BPEL visual model building system based on GMF

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ERP模式下的采购及库存管理系统设计与实现;袁华伟,;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20061115(第11期);第32页第3段,第四章第4.1节、第4.2节第4.2.2小节 *
基于Model/View/Controller的电子商务研究;许文韬 等,;《计算机应用研究》;20021231(第10期);参见第2节第1-4段 *

Also Published As

Publication number Publication date
CN103473041A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103473041B (en) A kind of visual data processing method and system
CA2951145C (en) Page constructor and page constructing method
CN103034708B (en) Browser spreadsheet integration
US9141345B2 (en) Simplified user controls for authoring workflows
CN110096277A (en) A kind of dynamic page methods of exhibiting, device, electronic equipment and storage medium
US20030132959A1 (en) Interface engine providing a continuous user interface
JP2008165739A5 (en)
JP2011070673A5 (en)
JP2009064469A (en) Method of providing access to object parameter within simulation model
CN102339291B (en) Method and equipment for generating list
JP2009151796A (en) Method of managing object and parameter value associated with object within simulation model
CN106062705A (en) Cross-platform rendering engine
CN109300181A (en) The animation of the computer of user interface and content item generation display component
CN101944027A (en) User interface generation method
CN104461573B (en) A kind of control process method of view level
US20110210986A1 (en) Systems and methods for determining positioning and sizing of graphical elements
CN103019738B (en) The digital control system that a kind of interface can customize and implementation method
CN109191590B (en) Processing system and processing method for manufacturing virtual reality application
CN107515748A (en) Report Server Management interface creating method and file sharing method
US20230377228A1 (en) Map data visualizations with multiple superimposed marks layers
CN110764750B (en) Energy economy simulation system development method based on individual model
CN103135912B (en) A kind of method of generating run object and electronic equipment
CN106648280A (en) Task management interaction method and device
CN107111512A (en) Realize method, device and the electronic equipment operated to another operating system
Iulia-Maria et al. Best practices in iPhone programming: Model-view-controller architecture—Carousel component development

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170405

Termination date: 20190712

CF01 Termination of patent right due to non-payment of annual fee