Summary of the invention
A kind of complex product development process of the present invention RMTSS characteristic method for visually monitoring, the problem of its purpose and solution is: reliability Work progress and the monitoring of reliability status level of filling up present overall process can not be real-time, the efficient blank of carrying out, provide a kind of support product development digital Platform to realize visual overall process reliability Work progress monitoring and reliability status level method for supervising, this method extracts the RMTSS data from the product development digital Platform, through unified analysis and processing, export with visual means such as charts, make Design Supervisor and designer timely, accurately, system comprehensively controls the realization situation of RMTSS work progress and RMTSS characteristic in the product development process, so that in the product development overall process, guarantee the RMTSS level, reduce design iteration, reduce design cost.
A kind of complex product development process of the present invention RMTSS characteristic method for visually monitoring, its concrete steps are as follows:
Step 1, selected RMTSS characteristic information key element to be monitored in product development digitizing environment
Set main monitoring key element of each stage of product development, from product development digitizing environment, obtain the flow process and the related RMTSS information of RMTSS job, can comprise RMTSS design analysis data, test figure, historical information data etc.
Step 2 is set up status poll and system's controlling models
Described model is self-editing processing procedure preface model, and its model component comprises two program classes: status poll class, instruction send class.
A) described status poll class comprises three computer program functional functions: timing function, status poll function, instruction send the class call function; The realization of function all realizes by computer program, the timing function is provided certainly by program language, the status poll function is served by invocation step three described RMTSS Data Web and is realized, instruction sends the class call function and calls the startup function that following instruction sends class.
B) described instruction transmission class comprises two computer program functional functions: start function and instruction transmission function; Start function for being sent the function that class is called by the instruction of above-mentioned status poll class, instruction sends function can send message to following step 3, four described models.
Described status poll and system's controlling models method flow are: by using a timing function, fixedly start-up time is at interval to set it, regularly start a query function and send query requests, whether change to obtain the product technology state, when receiving that response message is an attonity not the time, when receiving that response message is when being, promptly send class and start function enabled instruction transmission class by call instruction, instruction sends class startup function and starts, and call instruction sends function and sends instruction to following step 3, the described model use of step 4 then.
Step 3 is set up RMTSS data, services model
Described RMTSS data, services model is self-editing processing procedure preface model, and its model is formed and comprised three parts: RMTSS Data Receiving and parsing class, status poll Web service and the service of RMTSS Data Web.
A) described RMTSS Data Receiving comprises three computer program functional functions with the parsing class: status poll function, data pick-up function, data parsing function; The product technology state (version release etc.) of the application programming interfaces (API) of this status poll function call product development digitizing environment; The product RMTSS data message that this data pick-up function call product development digitizing environment API obtains RMTSS job procedure information and is associated; The data parsing that this data parsing function obtains the data pick-up function is the XML form.
B) described status poll Web service is a computer program functional function of realizing based on the WEB service technology: status poll function call above-mentioned steps in a) the status poll function and the product technology status information in the product development digitizing environment that returns.
C) described RMTSS Data Web service also is the computer program functional function based on the realization of Web service technology: RMTSS Data Web service issue function is Web service with the XML formatted data file distribution of the step a) in the step 2.
Described RMTSS data, services model method flow process is: the status poll service function in the status poll Web service calls the status poll function of RMTSS Data Receiving class, and the status poll function is inquired about the product technology state and status information is fed back to the status poll Web service from product development digitizing environment; When the status poll function is received from the instruction of the Data Update of step 2 model, promptly begin log-on data and extract function from product development digitizing environment, to obtain the RMTSS data, these data are resolved to the document of XML form by the data parsing function, last RMTSS Data Web service issue function is issued as Web service with these XML document, calls for the model of setting up in the following step 4.
Step 4 is set up RMTSS data storage model
Described RMTSS data storage model is that self-editing processing procedure preface model reaches the database of design voluntarily.
This self-editing processing procedure preface model is a RMTSS database access class.Described RMTSS database access class comprises two computer program functional functions: data storage function, data read function.The data storage function is realized its database storing function in conjunction with SQL statement; Described data read function is responsible for reading all data recording from database.
This database that designs voluntarily comprises 4 database tables, preserves RMTSS workflow information, product information, product RMTSS parameter information, product critical failure pattern information respectively.
Described RMTSS data storage model method flow process is: when RMTSS database access class receives from the Data Update instruction of step 2 model, its data storage function promptly begins RMTSS Data Web service in the invocation step three and obtains up-to-date RMTSS data and it is saved in the above-mentioned database, the data read function reads the relevant data-base recording of all current productions from database simultaneously, calls for the model of setting up in the following step 5.
Step 5 is set up the RMTSS Data Analysis Model
Described RMTSS Data Analysis Model is self-editing processing procedure preface model, and its model is formed and comprised two computer program classes: data read class, data analysis class.
This data read class comprises three computer program functional functions: flow process function reading, parameter function reading, critical failure pattern function reading.These three functions obtain information such as RMTSS flow data, RMTSS supplemental characteristic, critical failure pattern in the data read function from step 3 respectively.
This data analysis class comprises three computer program functional functions: flow process analytical function, parameter analytical function, critical failure pattern analytical function.These three functions are corresponding to above-mentioned three functions, be flow process function reading, parameter function reading, critical failure pattern function reading, respectively its RMTSS flow data is resolved to the tree form data structure of XML form, its RMTSS supplemental characteristic is resolved to the (time, value) two-dimensional array of form resolves to the data list set with its critical failure pattern information.
Described RMTSS Data Analysis Model method flow is: the flow process function reading starts, the data access class is transferred the RMTSS flow data from step 3, this flow format is the tables of data record set, it is resolved to the XML form here, calls and is shown as the flow process figure so that be shown model; The parameter analytical function starts, and the data access class is transferred RMTSS parametric data table record set from step 3, it is treated to the two-dimensional array set of (time, value) form, calls formation curve so that be shown model; Critical failure pattern analytical function starts, and the data access class is transferred critical failure mode data table record collection from step 3, directly transfers it to list collection, calls the generation list information so that be shown model.
Step 6 is set up RMTSS data monitoring display model
This RMTSS data monitoring display model is self-editing processing procedure preface model, and it comprises three computer program classes: process flow diagram shows that class, parametric line show class, critical failure mode list class.
A) described process flow diagram shows that class is mainly realized by the process flow diagram control of a non-content of the present invention.
B) described parametric line shows that class is realized by the chart control of a non-content of the present invention.
C) described critical failure mode list class is realized by the list control of a non-content of the present invention.
Described RMTSS data monitoring display model method flow is: flow process shows that the data source of class is tied to the RMTSS flow data of the XML form of step 4 generation, parametric line class data source is tied to step 4 and generates the set of RMTSS parameter two-dimensional array, and critical failure pattern information class data source is tied to the critical failure mode list set that step 4 generates.By these visual program controls, can provide RMTSS data message to the user, as visual informations such as parametric plot, critical failure mode list.
Step 7, the relation of the procedural model of setting up by above step 2 to six as shown in Figure 2, formed realization RMTSS characteristic visual control system model framework thus, this framework be input as RMTSS work item data, RMTSS supplemental characteristic in the product development digitizing environment; Be output as visual RMTSS process flow diagram, visual RMTSS parameter change curve, monitored contents such as visual critical failure mode list.The product development digitizing environment of this framework and interface thereof are the commercial product data management platform of non-content of the present invention.
A kind of complex product development process of the present invention RMTSS characteristic method for visually monitoring, its advantage is: it has realized a kind of complex product development process RMTSS characteristic method for visually monitoring, it can graphically show RMTSS work item progress in the development process and RMTSS parameter level, and can further pass through change color, means such as message transmission, the unfavorable trend that the RMTSS job of omitting in the product development process and RMTSS status level occur is warned, realize the RMTSS work and the parameter visual control of comprehensive product development process, for the RMTSS level of overall process guarantees to provide decision-making foundation.
Embodiment
The condition of implementing: realize a kind of complex product development process of the present invention RMTSS characteristic method for visually monitoring, need to rely on the product development digitizing environment and the API thereof of non-content of the present invention, mainly be product data management (PDM) platform, the Teamcenter with Siemens Company is that example is set forth here.
Embodiment explanation: a kind of complex product development process of the present invention RMTSS characteristic method for visually monitoring, the FB(flow block) of this method as shown in Figure 1, embodiment is described as follows:
Step 1, at Teamcenter RMTSS monitor message key element is set, the control point is the workflow among the Teamcenter, and present embodiment selects product node state of the art, MTBF, MTBCF and product critical failure pattern as visual RMTSS characteristic monitored object.(as shown in the table)
Step 2 is set up status poll and system's controlling models, promptly realizes RMTSS status poll and system's controlling models based on computer programming language, and the chief component of this model is realized being respectively: (as in the accompanying drawing 2 1. shown in)
A) status poll class: realize this module based on computer programming language, it is set called a status poll service every a hour, be arranged in the product technology state of product development digitizing environment with detection; The code sample of realizing such is as follows, and this example is only described the function composition of class, and specific implementation is not discussed:
public?class?StatusReauest
{
static?Timer?myTimer=new?Timer(){myTimer.Interval=5000};
private?static?void?TimerEventProcessor(Object?myObject,EventArgsmyEventArgs);
public?bool?StatusRequestFromTeamcenter(string?ProductID);
public?void?StartCommandControl();
}
B) instruction sends class: realize this module based on Microsoft's C#4.0 language, after it receives message call from the status poll class, start working, and give RMTSS data, services model in turn, RMTSS data storage model sends Data Update and instructs.
public?class?CommandControl
{
public?void?StartDataUpdate(string?ModelName);
}
Described status poll and system's controlling models method flow be as shown in Figure 3: by using a timing function m yTimer, set it and fixedly be spaced apart one hour start-up time, be myTimer.Interval=3600000, regularly start a query function StatusRequestFromTeamcenter and send query requests, whether change with the product technology state that obtains among the Teamcenter, when receiving that response message is an attonity not the time, when receiving that response message is when being, promptly send class and start function S tartCommandControl enabled instruction transmission class by call instruction, instruction transmission class starts function and starts, and call instruction transmission function S tartDataUpdate sends and instructs to each following step 2 to the described model of step 6 then.The concrete function flow process is seen shown in the accompanying drawing 3.
Step 3 is set up RMTSS data, services model
Described model is self-editing processing procedure preface model, and its model component comprises three parts: RMTSS Data Receiving and parsing class, status poll Web service and the service of RMTSS Data Web.(as in the accompanying drawing 2 2. shown in)
A) described RMTSS Data Receiving comprises three computer program functional functions with the parsing class: status poll function, data pick-up function, data parsing function; The product technology state (version release etc.) of the application programming interfaces (API) of status poll function call product development digitizing environment; The product RMTSS data message that data pick-up function call product development digitizing environment API obtains RMTSS job procedure information and is associated; The data parsing that the data parsing function obtains the data pick-up function is the XML form.It realizes that the computer program code example is as follows:
public?class?DataRetriverResolver
{
public?string?QueryStatus(String?ProductID);
public?Object?QueryData(String?ProductID);
public?XmlDocument?ResolveData(String?ProductID);
}
B) described status poll Web service is a computer program functional function of realizing based on the WEB service technology: status poll function call above-mentioned steps in a) the status poll function and the product technology status information in the product development digitizing environment that returns.
[WebMethod]
public?class?ReauestService
{
public?string?RequestStatus(String?ProductID);
}
C) described RMTSS Data Web service also is the computer program functional function based on the realization of Web service technology: RMTSS Data Web service issue function is Web service with the XML formatted data file distribution of a) step in the step 2.
[WebMethod]
public?class?DataService
{
public?XmlDocument?RMTSSData(String?ProductID);
}
Described RMTSS data, services model method flow process is as shown in Figure 4: the status poll service function RequestStatus in the status poll Web service calls the status poll function Q ueryStatus of RMTSS Data Receiving class, and the status poll function is inquired about the product technology state and status information is fed back to the status poll Web service from product development digitizing environment; When Data Receiving with resolve class DataRetiverResolver class when receiving Data Update instruction from the step 2 model, promptly begin log-on data and extract function Q ueryData from product development digitizing environment, to obtain the RMTSS data, these data are resolved to the document of XML form by data parsing function R esolveData, last RMTSS Data Web service issue function R MTSSData is issued as Web service DataService with these XML document, calls for the model of setting up in the step 3.The concrete function flow process is seen shown in the accompanying drawing 4.
Described XML document form has the characteristic of itself data intension of self-described and the characteristic that is easily generated and resolve by computing machine, below is this RMTSS message structure XML document fragment example:
<RMTSSROOT>
<WORKFLOWINFO>
<WORKITEM?NAME=’WF1’FINISHED=’1’/>
<WORKITEM?NAME=’WF2’FINISHED=’1’/>
</WORKFLOWINFO>
<PRODUCTINFO>
<NODE?ID=’1’NAME=’XX’VERSION=’1.0’>
<NODE?ID=’2’NAME=’XX1’VERSION=’1.0’/>
<NODE?ID=’3’NAME=’XX2’VERSION=’1.0’/>
</NODE>
</PRODUCTINFO>
<RMTSSINFO>
PARAM?PRODUCTID=’1’NAME=’MTBF’DATATYPE=’float’VALUE=’1000’UNIT=’h’/>
PARAM?PRODUCTID=’1’NAME=’MTBCF’DATATYPE=’float’VALUE=’5000’UNIT=’h’/>
</RMTSSINFO>
<FMINFO>
<FM?PRODUCTID=’1’NAME=’failuremode1’KEYFM=’1’CAUSE=’cause1’
UPEF?FECT=’upeffect1’FINALEFFECT=’finaleffect’BETA=’0.2’/>
</FMINFO>
</RMTSSROOT>
Step 4 is set up RMTSS data storage model
Described model is that self-editing processing procedure preface model reaches the database of design voluntarily, and its procedural model partly is a RMTSS database access class.(as in the accompanying drawing 2 3. shown in)
Described RMTSS database access class comprises two computer program functional functions: data storage function, data read function.The SQL statement of utilizing the data storage function realizes its database storing function; Described data read function is responsible for reading all data recording from database.
public?class?DataBaseAccessor
{
public?void?SaveDataToDB(object?data,string?TableName);
public?DataTable?GetDataFromDB(string?TableName);
}
The described database of design voluntarily comprises 4 database tables, and the database Physical View is preserved RMTSS workflow information, product information, product RMTSS parameter information, product critical failure pattern information respectively as shown in Figure 8.Comprise 4 database tables, its physical arrangement is seen shown in the accompanying drawing 8: concrete database table is described as follows shown in the table
Described RMTSS data storage model method flow process is: when RMTSS database access class receives from the Data Update instruction of step 1 model, its data storage function S aveDataToDB promptly begins RMTSS Data Web service in the invocation step two and obtains up-to-date RMTSS data and it is saved in the above-mentioned database, data read function G etDataFromDB reads the relevant data-base recording of all current productions from database simultaneously, calls for the model of setting up in the step 4.The concrete function flow process is seen shown in the accompanying drawing 5.
Step 5 is set up the RMTSS Data Analysis Model
Described model is self-editing processing procedure preface model, and its model component comprises two computer program classes: data read class, data analysis class.(as in the accompanying drawing 2 4. shown in)
A) described data read class comprises three computer program functional functions: flow process function reading, parameter function reading, critical failure pattern function reading.These three functions obtain information such as RMTSS flow data, RMTSS supplemental characteristic, critical failure pattern in the data read function from step 3 respectively.
public?class?DataReader
{
public?DataTable?FlowReader();
public?DataTable?ParamReader();
public?DataTable?FailerModesReader();
}
B) described data analysis class comprises three computer program functional functions: flow process analytical function, parameter analytical function, critical failure pattern analytical function.These three functions corresponding to above-mentioned steps a) described in three functions, respectively its RMTSS flow data is resolved to the tree form data structure of XML form, its RMTSS supplemental characteristic is resolved to the two-dimensional array of (time, value) form, its critical failure pattern information is resolved to the data list set.
public?class?DataToShow
{
public?XMLNode?FlowDiagram(DataTable?flowData);
public?ArrayList?ParamArray();
public?ArrayList?FailerModesList();
}
Described RMTSS Data Analysis Model method flow is: flow process function reading FlowReader starts above-mentioned steps b), the data access class is transferred the RMTSS flow data from step 3, this flow format is the tables of data record set, here flow process analytical function FlowDiagram resolves to the XML form with it, calls and is shown as the flow process figure so that be shown model; The parameter function reading starts, and the data access class is transferred RMTSS parametric data table record set from step 3, and parameter analytical function ParamArray is treated to it two-dimensional array set of (time, value) form, calls formation curve so that be shown model; The critical failure pattern reads function F ailureModesReader and starts, the data access class is transferred critical failure mode data table record collection from step 3, critical failure pattern analytical function FailerModesList directly transfers it to list collection, calls the generation list information so that be shown model.The concrete function flow process is seen shown in the accompanying drawing 6.
Step 6 is set up RMTSS data monitoring display model
This ingredient is self-editing processing procedure preface model, and its model component comprises three computer program classes: process flow diagram shows that class, parametric line show class, critical failure mode list class.(as in the accompanying drawing 2 5. shown in)
D) described flow process shows that class is mainly realized by the process flow diagram control of a non-content of the present invention.FlowControl.DataSource=DataToShow.FlowDiagram();
E) described parametric line shows that class is realized by the chart control of a non-content of the present invention.ChartControl.DataSource=DataToShow.ParamArray();
F) described critical failure mode list class is realized by the list control of a non-content of the present invention.DataListControl.DataSource=DataToShow.FailureModesList();
Described RMTSS data monitoring display model method flow is: flow process shows that the data source of class FlowControl control is tied to the RMTSS flow data DataToShow.FlowDiagram () of the XML form of step 4 generation, parametric line class ChartControl data source is tied to step 4 and generates RMTSS parameter two-dimensional array set DataToShow.ParamArray (), and critical failure pattern information class DataListControl data source is tied to the critical failure mode list set DataToShow.FailureModesList () that step 4 generates.By these visual program controls, can provide RMTSS data message to the user, as visual informations such as parametric plot, critical failure mode list.The concrete function flow process is seen shown in the accompanying drawing 7.
Step 7, the relation of the procedural model of setting up by above step 2 to step 6 as shown in Figure 2, formed realization RMTSS characteristic visual control system model framework thus, this framework be input as RMTSS work item data, RMTSS supplemental characteristic in the product development digitizing environment; Be output as visual RMTSS process flow diagram, visual RMTSS parameter change curve, monitored contents such as visual critical failure mode list.The product development digitizing environment of this framework and interface thereof are the commercial product data management platform of non-content of the present invention.
Utilize " the RMTSS data gather and the monitoring display model " worked out voluntarily to obtain and can be used for visual data: (the interface synoptic diagram as shown in Figure 10) from " RMTSS data processing model "
RMTSS workflow progress represents by process flow diagram and pattern identification mode: ● sign is finished the work, zero sign unfinished work;
RMTSS parameter control situation shows its state by curve and change in color, and the RMTSS parameter changes and trend curve, when rough sledding appears in parameter trend, warns with redness;
Subdue state according to it in the critical failure mode list sign be set:
☆ represents to take design measure to reduce probability of happening significantly
Take the using compensation measure, reduce probability of happening
Zero has subdued
Can clearly identify the situation of subduing of critical failure pattern.
To sum up, a kind of complex product development process RMTSS characteristic method for visually monitoring by above-mentioned included step realization, it can graphically show RMTSS work item progress in the development process and RMTSS parameter level, and can further pass through means such as change color, message transmission, the unfavorable trend that the RMTSS job of omitting in the product development process and RMTSS status level occur is warned, realize the RMTSS work and the parameter visual control of comprehensive product development process, for the RMTSS level of overall process guarantees to provide decision-making foundation.
Above-described example has been done detailed explanation to the implementation of various piece of the present invention; specific implementation form of the present invention is not limited thereto; for the those skilled in the art in present technique field, the various conspicuous change of under the situation of spirit that does not deviate from the method for the invention and claim scope it being carried out is all within protection scope of the present invention.