Service logical processing method and apparatus in workflow

A technology of business logic and workflow, applied in the field of data processing, can solve problems such as inconvenient and timely debugging of SQL script statements, inability to realize reuse of SQL script statements, and delay of development progress, so as to reduce workload, improve flexibility, and improve development progress fast effect

Inactive Publication Date: 2009-03-18
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF9 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] During the research and practice of the prior art, the inventors of the present invention found that the written SQL script statement usually cannot be reused in different business environments, so when the business environment changes, it usually needs to be rewritten by professionals. Very inconvenient; and the SQL script statement is inconvenient to debug in time during the writing process, which relatively delays the development progress

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service logical processing method and apparatus in workflow
  • Service logical processing method and apparatus in workflow
  • Service logical processing method and apparatus in workflow

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] see figure 1 , is a flow chart of a method for processing business logic in a workflow provided by Embodiment 1 of the present invention, and may specifically include:

[0026] Step 110, encapsulating business logic into components;

[0027] A development tool (eg, vs.net2005) can be used to encapsulate the business logic of the user's personalized service processing into a component, and release it in the form of a DDL (Dynamic Link Library, dynamic link library).

[0028] Step 120, assemble the components into the workflow system through the configuration operation;

[0029] Specifically, the related information of the components may be described in the database, so that the workflow system can identify and call the components.

[0030] Step 130 , during the running process of the workflow, reflectively call the component to realize the corresponding business logic.

[0031] Specifically, the components can be selected and configured in the workflow definition proc...

Embodiment 2

[0035] see figure 2 , is a flowchart of a method for processing business logic in a workflow provided by Embodiment 2 of the present invention, and may specifically include:

[0036] Step 201, encapsulating business logic components;

[0037] In order to realize the user's personalized business processing, the business logic of the user's personalized business processing can be packaged into components by using a development tool (for example, vs.net2005), and the user's personalized business processing can be realized by calling the packaged business logic components.

[0038] Multiple methods can be encapsulated in a component, and multiple related business logics can be implemented. The component provides the interface of each method, and different methods of the component can be called through different method interfaces to realize related business logic.

[0039] Business logic components can be published in the form of DDL, and then can be easily applied in other appl...

Embodiment 3

[0054] see image 3 , is a schematic diagram of an apparatus for workflow processing provided by Embodiment 3 of the present invention, and the apparatus may specifically include: a component encapsulation unit 310 , a component assembly unit 320 , and a call implementation unit 330 .

[0055] The component encapsulation unit 310 is configured to encapsulate the business logic into components.

[0056] The component encapsulation unit 310 can be specifically configured to use development tools to encapsulate business logic into components and publish them in the form of a dynamic link library.

[0057] The component assembling unit 320 is configured to assemble the components into the workflow system through a configuration operation.

[0058] The component assembling unit 320 can be specifically configured to describe the relevant information of the component in the database, for example, the interface name, namespace, method name, and input and output parameters of the meth...

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 Login to view more

Abstract

An embodiment of the invention discloses a business logic processing method and a device thereof in a workflow. The steps of the method comprise packaging business logic into components, assembling the components in a workflow system through the operation of configuration, and reflexly invoking the components during the workflow operation process to realize relative business logic. In the technical scheme of the invention, because the business logic is packaged into the components, and during the workflow operation process, the components are reflexly invoked to realize the relative business logic, the packaged business logic components can be reused under different business environments, which is extremely convenient for use, besides, the components can be timely debugged during the development process, and thereby the development progress is relatively fast.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for business logic processing in workflow. Background technique [0002] In the data processing process of computers, in most cases, data processing is carried out in the form of workflow. Workflow is usually defined as: the full or semi-automatic operation of the whole or part of the business process with the support of computers. An activity in a workflow is usually defined as an indivisible logical unit of work in the workflow. [0003] When applying workflows for business data processing, various personalized business processing needs are often encountered. For example, in the leave approval workflow of an enterprise, whether there are other personnel on duty during this leave time period is the leave approval and approval process. Therefore, it is a very common and reasonable requirement of the enterprise to obtain information about whether some...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q10/00G06Q10/06
Inventor 冯奕龙
Owner KINGDEE SOFTWARE(CHINA) CO LTD
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