CN102184107A - Method and system for combining user interface services - Google Patents

Method and system for combining user interface services Download PDF

Info

Publication number
CN102184107A
CN102184107A CN2011101317104A CN201110131710A CN102184107A CN 102184107 A CN102184107 A CN 102184107A CN 2011101317104 A CN2011101317104 A CN 2011101317104A CN 201110131710 A CN201110131710 A CN 201110131710A CN 102184107 A CN102184107 A CN 102184107A
Authority
CN
China
Prior art keywords
task
model
sensor
pel
sca
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
CN2011101317104A
Other languages
Chinese (zh)
Other versions
CN102184107B (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 University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN 201110131710 priority Critical patent/CN102184107B/en
Publication of CN102184107A publication Critical patent/CN102184107A/en
Application granted granted Critical
Publication of CN102184107B publication Critical patent/CN102184107B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for combining user interface services. The method comprises the following steps: generating a sensor pixel; binding the sensor pixel with a SCA (service component architecture) service component; performing task decomposition on a coal mine graph which is acquired in advance, thereby acquiring a subtask; storing a decomposing coal mine graph as a task original model; resolving the task original model into a task tree; adding a sensor embodiment for the task tree, thereby acquiring a task model and layout information; acquiring a display model according to the task model and layout information; and generating a user interface (UI) according to the attributes of the display model and the sensor pixel and binding the UI with the SCA service component. The invention also provides a system for combining user interface services. According to the technical scheme in the invention, the developing and maintaining costs of the UI are lowered.

Description

A kind of user interface service combined method and system
Technical field
The present invention relates to colliery graphic configuration software engineering, relate in particular to a kind of user interface (UI, User Interface) service combining method and system.
Background technology
Service-Oriented Architecture Based (SOA, Service-Oriented Architecture) requires the developer to surmount application software and thinks deeply as a kind of new software system architecture, and considers multiplexing existing service, checks how to make that service is repeated to utilize.SOA encourage to use alternative technology and method, by service linkage together but not write fresh code and come framework to use.Use the enterprise of SOA framework to use, allow enterprise, make and in the time of business environment permission, the market condition that changes is made response fast only by adjusting original service mode but not be forced to carry out the exploitation of extensive new application code.It has brought the development scheme and the idea of combined type application (Composite Application), these ideas be used in gradually integrated on, thereby produce a new research field---Services Combination.
More typical Services Combination has Web service operation flow modeling effective language (WS-BPEL at present, Web Services Business Process Execution Language), but for model-view-controller (MVC, Model View Controller) pattern, the MVC pattern has encapsulated the service and the operation flow steering logic (as BPEL) of business function and data, be that the MVC pattern clearly is divided into model (Model) and controller (Controller), and be UI for the view among the MVC (View), often need client applications (service consumer) oneself to create.When business demand changes, though can realize dealing with this variation by reconfiguring in controller with layout, reduced the development time of application program to a certain extent, and improved the response speed of application program to changes in demand, but the variation of user's request and operation flow steering logic tends to cause the variation of UI, still need very big cost and develop UI again, wherein similar UI is repeated exploitation usually, can not demonstrate fully the thought that reuses among the SOA.
At present, when Services Combination had obtained certain achievement on data and applied logic, the Services Combination research on UI but seldom; In addition, UI is the mutual intermediary of people and software systems, is the duplex channel that people and computer software and hardware system carry out information interchange.For the user, UI is exactly the whole software system, and its development quality, cost of development and efficient have become the key factor that influences the whole software product quality.For software systems or computer software and hardware system, the UI representative of consumer, be that software systems are showed its running status and obtained the key component of personnel's support (as information input and decision-making judgement etc.) to the user, it also is the key factor that influences its overall operation efficiency, this be because the user to use UI to finish the required time of its particular task short more, the execution time of total system flow process is also just correspondingly short more.But the recycling of current UI and artificial exploitation phenomenon are very general, and its development quality and development efficiency are difficult to guarantee, are not easy to tackle neatly various user's request.The programmer that development graph is used can recognize that the exploitation of UI is a part the most consuming time in application development, test, maintenance, this means that recycling is absolutely necessary in UI.There are some frameworks (as java swing) can alleviate the UI development workload at present, be to realize by the class bag that compression in advance is provided, comprise a lot of UI functions in the class bag, for example button and menu etc., but framework is the coarse UI element is integrated.
Finished design and the exploitation of a colliery graphic configuration software JHMI in 2010, can produce pel according to the demand combinations of JHMI coal mine user, drawn ore deposit figure, and be connected with sensor, real-time and dynamic shows the information of sensor.JHMI is the UI maximum with user interactions in the graphic configuration software of colliery, but still there are a lot of shortcomings in JHMI:
1, UI still will manually develop; When user's request changed, UI needed exploitation again;
2, separate between UI, make ore deposit figure lack unified management, control, analysis and formalized description to sensor;
3, the control function of UI (sensor) is fixing when ore deposit figure generates, and can not make amendment flexibly;
4, JHMI belongs to the configuration software of UI, and its mode with traditional graphics software realizes the making of ore deposit figure, and code is fixing when it makes ore deposit figure, makes and realizes that recycling effect is poor.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of UI service combining method and system, reduces the development and maintenance cost of UI.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of user interface service combined method, comprising:
Generate the sensor pel, with the serviced component binding of sensor pel and serviced component framework (SCA);
The colliery figure that obtains is in advance carried out task decompose, obtain the subtask, and the colliery figure that will decompose saves as the task master mould;
The task master mould is resolved to the task tree, add the sensor example, obtain task model and layout information for this task tree;
According to task model and layout information, obtain display model;
Attribute according to display model and sensor pel generates user interface (UI), and the serviced component of this UI and SCA is bound.
In the said method, described generation sensor pel, the serviced component of sensor pel and SCA is bound:
Utilize fundamental figure also to generate the sensor pel, the form of described sensor pel with extend markup language (XML) is kept in the domain model storehouse by the mode of " playing with building blocks "; Be kept in the process in domain model storehouse at form, with the serviced component binding of described sensor pel and SCA with XML.
In the said method, described sensor comprises methane, carbon monoxide, carbon dioxide, gas and wind speed; Described figure comprises rectangle, circle, linearity and triangle; That the service that the serviced component of described SCA provides comprises is mobile, variable color, operation control and block.
In the said method, described be kept in domain model storehouse with the form of extend markup language (XML) described sensor pel after, this method also comprises:
Preserve the domain model description document of sensor in the domain model storehouse, the content of domain model description document is the attribute of sensor pel, comprise the fundamental figure of forming the sensor pel, fundamental figure position, level and color and with the serviced component of the SCA of sensor pel binding.
In the said method, describedly the colliery figure that obtains is in advance carried out task decompose, obtain the subtask, and the colliery figure that will decompose saves as the task master mould and is:
At the modeling initial stage of task model, the colliery figure that obtains is in advance carried out task decompose, the colliery figure of task as a whole is decomposed into a plurality of subtasks; Be not called the task master mould with finishing to decompose and be in the colliery figure that is decomposing, and preserve.
In the said method, described the task master mould being resolved to task tree, is that this task tree is added sensor example, obtains task model and layout information to be:
The task master mould is resolved to the task tree, task node in the click task tree, eject the picture interface, by the mode that pulls the sensor in the database is dragged in the picture interface, according to the sensor pel of preserving in advance, automatically generate the corresponding sensor pel in the picture interface, the form that the task of having added behind the sensor example is set with XML saves as task model; Sensor in the database is being dragged in the process at picture interface, is determining the layout information of sensor.
In the said method, described according to task model and layout information, obtain display model and be:
In conjunction with layout information, task model is converted to display model according to certain transformation rule, the display model that obtains is kept in the database with the XML form;
Described certain transformation rule is: in task model, for the task node with subtask is created a container, and be that each leaf node creates a pel, at the type of each pel and according to the sensor pel of preserving in the domain model storehouse, for the type of each pel is created concrete pel.
In the said method, described attribute according to display model and sensor pel generates UI, and the serviced component of this UI and SCA is bound:
Call the assembly of the establishment UI element in the serviced component of SCA the UI element in the display model is resolved, and generate UI, the serviced component of this UI and SCA is bound in conjunction with the attribute of the sensor pel in the domain model storehouse.
The present invention also provides a kind of user interface service combined system, comprising: domain model MBM, task model MBM, display model MBM, UI generate the execution environment module; Wherein,
The domain model MBM is used to generate the sensor pel, with the serviced component binding of sensor pel and SCA;
The task model MBM is used for that the colliery figure that obtains is in advance carried out task and decomposes, and obtain the subtask, and the colliery figure that will decompose saves as the task master mould;
The display model MBM is used for the task master mould is resolved to the task tree, adds the sensor example for this task tree, obtains task model and layout information; According to task model and layout information, obtain display model;
UI generates the execution environment module, is used for generating UI according to the attribute of display model and sensor pel, and the serviced component of this UI and SCA is bound.
UI service combining method provided by the invention and system generate the sensor pel, with the serviced component binding of sensor pel and SCA; The colliery figure that obtains is in advance carried out task decompose, obtain the subtask, and the colliery figure that will decompose saves as the task master mould; The task master mould is resolved to the task tree, add the sensor example, obtain task model and layout information for this task tree; According to task model and layout information, obtain display model; Attribute according to display model and sensor pel generates user interface (UI), and the serviced component of this UI and SCA is bound, on the one hand, use the UI assembly to make up the UI program, when revising the UI program, only need local modification UI assembly to get final product, improve the speed that UI generates; On the other hand, the serviced component binding with UI and SCA easily encapsulates various services, and binds any host-host protocol according to demand, can make things convenient for secondary development, and the third party can easily develop integrated new control service according to demand; In addition, the UI that can reuse dynamically makes up and is configured to support the personnel activity in the service execution by user flow process or the UI of task by the DTS modeling, can realize that not only SOA is in the multiplexing of presentation layer assembly or service and combination, can also reduce the development and maintenance cost of UI significantly, also provide support simultaneously for the user participates in operation flow efficiently.
Description of drawings
Fig. 1 is the schematic flow sheet that the present invention realizes the UI service combining method;
Fig. 2 is the synoptic diagram that the present invention generates the sensor pel;
Fig. 3 is the synoptic diagram that the present invention is generated task model and generated display model by the task master mould;
Fig. 4 is that the present invention generates UI, with the synoptic diagram one of the serviced component of this UI and SCA binding;
Fig. 5 is that the present invention generates UI, with the synoptic diagram two of the serviced component of this UI and SCA binding;
Fig. 6 is the schematic flow sheet that the present invention realizes the embodiment one of UI service combining method;
Fig. 7 is the schematic flow sheet that the present invention realizes the embodiment two of UI service combining method;
Fig. 8 is the schematic flow sheet that the present invention realizes the embodiment three of UI service combining method;
Fig. 9 is the schematic flow sheet that the present invention realizes the embodiment four of UI service combining method;
Figure 10 is the structural representation that the present invention realizes the UI service combination system.
Embodiment
The DTS model refers to domain model (Domain model), task model (Task model) and display model (Show model) respectively, to be applied among the graphic configuration software JHMI of colliery based on the modeling of the UI of DTS model, can improve the development efficiency of UI, reduce the overlapping development of UI, therefore the invention provides a kind of UI service combining method and system of the colliery graphic configuration software based on the DTS model, its basic thought is: generate the sensor pel, with the serviced component binding of sensor pel and SCA; The colliery figure that obtains is in advance carried out task decompose, obtain the subtask, and the colliery figure that will decompose saves as the task master mould; The task master mould is resolved to the task tree, add the sensor example, obtain task model and layout information for this task tree; According to task model and layout information, obtain display model; Attribute according to display model and sensor pel generates user interface (UI), and the serviced component of this UI and SCA is bound.
Below by drawings and the specific embodiments the present invention is described in further detail again.
The invention provides a kind of UI service combining method, Fig. 1 is the schematic flow sheet that the present invention realizes the UI service combining method, and as shown in Figure 1, this method may further comprise the steps:
Step 101 generates the sensor pel, with the serviced component binding of sensor pel and SCA;
Concrete, as shown in Figure 2, in the graphic configuration software of colliery, the domain model MBM is mainly used in the modeling of carrying out domain model, promptly be primarily aimed at UI and carry out modeling, because the UI in the graphic configuration software of colliery is a sensor, so the modeling of domain model comprises the generation of sensor pel and realizes service binding; Sensor comprises methane, carbon monoxide, carbon dioxide, gas and wind speed etc.; For colliery graphic configuration software, every type sensor all has the representative pel of oneself, can generate the sensors of various types pel according to user's request;
The generation of sensor pel is to utilize fundamental figure also to finish by the mode of " playing with building blocks ", and is kept in the domain model storehouse with the form of extend markup language (XML, Extensible Markup Language); Wherein, fundamental figure comprises rectangle, circle, linearity and triangle etc.; For example, as shown in Figure 2, methane can be obtained by three circles and a triangle combination; Be kept in the process in domain model storehouse at form with XML, realize service binding, the sensor pel that is about to generate is with various host-host protocols and serviced component framework (SCA, Service Component Architecture) serviced component is bound, host-host protocol wherein can be: Simple Object Access Protocol (SOAP, Simple Object Access Protocol) agreement, remote procedure call RMI (Remote Procedure Call) agreement, Java messenger service (JMS, Java Message Service) agreement; Here, the serviced component of this SCA is packaged in advance, and can move in the SCA container; Wherein, the service that can provide of the serviced component of SCA comprises mobile, variable color, operation control and blockade etc.;
After being kept in the domain model storehouse with the form of XML the sensor pel that generates, just preserve the domain model description document of different sensors in the domain model storehouse, the domain model description document of these different sensors all is based on the pel description document, the content of domain model description document is the attribute of sensor pel, specifically comprises position, level and the color of the fundamental figure of forming the sensor pel, fundamental figure and with the serviced component of the SCA of sensor pel binding etc.; The domain model description document is resolved the attribute data that extracts each sensor by data object when actual motion, and binds abstract interactive object in conjunction with the attribute of task node; Here, when needs are revised the attribute, method, binding service of the sensor pel of a certain type, relevant important entity, only need to revise the domain model description document, when operation, running environment will be reloaded domain model, and need not make amendment at each sensor, and will be quick and convenient.
Step 102 is carried out task to the colliery figure that obtains in advance and is decomposed, and obtain the subtask, and the colliery figure that will decompose saves as the task master mould;
Concrete, in the graphic configuration software of colliery, use task model, in conjunction with the characteristics of graphics software, the modeling of task model was divided into for two steps carries out: task master mould and task model;
At the modeling initial stage of task model, the task model MBM is carried out the task decomposition to the colliery figure, and the colliery figure as an overall task, is decomposed into a plurality of subtasks with it; A plurality of more concrete subtasks still can be continued to be decomposed in the subtask, therefore will not finish to decompose and be in the colliery figure that is decomposing to be called the task master mould, and preserve; Wherein, the colliery figure is the geographic distribution analog information that obtains through investigation in advance;
In the present embodiment, whole task can be divided into abstract subtasks such as sensor layering, colliery block; Wherein, { T} forms the UI of colliery figure, and wherein (D, F G), are a tlv triple to T=, and the expression user carries out the execution sequence that feature operation F finishes certain target G to data object set D by the set of task T;
Owing to there is the level of task between overall task and subtask, subtask and the subtask, in the present embodiment, use the symbol of CTT (Coucur Task Tree) as the task model stipulations, this symbol can provide the description that different task is represented and concerned, is the description task symbol that UI exploitation community widely uses.
Step 103 resolves to the task tree with the task master mould, adds the sensor example for this task tree, obtains task model and layout information;
Concrete, really finishing in the display model MBM of task model carried out, with of the input of task master mould as the display model MBM, the display model MBM is resolved the task master mould, and the promptly feasible embodiments that is input to the task master mould of display model MBM is the task tree; This task tree is not finished, and promptly there is not leaf node in can specifically not carrying out in the task tree of task, and leaf node is the sensor example;
As shown in Figure 3, after the task master mould is input to the display model MBM, task node in the click task tree, eject a picture interface, by the mode that pulls the sensor in the database is dragged in the picture interface, according to the sensor pel of preserving in advance, can in the picture interface, generate the corresponding sensor pel automatically, this process is to add leaf node (being the sensor example) to task tree, and the form that the task of having added behind the leaf node is set with XML saves as task model;
By the sensor in the database is dragged in the picture interface, can revise layout informations such as the size of sensor and position, also be to create placement model, determining layout information.
Step 104 according to task model and layout information, obtains display model;
Concrete, as shown in Figure 3, display model is finished in conjunction with layout information on the task model based, task model is converted to display model according to certain transformation rule, described certain transformation rule is specially: in task model, for the task node with subtask is created a container, and be pel of each leaf node establishment, at the type of each pel and according to the sensor pel of preserving in the domain model storehouse, for the type of each pel is created concrete pel; Resolution system is resolved the display model that obtains, and display model can be kept in the database with the XML form.
Step 105 generates UI according to the attribute of display model and sensor pel, and the serviced component of this UI and SCA is bound;
Concrete, as shown in Figure 4 and Figure 5, the display model that obtains is generated the input of execution environment module as UI, the assembly of the establishment UI element in the serviced component of UI generation execution environment module invokes SCA is resolved the UI element in the display model, and generate UI in conjunction with the attribute of the sensor pel in the domain model storehouse, and, when services request, can call corresponding service like this with the binding of the serviced component of the SCA in this UI and the domain model storehouse.
Embodiment one
Fig. 6 is the schematic flow sheet that the present invention realizes the embodiment one of UI service combining method, is a kind of specific implementation of step 101, in the present embodiment, with methane as sensor, the methane pel is made up of circular and triangle, and as shown in Figure 6, this method may further comprise the steps:
Step 601, the domain model MBM is analyzed the business field notion of methane, determines attribute, method, the binding service of methane.
Step 602, domain model MBM are created methane pel (circular and leg-of-mutton combination).
Step 603, the serviced component storehouse (in advance with various service encapsulates) of opening SCA.
Step 604, the serviced component of selecting methane to bind, serviced component can be one or more here.
Step 605 is resolved the domain model that the serviced component by methane pel and binding constitutes, and promptly the attribute of methane pel (as the size of the fundamental figure of combination, position etc.), binding service is resolved, and is preserved with the form of XML.
Step 606, the domain model of methane is kept in the domain model storehouse, resolves the attribute data that extracts each sensor by data object when making things convenient for actual motion, and bind abstract interactive object in conjunction with the attribute of task node.
Embodiment two
Fig. 7 is the schematic flow sheet that the present invention realizes the embodiment two of UI service combining method, is a kind of specific implementation of step 102, and this method may further comprise the steps:
Step 701, the task model MBM is analyzed the colliery figure, determines the composition of its task.
Step 702, the task model MBM is carried out the task decomposition to the colliery figure, and it is divided into the goaf, goes up two subtasks, mountain area, has only this two subtasks in the present embodiment.
If goaf and last mountain area can also be decomposed into the subtask again, then repeating step 201, till task can not be segmented.
Step 703 couples together by the task operating relation to the task node with one-level.
Step 704, each node on the double-click task tree is revised its attribute, and this attribute comprises expression symbol, description, frequency, input, output etc.
Step 705 saves as the XML file with task model, and this task model is a task model that does not comprise actual task (sensor example), is referred to as the task master mould.
Fig. 8 is the schematic flow sheet that the present invention realizes the embodiment three of UI service combining method, is a kind of specific implementation of step 103, and as shown in Figure 8, this method may further comprise the steps:
Step 801 imports to the XML description document of task master mould in the display model MBM, and the task master mould exists with the form of task tree.
Step 802, the goaf node of click task tree ejects a picture interface.
Step 803 is opened the sensor pel tabulation in the domain model storehouse, and the sensor that belongs to the goaf in the tabulation is dragged in the picture interface, generates representative pel in the picture interface automatically.
Step 804, layout information is determined in the size of adjustment sensor pel, position etc.
Other nodes of the tree of click task then add the sensor example, and repetitive operation gets final product.
Step 805, the task master mould that has added the sensor example is a task model, resolves and task model is preserved with the XML form.
Fig. 9 is the schematic flow sheet that the present invention realizes the embodiment four of UI service combining method, is a kind of specific implementation of step 104 and step 105, and as shown in Figure 9, this method may further comprise the steps:
Step 901 is the less serviced component of granularity with the graphic configuration software encapsulation, and is deployed in the SCA container.
Step 902 is encapsulated as the serviced component of SCA with database, and is deployed in the SCA container.
Step 903 is encapsulated as the serviced component of SCA with electronic chart, and is deployed in the SCA container.
Step 904 imports to UI with the XML description document of display model and generates the execution environment module.
Step 905, UI generates the execution environment module in conjunction with the domain model storehouse, the UI element in the display model of input is showed, and bind with the serviced component of SCA.
Step 906, UI generates the execution environment module and generates UI.
Step 907, UI shows real time data, and the sensor that breaks down is carried out the display alarm of different stage.
Step 908, click-sensor is sent services request to SCA, operations such as this services request comprises variable color, moves, blockade.
Step 909, the services request that the serviced component response of SCA correspondence is received.
For realizing said method, the present invention also provides a kind of UI service combination system, Figure 10 is the structural representation that the present invention realizes the UI service combination system, as shown in figure 10, this system comprises: domain model MBM 101, task model MBM 102, display model MBM 103, UI generate execution environment module 104; Wherein,
Domain model MBM 101 is used to generate the sensor pel, with the serviced component binding of sensor pel and SCA;
Task model MBM 102 is used for that the colliery figure that obtains is in advance carried out task and decomposes, and obtain the subtask, and the colliery figure that will decompose saves as the task master mould;
Display model MBM 103 is used for the task master mould is resolved to the task tree, adds the sensor example for this task tree, obtains task model and layout information; According to task model and layout information, obtain display model;
UI generates execution environment module 104, is used for generating UI according to the attribute of display model and sensor pel, and the serviced component of this UI and SCA is bound.
Described generation sensor pel, the serviced component of sensor pel and SCA is bound: utilize fundamental figure also to generate the sensor pel, the form of described sensor pel with extend markup language (XML) is kept in the domain model storehouse by the mode of " playing with building blocks "; Be kept in the process in domain model storehouse at form, with the serviced component binding of described sensor pel and SCA with XML.
Described colliery figure to acquisition in advance carries out task and decomposes, obtain the subtask, and the colliery figure that will decompose saves as the task master mould and is: at the modeling initial stage of task model, the colliery figure that obtains is in advance carried out task decompose, the colliery figure of task as a whole is decomposed into a plurality of subtasks; Be not called the task master mould with finishing to decompose and be in the colliery figure that is decomposing, and preserve.
Described the task master mould is resolved to task tree, for this task tree is added the sensor example, obtaining task model and layout information is: the task master mould is resolved to the task tree, task node in the click task tree, eject the picture interface, by the mode that pulls the sensor in the database is dragged in the picture interface, according to the sensor pel of preserving in advance, automatically generate the corresponding sensor pel in the picture interface, the form that the task of having added behind the sensor example is set with XML saves as task model; Sensor in the database is being dragged in the process at picture interface, is determining the layout information of sensor.
Described according to task model and layout information, obtain display model and be: in conjunction with layout information, task model is converted to display model according to certain transformation rule, the display model that obtains is kept in the database with the XML form;
Described certain transformation rule is: in task model, for the task node with subtask is created a container, and be that each leaf node creates a pel, at the type of each pel and according to the sensor pel of preserving in the domain model storehouse, for the type of each pel is created concrete pel.
Described attribute according to display model and sensor pel generates UI, and the serviced component of this UI and SCA bound: the assembly that calls the establishment UI element in the SCA serviced component is resolved the UI element in the display model, and generate UI in conjunction with the attribute of the sensor pel in the domain model storehouse, this UI is bound with the SCA serviced component.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a user interface service combined method is characterized in that, this method comprises:
Generate the sensor pel, with the serviced component binding of sensor pel and serviced component framework (SCA);
The colliery figure that obtains is in advance carried out task decompose, obtain the subtask, and the colliery figure that will decompose saves as the task master mould;
The task master mould is resolved to the task tree, add the sensor example, obtain task model and layout information for this task tree;
According to task model and layout information, obtain display model;
Attribute according to display model and sensor pel generates user interface (UI), and the serviced component of this UI and SCA is bound.
2. method according to claim 1 is characterized in that, described generation sensor pel is bound the serviced component of sensor pel and SCA:
Utilize fundamental figure also to generate the sensor pel, the form of described sensor pel with extend markup language (XML) is kept in the domain model storehouse by the mode of " playing with building blocks "; Be kept in the process in domain model storehouse at form, with the serviced component binding of described sensor pel and SCA with XML.
3. the method for stating according to claim 2 is characterized in that, described sensor comprises methane, carbon monoxide, carbon dioxide, gas and wind speed; Described figure comprises rectangle, circle, linearity and triangle; That the service that the serviced component of described SCA provides comprises is mobile, variable color, operation control and block.
4. the method for stating according to claim 2 is characterized in that, described be kept in domain model storehouse with the form of extend markup language (XML) described sensor pel after, this method also comprises:
Preserve the domain model description document of sensor in the domain model storehouse, the content of domain model description document is the attribute of sensor pel, comprise the fundamental figure of forming the sensor pel, fundamental figure position, level and color and with the serviced component of the SCA of sensor pel binding.
5. method according to claim 1 is characterized in that, describedly the colliery figure that obtains is in advance carried out task decomposes, and obtains the subtask, and the colliery figure that will decompose saves as the task master mould and is:
At the modeling initial stage of task model, the colliery figure that obtains is in advance carried out task decompose, the colliery figure of task as a whole is decomposed into a plurality of subtasks; Be not called the task master mould with finishing to decompose and be in the colliery figure that is decomposing, and preserve.
6. method according to claim 1 is characterized in that, described the task master mould is resolved to task tree, is that this task tree is added sensor example, obtains task model and layout information to be:
The task master mould is resolved to the task tree, task node in the click task tree, eject the picture interface, by the mode that pulls the sensor in the database is dragged in the picture interface, according to the sensor pel of preserving in advance, automatically generate the corresponding sensor pel in the picture interface, the form that the task of having added behind the sensor example is set with XML saves as task model; Sensor in the database is being dragged in the process at picture interface, is determining the layout information of sensor.
7. method according to claim 1 is characterized in that, and is described according to task model and layout information, obtains display model and is:
In conjunction with layout information, task model is converted to display model according to certain transformation rule, the display model that obtains is kept in the database with the XML form;
Described certain transformation rule is: in task model, for the task node with subtask is created a container, and be that each leaf node creates a pel, at the type of each pel and according to the sensor pel of preserving in the domain model storehouse, for the type of each pel is created concrete pel.
8. method according to claim 1 is characterized in that, described attribute according to display model and sensor pel generates UI, and the serviced component of this UI and SCA is bound:
Call the assembly of the establishment UI element in the serviced component of SCA the UI element in the display model is resolved, and generate UI, the serviced component of this UI and SCA is bound in conjunction with the attribute of the sensor pel in the domain model storehouse.
9. a user interface service combined system is characterized in that, this system comprises: domain model MBM, task model MBM, display model MBM, UI generate the execution environment module; Wherein,
The domain model MBM is used to generate the sensor pel, with the serviced component binding of sensor pel and SCA;
The task model MBM is used for that the colliery figure that obtains is in advance carried out task and decomposes, and obtain the subtask, and the colliery figure that will decompose saves as the task master mould;
The display model MBM is used for the task master mould is resolved to the task tree, adds the sensor example for this task tree, obtains task model and layout information; According to task model and layout information, obtain display model;
UI generates the execution environment module, is used for generating UI according to the attribute of display model and sensor pel, and the serviced component of this UI and SCA is bound.
CN 201110131710 2011-05-19 2011-05-19 Method and system for combining user interface services Expired - Fee Related CN102184107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110131710 CN102184107B (en) 2011-05-19 2011-05-19 Method and system for combining user interface services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110131710 CN102184107B (en) 2011-05-19 2011-05-19 Method and system for combining user interface services

Publications (2)

Publication Number Publication Date
CN102184107A true CN102184107A (en) 2011-09-14
CN102184107B CN102184107B (en) 2013-10-16

Family

ID=44570288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110131710 Expired - Fee Related CN102184107B (en) 2011-05-19 2011-05-19 Method and system for combining user interface services

Country Status (1)

Country Link
CN (1) CN102184107B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092585A (en) * 2011-11-04 2013-05-08 上海宝信软件股份有限公司 Image library configuration design system for integrated supervision software
CN103246518A (en) * 2013-05-23 2013-08-14 北京邮电大学 Configuration method and device based on service component architecture
CN104637081A (en) * 2013-11-10 2015-05-20 航天信息股份有限公司 Grain distribution facility computer graph generating method and device
CN104765899A (en) * 2014-01-02 2015-07-08 航天信息股份有限公司 Computer graphic representation method and device for grain circulation facility
CN106575232A (en) * 2014-08-22 2017-04-19 微软技术许可有限责任公司 Remote management of a graphical user interface
CN106599229A (en) * 2016-12-19 2017-04-26 北京恒华伟业科技股份有限公司 Method and device for constructing business system based on Flex
CN108255588A (en) * 2017-03-13 2018-07-06 平安科技(深圳)有限公司 A kind of automation layout method for scheduling task and device
CN109992266A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind for the treatment of method and apparatus of interface element
CN111880883A (en) * 2020-07-29 2020-11-03 北京中水科水电科技开发有限公司 Dynamic combined primitive realization method based on equipment object

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7487493B1 (en) * 2003-12-30 2009-02-03 Itt Manufacturing Enterprises, Inc. Method and apparatus for developing standard architecture compliant software for programmable radios
CN101777004A (en) * 2010-01-26 2010-07-14 北京邮电大学 Method and system for realizing BPEL sub-process multiplexing based on template in service-oriented environment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7487493B1 (en) * 2003-12-30 2009-02-03 Itt Manufacturing Enterprises, Inc. Method and apparatus for developing standard architecture compliant software for programmable radios
CN101777004A (en) * 2010-01-26 2010-07-14 北京邮电大学 Method and system for realizing BPEL sub-process multiplexing based on template in service-oriented environment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092585A (en) * 2011-11-04 2013-05-08 上海宝信软件股份有限公司 Image library configuration design system for integrated supervision software
CN103246518A (en) * 2013-05-23 2013-08-14 北京邮电大学 Configuration method and device based on service component architecture
CN104637081A (en) * 2013-11-10 2015-05-20 航天信息股份有限公司 Grain distribution facility computer graph generating method and device
CN104765899B (en) * 2014-01-02 2019-01-29 航天信息股份有限公司 The computer graphical representation method and apparatus of grain circulation facility
CN104765899A (en) * 2014-01-02 2015-07-08 航天信息股份有限公司 Computer graphic representation method and device for grain circulation facility
CN106575232B (en) * 2014-08-22 2019-11-15 微软技术许可有限责任公司 The long-range management of graphic user interface
CN106575232A (en) * 2014-08-22 2017-04-19 微软技术许可有限责任公司 Remote management of a graphical user interface
CN106599229A (en) * 2016-12-19 2017-04-26 北京恒华伟业科技股份有限公司 Method and device for constructing business system based on Flex
CN108255588A (en) * 2017-03-13 2018-07-06 平安科技(深圳)有限公司 A kind of automation layout method for scheduling task and device
CN109992266A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind for the treatment of method and apparatus of interface element
CN109992266B (en) * 2017-12-29 2022-07-19 阿里巴巴集团控股有限公司 Interface element processing method and device
CN111880883A (en) * 2020-07-29 2020-11-03 北京中水科水电科技开发有限公司 Dynamic combined primitive realization method based on equipment object
CN111880883B (en) * 2020-07-29 2024-06-18 北京中水科水电科技开发有限公司 Dynamic combination primitive realization method based on equipment object

Also Published As

Publication number Publication date
CN102184107B (en) 2013-10-16

Similar Documents

Publication Publication Date Title
CN102184107B (en) Method and system for combining user interface services
Vaupel et al. Model-driven development of mobile applications for Android and iOS supporting role-based app variability
Neubauer et al. Workflow-based Grid applications
CN102024204B (en) Constructing method of reliability design analysis service system of service oriented architecture
CN103984818A (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
CN104391701A (en) Method for developing energy efficiency assessment software
CN102253974B (en) Dynamic combination method for geographic model network services
CN105718601A (en) Business dynamic integration model and application method thereof
CN103413041B (en) A kind of collaborative perception system constituting method based on complex product development object
Sorgalla et al. AjiL: enabling model-driven microservice development
CN116523479A (en) Collaborative creation method for digital works, task release method and device
Ghielmini et al. Virtual Factory Manager for semantic data handling
CN101751255B (en) Method and device for realizing service organization by workflow middleware conforming to XPDL specification
CN102411498A (en) Method for realizing data model and graphical designer
Sangwan et al. Integrating a software architecture-centric method into object-oriented analysis and design
Bocciarelli et al. Automated development of web-based modeling services for MSaaS platforms.
Keller et al. Modelling collaborative processes for Virtual Organisations in the building industry
Xing et al. Remote collaborative experiments based on service-oriented architecture (soa)
Kateros et al. A methodology for model-driven web application composition
Mizuta et al. Automation of Grid service code generation with AndroMDA for GT3
CN116795356B (en) Mixed development method, system and device for Flutter and native platform
Vidal et al. Feasibility Study of the Use of Petri Nets in the Verification of UML Diagrams
Qun et al. GIS application system design applied to information monitoring
Dolenc et al. Semantic grid platform in support of engineering virtual organisations
Masuda Adaptive integrated digital architecture framework with risk management for global enterprise

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131016

Termination date: 20170519