Embodiment
The present invention makes up the three layers of application system based on .net based on the stratification system; Press level based on service layer and make up the access authorization for resource management platform; Authority according to organization design is implemented the management to all types resource through the access authorization for resource management platform; Stratification architecture of the present invention comprises, data Layer, Information Level, contact bed, resource layer, flow process layer, organized layer.Through the component classification of different levels, accomplish various tasks and function separately in different levels, together support the operation of integral system.
Below, the present invention is specifically described to accompanying drawing and instantiation.
Be illustrated in figure 1 as architectural schematic of the present invention, set up data warehouse, implement operations such as collection, storage, management, scheduling, access control various resources at data Layer.
Adopt data integration ETL instrument and CUB tools build data warehouse; Set up the various tool database; Comprise: ORACL database, SQL Server database, MYSQL database, Foxpro database etc., set up database control service system, the database in the data warehouse is provided with identifier and eigenwert respectively; Database control module is set up related with data source according to the identifier of various databases; Allocate employed database according to the demand of resource, the Eigenvalue Control different pieces of information library storage resource of different nature according to database comprises raw data, operation control system, application management software, various information on services etc.Constitute the storage administration characteristics of situation and database to the application system resource; Different resources stores in the corresponding with it database; Load the management system of ZLHIS like the ORACL database based on business; SQL Server database loads financial management system, and the MYSQL database loads external site information, and the Foxpro database loads historical data; Adopt the CUB instrument to implement management, set up each access of database mechanism according to access rights to all types resource through the access authorization for resource management platform.
Setting up various databases respectively through each connection of data source adapter control scheduling is connected with the data of each logical data base; And set up the logical data table according to characteristic, management, visit, the access right of various data sources to database by the logical data base adapter; The data dictionary adapter is responsible for setting up a series of data dictionaries according to the logical data table; AP grouping form through AP grouping form adapter is set up is directly given each database through the data connection, sets up the mapping of data resource in the various databases.
Data source adapter is according to the rank of resource; Utilize database identifier and logical data base set up SSAL database, ORACL database, SQL Server database, MYSQL database, Foxpro database respectively the data through separately be connected 1-5 and be connected with each logical data base 1-5; The logical data base adapter is set up the logical data table according to the characteristic of various data sources, the eigenwert of database to management, visit, the access right of database; Each logical data base is set up the mapping of a series of data dictionaries and various databases respectively according to the logical data table; Comprise the data dictionary edit tool in each data dictionary; And the expression formula edit tool, allocate data dictionary edit tool and the expression formula edit tool that various resource databases adopt by the data dictionary adapter.The data set adapter is according to the self-defined a series of data sets of data dictionary, and the data set content comprises that TP grouping form adapter is set up TP grouping form, and the common form adapter of TP is set up the common form of TP.According to data set construction of strategy SmartPart, it is joined among the SmartForm, set up SmartPart and connect setting.According to the resource management authority that organizational structure sets up, each stage in the task completion is inquired about through workflow engine.The also embedded instant message service module of this system, the pressing degree through the intended services engine is provided with according to task sends notice through mail, plan, task, instant message.
Be illustrated in figure 2 as stratification architecture of the present invention.Data Layer definition application system data constitute situation; Comprise the data source of storing in the various databases, logical data base, logical data table etc.; Database, data dictionary edit tool are provided; And the expression formula edit tool, and be responsible for various data-base contents are shone upon, set up the mapping relations of data source in data dictionary edit tool, expression formula edit tool and the various database; The master tool that makes up infosystem is set, the unified interface of access visit data is provided for other are higher level.Data dictionary comprises field: display Name, code field, descriptor, data type.Code field is set to, whether necessary, whether unique, whether major key, read-only, code field, and data type comprises; Single file text, option, date and time, numeral, multiline text, numeral; The expression formula edit tool comprises the expression formula editing machine, edit field, parameter, function, and field is expressed expression ID, title, zone, data type, display type through Basic Information Table; The agreements of following etc., each different field is provided with different parameters and funtcional relationship.
According to foregoing the data dictionary edit tool is provided, makes up self-defined control SmartPart, it is joined among the tools SmartForm, set up SmartPart and connect setting through data dictionary, self-defining data collection.Call data dictionary edit tool, expression formula edit tool and make up various forms of application interfaces fast, comprising: grid view, record view, tree-like view, mandate parts, Gantt chart parts, Bode diagram parts and workflow status figure etc.The present invention adopts tools SmartForm and self-defined control SmartPart technology; The user can start from scratch in the very short time and make up the data of user's application system; Application interface etc.; Basically need not programme or for the simple programming (WF, script) of complicated applications,, can adopt and write the plug-in unit system that is inserted into and form integrated application for complicated applications too.Custom system can be changed all the elements from the data structure to the application interface fast after formal the use, adapt to professional variation to reach quick variation.
Information Level is accomplished the integration of different pieces of information and further describing of data application characteristic.Information Level is made up of business datum collection, business datum table, SQL constructor, field editing device, requestor etc.Information Level is implemented on the data Layer; Realize through making up the business datum collection by the scheduling of data set adapter,, from associated databases, obtain data through the scheduling of database adapter in the data Layer; According to practical application these data are organized; The input in the process of executing the task of definition concrete function, the logical relation between output data and the data is expressed through multiple modes such as data forms, icon, decision-making cube; For functional layer provides the basis, the data in the Information Level directly come from data Layer simultaneously.Provide built-in SQL constructor to accomplish the structure of data set; Business datum is concentrated the resource guidance station is set; Through the resource navigational table business datum collection address of creating personal homepage is provided, the data set adapter can carry out self-defined to the business datum collection through title and type.Application data layer Object Creation object data set assembly is assembled data, comes the composition mode and the source of data of description through the query statement SQL of standard.Confirm the reading of data table through type, tables of data, ordering, the condition of business datum collection are set, according to condition tables of data is carried out series arrangement, and from the option of tables of data, select suitable data through the SQL constructor.In the The model hierarchical system; Be mapped to business function through the data set business activity; The information entity that in business activity, is scheduled and controls is mapped to business information, and business information is carried out rationalization and performance to data between business function and data Layer.
Contact bed is accomplished data exhibiting and data inputting interface.Mainly constitute with SmartPart and relevant system through calling SmartForm; Confirm the logical organization and the mutual relationship of business function; Be implemented on the Information Level; Be the direct scheduling and the control of Information Level, scheduling is expressed through business between business function, and business function can be inherited business function.Generate the function button of interface operation through the configuration of correlation parameter; Through adopting SmartForm and SmartPart that the base attribute of parameter state, the source of input parameter can be set; The approach that parameter is returned; Carry out control of authority, built-in function is set, data policy, intelligence operation information, intelligent assembly connection are set.The setting operation information list comprises title, action type, source intelligent assembly, the defining operation process; Selection operation title, type; Carry out pre-operational check, through operational chain inspection prompting is set, what fail inspection is provided with processing mode; Through built-in a large amount of library; Call the required function of runnable interface operation by various adapters, the self-defining operation function is provided, need not write code and realize controling various data sources through data dictionary edit tool, expression formula edit tool etc.The generation at interface does not need programming fully, does not need compiling.
The various resource types that the resource layer abstract system is related are set up resource hierarchy, set up a unified resource tree all resources are formed management.Disparate databases in the resource tree each correspondence database warehouse.Any information all is resource, and resource can be a concrete object, also can be an incident, or even the some fields in the infosystem.Resource is deposited in the associated databases as different data sources with characteristics according to its character,, carry out the abstract resource tree of setting up according to resource type, thereby construct resource information system through various resources are carried out limited integration.According to the type of resource, by the access authorization for resource administration module operating right to various resources is set, set up the access authorization for resource system, other relative content all is to add architecture with the plug-in unit mode.
Traditional infosystem all is that the function items through menu comes relevant information is operated, in case client's demand or flow process change, just has to infosystem is carried out big change.
The present invention produces relevant information through resource is operated; Concerning certain concrete object; Resource is fixed; Operation to resource can confirm, when the change influence that produced of customer demand or control flow is that the combination of relevant information changes, this infosystem can accomplish that fast adaptation changes.The invention provides powerful workflow tenability,, between participant and organizational structure, carry out the transmission and the processing of document, task, information, realize intended target according to predefined function.
The flow process layer building is on organized layer and operation layer; Form operation flow by business function; Define the circulation rule between each function link on stream, the execution of flow process and running are responsible for completion by the OU in the organized layer, and operation flow depends on the business function environment; Describe through dependence in the business function; An operation flow environment chain is made up of required business function, the circulation direction in each flow process branch through professional expression formula control operation flow, and the message transmission between flow process is sent through service message.The flow process layer can provide comprehensive support to design, execution, monitoring, analysis, the improvement of operation flow through complete working flow system support facility collection.Through graphical designer, the monitoring of patterned flow state; Foundation based on the task of organize models carry out system, based on the workflow activities link of business function, set up state flow chart; Complete patterned designing workflows is provided, and the service implementation process is carried out complete monitoring.
Workflow control module control data source adapter, data set adapter are coordinated control and are called calling and managing of all kinds, data source at all levels, implement business datum according to the definition of process model and between the OU of different participation business flow processing, transmit.
Extract business datum collection and business datum table through data extraction module; Obtain data and performance thereof; Through various grouping form adapters the analysis of data is provided, also provides basic simultaneously for controls such as the monitoring of flow process and analysis, data referencing, scope authority, operating rights.
Working flow system support facility collection provides following instrument.
(1) graphical designer
The present invention can adopt patterned Design Mode fully through designing workflows is provided, and has improved development efficiency greatly.Preset the design effort stream mode in the storer, mission bit stream, task implementation status, the setting of inlet link, data policy, backoff rules, circulation rule, executing rule, the outward appearance of figure, position are provided with.
Foundation is carried out system based on the task of organize models: in the workflow design, the task of flow process is carried out and running is to be responsible for completion by the OU in the organized layer.Organizational structure is the basis of operation flow, controls the execution of operation flow, confirms the executive agent of operation flow.In the process of carrying out, moving in operation flow; Business datum (information, document) is according to transmitting between the OU (executor just) of the different participation business flow processing of being defined in of process model, to reach the height cooperation between OUs such as various different institutions, department, working group.
Foundation is based on the workflow activities link of business function: Business Works process model and activity link thereof are to be implemented on operation layer and the organized layer; In the flow process layer, be organized into operation flow to business function in the operation layer, and the rule between each movable function link of flow process layer definition.Business function is the basis of operation flow, in process model, will quote business function by the activity link.On the angle of operation flow, business function has solved two problems of operation flow: be what (What) and how do (How).Foundation is controlled based on data referencing, scope authority and the operating right of business information: the business information of Business Works is exactly a handled business datum in the operation flow operational process; Extract business datum collection and business datum table through data extraction module from Information Level during process flow operation; Obtain data and performance thereof, Information Level also provides basic for controls such as the monitoring of flow process and analysis, data referencing, scope authority, operating rights simultaneously.
Related service Data Control, flow process field based on business semantics are " bridges " between operation flow and the business datum, and the control of related service data, the basis of transmission are the values of flow process field and flow process field during the operation flow operation.Can be used as the business object of flow process field with the business element of business semantics layer, also can handle business datum through the business semantics layer.
(2) patterned flow state monitoring
Set up state flow chart, the service implementation process is carried out complete monitoring, according to the heterogeneity of business; Set up the modularization graphic structure, in the service implementation process, set up mode of operation process flow diagram in the whole flow process according to service identification; At first whether set up database in the warehouse, judgment data storehouse, and the type of setting up database, if any database; It is carried out the SQL Performance Detection; And carry out interface norm inspection, the inspection of emphasis algorithm, coding criterion inspection, the inspection of object dependence, client log inspection, after above-mentioned having checked, determined whether interface program; If any through the patterned control flow of interface display, through patterned demonstration the state flow range monitoring is provided to significance level, task status, beginning concluding time of task executions person, task.
Set up workflow task and browse, comprise flow process display name, handler, task message state, accomplish the query statistic of flow process.Can adopt Gantt chart, Bode diagram to behavioral requirements, obtain resource requirement, performance is analyzed, through authorization fringeware standard, formulate functional specification, set up the graphic process condition monitoring model with time relationship according to the functional specification development model.
The planning and design user's of organized layer institutional framework system is carried out the business division of labor and rights management.
This system platform provides comprehensive, powerful organizational structure, the professional division of labor and rights management, and the business collaboration support.In database, set up each member's access control right, set up the rights management hierarchy of control according to team collaboration, organizational structure, the professional division of labor.Whole team collaboration, the professional division of labor, control of authority are one of basic demands of total system organized layer.
Set up organize models; Organize models is the model that is used for defining the organizational form of enterprise; It with the formal definition of responsibility, authority the effect and the task of member of enterprise, each department of enterprise, provide flexibly structure to adapt to institutional frameworks different in different enterprises or the enterprise simultaneously.Provide institutional general management support, comprise mechanism, department, post, personnel, the division of labor, the authority of office etc.
(1) supports various institutional frameworks
Set up level mechanism and mechanism of working group in organized layer, to satisfy mechanism's complicacy, the requirement of matrix organization model flexibly.Set up in the object activity process carry out a certain task adaptation its change or other needs and organizational form dynamically establishment, trans-departmental division is set up working group's model.OU by a series of levelizations constitutes organizational structure; Each OU belongs to some levels; OU to its next level has management responsibility and authority; And the OU of last layer time is responsible for, thereby form the organization tree of level mechanism as shown in Figure 3, set up hierarchical organizational structure.Any adjustment of mechanism of supporting tissue; Set up various organizational structures model in data centralization; Set up the mapping relations table of organizational structure's model and OU, authority through logical adapter, provide flexibly structure to adapt to institutional frameworks different in different enterprises or the enterprise, simultaneously can be trans-departmental division organizational structure; Management object is laterally divided and managed, can safeguard and customization by user's own with the professional division of labor and rights management for team and organizational structure's management simultaneously.
Set up many hilllocks of people relation schema in the professional division of labor, the personnel of organizational structure of a reality can have a plurality of posies.Set up the proxy management pattern, in organizational structure's rights management agency mechanism is set, the procurator can be with the principal's identity operational system, thereby realizes the principal's job duty, finishes the work or executes the task for it.Scope of authority is set: handle to arranging all can to entrust to the another one people in the business division of labor to someone's all working.
(2) the professional division of labor and rights management
System realizes the professional division of labor and service authority management through all kinds of operating right settings and organization design are closely cooperated.The authority configuration not only can be carried out general authority configuration to tissue, mechanism, post, personnel, can also realize the rights management function that authority layer-management and authority succession etc. are complicated.Post, responsibility according to all departments in the mechanism and individual are divided the work to business, and hierarchical classification time is provided with administration authority, comprise all types database operation permission that conducts interviews, and carry out grading authorizedly, supervise layer by layer.
Administration authority: administration authority is provided with level mechanism and the working group mechanism of module according to institutional framework, and administration authority is set, and according to the level of institutional framework, be subordinate to administrative relationships grading authorizedly, has embodied the classification of organizational member and has been in charge of function.
Data permission: the data permission control module is carried out rights management through semantic layer.Comprise access rights, data manipulation authority, restrict access or the like, data permission is in order to visit, operation and the range of control of definition OU to data, and access visit limits to data from organized layer.
The professional division of labor: the scope of the operation function that professional division of labor functional module can be carried out through function privilege definition organizational member; Function privilege is given work or the task that OU or post can be carried out, and defines their executable business function scope and functional activity scopes.
Operating right: service operation module is managed the business operations competence with the restriction operation person according to the business operation strategy, comprises interface access rights, action control authority, incident access rights.Operation to business with identical general character is extracted.
Grading authorized: entitlement management module is according to organizational structure, post, role, user's etc. comprehensive authority configuration; Authority is carried out hierarchical processing; Can according to the rank in the institutional framework in the extent of competence that system gives, one's own responsibility and administration authority be distributed to subordinate step by step.
Functional control module is provided with the intended services engine; Embedded instant message service module; This service module effectively combines with operation system; When a new Pending tasks triggered, the pressing degree that the intended services engine is provided with according to task can be notified the user through mail, Pending tasks tabulation or instant message.Through the mode of plug-in unit, can integrated permission system on door, operation system, mail, charg`e d'affaires's task, various plug-in units or the like.Common form section function is set and drills through function,, drill through, analyse in depth the problem source from top to bottom layer by layer from unspecified angle from multi-angle, multi-level, many sections observation analysis data, and can be from bottom to top summary information layer by layer.According to common form in the related tightness degree of information critical field, set up degree of association linking relationship table, realize common form section function and drill through function.And good real time performance is provided, support user concurrent inquiry in enormous quantities.Can help company manager to improve Decision Quality and speed according to common form.Set up decision tree through drilling through function, data are successively calculated, find the problem place.
The present invention is joint business application software and mailing system in the access authorization for resource control module; While built-in in system " workflow engine ", " subscription service engine ", " plan target engine "; The user can accomplish routine work through active push information, can be concerned about that own service needed relates to those functional modules.Create self-defined analytical statement, set up several data statistics strategy and method,, make up complicated arbitrarily data statistics based on data Layer from data Layer to the presentation layer different aspects.Through making up the design of data statistics strategy customization data statistics,, can accomplish through the strategy customization of respective flexible to the design of most of data statistics.Utilize workflow engine to set up functional inquiry; The general polling function customizes data area to be checked, the form of expression, display styles etc. voluntarily; Set the authority of inquiry as required; Reached the effect of " making to measure ", abandoned the shortcoming that traditional form can't be flexible and changeable again, guaranteed that most of query demand and adjustment can be by the characteristics of user oneself grasp and control.
Set up application interface structural system in functional layer; Summing up and abstract the support on the basis of the required structural system of the daily interface application of most users; Adopt SmartForm and SmartPart technique construction application interface; Through a newly-built SmartForm, join corresponding SmartPart among the SmartForm as required then, the structure that corresponding all kinds of attribute just can be accomplished a complete application interface is set then.
As shown in the figure 4 for using SmartForm and SmartPart basic building schematic block diagram
Newly-built SmartForm is provided with the interface script, according to SmartPart type, business datum table, data set construction of strategy SmartPart, it is joined among the SmartForm; Setting up SmartPart connects setting and imports the data centralization data set into; Comprise arbitrary parameter, field parameter in the data set, through guidance station master menu column, popup menu; Link mouse-keyboard movement controller; Set up the expression formula of process group (or WF workflow) through mouse-keyboard operation, spread out of parameter group according to the process of foundation, set up other programs link, set up dynamic processes, built-in function be set, the process of setting up of control store process, other SmartForm.
Adopt Smart Form and Smart Part technology, can make up various forms of application interfaces fast, comprising: grid view, record view, tree-like view, mandate parts, Gantt chart parts, Bode diagram parts and workflow status figure.Through data dictionary, self-defining data collection technology; SmartForm and SmartPart technology; The user can make up the data of user's application system easily, application interface etc., and application does not need programming for simple and regular; For complicated applications too, can adopt and write the plug-in unit system that is inserted into and form integrated application.The user can change all the elements from the data structure to the application interface fast, adapts to professional variation to reach quick variation.
The present invention passes through business model: generate the business model resource, and---------------the drawing flow process---generates interface---and directly moves the drafting organization chart to make up the business function link to accomplish business information document and list for definition of data dictionary, professional dictionary.Reduced the process of code compile, issue, can realize quick enforcement, exploitation of shortening project greatly and implementation cycle.