Device and method for realizing shielding of different working flow products

A workflow and product technology, applied in the direction of instrumentation, finance, data processing applications, etc., can solve problems such as restricting the development of banking business, wasting human resources, and centralized management, so as to improve operational efficiency and competitiveness, and save manpower and time costs , Ease of maintenance and replacement

Active Publication Date: 2010-05-12
CHINA CONSTRUCTION BANK
0 Cites 5 Cited by

AI-Extracted Technical Summary

Problems solved by technology

When the application system needs to replace or update the workflow product, the bank needs to send a large number of technical personnel to learn and be familiar with the client program of the new workflow product, and then update the application system configuration according to the new client program. In the case of limited and many application systems that need to be built, it will not only seriously waste human resources, but also increase the time and cost of project implementation, and even affect the quality of the project, which w...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Method used

By implementing the present embodiment, the beneficial effects of the above-mentioned first embodiment can be realized; in addition, by using the initialization module 107 to initialize the device 100, the module calls involved in the creation process of the unified interface of the workflow control by the initialization module 107 , it can ensure that the device 100 can restore the initial settings every time it executes the work of invoking a workflow product, and improves the usability of the device 100, so that developers can directly use the device 100 without knowing the creation process. The device 100 creates an accurate unified interface local implementation module or a unified interface remote implementation module according to the difference of the workflow product and the calling method each time, which ensures the accuracy of the work performed by the device 100 for calling different workflow products.
By implementing this embodiment, the unified interface local implementation module and/or the unified interface remote implementation module coupled with the workflow unified interface can be cached in the memory for direct use when calling the workflow product later, which is convenient and quick .
[0178] Through the implementation of this embodiment, the workflow unified interfac...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention discloses a device and a method for realizing the shielding of different working flow products. The device comprises a receiving module, a judging module, an establishing module, a coupling module and an output module, wherein the receiving module is used for receiving an application context transmitted by an application system server; the judging module is used for judging whether an invoking mode is local invoking or remote invoking according to the application context received by the receiving module; the establishing module is used for establishing a unitive interface local realizing module and a unitive interface remote realizing module; the coupling module is used for coupling the unitive interface local realizing module or the unitive interface remote realizing module and a preset working flow unitive interface and realizing the function of the working flow unitive interface by the unitive interface local realizing module or the unitive interface remote realizing module; and the output module is used for outputting the working flow unitive interface to a user. According to the device and the method for realizing the shielding of different working flow products, the aim of shielding different working flow products is realized, and loose coupling is formed between the working flow products and an application system.

Application Domain

Technology Topic

System serviceApplication Context +3

Image

  • Device and method for realizing shielding of different working flow products
  • Device and method for realizing shielding of different working flow products
  • Device and method for realizing shielding of different working flow products

Examples

  • Experimental program(4)

Example Embodiment

[0042] Example 1: For the function of the unified workflow interface "find work item information based on identification"
[0043] The corresponding method in the workflow unified interface is:
[0044] public WFWorkItem queryWorkItemDetail(String workItemID);
[0045] The corresponding methods in the two workflow product APIs are:
[0046] 1. The corresponding method in BPS6: public WFWorkItem queryWorkItemDetail(longworkItemID);
[0047] 2. The corresponding method in WLI: public TaskInfo getTaskInfo(StringtaskId); (com.bea.wli.worklist.api.WorklistManager class).
[0048] Among them, in terms of input parameters, the input parameters are: String type and long type. Long-type parameters can be converted to String type. However, there are restrictions on the conversion of String type to long type, that is, only the value in the String type is composed of numbers. Integer string can be successfully converted. Therefore, the String type is used in the unified workflow interface.
[0049] In terms of output parameters, TaskInfo is the entity information provided by WLI, while WFWorkItem is the entity information provided by BPS6. Because BPS6 products are more widely used, the BPS6 API is the main one. Due to the big difference between TaskInfo and WFWorkItem, through the WFWorkItem Add a TaskInfo type attribute to include TaskInfo, so that the output parameters of the two methods are covered by the new WFWorkItem, therefore, WFWorkItem is used in the unified workflow interface.
[0050] In summary, the principle when unifying input and output parameters is: intersection or conversion of similar types and attributes (such as the relationship between long type and Stirng type in the previous example), and the larger differences are included in the form of attributes, namely Do a union (such as WFWorkItem and TaskInfo).

Example Embodiment

