CN102567027B - Interface framework construction system and interface framework construction method - Google Patents
Interface framework construction system and interface framework construction method Download PDFInfo
- Publication number
- CN102567027B CN102567027B CN201110448558.2A CN201110448558A CN102567027B CN 102567027 B CN102567027 B CN 102567027B CN 201110448558 A CN201110448558 A CN 201110448558A CN 102567027 B CN102567027 B CN 102567027B
- Authority
- CN
- China
- Prior art keywords
- tab
- interface
- data
- district
- configuration parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides an interface framework construction system, comprising a configuring device and an interface engine device, wherein the configuring device is used for configuring transverse configuring parameters and longitudinal configuring parameters, displaying different regions of an interface layout in a transverse direction according to the transverse configuring parameters, displaying different data in each region in a longitudinal direction according to the longitudinal configuring parameters and generating an interface template according to the transverse configuring parameters and the longitudinal configuring parameters; the interface engine device is used for reading the transverse configuring parameters and the longitudinal configuring parameters of the interface template, which are generated by the configuring device, determining a UI (User Interface) view subassembly, a service data subassembly and a service processing subassembly corresponding to a region needed to be displayed and a loading region needed to the displayed according to parameter values of the transverse configuring parameters and parameter values of the longitudinal configuring parameters, so as to load the interface template and form the interface framework. According to the technical scheme, provided by the invention, a configurable function of a service data interface can be supported and the interface configuration problem of different products is solved. The invention also provides an interface framework construction method.
Description
Technical field
The present invention relates to field of computer technology, in particular to interface framework constructing system and interface framework construction method.
Background technology
PLM (Product Life-Cycle Management, Production Lifecycle Management) multiple industry will be served as a kind of technology, the product class of each industry is numerous, different, even in same industry, product data between different enterprise are also not quite similar, present the business relations chain between different industries, multiple business datum of different enterprise and many business datums, these data are in practical business, and how dynamically effectively to present to user is the key issue that PLM system will be considered.User how is provided to carry out the ability of interface expansion based on self-defined business datum? how carry out business datum according to configuration to obtain and the expansion of showing interface? how to carry out the configuration of business datum behavior? it is the technical matters being badly in need of solving.
Existing interface development technology (as shown in Figure 1), business datum assembly wherein represents that user needs the data showing or process, or user interface display needs the data used, such as: parts, provide the atom behavior of business datum, such as: persistence, amendment etc. simultaneously; Business UI view component represents the interface of user interactions, such as: browser interface, amendment interface etc.; Business processing assembly provides the definition of business conduct and interface alternation, correspondence between business conduct and the behavior of business object atom, such as: deletion, amendment, upgraded version, structure tree are compared etc.
Structure and the interaction logic process at the interface once shown in Fig. 1 are simply described below, when calling a concrete function, system needs the structure carrying out business UI view component, in the process built, need to build business datum assembly, read for business UI view component, then by corresponding data stuffing in business UI view component, be responsible for the drafting of graphical interfaces by business UI view component; When carrying out interface alternation, by interactive elements such as the button in UI view component or menus, the case mechanism triggering interface will be delivered to corresponding business processing assembly alternately, in business processing assembly, call the interface behavior of atom behavior in business datum assembly and correspondence, realize the process of business datum, after business datum is revised, again by business UI view component that event notice associates, UI view component reads amended business datum again, realizes the synchronous refresh at interface.
There are the following problems for correlation technique:
1, provide towards developable interface framework, be not towards configurable interface framework, the user of interface framework is developer, so just greatly limit the usable range of interface framework, and when there is client in enormous quantities, interface configurations support fast cannot be provided;
2, some interface framework supports that the globality of interface configurations operation is not enough, only has the business UI view component support configuration of part to realize, such as: the interface of Custom Attributes, cannot configure and show business relations data; Do not provide interface configured in one piece simultaneously, therefore, more interface combinations cannot be provided; For other parts, the parts such as such as business datum assembly, business datum reading and business processing assembly, are needed to be realized by code completely, greatly reduce the dirigibility of system like this.
Summary of the invention
Based on the consideration of above-mentioned background technology, an object of the present invention is to provide a kind of interface framework constructing system, another object of the present invention is to provide a kind of interface framework construction method, and it can supporting business data interface configurable functionality, solves the interface configurations problem of different product.
According to an aspect of the present invention, provide a kind of interface framework constructing system, comprise: configurator, configuration landscape configuration parameter and longitudinal configuration parameter, according to the zones of different of described landscape configuration parameter display interface layout in the horizontal, make each described region show different data in the vertical according to described longitudinal configuration parameter, generate interface template according to described configuration parameter and longitudinal configuration parameter; Interface engine device, read the landscape configuration parameter of the described interface template that described configurator generates and longitudinal configuration parameter, determine need the region of display and load UI view component, business datum assembly and the business processing assembly corresponding with the described region that need show according to the parameter value of described landscape configuration parameter and the parameter value of described longitudinal configuration parameter, complete the loading of described interface template, to form described interface framework.
In technique scheme, preferably, described configurator can comprise: type of service determining unit, determine type of service or the link type that need create described interface template, based on the type of service determined or link type, according to configuration logic rule, described landscape configuration parameter and longitudinal configuration parameter are configured, area configurations unit, successively described zones of different is carried out to the configuration of described longitudinal configuration parameter, described zones of different comprises navigation area, main data area, main operation district, tab district and tab operational zone: described area configurations unit makes described navigation area show the link data be associated with present type of service, described main data area is shown and the attribute list selecting data corresponding in described navigation area, the mapping relations that described main operation district has button and business operation are set, process the data corresponding with described main data area, list and property set binding mode is adopted to build described tab district, determine to choose data in tab district described in described tab operational zone process.
In technique scheme, preferably, the business datum that described type of service determining unit also defines the operation of described main operation district is the data of described main data area, the business datum defining the operation of described tab operational zone is tab data, and configure multiple tab for described tab district, the corresponding described tab operational zone of each described tab, arranges and shows relevant business relations data by described navigation area or described tab district.
In technique scheme, preferably, described interface engine device can comprise: interregional controller, reads the landscape configuration parameter of described interface template, determines the region needing display, carry out region display and control according to operation rule, regional load unit, successively the zones of different that need show is loaded: described regional load unit is when loading described navigation area, read the longitudinal configuration parameter corresponding with described navigation area, described longitudinal configuration parameter is passed to structure and the expansion that navigation area UI view component carries out tree node, corresponding business datum filtercondition is converted to querying condition by navigation area business datum assembly, and described querying condition is passed to query engine, corresponding business datum is returned in the business datum assembly of described navigation area by described query engine, described regional load unit is when loading described main operation district, according to the mapping relations of button and business operation in main operation district described in described interface template, build described button and set up the mapping relations of described button and corresponding described business operation, described regional load unit is when loading described main data area, the UI view component of described main data area loads the attribute list of described interface template, set described navigation area choose node time, data corresponding for described node are passed in the business datum assembly of described main data area by described interface engine, and notify that described UI view component carries out interface drafting, described regional load unit is when loading described tab district, the UI View component in described tab district is loaded according to the configuration parameter in described tab district, corresponding data filtering condition is converted to querying condition by the tab business datum assembly corresponding to the tab in described tab district, described querying condition is passed to described query engine, corresponding data are returned in described tab business datum assembly according to described query engine, load described tab operational zone simultaneously, build tab button and set up the mapping of described tab button and corresponding business operation.
In technique scheme, preferably, only have tab district to be configured if described regional load unit detects, then operationally, use the content in described tab district to be full of whole interface, described tab operational zone represents as described main operation district; If described regional load unit detects that the data of choosing of described navigation area upgrade, then the described data chosen are passed to described main data area and described tab district, described main data area and described tab district carry out refreshing the content shown according to importing data into, if described in import the type of service of data into not identical with current type of service, then search the configuration parameter corresponding with the described type of service importing data into and show.
According to another aspect of the invention, additionally provide a kind of interface framework construction method, comprise: step 202, configuration landscape configuration parameter and longitudinal configuration parameter, according to the zones of different of described landscape configuration parameter display interface layout in the horizontal, make each described region show different data in the vertical according to described longitudinal configuration parameter, generate interface template according to described configuration parameter and longitudinal configuration parameter; Step 204, interface engine reads the landscape configuration parameter of described interface template and longitudinal configuration parameter, determine need the region of display and load UI view component, business datum assembly and the business processing assembly corresponding with the described region that need show according to the parameter value of described landscape configuration parameter and the parameter value of described longitudinal configuration parameter, complete the loading of described interface template, to form described interface framework.
In technique scheme, preferably, described step 202 specifically can comprise: determine type of service or the link type that need create described interface template, based on the type of service determined or link type, is configured described landscape configuration parameter and longitudinal configuration parameter according to configuration logic rule, described zones of different comprises navigation area, main data area, main operation district, tab district and tab operational zone, successively described zones of different is carried out to the configuration of described longitudinal configuration parameter: described navigation area shows the link data be associated with present type of service, the display of described main data area and the attribute list selecting data corresponding in described navigation area, described main operation district has the mapping relations of button and business operation, process the data corresponding with described main data area, list and property set binding mode is adopted to build described tab district, data are chosen in tab district described in described tab operational zone process.
In technique scheme, preferably, described configuration logic rule can comprise: the business datum of described main operation district operation is the data of described main data area; The business datum of described tab operational zone operation is tab data; Described tab district configures multiple tab, the corresponding described tab operational zone of each described tab; Relevant business relations data are shown by described navigation area or described tab district.
In technique scheme, preferably, described step 204 specifically can comprise: the landscape configuration parameter reading described interface template, determines the region needing display, carry out region display and control according to operation rule, successively described zones of different is loaded: read the longitudinal configuration parameter corresponding with described navigation area, described longitudinal configuration parameter is passed to structure and the expansion that navigation area UI view component carries out tree node, corresponding business datum filtercondition is converted to querying condition by navigation area business datum assembly, and described querying condition is passed to query engine, corresponding business datum is returned in the business datum assembly of described navigation area by described query engine, according to the mapping relations of button described in main operation district described in described interface template and business operation, build described button and set up the mapping relations of described button and corresponding described business operation, the UI view component of described main data area loads the attribute list of described interface template, set described navigation area choose node time, data corresponding for described node are passed in the business datum assembly of described main data area by described interface engine, and notify that described UI view component carries out interface drafting, the UI View component in described tab district is loaded according to the configuration parameter in described tab district, corresponding data filtering condition is converted to querying condition by the tab business datum assembly corresponding to the tab in described tab district, described querying condition is passed to described query engine, corresponding data are returned in described tab business datum assembly according to described query engine, load described tab operational zone simultaneously, build tab button and set up the mapping of described tab button and corresponding business operation.
In technique scheme, preferably, described operation rule comprises: if only have tab district to be configured, then operationally, and use the content in described tab district to be full of whole interface, described tab operational zone represents as described main operation district; If the data of choosing of described navigation area upgrade, then the described data chosen are passed to described main data area and described tab district, described main data area and described tab district carry out refreshing the content shown according to importing data into, if described in import the type of service of data into not identical with current type of service, then search the configuration parameter corresponding with the described type of service importing data into and show.
According to technical scheme of the present invention, provide the interface framework towards configuration, support that developer, enforcement personnel and user carry out rapid configuration; Carrying out on abstract basis to business datum behavior, the configuration of supporting business data package, business UI view component and business processing assembly; By interface combinations flexibly, realize the interface configurations to business datum and relation data.
Accompanying drawing explanation
Fig. 1 shows the interface development schematic diagram in correlation technique;
Fig. 2 shows the block diagram of interface framework constructing system according to an embodiment of the invention;
Fig. 3 shows the schematic diagram of interface element according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of interface layout's principle according to an embodiment of the invention;
Fig. 5 shows the schematic diagram of principle in interface zone according to an embodiment of the invention;
Fig. 6 shows the schematic diagram of interface layout's example according to an embodiment of the invention;
Fig. 7 shows the schematic diagram of interface template according to an embodiment of the invention;
Fig. 8 shows the schematic diagram of interface engine according to an embodiment of the invention;
Fig. 9 shows the schematic diagram of interface framework according to an embodiment of the invention;
Figure 10 shows the generating principle schematic diagram of interface template according to an embodiment of the invention;
Figure 11 shows the product process figure of interface template according to an embodiment of the invention;
Figure 12 shows parsing and the operational flow diagram of interface template according to an embodiment of the invention; And
Figure 13 shows the process flow diagram of interface framework construction method according to an embodiment of the invention.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.
Set forth a lot of detail in the following description so that fully understand the present invention, but the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 2 shows the block diagram of interface framework constructing system according to an embodiment of the invention.
As shown in Figure 2, interface framework constructing system 100 comprises according to an embodiment of the invention: configurator 102, configuration landscape configuration parameter and longitudinal configuration parameter, according to the zones of different of described landscape configuration parameter display interface layout in the horizontal, make each described region show different data in the vertical according to described longitudinal configuration parameter, generate interface template according to described configuration parameter and longitudinal configuration parameter; Interface engine device 104, read the landscape configuration parameter of the described interface template that described configurator 102 generates and longitudinal configuration parameter, determine need the region of display and load UI view component, business datum assembly and the business processing assembly corresponding with the described region that need show according to the parameter value of described landscape configuration parameter and the parameter value of described longitudinal configuration parameter, complete the loading of described interface template, to form described interface framework.
In technique scheme, preferably, described configurator 102 can comprise: type of service determining unit 1022, determine type of service or the link type that need create described interface template, based on the type of service determined or link type, according to configuration logic rule, described landscape configuration parameter and longitudinal configuration parameter are configured, area configurations unit 1024, successively described zones of different is carried out to the configuration of described longitudinal configuration parameter, described zones of different comprises navigation area, main data area, main operation district, tab district and tab operational zone: described area configurations unit 1024 makes described navigation area show the link data be associated with present type of service, described main data area is shown and the attribute list selecting data corresponding in described navigation area, the mapping relations that described main operation district has button and business operation are set, process the data corresponding with described main data area, list and property set binding mode is adopted to build described tab district, determine to choose data in tab district described in described tab operational zone process.
In technique scheme, preferably, the business datum that described type of service determining unit 1022 also defines the operation of described main operation district is the data of described main data area, the business datum defining the operation of described tab operational zone is tab data, and configure multiple tab for described tab district, the corresponding described tab operational zone of each described tab, arranges and shows relevant business relations data by described navigation area or described tab district.
In technique scheme, preferably, described interface engine device 104 can comprise: interregional controller 1042, reads the landscape configuration parameter of described interface template, determines the region needing display, carry out region display and control according to operation rule, regional load unit 1044, successively the zones of different that need show is loaded: described regional load unit 1044 is when loading described navigation area, read the longitudinal configuration parameter corresponding with described navigation area, described longitudinal configuration parameter is passed to structure and the expansion that navigation area UI view component carries out tree node, corresponding business datum filtercondition is converted to querying condition by navigation area business datum assembly, and described querying condition is passed to query engine, corresponding business datum is returned in the business datum assembly of described navigation area by described query engine, described regional load unit is when loading described main operation district, according to the mapping relations of button and business operation in main operation district described in described interface template, build described button and set up the mapping relations of described button and corresponding described business operation, described regional load unit is when loading described main data area, the UI view component of described main data area loads the attribute list of described interface template, set described navigation area choose node time, data corresponding for described node are passed in the business datum assembly of described main data area by described interface engine, and notify that described UI view component carries out interface drafting, described regional load unit is when loading described tab district, the UI View component in described tab district is loaded according to the configuration parameter in described tab district, corresponding data filtering condition is converted to querying condition by the tab business datum assembly corresponding to the tab in described tab district, described querying condition is passed to described query engine, corresponding data are returned in described tab business datum assembly according to described query engine, load described tab operational zone simultaneously, build tab button and set up the mapping of described tab button and corresponding business operation.
In technique scheme, preferably, only have tab district to be configured if described regional load unit 1044 detects, then operationally, use the content in described tab district to be full of whole interface, described tab operational zone represents as described main operation district; If described regional load unit detects that the data of choosing of described navigation area upgrade, then the described data chosen are passed to described main data area and described tab district, described main data area and described tab district carry out refreshing the content shown according to importing data into, if described in import the type of service of data into not identical with current type of service, then search the configuration parameter corresponding with the described type of service importing data into and show.
The concrete principle of the parts involved by interface framework constructing system of the present invention is described in detail below in conjunction with Fig. 3 to Fig. 9.
First interface element, interface layout, interface template, the concept of interface engine and ultimate principle is introduced.
Interface element: the indivisible composition unit of all displays on graphical interfaces, such as: the elements such as tree, list, button, tab, being mainly used in business UI view component carries out showing interface, as indicated at 3.
Interface layout: external manifestation is for be assemblied by interface zone, and interface zone is made up of interface element, interface layout is laterally made up of region (region 1 and region 2); Longitudinally be made up of the business UI view component in each region, business processing assembly and business datum assembly, its ultimate principle, as shown in Figure 4.Also can find out, what interface layout processed is one group of region, and for each region, the principle in region as shown in Figure 5.As can be seen from Fig. 4 and Fig. 5, interface framework constructing system according to the present invention is on the basis based on the development technique shown in Fig. 1, by providing an interface framework supporting interface configurations, realizes the expansion at concrete interface.
Below so that a typical PLM business datum interface layout---auto parts and components topology view is described (see Fig. 6), entirety meets from left to right, interaction habits from top to bottom, this view is by from layout UI viewing angles, its interface is upper and lower cutting, partly cutting is left and right cutting again below, right part again cutting be upper and lower two parts, multiple tab district is included again in lower right-most portion, each tab district includes corresponding tab button area, main button area wherein and tab button area belong to interactive button region, navigation area, main data area and tab district belong to data display region.
From layout business datum angle, what navigation area was corresponding is parts composition structured data, and what main data area was corresponding is the current attribute data choosing parts; What tab district showed is current other business datum choosing parts to associate, such as document, old version etc.
From layout business processing angle, when user is undertaken mutual by the button of main button area or tab button area, need the behavior of calling the business datum corresponding with it alternately according to user, the interaction process of main button area be the data that main data area is corresponding, the interaction process of tab button area be tab district choose data, when navigation area choose data to change time, main data area is updated to the current data chosen, and tab district is updated to the current data choosing data correlation.
The interface template 4 (as shown in Figure 7) that configurator 102 generates: in order to support the not face exploitation towards configuration of above-mentioned interface layout's (as shown in Figure 4), the solution proposed is that the horizontal and vertical part of interface layout has all been carried out parameterized treatment, different regions is shown in the horizontal by arranging different parameter values, show different data in the vertical, this will be one group of lateral parameter and longitudinal parameter, and this group parameter just constitutes interface template (area configurations parameter, configuration parameter in configuration parameter and region 2 in region 1), which includes the configuration parameter in each zone concepts as shown in Figure 5 and the area configurations parameter in major elements, these configuration parameters cover each region in interface layout in the horizontal, cover each region UI view component in the vertical, business datum assembly and business processing assembly three parts.
The interface engine 6 that interface engine device 104 realizes: as shown in Figure 8, (region UI attempts component standard and realizes for interregional controller 1042 in interface layout and the standard implementation incorporating aspects in region, area business data package standard implementation and area business processing components standard implementation) define interface engine 6, interface engine 6 mainly carries out region UI view component according to the parameter in interface template 4, area business data package and area business processing components are loaded, coordinate, wherein interregional controller 1042 carries out according to the area configurations parameter in interface template 4 control whether region show, and run time context data transmission, standard implementation in the UI view component of region, according to the configuration display related interfaces element in interface template, standard implementation in business datum assembly, by parameter corresponding in interface template is converted into querying condition, passes to query engine, and the data after inquiry are turned back to business datum part by query engine, button in view and concrete business operation, by by operational zone corresponding in interface template 4 configuration, are associated together by business processing assembly.
As shown in Figure 9, interface framework 8: be made up of interface template 4 and interface engine 6, forms the configurable mechanism of a set of support;
After specify that above-mentioned concept and ultimate principle, next explain the generative process of interface template 4 and the principle of work of interface engine 6,
Before starting to introduce interface template 4 generation, first introduce several concept:
Type of service: in PLM system, refers to the inseparable traffic data type of all kinds of atoms in enterprise; Such as: automobile, wheel and skylight etc., that includes a community set;
Link type: describe the incidence relation between type of service, such as: component relationship between automobile and wheel etc., that includes a community set;
Business operation: for different types of service and link type, provides the operation of the business datum in typical PLM field, matches for user in this programme.
The generating principle of interface template as shown in Figure 10, first need to classify to all business datums, be divided into business datum and business relations data, business relations data are used to the data describing relation between business datum, data structure for business datum is abstract is type of service, data structure for business relations data is abstract is link type, the final object data model formed based on type of service and link type.
Give an example below and the generative process of the interface template shown in Figure 10 is described: a large landscape automobile is made up of four wheels and two skylights, wherein, description (such as: large landscape, Reynolds, landscape etc.) about automobile itself is an inseparable business datum, the description (such as: wheel, horse board, titanium alloy) of wheel itself and the description (such as: skylight, 16X16) in skylight itself, also be here an inseparable business datum, here we are divided into business datum automobile, wheel and skylight; Simultaneously abstract to automobile, wheel and skylight data structure be different types of service, so, car category (data structure is: title, brand and model), wheel type (data structure is: title, brand and material) and window type (data structure is: title, size) can be obtained at this; So just there is an automobile component relationship between automobile and wheel, by the description of this automobile component relationship itself (such as: the automobile at two ends and wheel, composing quantity are 4, unit is individual) be divided into business relations data, at this, can find out, business relations data can point to two business datums.
Simultaneously abstract for the data structure of this automobile component relationship be link type, be exactly here parts component relationship (data structure is: source type of service, source business datum, target service type, target service data, quantity, unit), it can also be seen that at this, a link type can comprise source type of service and target service type; It is also similar component relationship between automobile and skylight.
Arrive this, the object data model of abstract formation includes three types of service (automobile, skylight, wheel), a link type (automobile component relationship) and their respective community sets.
Data have been carried out abstract after, the generation of interface template can be carried out according to step as shown in figure 11:
Step 10, determines the type of service or the link type that need establishment interface template;
Step 11, for each region, need the configuration first carrying out region parameter and region intrinsic parameter, step 11.1, the logic rules of configuration are as follows:
A) business datum of main operation district operation is main data area data;
B) business datum of tab operational zone operation is tab data;
C) tab district can configure multiple tab, the corresponding tab operational zone of each tab;
D) for business datum, support to adopt navigation area or tab district to carry out the display of business relations data;
E) parameter configuration of business datum is carried out based on type of service and link type and the property set that is associated.
Step 11, if for type of service, provides navigation area parameter configuration, and navigation area is mainly used for carrying out the display of the link data be associated with current service data.In this embodiment, the interface element provided is tree view, and therefore, the parameter that region UI view component is supported is many, the source of parameter be exactly as Figure 10 the type of service mentioned and the link type associated therewith and their respective property sets; Or for configurations such as the attribute that the displaying contents of tree node can the derive from type of service combination of attribute both them that also can derive from link type; The parameter of area business data package includes the configuration (can carry out independent assortment querying condition based on type of service and link type) of link type selection, data filtering condition.
Step 12 and step 13, the configuration of operational zone and main data area.The Custom Attributes list that what the region UI view component of main data area adopted is based on type of service and property set thereof, the data that navigation area when its business datum derives from operation is chosen; Main operation district has carried out the mapping of button and business operation.
Step 14, tab district configures, and the mode that region UI view component adopts list and property set to bind provides the configurability of list, by the selected data rows that will show, carries out the definition of list; What area business data package adopted is the definition carrying out business datum acquisition based on the mode of query filter; Step 14.1, filtercondition can carry out free definition, and the data also can chosen based on navigation area define; If business relations data, the setting of filtercondition can be carried out based on link type and property set thereof, filtercondition can freely define, also can define based on the data chosen of navigation area, condition can use the property set of type of service, also can be that property set or the combination of link type defines.
Step 15, the configuration of operational zone, tab district, the configuration of itself and main data area is similar, repeats no more.
Step 16, preserves the interface template that generation one is new.
The explanation of interface template configuration is carried out below for automobile composition topology view, the type of service that interface template is corresponding is car category, the link type of navigation area UI view component configuration is automobile component relationship, node display be quantity in the title of car category and automobile component relationship; The business datum filtercondition of navigation area is automobile component relationship, and its implication is: form recurrence according to the source business datum in automobile component relationship and target service data, inquire about acquisition step by step; The configuration of main data area UI view component be the properties interface of part, employing be that streaming layout realizes, the business datum of main data area derives from the business datum chosen navigation area; The display of part component relationship and old version is carried out in two lists of the UI view configuration in tab district respectively, and business datum arrangement of components corresponding is respectively business composition relational query conditional definition and the definition of part querying condition.
Interface engine completes parsing to interface template and operation according to step as shown in figure 12:
Step 20, first interface engine loads interface template.
Step 21, reads the region parameter in interface template, step 21.1, and determine according to parameter value the region needing display, the operation rule of engine is as follows:
A) when configuration of having only had a tab district to carry out time, the content in tab district will be used during operation to be full of whole interface, and tab operational zone wherein will occur as main operation district;
B) when navigation area choose data to change time, the data chosen are delivered to main data area and tab district by engine, and the content of their displays can refresh according to the data imported into, and the type of service importing data into may be different, also may be identical; When the type of service importing data into is different from current type of service, engine can go to search according to the type of service importing data into main data area in the interface template that type of service is corresponding therewith and tab district configuration parameter is shown, refreshes relevant data simultaneously;
C) interregional controller, is responsible for the coordination between the loading in region and zones of different, is responsible for loading and the layout of zones of different at UI view layer; In business datum aspect, be responsible for the interlock between zones of different business datum.
Step 22, load navigation area, interface engine is according to the parameter about navigation area in interface configurations, load and Transfer Parameters to corresponding navigation area UI view component, corresponding business datum filtercondition is converted to querying condition and passes to query engine by the standard of the business datum assembly of navigation area simultaneously, query engine returns corresponding data in business datum assembly, achieves the Dynamic Acquisition of navigation area business datum like this; The standard implementation of navigation area UI view component, by carrying out structure and the expansion of tree node displaying contents according to the parameter imported into, sets the node chosen simultaneously.
Step 23, loads main operation district, and according to the corresponding relation of the button in interface template and business operation, the associated button in dynamic structure main operation district setting up with corresponding business operation maps;
Step 24, load main data area, the standard implementation of the UI view component of main data area will load the attribute list in interface template, when setting navigation district choose node time, corresponding node data can be delivered in the business datum of main data area by interface engine, and notice UI view is carried out interface drafting by business datum;
Step 25,25.1,25.2, load tab district, interface engine is according to the configuration in tab district, first load the UI View component in tab district, the tab Business Data Standard that each tab is corresponding simultaneously realizes, and corresponding data filtering condition is converted to querying condition and passes to query engine, query engine returns corresponding data in business datum assembly, achieve the Dynamic Acquisition of tab district business datum like this, load tab operational zone, concrete mode is identical with main operation district pattern simultaneously.
Step 27, loads to this and terminates.
For automobile composition topology view, interface engine loading process is described below, first interface engine reads the area configurations parameter in interface template, show all regions in this example, interface engine will load each region in order, first be the loading of navigation area, after the loading carrying out tree view, according to the filtercondition configured in interface template, pass through query engine, get the automobile composition data of large landscape automobile, comprise the quantity of automobile composition, parts etc., turn back in the business datum assembly of navigation area, now business datum assembly can notify that tree view carries out the refreshing at interface, in the process refreshed, show about tree view structure and the expansion that relevant configured parameter carries out tree node by according in navigation area, what show here is parts titles, the quantity etc. of component relationship, arrange simultaneously and choose node, be defaulted as root node.
After having loaded navigation area, interface engine continues to load main data area, similar with navigation area, difference is only that the business datum that main data area is corresponding is gone over by interface engine transmission, instead of by query engine obtain build, now transmit in the past be the data of root node, the details of parts are chosen in main data area display, include concrete creation-time, founder, model, rule etc. attribute.Now can continue the content loading main operation district, what here configure is create the operations such as object, establishment version, establishment release.
Then can continue to load tab district, include the tab such as associated document, old version here, loading procedure and the navigation area of tab data are similar, repeat no more, and the loading classes in the loading of tab operational zone also main operation district is like also repeating no more.
It should be noted that in the process built, the business datum processed is responsible in each operation by interface engine, and be set in each operation, it is different for realizing the identical business datum operated in handled by different regions.So far, loading completes.
Figure 13 shows the process flow diagram of interface framework construction method according to an embodiment of the invention.
As shown in figure 13, interface framework construction method according to an embodiment of the invention, comprise: step 202, configuration landscape configuration parameter and longitudinal configuration parameter, according to the zones of different of landscape configuration parameter display interface layout in the horizontal, make each region show different data in the vertical according to longitudinal configuration parameter, generate interface template according to configuration parameter and longitudinal configuration parameter; Step 204, interface engine reads the landscape configuration parameter of interface template and longitudinal configuration parameter, determine need the region of display and load UI view component, business datum assembly and the business processing assembly corresponding with the region that need show according to the parameter value of landscape configuration parameter and the parameter value of longitudinal configuration parameter, complete the loading of interface template, to form interface framework.
In technique scheme, preferably, described step 202 specifically can comprise: determine type of service or the link type that need create described interface template, based on the type of service determined or link type, is configured described landscape configuration parameter and longitudinal configuration parameter according to configuration logic rule, described zones of different comprises navigation area, main data area, main operation district, tab district and tab operational zone, successively described zones of different is carried out to the configuration of described longitudinal configuration parameter: described navigation area shows the link data be associated with present type of service, the display of described main data area and the attribute list selecting data corresponding in described navigation area, described main operation district has the mapping relations of button and business operation, process the data corresponding with described main data area, list and property set binding mode is adopted to build described tab district, data are chosen in tab district described in described tab operational zone process.
In technique scheme, preferably, described configuration logic rule can comprise: the business datum of described main operation district operation is the data of described main data area; The business datum of described tab operational zone operation is tab data; Described tab district configures multiple tab, the corresponding described tab operational zone of each described tab; Relevant business relations data are shown by described navigation area or described tab district.
In technique scheme, preferably, described step 204 specifically can comprise: the landscape configuration parameter reading described interface template, determines the region needing display, carry out region display and control according to operation rule, successively described zones of different is loaded: read the longitudinal configuration parameter corresponding with described navigation area, described longitudinal configuration parameter is passed to structure and the expansion that navigation area UI view component carries out tree node, corresponding business datum filtercondition is converted to querying condition by navigation area business datum assembly, and described querying condition is passed to query engine, corresponding business datum is returned in the business datum assembly of described navigation area by described query engine, according to the mapping relations of button described in main operation district described in described interface template and business operation, build described button and set up the mapping relations of described button and corresponding described business operation, the UI view component of described main data area loads the attribute list of described interface template, set described navigation area choose node time, data corresponding for described node are passed in the business datum assembly of described main data area by described interface engine, and notify that described UI view component carries out interface drafting, the UI View component in described tab district is loaded according to the configuration parameter in described tab district, corresponding data filtering condition is converted to querying condition by the tab business datum assembly corresponding to the tab in described tab district, described querying condition is passed to described query engine, corresponding data are returned in described tab business datum assembly according to described query engine, load described tab operational zone simultaneously, build tab button and set up the mapping of described tab button and corresponding business operation.
In technique scheme, preferably, described operation rule comprises: if only have tab district to be configured, then operationally, and use the content in described tab district to be full of whole interface, described tab operational zone represents as described main operation district; If the data of choosing of described navigation area upgrade, then the described data chosen are passed to described main data area and described tab district, described main data area and described tab district carry out refreshing the content shown according to importing data into, if described in import the type of service of data into not identical with current type of service, then search the configuration parameter corresponding with the described type of service importing data into and show.
According to interface framework construction method of the present invention, analysis is carried out at the business datum interface in PLM field abstract, proposed the configurable interface framework implementation method in a kind of support interface.In the realization of interface framework, business datum is carried out abstract, define type of service, link type concept, propose the interface template structure and generation method that control based on the covering UI view of type of service, link type and property set, business datum and business processing on this basis; Provide interface engine simultaneously, be responsible for the parsing to interface template and execution, thus reach in PLM field, configurable and the behavior pattern that is configurable, business datum of interface layout is starved configurable, make PLM system have better dirigibility and configurability, well solve the interface configurations problem of different industries, different product.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. an interface framework constructing system, is characterized in that, comprising:
Configurator, for configuring landscape configuration parameter and longitudinal configuration parameter, according to the zones of different of described landscape configuration parameter display interface layout in the horizontal, make each region show different data in the vertical according to described longitudinal configuration parameter, generate interface template according to landscape configuration parameter and longitudinal configuration parameter;
Interface engine device, the landscape configuration parameter of described interface template and longitudinal configuration parameter is read for using interface engine, determine need the region of display and load UI view component, business datum assembly and the business processing assembly corresponding with the described region needing to show according to the parameter value of described landscape configuration parameter and the parameter value of described longitudinal configuration parameter, complete the loading of described interface template, to form described interface framework;
Described configurator comprises:
Type of service determining unit, for determining type of service or the link type that need create described interface template, based on the type of service determined or link type, is configured described landscape configuration parameter and longitudinal configuration parameter according to configuration logic rule;
Area configurations unit, for carrying out the configuration of described longitudinal configuration parameter successively to described zones of different, described zones of different comprises navigation area, main data area, main operation district, tab district and tab operational zone:
Described area configurations unit, also for making described navigation area show the link data be associated with present type of service, the display of described main data area and the attribute list selecting data corresponding in described navigation area, described main operation district has the mapping relations of button and business operation, process the data corresponding with described main data area, adopt list and property set binding mode to build described tab district, in tab district described in described tab operational zone process, choose data.
2. interface framework constructing system according to claim 1, it is characterized in that, described type of service determining unit, also for defining the data that the business datum of described main operation district operation is described main data area, the business datum defining the operation of described tab operational zone is tab data, and configure multiple tab for described tab district, the corresponding described tab operational zone of each described tab, arranges and shows relevant business relations data by described navigation area or described tab district.
3. interface framework constructing system according to claim 1 and 2, is characterized in that, described interface engine device comprises:
Interregional controller, for reading the landscape configuration parameter of described interface template, determining according to operation rule the region needing display, carrying out region display and control;
Regional load unit, for loading the zones of different that need show successively:
Described regional load unit, also for reading the longitudinal configuration parameter corresponding with described navigation area, described longitudinal configuration parameter is passed to structure and the expansion that navigation area UI view component carries out tree node, corresponding business datum filtercondition is converted to querying condition by navigation area business datum assembly, and described querying condition is passed to query engine, corresponding business datum is returned in the business datum assembly of described navigation area by described query engine, described regional load unit is when loading described main operation district, according to the mapping relations of button and business operation in main operation district described in described interface template, build described button and set up the mapping relations of described button and corresponding described business operation,
Described regional load unit, attribute list also for using the UI view component of described main data area to load described interface template, set described navigation area choose node time, data corresponding for described node are passed in the business datum assembly of described main data area by described interface engine, and notify that described UI view component carries out interface drafting
Described regional load unit, also for loading the UI View component in described tab district according to the configuration parameter in described tab district, corresponding data filtering condition is converted to querying condition by the tab business datum assembly corresponding to the tab in described tab district, described querying condition is passed to described query engine, corresponding data are returned in described tab business datum assembly according to described query engine, load described tab operational zone simultaneously, build tab button and set up the mapping of described tab button and corresponding business operation.
4. interface framework constructing system according to claim 3, is characterized in that, described regional load unit, if also only have tab district to be configured for detecting, then operationally, use the content in described tab district to be full of whole interface, described tab operational zone represents as described main operation district;
Described regional load unit, if also for detecting that the data of choosing of described navigation area upgrade, then described data of choosing are passed to described main data area and described tab district, described main data area and described tab district are according to the content importing Refresh Data display into, if described in import the type of service of data into not identical with current type of service, then search the configuration parameter corresponding with the described type of service importing data into and show.
5. an interface framework construction method, is characterized in that, comprising:
Step 202, configuration landscape configuration parameter and longitudinal configuration parameter, according to the zones of different of described landscape configuration parameter display interface layout in the horizontal, make each region show different data in the vertical according to described longitudinal configuration parameter, generate interface template according to landscape configuration parameter and longitudinal configuration parameter;
Step 204, interface engine reads the landscape configuration parameter of described interface template and longitudinal configuration parameter, determine need the region of display and load UI view component, business datum assembly and the business processing assembly corresponding with the described region needing to show according to the parameter value of described landscape configuration parameter and the parameter value of described longitudinal configuration parameter, complete the loading of described interface template, to form described interface framework;
Described step 202 specifically comprises:
Determine type of service or the link type that need create described interface template, based on the type of service determined or link type, according to configuration logic rule, described landscape configuration parameter and longitudinal configuration parameter are configured;
Described zones of different comprises navigation area, main data area, main operation district, tab district and tab operational zone, successively described zones of different is carried out to the configuration of described longitudinal configuration parameter:
Described navigation area shows the link data be associated with present type of service, the display of described main data area and the attribute list selecting data corresponding in described navigation area, described main operation district has the mapping relations of button and business operation, process the data corresponding with described main data area, adopt list and property set binding mode to build described tab district, in tab district described in described tab operational zone process, choose data.
6. interface framework construction method according to claim 5, is characterized in that, described configuration logic rule comprises:
The business datum of described main operation district operation is the data of described main data area;
The business datum of described tab operational zone operation is tab data;
Described tab district configures multiple tab, the corresponding described tab operational zone of each described tab;
Relevant business relations data are shown by described navigation area or described tab district.
7. the interface framework construction method according to claim 5 or 6, is characterized in that, described step 204 specifically comprises:
Read the landscape configuration parameter of described interface template, determine according to operation rule the region needing display, carry out region display and control;
Successively described zones of different is loaded:
Read the longitudinal configuration parameter corresponding with described navigation area, described longitudinal configuration parameter is passed to structure and the expansion that navigation area UI view component carries out tree node, corresponding business datum filtercondition is converted to querying condition by navigation area business datum assembly, and described querying condition is passed to query engine, corresponding business datum is returned in the business datum assembly of described navigation area by described query engine
According to the mapping relations of button described in main operation district described in described interface template and business operation, build described button and set up the mapping relations of described button and corresponding described business operation,
The UI view component of described main data area loads the attribute list of described interface template, set described navigation area choose node time, data corresponding for described node are passed in the business datum assembly of described main data area by described interface engine, and notify that described UI view component carries out interface drafting
The UI View component in described tab district is loaded according to the configuration parameter in described tab district, corresponding data filtering condition is converted to querying condition by the tab business datum assembly corresponding to the tab in described tab district, described querying condition is passed to described query engine, corresponding data are returned in described tab business datum assembly according to described query engine, load described tab operational zone simultaneously, build tab button and set up the mapping of described tab button and corresponding business operation.
8. interface framework construction method according to claim 7, is characterized in that, described operation rule comprises:
If only have tab district to be configured, then operationally, use the content in described tab district to be full of whole interface, described tab operational zone represents as described main operation district;
If the data of choosing of described navigation area upgrade, then described data of choosing are passed to described main data area and described tab district, described main data area and described tab district are according to the content importing Refresh Data display into, if described in import the type of service of data into not identical with current type of service, then search the configuration parameter corresponding with the described type of service importing data into and show.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110448558.2A CN102567027B (en) | 2011-12-28 | 2011-12-28 | Interface framework construction system and interface framework construction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110448558.2A CN102567027B (en) | 2011-12-28 | 2011-12-28 | Interface framework construction system and interface framework construction method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102567027A CN102567027A (en) | 2012-07-11 |
CN102567027B true CN102567027B (en) | 2015-04-15 |
Family
ID=46412537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110448558.2A Active CN102567027B (en) | 2011-12-28 | 2011-12-28 | Interface framework construction system and interface framework construction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102567027B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544017A (en) * | 2013-10-30 | 2014-01-29 | 曙光信息产业(北京)有限公司 | Method and device for achieving LAMMPS calculation tasks |
CN103677421B (en) * | 2013-12-20 | 2018-05-18 | 青岛海信移动通信技术股份有限公司 | A kind of business display methods and device applied on touch screen interface |
GB2522338B (en) * | 2014-01-03 | 2020-12-16 | Fisher Rosemount Systems Inc | Reusable graphical elements with quickly editable features for use in user displays of plant monitoring systems |
CN103823682B (en) * | 2014-02-26 | 2017-08-08 | 广州视源电子科技股份有限公司 | Dynamic UI control generation method and device |
CN106227527B (en) * | 2016-07-19 | 2020-03-20 | 国电南京自动化股份有限公司 | Human-computer interface automatic generation method based on entity object relevance |
CN107368294B (en) * | 2017-05-25 | 2020-06-05 | 阿里巴巴集团控股有限公司 | Application prototype generation method, template training method, device and system |
CN108287741A (en) * | 2017-12-28 | 2018-07-17 | 深圳市创梦天地科技股份有限公司 | A kind of method and apparatus of structure administration interface |
CN110321183B (en) * | 2018-03-29 | 2023-05-05 | 阿里巴巴(中国)有限公司 | Configuration system and method for UI (user interface) of public component |
CN110096279A (en) * | 2019-05-08 | 2019-08-06 | 湖南快乐阳光互动娱乐传媒有限公司 | User interface design system and method |
CN110543343B (en) * | 2019-06-13 | 2022-09-27 | 银联商务股份有限公司 | Financial interaction page generation method and device based on native android application |
CN110457364B (en) * | 2019-07-10 | 2024-05-14 | 平安科技(深圳)有限公司 | User information view generation method and device |
CN111596977B (en) * | 2020-05-21 | 2023-09-12 | 北京艾克斯特科技有限公司 | PLM system business object execution system and execution method |
CN112098769A (en) * | 2020-08-07 | 2020-12-18 | 中国人民解放军海军七0一工厂 | Component testing method, device and system |
CN115185509B (en) * | 2022-05-20 | 2024-02-09 | 中核武汉核电运行技术股份有限公司 | Index picture configuration method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192143A (en) * | 2006-12-01 | 2008-06-04 | 上海亚伦科技有限公司 | Software interface construction method |
CN101770359A (en) * | 2008-12-30 | 2010-07-07 | 华为技术有限公司 | Method, device and system for generating interface and acquiring and storing data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050114851A1 (en) * | 2003-11-26 | 2005-05-26 | Brett Watson-Luke | System and method for configuring a graphical user interface based on data type |
-
2011
- 2011-12-28 CN CN201110448558.2A patent/CN102567027B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192143A (en) * | 2006-12-01 | 2008-06-04 | 上海亚伦科技有限公司 | Software interface construction method |
CN101770359A (en) * | 2008-12-30 | 2010-07-07 | 华为技术有限公司 | Method, device and system for generating interface and acquiring and storing data |
Also Published As
Publication number | Publication date |
---|---|
CN102567027A (en) | 2012-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102567027B (en) | Interface framework construction system and interface framework construction method | |
US10281894B2 (en) | Binding graphic elements to controller data | |
CN1811754B (en) | Diagrammatic access and arrangement of data | |
US8683359B2 (en) | In-place user interface and dataflow modeling | |
CN103389683B (en) | High-power slab numerical control laser cutter CAM system and method | |
US8374713B2 (en) | Product-line based content management systems and methods | |
CN101593209A (en) | A kind of alternating type online statistical map generation and distributing device and method | |
US20050246394A1 (en) | Product configuration system | |
CN104346149A (en) | Descriptive framework used for data visualization | |
US8706450B2 (en) | Method and system for identification of grouping characteristics | |
CN102763100A (en) | System, method and computer program for creating and manipulating data structures using an interactive graphical interface | |
US8347227B2 (en) | Graphically displaying manufacturing execution system information data elements according to a pre-defined spatial positioning scheme | |
CN114140047B (en) | System bill of materials generation method, system, storage medium and equipment | |
CN103164573B (en) | PDM managing and designing system | |
JP2023182817A (en) | System and method for creation and processing of configurable applications for website building systems | |
CN103927185A (en) | Network topology modeling device based on energy management and guiding method thereof | |
CN113254543A (en) | Digital-analog separation system and method based on BIM model | |
CN107577692B (en) | Method for configuring MOM data warehouse and providing UI for MOM data warehouse configuration | |
Sackett et al. | A review of data visualization: opportunities in manufacturing sequence management | |
US10140387B2 (en) | Model for managing variations in a product structure for a product | |
CA2816830C (en) | Model for managing variations in a product structure for a product | |
US9268883B2 (en) | User interface for presenting information about a product structure for a product | |
CN102609554A (en) | Computer-aided design method and device for large LED (light-emitting diode) screens | |
KR101818745B1 (en) | Drawing and product management system, and Controlling method therefor | |
Mucchetti et al. | Google data studio |
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 | ||
C56 | Change in the name or address of the patentee | ||
CP03 | Change of name, title or address |
Address after: 100094 Haidian District North Road, Beijing, No. 68 Patentee after: Yonyou Network Technology Co., Ltd. Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park Patentee before: UFIDA Software Co., Ltd. |