[0051] Example 2: The function of the unified workflow interface "find out the work items executable or pending by the current user"
[0052] The corresponding method in the workflow unified interface is:
[0053] public List queryPersonWorkItems(String personID, String permission, Stringscope, PageCond pagecond).
[0054] The corresponding methods in the two workflow product APIs are:
[0055] 1. The corresponding method in BPS6: public List queryUserWorkItems(String personID, String permission, String scope, PageCond pagecond);
[0056] 2. The method corresponding to WLI: public TaskInfo[] getTaskInfos(TaskSelectortaskSelector).
[0057] It can be seen that the BPS6 API can meet the above functions, while the WLI API cannot meet the above functions, but the WLI API can meet the requirements through the following methods:
[0058] public List findToDoList(BriefUserVO user)throws Exception{
[0059] ProfilingUtil.startProfiling(this.getClass()+".findToDo List");
[0060] WorklistManager worklistMgr=fetchWliContext().getWorklistManager();
[0061] TaskSelector filter=new TaskSelector();
[0062] StateType[]todoStateTypes=new StateType[]
[0063] {StateType.ASSIGNED, StateType.CLAIMED};
[0064] filter.setStateTypes(todoStateTypes);
[0065] Assignee assignee=new Assignee();
[0066] //modi by yuan 0112 assignee.setUsers(new String[]{user.getLoginAccount()});
[0067] assignee.setUsers(new String[]{user.getUserNum()});
[0068] filter.setAssignee(assignee);
[0069] filter.setSortByCreationDate((short)-1);
[0070] filter.setSortByParentProcessld((short)-2);
[0071] filter.setSortByTaskld((short)-3);
[0072] //filter.setMaxTasksReturned(MAX_TASK_NUM_PER_PAGE);
[0073] Tasklnfo[]todoTasks=null;
[0074] try{
[0075] todoTasks=worklistMgr.getTasklnfos(filter);
[0076] }catch(Exce ption exception){
[0077] StringBuffer logMsg=new StringBuffer(200);
[0078] logMsg.append("An exception occurred while searching for the operator's to-do task!");
[0079] logMsg.append("\n errorCode="workflowdelegate-e-0000011 userNum="+
[0080] user.getUserNum()+"userName="+user.getUserName());
[0081] logger.error(logMsg, exception);
[0082] throw new WLIException(new
[0083] SysMessage("workflowdelegate-e-0000011"), exception);
[0084] }
[0085] if(todoTasks==null){
[0086] retum Collections.EMPTY_L/ST;
[0087] }
[0088] lnteger taskState=null;
[0089] ArrayList clpmTasklnfoList=new ArrayList();
[0090] for(int i=0; i
[0091] // ClpmTasklnfo clpmTasklnfo=buildClpmTasklnfo(todoTasks[i]);
[0092] ClpmTasklnfo clpmTasklnfo=new ClpmTasklnfo();
[0093] clpmTasklnfo.setClaimant(todoTasks[i].getClaimant());
[0094] clpmTasklnfo.setStatus(todoTasks[i].getStateType().getValue());
[0095] clpmTasklnfo.setTaskld(todoTasks[i].getTaskld());
[0096] if(clpmTasklnfo!=null){
[0097] taskState=clpmTasklnfo.getStatus();
[0098] if(taskState.equals(StateType.ASSIGNED.getValue())||
[0099] (taskState.equals(StateType.CLAIMED.getValue()) & &
[0100] (clpmTasklnfo.getClaimant().equalslgnoreCase(user.getUserNum())))){
[0101] clpmTasklnfoList.add(clpmTasklnfo);
[0102] }
[0103] }
[0104] }
[0105] ProfilingUtil.stopProfiling(this.getClass()+".findToDoList");
[0106] return clpmTasklnfoList;
[0107] }
[0108] Because the input parameter of this method is only of type BriefUserVO, and only the UserNum attribute is used in the program implementation, and the attribute is of String type, the input of the two methods is easily unified, that is, the String of the method in the workflow unified interface The personID parameter replaces the UserNum attribute in BriefUserVO, and in the implementation of the WLI workflow interface, the BriefUserVO is created based on the UserNum attribute, and BriefUserVO is passed to the findToDoList method. For the input parameters, the array of TaskInfo is converted into a List in the findToDoList method, unified Input parameters.
[0109] In summary, when the number of input parameters provided by different workflow product APIs is different, try not to increase the number of parameters. If the parameter type cannot be converted in the programming language, use the method of adding input parameters to solve the problem. For the extra parameters It may not be used in program implementation.

Example Embodiment

[0110] Example 3: For the function of the unified workflow interface "suspend workflow instance"
[0111] The corresponding method in the workflow unified interface is:
[0112] public void suspendProcessInstance(long processInstID).
[0113] The corresponding methods in the two workflow product APIs are:
[0114] 1. The corresponding method in BPS6: public void suspendProcessInstance(long
[0115] processInstID);
[0116] 2. There is no corresponding method in WLI, because for WLI, the suspendTask (suspend a task) method for daily development can meet the needs. Since this method is unique to BPS6, and there is no corresponding method in WLI products, WLI products do not have this function, let alone provide APIs. Taking into account the wide range of application of BPS products, it is adopted to directly integrate this method to solve this problem. For WLI workflow products, when using this method, WLI workflow has no effect.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Intelligent water dispenser

Owner:URBAN SPRING CO LTD

Device for achieving water shortage detection function in steam equipment

PendingCN107967002AEasy to installEasy to maintain and replaceLevel controlWater pipeCapacitance
Owner:NINGBO HAOJIA ELECTRICAL APPLIANCES CO LTD

Classification and recommendation of technical efficacy words

  • Easy to maintain and replace
  • Save manpower and time cost

Scraper conveyer

Owner:重庆渝水环保科技有限公司

Atmospheric pollution gas detector

InactiveCN110596325AEasy loading and unloadingEasy to maintain and replaceGas analyser construction detailsFresh airGas detector
Owner:XUZHOU NORMAL UNIVERSITY

Steam generator of pulsating vacuum sterilization cabinet

InactiveCN111870711AEasy to cleanEasy to maintain and replaceLavatory sanitoryHeatPhysicsEngineering
Owner:武汉新华中欣生物工程设备有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products