CN113918138A - Flow processing method and device and computer system - Google Patents

Flow processing method and device and computer system Download PDF

Info

Publication number
CN113918138A
CN113918138A CN202010658408.3A CN202010658408A CN113918138A CN 113918138 A CN113918138 A CN 113918138A CN 202010658408 A CN202010658408 A CN 202010658408A CN 113918138 A CN113918138 A CN 113918138A
Authority
CN
China
Prior art keywords
flow
information
code
elements
determining
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.)
Pending
Application number
CN202010658408.3A
Other languages
Chinese (zh)
Inventor
张柳军
梁治祥
娄修俊
于海鹏
蔡志杰
蒲轶梅
王辉
秦龙
蔡进坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010658408.3A priority Critical patent/CN113918138A/en
Priority to PCT/CN2021/105379 priority patent/WO2022007919A1/en
Publication of CN113918138A publication Critical patent/CN113918138A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a flow processing method, a flow processing device and a computer system, wherein the method comprises the following steps: acquiring image data containing a flow chart, and identifying component elements contained in the flow chart and layout relationship information among the component elements according to the image data; mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects; and generating a flow processing code according to the attribute information of the flow element object and the layout relation information. Through the embodiment of the application, the implementation efficiency of the process design processing can be improved.

Description

Flow processing method and device and computer system
Technical Field
The present application relates to the field of visualized process design technologies, and in particular, to a process processing method, an apparatus, and a computer system.
Background
The visual application program design is a quick and efficient program design method, and a specific application page can be designed through the dragging selection of pre-designed page elements (an input box, a pull-down selection box, a search box and the like) and the configuration of information such as related documentations, data and the like. The method has the advantages that the application designer can complete the design of the application page without writing or only writing few program codes, so that the working efficiency and the technical threshold of the application designer are greatly improved, and even non-professional personnel and the like can design the application program meeting the requirements. The value of the method is particularly obvious in the design aspect of enterprise management application programs, for example, financial staff in an enterprise can design an application in the aspect of financial reimbursement, customer managers can design a customer relationship management application, and the like, so that systematization and online management of various services of enterprise management are realized.
In a visual application designer of an enterprise management application, a page to be designed can be generally divided into several aspects such as basic information, work cooperation, data display and the like. Where the work collaboration section may involve many parts of the process design. For example, in a financial reimbursement application, the required basic information includes reimbursement type, expense occurrence date, amount, description, accessories and the like, and a form for inputting the information can be designed in a basic information page; in the process design part, a specific approval process is designed, for example, the approval process is firstly approved by a primary supervisor, and then whether the approval process is submitted to a financial approval corresponding to a department is determined according to a specific amount, and the like. After basic information pages and process design are completed, specific applications can be published on line, and when financial reimbursement is needed by specific enterprise employees, specific data needing reimbursement can be filled in through the basic information pages, and then the data can be transferred to positions of examination and approval personnel at all levels according to a set process to be examined and approved, states of examination and approval nodes at all levels can be inquired through the pages, and the like.
In the process designer, one mode is to provide operation options of adding elements such as an approver and an approve condition, and a designer selects to add different levels of approvers to the process according to specific requirements, sets circulation conditions and the like. Alternatively, for some more complex flows, which may include multiple branch decisions, a relatively advanced flow design may be used. Specifically, elements such as nodes and lines required in the flow chart can be provided, so that a designer can draw the flow chart structure of the electronic edition by dragging the nodes and lines in comparison with the existing or hand-drawn flow chart, and then configure data on specific nodes and lines, including specific approvers, circulation conditions, related data and the like, so as to complete the flow design.
However, in configuring the data in the flow diagram, some concepts defined in the designer, such as events, activities, gateways, flow directions, etc., need to be user-aware. The user needs to apply the above concept continuously in the process of configuring a complete flow to convert the offline flow into the online flow. For non-professionals, the method has high field barrier and low process conversion efficiency, and is not beneficial to common personnel to realize the process quickly and accurately.
Therefore, how to design a visualization flow more conveniently and quickly becomes a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a flow processing method, a flow processing device and a computer system, which can improve the flow design efficiency.
The application provides the following scheme:
a flow processing method comprises the following steps:
acquiring image data containing a flow chart, and identifying component elements contained in the flow chart and layout relationship information among the component elements according to the image data;
mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
and generating a flow processing code according to the attribute information of the flow element object and the layout relation information.
A flow processing method, comprising:
acquiring a scanning image of a paper flow chart;
identifying the composition elements contained in the flow chart and layout relationship information among the composition elements according to the scanned image;
mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
generating a flow processing code according to the attribute information of the flow element object and the layout relation information;
integrating the flow processing code into the code of the associated application program, so that in the running process of the application program, a task to be executed of a next flow node is generated, and the task to be executed is circulated to the next flow node.
A method of generating an application, comprising:
providing an operation interface for visually designing basic form data, wherein the operation interface comprises a candidate form element list, an editing area and operation options for configuring the content and/or the attribute of the form element;
generating a basic form code according to the form elements selected to the editing area, the layout information among the form elements, and the configured content and/or attribute information;
acquiring image data containing a flow chart, and identifying component elements contained in the flow chart and layout relationship information among the component elements according to the image data;
mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
generating a flow processing code according to the attribute information and the layout relation information of the flow element object;
combining the basic form code and the flow processing code to generate a code of a target application program;
and providing a link of the target application program so as to access a page of the target application program according to the link, generating a task to be executed of a next process node according to the process processing code after receiving basic data through the page, and transferring the task flow to the next process node.
A form processing method, comprising:
acquiring image data containing a form diagram, and identifying component elements contained in the form diagram and layout relation information among the component elements according to the image data;
mapping the composition elements into table element objects defined by a programming language, and determining data content and/or attribute information associated with the table element objects;
and generating a form code according to the data content and/or attribute information of the form element object and the layout relation information.
A flow processing apparatus comprising:
the image identification unit is used for acquiring image data containing a flow chart and identifying the composition elements contained in the flow chart and the layout relationship information among the composition elements according to the image data;
a mapping unit, configured to map the composition elements into a flow element object defined by a programming language, and determine attribute information of the flow element object;
and the code generating unit is used for generating a flow processing code according to the attribute information of the flow element object and the layout relation information.
A flow processing apparatus comprising:
the image scanning unit is used for acquiring a scanned image of the paper flow chart;
the relation identification unit is used for identifying the composition elements contained in the flow chart and the layout relation information among the composition elements according to the scanned image;
the element mapping unit is used for mapping the composition elements into flow element objects defined by a programming language and determining attribute information of the flow element objects;
a code determining unit, configured to generate a flow processing code according to the attribute information of the flow element object and the layout relationship information;
and the code processing unit is used for integrating the flow processing code into the code of the associated application program so as to generate a task to be executed of a next flow node in the running process of the application program and transfer the task to be executed to the next flow node.
An apparatus for generating an application, comprising:
the system comprises an interface providing unit, a display unit and a display unit, wherein the interface providing unit is used for providing an operation interface for visually designing basic form data, and the operation interface comprises a candidate form element list, an editing area and operation options for configuring the content and/or the attribute of the form element;
a basic code generation unit for generating a basic form code based on the form elements selected to the editing area, layout information between the form elements, and configured content and/or attribute information;
the layout information identification unit is used for acquiring image data containing a flow chart and identifying the composition elements contained in the flow chart and layout relation information among the composition elements according to the image data;
an object mapping unit, configured to map the component elements into flow element objects defined by a programming language, and determine attribute information of the flow element objects;
a flow code generating unit, configured to generate a flow processing code according to the attribute information and the layout relationship information of the flow element object;
the target code generating unit is used for combining the basic form code and the flow processing code to generate a code of a target application program;
and the target link providing unit is used for providing a link of the target application program so as to access a page of the target application program according to the link, generating a task to be executed of a next process node according to the process processing code after receiving basic data through the page, and transferring the task flow to the next process node.
A form processing apparatus comprising:
the layout information determining unit is used for acquiring image data containing a form diagram and identifying the component elements contained in the form diagram and layout relation information among the component elements according to the image data;
the element object processing unit is used for mapping the composition elements into table element objects defined by a programming language and determining data content and/or attribute information associated with the table element objects;
and the form code generating unit is used for generating a form code according to the data content and/or the attribute information of the form element object and the layout relation information.
According to the specific embodiments provided herein, the present application discloses the following technical effects:
through the technical scheme provided by the embodiment of the application, the component elements contained in the image containing the flow chart and the layout relation information among the component elements can be identified in a mode of identifying the image containing the flow chart, the component elements can be mapped into the flow element objects defined through the programming language, and the attribute information of the flow element objects is determined. Further, a flow processing code may be generated based on the attribute information of the flow element object and the layout relationship information. According to the scheme, when the visual process design is carried out, a user does not need to drag specific primitives one by one or manually configure the attributes of the primitives (even if partial fine adjustment processing is required to be executed), and the primitives can be directly and automatically identified and obtained, so that the visual process design efficiency can be improved, and compared with the scheme in the prior art, the field barrier can be further reduced, so that personnel in the field of non-program development can conveniently and efficiently carry out application program design.
Of course, it is not necessary for any product to achieve all of the above-described advantages at the same time for the practice of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIGS. 1-1 to 1-9 are schematic diagrams of applications provided in embodiments of the present application;
FIG. 2 is a schematic diagram of an application architecture provided by an embodiment of the present application;
FIG. 3 is a flow chart of a first method provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of flow elements provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of an organizational structure simulation provided by an embodiment of the present application;
FIG. 6 is a flow chart of a second method provided by embodiments of the present application;
FIG. 7 is a flow chart of a third method provided by embodiments of the present application;
FIG. 8 is a flow chart of a fourth method provided by embodiments of the present application;
FIG. 9 is a schematic diagram of a first apparatus provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a second apparatus provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of a third apparatus provided by an embodiment of the present application;
FIG. 12 is a schematic diagram of a fourth apparatus provided by an embodiment of the present application;
FIG. 13 is a schematic diagram of a computer system provided by an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
To facilitate comparing the technical solution provided in the embodiments of the present application with the solution in the prior art, first, a relatively efficient visualization process scheme mentioned in the background section is introduced below.
Assuming that a financial reimbursement approval process of an enterprise is shown in fig. 1-1, when an application design is performed by using a visual application designer, basic data can be configured first, specifically, as shown in fig. 1-2, the designer can provide a plurality of selectable form elements, including a single-line input box, a multi-line input box, a pull-down selection and the like, and the form elements can be selected according to the type and the like of specific basic data to construct a basic data page. After a particular form element is selected, the particular form element may also be configured, including title, description information, hint text, width, and so forth. The final configuration completed base data page may be as shown in fig. 1-3. The information can include fields such as reimbursement type, expense occurrence date, amount, description, accessories and the like, and after the follow-up application is online, when a user such as a specific enterprise employee needs to reimburse, the information can be filled in a corresponding page and an reimbursement request can be initiated.
After the configuration of the basic data is completed, the specific examination and approval process configuration can be entered. For flow configuration, as shown in fig. 1-4, alternative flow elements may be provided in the designer page, and these flow elements are generally defined in the system after abstraction according to the type, function, and the like of the flow element, and may include, for example, a manual node, an automatic node, a branch node, an aggregation node, a carbon copy node, and the like. In the process of flow design, a user can select a corresponding node from the nodes and drag the node to a central editing area according to requirements. For example, corresponding to the flow diagram of fig. 1-1, a manual node may first be selected to drag to the edit area. After the edit section selects a specific node, an option for configuring the node may be provided in the interface, as shown in fig. 1 to 5, the rule of the approver required by the node may be configured, including selecting a specific approver, and the like. And then, more other nodes can be dragged to the editing area, connecting lines among the nodes can be drawn in the editing area, and line execution rules are set, as shown in fig. 1-6. Finally, after multiple node dragging, connection line drawing, and setting of corresponding approver rules and line execution rules, the electronic flow charts shown in fig. 1-7 can be generated. The electronic flow chart corresponds to a piece of page data in a Json and other formats in the background, and can be released through a designer page after the electronic flow chart is designed and stored. And then, generating a corresponding access link for a specific application page, wherein a user such as an employee in the enterprise can access the page designed by the designer through the link. For example, as shown in fig. 1-8, a form for filling out basic data may be displayed in the page accessed by the user, and after the user completes the filling out and submits, the circulation may be performed between the levels of approvers according to the flow set forth above. The reimbursement initiator can also check the application content and the corresponding flow state in the page of the reimbursement initiator, and the like.
Therefore, in the process of performing the visual flow design, the user needs to understand what is a manual node, what is an automatic node, a branch node, a cluster node, and the like, and in addition, manual configuration needs to be performed according to an approver rule on a specific node, a line execution rule between nodes, and the like, so that the field barrier is high, and the process is time-consuming.
In view of the above situation, in the embodiment of the present application, a new solution is provided, in which a flowchart (for example, a flowchart in existing literature or a manually drawn flowchart) on a carrier such as paper may be identified (for example, OCR identification and the like), and component elements included in the flowchart may be identified, and specifically, may include graphics, symbols, characters and the like. Then, according to a pre-established rule base, the specific constituent elements can be mapped to the mark symbols in the process modeling so as to determine the corresponding process modeling meaning. For example, it is recognized that a rectangular box is included in the flowchart, and the rectangular box can be mapped to be a "manual node", meaning an activity requiring manual approval; the rounded rectangles are mapped to "automatic nodes," meaning done automatically, without manual approval activities, and so on. After the mapping is completed, the flow element objects can be mapped according to specific flow modeling meanings, and corresponding attribute information (names, description information and the like) is determined. The flow element object may specifically refer to an object defined by an object-oriented programming language, and when the flow element object is specifically implemented, a batch of flow element objects may be predefined, respectively correspond to a plurality of markup symbols in the flow modeling, and establish a second rule base. Thus, after identifying the process modeling meaning corresponding to a certain constituent element, the flow modeling meaning can be mapped to a corresponding process element object according to the second rule base. And then, determining the attribute information of the flow element object by automatic identification and/or manual configuration and the like. Finally, a flow processing code, such as a Json code, is generated according to the attribute information of the flow element object and the layout relationship information. The process processing code can be used for submitting the basic data after being stored and issued online with the basic data, and performing subsequent circulation processing on the submitted application based on the process processing code, wherein the subsequent circulation processing comprises judging circulation conditions, and performing treatment when the flow is transferred to different levels of approvers, and the like.
That is to say, in the embodiment of the present application, a user only needs to prepare an existing paper flowchart, or a flowchart drawn by a drawing tool, or even a flowchart drawn by hand, that is, the user can recognize the existing paper flowchart by means of OCR recognition or the like (if the paper flowchart is a paper diagram, the paper diagram can be scanned as an electronic version image first), automatically convert the component elements included in the flowchart into the flow element objects defined by a programming language, determine the attribute information of the flow element objects, and then assemble a flow processing code according to the layout relationship in the flowchart, so that the flow processing code becomes a part of the associated application program code. In addition, a manual configuration interface can be provided in the designer, and on the basis of automatic identification, a user can perform some fine adjustment, including modification, addition, deletion of some configurations and the like. Therefore, a user does not need to drag the flow elements one by one, the meaning of the flow element object abstracted by the system does not need to be understood any more, and in addition, the attribute information of the specific flow element object can be automatically determined, so that the user does not need to manually configure the specific node or connecting line, or only needs to finely adjust the specific node or connecting line on the basis of an automatic identification result. Therefore, the process design efficiency can be improved, and the field barrier can be further reduced.
From the perspective of system architecture of a product, the embodiment of the application can provide an application visualization designer for a user with application visualization design requirements, where the designer may be an independent application or may also exist in the form of a page such as Web. For example, as shown in fig. 2, the user may log in to the design page, and complete the visual design of the application program through the editing interface provided in the page, which may include the design of the process, and then save and publish the process. After the release, the designer system may generate a corresponding link, and the user may access the corresponding page by the user of the application program in a manner of sharing the link.
The following describes in detail a specific technical solution provided in an embodiment of the present application.
Example one
First, an embodiment of the present application provides a flow processing method, and referring to fig. 3, the method may specifically include:
s310: acquiring image data containing a flow chart, and identifying component elements contained in the flow chart and layout relationship information among the component elements according to the image data;
the image data of the flowchart may be obtained by scanning a paper flowchart, or may be an electronic version flowchart drawn by a drawing tool. In the embodiment of the present application, the main flowchart may include a flow involved in an application that needs to be visually designed, for example, in different organizations such as enterprises, the flow of each transaction may be different due to differences in employee organizational structures, regulations, and the like, and therefore, the design of the enterprise management application that needs to be personalized for a specific organization is performed. By visualizing the application designer, professionals in non-program development areas, such as manpower in organizations, can design applications. In the application process of such enterprise management, the design of the process is usually involved, for example, the process includes a reimbursement approval process, a leave approval process, a recruitment follow-up process, and the like. Where regulatory regulations may exist for some organizations, existing flow charts (paper or electronic) may exist for various processes, and where identification may be made directly on the basis of such flow charts in embodiments of the present application. Or, if the existing flow chart does not exist, the user can also draw the flow chart by using a drawing tool, and even can draw the flow chart by hand. The process of drawing the flow chart only needs to be drawn according to languages which can be understood by human beings, including drawing specific nodes, expressing specific approver roles, circulation conditions and the like by using characters, so that the process does not have technical difficulty for users.
The elements in the flowchart may include graphics, symbols, characters, and the like, and the specific graphics may include node graphics such as a rectangular frame, and may also include connection graphics. The characters can include characters marked in specific nodes for describing information such as specific approvers, for example, "first-level supervisor approval", "financial interface person approval", and the like; or, a character for describing the circulation condition, for example, "amount is 10000 or more", or the like, is marked on the connection line. The above-mentioned constituent elements may be recognized by OCR or the like, and in addition, layout information between specific constituent elements, including upper and lower nodes to which a wire is connected, and the like, may be recognized.
S320: and mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects.
Since the flow element object is usually defined in the designer through a programming language, the specific code is expressed based on the flow element object. Therefore, after identifying the component elements in the flowchart, it can be mapped to such a flow element object defined by the programming language, and the attribute information of the flow element object is determined.
The specific mapping manner may be various, for example, in one of the manners, two rule bases may be established in advance. One of the rule bases can store the corresponding relationship between the composition elements in the flow chart and the flow element types, and the other rule base stores the corresponding relationship between the flow element types and the flow element objects. The flow element type may be type information that classifies and defines a specific flow element in a standard such as BPMN (business process modeling and labeling), and may specifically include a manual node, an automatic node, a connection line, and the like; the flow element objects may be objects defined by an object-oriented programming language (here, "objects" are concepts in the field of object-oriented programming), where each flow element object may correspond to respective ID, name, description, and other attribute information, and by determining the attribute information of the flow element object, a computer may be enabled to identify specific constituent elements in the flow chart, and then may express a specific flow in a specific executable code form.
For example, in a specific implementation, the definition of the flow element object of the manual approval node class in the system can be expressed as follows:
{
"id":"xxxxx",
"name": manual approval ",
"type":"User",
description, manual examination and approval,
"props":{
"position":{},
"userRule":{},
"finishRule":true,
"actions":[{
"name": agree "
}]
}
}
That is, a flow element object, which is a manual approval class node, may have the following attribute fields: ID. Name (name), type (type), description (description), pass values (tips), location (position), user rules (userRule), end rules (finshrule), actions (actions), and the like. After a manual approval node is identified from the flow chart, the attribute information on a plurality of attribute fields such as the ID, name and type of the corresponding flow element object can be determined, so that a complete flow element object example is generated.
In order to map elements, a specific flowchart may be drawn using a standardized flow modeling notation. For example, in practical applications, the mapping can be performed by using the BPMN (Business Process Model and Notification) standard. The BPMN is a modeling language standard for constructing a service flowchart, and defines how a specific primitive constitutes a flowchart, including types and meanings of flow elements corresponding to the specific primitive, and the like. For example, the specific definition may be as shown in fig. 4. Or, in another mode, the user may also customize or specify the flow element type and meaning corresponding to the primitive, for example, in the BPMN standard, a rectangle corresponds to an artificial node, and a rounded rectangle corresponds to an automatic node, and in the customized mode, a rectangle may also correspond to an automatic node, a rounded rectangle may also correspond to an artificial node, and so on. After the user can complete self-defining or specifying, drawing the flow chart, then identifying the constituent elements contained in the flow chart in an OCR (optical character recognition) mode, and mapping the constituent elements to the types and meanings of the flow chart elements.
In addition, after the specific constituent elements are mapped to the flow element objects, the attribute information of the flow element objects can be determined. The specific method for determining the attribute information may be various, for example, in one mode, a manual configuration entry may be directly provided in the recognition result page, and the user may manually configure the attribute information of the specific flow element object. Or, in another mode, since the flowchart may further include some text information in general, which can express the attribute of the specific component element, the automatic identification of the configuration information may also be implemented.
The attribute information about the flow element object may specifically include a name, type information, description information, and the like. In a specific implementation, the first mapping rule base may further store a process modeling meaning corresponding to the process element type, and at this time, after the process element type corresponding to the component element is determined according to the first mapping rule base, the name and/or the category attribute of the process element object may also be determined according to the process modeling meaning.
The description information about the flow element object can be determined according to the specific text content in the flow chart. For example, in one case, if the type of the flow element object is a node that needs to be manually processed, the role information of the corresponding flow processing person on the node may be determined according to the text element associated with the corresponding component element in the flow chart; and then, determining a target role identifier corresponding to the role information from the pre-established organization structure information of the organization members, and determining the description information of the flow element object of the node type according to the target role identifier. For example, if the associated text on a certain node shown in fig. 1-1 is "primary supervisor approval," information such as a role ID belonging to a primary supervisor can be searched out from the associated organization structure information, and configured on the associated process node, and so on. The organizational structure information may be created by means of associated tools such as instant messaging before a user creates a specific application through a current designer. For example, it is assumed that a part of an organization structure of a certain company may be as shown in fig. 5, and each department where a specific employee is located, the relationship between each department and each other, and the like may be embodied by organization structure information. After the creation of the organization architecture information is completed in advance, the system can assign corresponding IDs to specific personnel and the like and associate attributes such as departments, roles and the like where the personnel and the like are located, and then can automatically recognize information such as an approver and the like contained in the flow chart and automatically complete generation of related processing codes.
In addition, if the type of the flow element object is a node of automatic processing, the automatically executed action information, for example, an ending action, etc., may be determined according to the text element associated with the corresponding component element in the flow chart. Such automatically executed operation information may be defined in the system in advance, and after recognizing that an operation needs to be automatically executed, information such as an ID corresponding to the operation may be identified, and a corresponding operation execution code may be generated.
Furthermore, if the type of the flow element object is a connection line, the execution rule information of the connection line may be determined according to the text element associated with the corresponding component element in the flow chart and the context information of the location of the connection line. And if the execution rule comprises judgment on related data, determining a related target data object in the pre-configured basic data according to the character element so as to determine the execution rule information of the connecting line according to the identification information of the target data object. For example, as shown in the flow chart of fig. 1-1, if a certain line is executed according to the rule that the sum is greater than or equal to 10000, the related data object is "sum", and as mentioned above, the basic data is usually configured first before the flow design is performed. In the related application of financial reimbursement, the amount of money is configured in advance as basic data, and correspondingly, the system can generate information such as an ID (identity) corresponding to the data object. Therefore, in the process of flow design, when it is recognized that the specific line execution rule relates to a determination of a value of some data therein, the specific data may be directly mapped to the previously arranged basic data object, and then, the specific line execution rule code may be generated using information such as the ID of the basic data object.
In specific implementation, the meaning of the character elements in the flow chart can be determined by identifying the character elements and understanding natural language; and then determining the attribute information of the flow element object according to the meaning of the character element.
It should be noted that after the identification of the flow element object, the attribute information thereof, and the layout relationship information is completed, an operation option for manual adjustment may also be provided, so that the user may perform fine adjustment on the basis of the automatic identification result, including modifying an attribute value of a certain flow element, or adding a certain flow node, deleting a certain flow node, and the like.
S330: and generating a flow processing code according to the attribute information of the flow element object and the layout relation information.
After determining the plurality of flow element objects and the corresponding attribute information and layout relationship information thereof, a flow processing code may be generated. During specific implementation, specific process node objects can correspond to respective process engines, and the process engines can be responsible for scheduling from a certain node to a certain node, identifying event attributes and the relation of connecting lines, finding a next approved node and the like. The finally generated flow processing code becomes a part of the associated application program code, and after the application program is online and the flow processing part is involved, specific flow circulation can be performed according to the flow processing code.
It should be noted that, since the flow codes corresponding to the flow charts in the same category generally have high similarity, especially the type, position, layout relationship, etc. of specific flow elements, the difference may only be a specific value (e.g., a specific executor, etc.). Therefore, in a specific implementation, in order to further improve efficiency, a flow code template may be provided in advance, and a correspondence between the flow code template and the flow chart category identifier may be established. In this way, when a flow code needs to be generated for a certain flow chart, the target category identification information to which the flow chart included in the image data belongs may also be acquired, and then, the attribute information and the layout relationship information of the flow element object may be written into a flow code template corresponding to the target category identification information to generate the flow processing code. The target category identification information may be directly included in the image data, for example, the image data may include information such as a two-dimensional code or a category code, which is used to represent a category identification of the flowchart. At this time, the object category identification information may be recognized from the image data.
Or, in another mode, a flow code template can be provided in advance, and a corresponding relation between the flow code template and the keyword is established; at this time, after the image data is recognized, whether the recognized character elements contain the target keywords or not can be judged; if the flow element object contains the target keyword, the attribute information and the layout relation information of the flow element object can be written into a flow code template corresponding to the target keyword so as to generate the flow processing code. For example, if a flow chart includes a keyword of "reimbursement", a template of the reimbursement class may be used to generate a specific flow code, and so on.
In addition, operation options for step confirmation/adjustment of the generated flow processing code can be provided; and then, optimizing and adjusting the flow code template according to the operation result of the user.
In summary, according to the technical solution provided by the embodiment of the present application, the component elements and the layout relationship information between the component elements can be identified by identifying the image containing the flow chart, and the component elements can be mapped to the flow element objects defined by the programming language, and the attribute information of the flow element objects can be determined. Further, a flow processing code may be generated based on the attribute information of the flow element object and the layout relationship information. According to the scheme, when the visual process design is carried out, a user does not need to drag specific primitives one by one or manually configure the attributes of the primitives (even if partial fine adjustment processing is required to be executed), and the primitives can be directly and automatically identified and obtained, so that the visual process design efficiency can be improved, and compared with the scheme in the prior art, the field barrier can be further reduced, so that personnel in the field of non-program development can conveniently carry out application program design.
Example two
The second embodiment provides another flow processing method for a specific implementation scheme of the first embodiment in practical application, and referring to fig. 6, the method may specifically include:
s610: acquiring a scanning image of a paper flow chart;
s620: identifying the composition elements contained in the flow chart and layout relationship information among the composition elements according to the scanned image;
s630: mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
s640: generating a flow processing code according to the attribute information of the flow element object and the layout relation information;
s650: integrating the flow processing code into the code of the associated application program, so that in the running process of the application program, a task to be executed of a next flow node is generated, and the task to be executed is circulated to the next flow node.
EXAMPLE III
The third embodiment provides a method for generating an application program for a specific application scenario, and referring to fig. 7, the method may specifically include:
s710: providing an operation interface for visually designing basic form data, wherein the operation interface comprises a candidate form element list, an editing area and operation options for configuring the content and/or the attribute of the form element;
s720: generating a basic form code according to the form elements selected to the editing area, the layout information among the form elements, and the configured content and/or attribute information;
s730: acquiring image data containing a flow chart, and identifying component elements contained in the flow chart and layout relationship information among the component elements according to the image data;
s740: mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
s750: generating a flow processing code according to the attribute information and the layout relation information of the flow element object;
s760: combining the basic form code and the flow processing code to generate a code of a target application program;
s770: and providing a link of the target application program so as to access a page of the target application program according to the link, generating a task to be executed of a next process node according to the process processing code after receiving basic data through the page, and transferring the task flow to the next process node.
Wherein the application comprises an enterprise management class application.
In specific implementation, according to the flow processing code, flow processing state information may be provided in a page of the target application program.
Example four
The foregoing embodiments mainly provide corresponding solutions for flow processing methods, and similar solutions may also be applied to form processing in specific implementations. Therefore, the fourth embodiment further provides a form processing method, and referring to fig. 8, the method may specifically include:
s810: acquiring image data containing a form diagram, and identifying component elements contained in the form diagram and layout relation information among the component elements according to the image data;
s820: mapping the composition elements into table element objects defined by a programming language, and determining data content and/or attribute information associated with the table element objects;
s830: and generating a form code according to the data content and/or attribute information of the form element object and the layout relation information.
Corresponding to the first method embodiment, an embodiment of the present application further provides a flow processing apparatus, and referring to fig. 9, the apparatus may specifically include:
an image identification unit 910, configured to acquire image data including a flowchart, and identify, according to the image data, component elements included in the flowchart and layout relationship information between the component elements;
a mapping unit 920, configured to map the composition elements into flow element objects defined by a programming language, and determine attribute information of the flow element objects;
a code generating unit 930, configured to generate a flow processing code according to the attribute information of the flow element object and the layout relationship information.
The mapping unit may specifically include:
the first mapping subunit is used for mapping the composition elements to the process element types in the process modeling according to a first mapping rule base established in advance;
and the second mapping subunit is configured to map the component element into the flow element object according to a second mapping rule base established in advance and the flow element type corresponding to the component element.
Wherein, the first mapping rule base also stores the flow modeling meaning corresponding to the flow element type;
the mapping unit may be further configured to:
and determining the name and/or the category attribute of the flow element object according to the flow modeling meaning.
The constituent elements included in the flowchart include graphical elements;
the first mapping rule base may specifically store a correspondence between the graphic element and a flow element type in the flow modeling.
In addition, the constituent elements included in the flowchart include text elements;
the attribute information of the flow element object includes: description information of the flow element object;
the mapping unit may be further specifically configured to:
and determining the description information of the flow element object by identifying the character elements in the flow chart.
Specifically, the mapping unit may specifically be configured to:
if the type of the flow element object is a node needing manual processing, determining role information of corresponding flow processing personnel on the node according to the character elements related to the corresponding composition elements in the flow chart;
and determining a target role identifier corresponding to the role information from the pre-established organization structure information of the organization members, and determining the description information of the flow element object of the node type according to the target role identifier.
Alternatively, the mapping unit may specifically be configured to:
and if the type of the flow element object is the node of automatic processing, determining automatically executed action information according to the character elements associated with the corresponding component elements in the flow chart.
Alternatively, the mapping unit may specifically be configured to:
and if the type of the flow element object is a connecting line, determining execution rule information of the connecting line according to the text elements related to the corresponding component elements in the flow chart and the context information of the position of the connecting line.
In addition, the mapping unit may be further configured to:
and if the execution rule comprises judgment on related data, determining a related target data object in the pre-configured basic data according to the character element so as to determine the execution rule information of the connecting line according to the identification information of the target data object.
Corresponding to the second embodiment of the present application, an embodiment of the present application further provides a flow processing apparatus, and referring to fig. 10, the apparatus may specifically include:
an image scanning unit 1010, configured to obtain a scanned image of the paper flowchart;
a relationship identifying unit 1020 configured to identify the component elements included in the flowchart and layout relationship information between the component elements from the scanned image;
an element mapping unit 1030 configured to map the constituent elements into a flow element object defined by a programming language, and determine attribute information of the flow element object;
a code determining unit 1040, configured to generate a flow processing code according to the attribute information of the flow element object and the layout relationship information;
the code processing unit 1050 is configured to integrate the flow processing code into a code of an associated application program, so that in the running process of the application program, a to-be-executed task of a next flow node is generated, and the to-be-executed task is transferred to the next flow node.
Corresponding to the three phases of the embodiment of the present application, the embodiment of the present application further provides a device for generating an application program, referring to fig. 11, where the device may specifically include:
the interface providing unit 1110 is configured to provide an operation interface for performing visual design on basic form data, where the operation interface includes a candidate form element list, an editing area, and an operation option for configuring content and/or attributes of the form element;
a basic code generating unit 1120 for generating a basic form code according to the form elements selected to the editing region, the layout information between the form elements, and the configured content and/or attribute information;
a layout information identification unit 1130 configured to acquire image data including a flowchart, and identify component elements included in the flowchart and layout relationship information between the component elements according to the image data;
an object mapping unit 1140 for mapping the constituent elements into flow element objects defined by a programming language and determining attribute information of the flow element objects;
a flow code generating unit 1150 configured to generate a flow processing code according to the attribute information and the layout relationship information of the flow element object;
an object code generation unit 1160, configured to combine the basic form code and the flow processing code to generate a code of a target application program;
and the target link providing unit 1170 is configured to provide a link of the target application program, so that a page of the target application program is accessed according to the link, after the basic data is received through the page, a task to be executed of a next process node is generated according to the process processing code, and the task flow is transferred to the next process node.
Corresponding to the fourth embodiment of the present application, an embodiment of the present application further provides a form processing apparatus, and referring to fig. 12, the apparatus may specifically include:
a layout information determining unit 1210 configured to obtain image data including a form diagram, and identify, according to the image data, constituent elements included in the form diagram and layout relationship information between the constituent elements;
an element object processing unit 1220, configured to map the component elements into table element objects defined by a programming language, and determine data content and/or attribute information associated with the table element objects;
the form code generating unit 1230 is configured to generate a form code according to the data content and/or attribute information of the form element object and the layout relationship information.
In addition, the present application also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is characterized in that, when being executed by a processor, the computer program implements the steps of the method in any one of the foregoing method embodiments.
And a computer system comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of the preceding method embodiments.
FIG. 13 illustrates an architecture of a computer system that may include, in particular, a processor 1310, a video display adapter 1311, a disk drive 1312, an input/output interface 1313, a network interface 1314, and memory 1320. The processor 1310, video display adapter 1311, disk drive 1312, input/output interface 1313, network interface 1314, and memory 1320 may be communicatively coupled via a communication bus 1330.
The processor 1310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided by the present Application.
The Memory 1320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1320 may store an operating system 1321 for controlling the operation of the electronic device 1300, a Basic Input Output System (BIOS) for controlling low-level operations of the electronic device 1300. In addition, a web browser 1323, a data storage management system 1324, a flow design processing system 1325, and the like may also be stored. The process flow design processing system 1325 may be an application program that implements the operations of the foregoing steps in this embodiment of the present application. In summary, when the technical solution provided by the present application is implemented by software or firmware, the relevant program codes are stored in the memory 1320 and called for execution by the processor 1310.
The input/output interface 1313 is used to connect an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The network interface 1314 is used for connecting a communication module (not shown in the figure) to realize the communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1330 includes a path to transfer information between various components of the device, such as processor 1310, video display adapter 1311, disk drive 1312, input/output interface 1313, network interface 1314, and memory 1320.
It should be noted that although the above devices only show the processor 1310, the video display adapter 1311, the disk drive 1312, the input/output interface 1313, the network interface 1314, the memory 1320, the bus 1330 and the like, in a specific implementation, the device may also include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the apparatus described above may also include only the components necessary to implement the solution of the present application, and not necessarily all of the components shown in the figures.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above detailed description is provided for the flow processing method, apparatus and computer system provided in the present application, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the above description of the embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific embodiments and the application range may be changed. In view of the above, the description should not be taken as limiting the application.

Claims (24)

1. A process flow processing method, comprising:
acquiring image data containing a flow chart, and identifying component elements contained in the flow chart and layout relationship information among the component elements according to the image data;
mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
and generating a flow processing code according to the attribute information of the flow element object and the layout relation information.
2. The method of claim 1,
the mapping the composition elements into the flow element objects defined by the programming language comprises:
mapping the constituent elements to flow element types in flow modeling;
and mapping the composition elements into the flow element objects according to the flow element types corresponding to the composition elements.
3. The method of claim 2,
the determining the attribute information of the flow element object includes:
and determining the name and/or category attribute information of the flow element object according to the corresponding relation between the flow element type and the flow modeling meaning which are stored in advance.
4. The method of claim 1,
the constituent elements included in the flow chart include text elements;
the attribute information of the flow element object includes: description information of the flow element object;
the determining the attribute information of the flow element object includes:
and determining the description information of the flow element object by identifying the character elements in the flow chart.
5. The method of claim 4,
the determining the description information of the flow element object includes:
if the flow element object is a node needing manual processing, determining the role information of corresponding flow processing personnel on the node according to the character elements associated with the corresponding composition elements in the flow chart;
and determining a target member identifier corresponding to the role information from the pre-established organization structure information of the organization members, and determining the description information of the flow element object of the node type according to the target member identifier.
6. The method of claim 4,
the determining the description information of the flow element object includes:
and if the type of the flow element object is the automatically executed node, determining automatically executed action information according to the character elements associated with the corresponding component elements in the flow chart.
7. The method of claim 4,
the determining the description information of the flow element object includes:
and if the type of the flow element object is a connecting line, determining execution rule information of the connecting line according to the text elements related to the corresponding component elements in the flow chart and the context information of the position of the connecting line.
8. The method of claim 7, further comprising:
and if the execution rule information comprises judgment on related data, determining a target data object corresponding to the related data in the pre-configured basic data according to the character elements so as to determine the execution rule information of the connecting line according to the identification information of the target data object.
9. The method of claim 4,
the determining the description information of the flow element object by identifying the text element in the flow chart comprises:
determining the meaning of the character elements in the flow chart by recognizing the character elements and understanding natural language;
and determining the description information of the flow element object according to the meaning of the character element.
10. The method of claim 1,
the method further comprises the following steps:
providing a flow code template in advance, and establishing a corresponding relation between the flow code template and a flow chart category identification;
acquiring target category identification information to which a flow chart contained in the image data belongs;
the generating flow processing code comprises:
and writing the attribute information and the layout relation information of the flow element object into a flow code template corresponding to the target category identification information to generate the flow processing code.
11. The method of claim 10,
the image data comprises the target category identification information;
the acquiring target category identification information to which the flow chart included in the image data belongs includes:
identifying the target class identification information from the image data.
12. The method of claim 1, further comprising:
providing a flow code template in advance, and establishing a corresponding relation between the flow code template and a keyword;
after the image data is identified, judging whether the identified character elements contain target keywords or not;
if the target keyword is contained, generating a flow processing code, wherein the flow processing code comprises the following steps:
and writing the attribute information and the layout relation information of the flow element object into a flow code template corresponding to the target keyword so as to generate the flow processing code.
13. The method of claim 10 or 12, further comprising:
providing operation options for step-by-step confirmation/adjustment of the generated flow processing code;
and optimizing and adjusting the flow code template according to the operation result of the user.
14. A process flow processing method, comprising:
acquiring a scanning image of a paper flow chart;
identifying the composition elements contained in the flow chart and layout relationship information among the composition elements according to the scanned image;
mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
generating a flow processing code according to the attribute information of the flow element object and the layout relation information;
integrating the flow processing code into the code of the associated application program, so that in the running process of the application program, a task to be executed of a next flow node is generated, and the task to be executed is circulated to the next flow node.
15. A method of generating an application, comprising:
providing an operation interface for visually designing basic form data, wherein the operation interface comprises a candidate form element list, an editing area and operation options for configuring the content and/or the attribute of the form element;
generating a basic form code according to the form elements selected to the editing area, the layout information among the form elements, and the configured content and/or attribute information;
acquiring image data containing a flow chart, and identifying component elements contained in the flow chart and layout relationship information among the component elements according to the image data;
mapping the composition elements into flow element objects defined by a programming language, and determining attribute information of the flow element objects;
generating a flow processing code according to the attribute information and the layout relation information of the flow element object;
combining the basic form code and the flow processing code to generate a code of a target application program;
and providing a link of the target application program so as to access a page of the target application program according to the link, generating a task to be executed of a next process node according to the process processing code after receiving basic data through the page, and transferring the task flow to the next process node.
16. The method of claim 15,
the application includes an enterprise management class application.
17. The method of claim 15, further comprising:
and providing flow processing state information in the page of the target application program according to the flow processing code.
18. A form processing method, comprising:
acquiring image data containing a form diagram, and identifying component elements contained in the form diagram and layout relation information among the component elements according to the image data;
mapping the composition elements into table element objects defined by a programming language, and determining data content and/or attribute information associated with the table element objects;
and generating a form code according to the data content and/or attribute information of the form element object and the layout relation information.
19. A flow processing apparatus, comprising:
the image identification unit is used for acquiring image data containing a flow chart and identifying the composition elements contained in the flow chart and the layout relationship information among the composition elements according to the image data;
a mapping unit, configured to map the composition elements into a flow element object defined by a programming language, and determine attribute information of the flow element object;
and the code generating unit is used for generating a flow processing code according to the attribute information of the flow element object and the layout relation information.
20. A flow processing apparatus, comprising:
the image scanning unit is used for acquiring a scanned image of the paper flow chart;
the relation identification unit is used for identifying the composition elements contained in the flow chart and the layout relation information among the composition elements according to the scanned image;
the element mapping unit is used for mapping the composition elements into flow element objects defined by a programming language and determining attribute information of the flow element objects;
a code determining unit, configured to generate a flow processing code according to the attribute information of the flow element object and the layout relationship information;
and the code processing unit is used for integrating the flow processing code into the code of the associated application program so as to generate a task to be executed of a next flow node in the running process of the application program and transfer the task to be executed to the next flow node.
21. An apparatus for generating an application, comprising:
the system comprises an interface providing unit, a display unit and a display unit, wherein the interface providing unit is used for providing an operation interface for visually designing basic form data, and the operation interface comprises a candidate form element list, an editing area and operation options for configuring the content and/or the attribute of the form element;
a basic code generation unit for generating a basic form code based on the form elements selected to the editing area, layout information between the form elements, and configured content and/or attribute information;
the layout information identification unit is used for acquiring image data containing a flow chart and identifying the composition elements contained in the flow chart and layout relation information among the composition elements according to the image data;
an object mapping unit, configured to map the component elements into flow element objects defined by a programming language, and determine attribute information of the flow element objects;
a flow code generating unit, configured to generate a flow processing code according to the attribute information and the layout relationship information of the flow element object;
the target code generating unit is used for combining the basic form code and the flow processing code to generate a code of a target application program;
and the target link providing unit is used for providing a link of the target application program so as to access a page of the target application program according to the link, generating a task to be executed of a next process node according to the process processing code after receiving basic data through the page, and transferring the task flow to the next process node.
22. A form processing apparatus, comprising:
the layout information determining unit is used for acquiring image data containing a form diagram and identifying the component elements contained in the form diagram and layout relation information among the component elements according to the image data;
the element object processing unit is used for mapping the composition elements into table element objects defined by a programming language and determining data content and/or attribute information associated with the table element objects;
and the form code generating unit is used for generating a form code according to the data content and/or the attribute information of the form element object and the layout relation information.
23. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
24. A computer system, comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the steps of the method of any of claims 1 to 9.
CN202010658408.3A 2020-07-09 2020-07-09 Flow processing method and device and computer system Pending CN113918138A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010658408.3A CN113918138A (en) 2020-07-09 2020-07-09 Flow processing method and device and computer system
PCT/CN2021/105379 WO2022007919A1 (en) 2020-07-09 2021-07-09 Flow processing method and device, and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010658408.3A CN113918138A (en) 2020-07-09 2020-07-09 Flow processing method and device and computer system

Publications (1)

Publication Number Publication Date
CN113918138A true CN113918138A (en) 2022-01-11

Family

ID=79232069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010658408.3A Pending CN113918138A (en) 2020-07-09 2020-07-09 Flow processing method and device and computer system

Country Status (2)

Country Link
CN (1) CN113918138A (en)
WO (1) WO2022007919A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114819906A (en) * 2022-05-06 2022-07-29 广州有信科技有限公司 BPMN business process conversion method and device
CN114840291A (en) * 2022-04-14 2022-08-02 上海川源信息科技有限公司 System for distributed storage of business process and use method thereof
CN115147096A (en) * 2022-09-06 2022-10-04 京华信息科技股份有限公司 OCR-based flow rapid modeling method and system
CN116382672A (en) * 2023-06-06 2023-07-04 钱塘科技创新中心 System design method, intelligent terminal and storage medium for travel industry flow
CN117311675A (en) * 2023-11-29 2023-12-29 武汉海昌信息技术有限公司 Service configuration method and device related to distributed system and electronic equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426239A (en) * 2022-06-09 2022-12-02 北京邮电大学 Business support information processing mode and low code development system
CN116185425B (en) * 2023-03-23 2024-02-23 苏州峰之鼎信息科技有限公司 Event flow arrangement method, device, equipment and medium based on node combination
CN116933743A (en) * 2023-09-15 2023-10-24 中船黄埔文冲船舶有限公司 Ship service data processing method, device, equipment and storage medium
CN117252180B (en) * 2023-11-16 2024-02-23 太平金融科技服务(上海)有限公司 Report generation method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060087995A (en) * 2004-10-01 2006-08-03 마이크로소프트 코포레이션 An extensible framework for designing workflows
US20120072884A1 (en) * 2010-09-22 2012-03-22 Sap Ag Converting business process models to component models in a service oriented architecture domain
CN103309648A (en) * 2012-03-12 2013-09-18 苏州工业园区进一科技有限公司 System and method for making software in patterned way
CN104216691A (en) * 2013-05-31 2014-12-17 华为技术有限公司 Application creating method and device
CN110515615A (en) * 2019-07-08 2019-11-29 深圳壹账通智能科技有限公司 Business logic codes automatic generation method, device and server
CN111142933A (en) * 2019-05-29 2020-05-12 浙江大搜车软件技术有限公司 Workflow generation method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060087995A (en) * 2004-10-01 2006-08-03 마이크로소프트 코포레이션 An extensible framework for designing workflows
US20120072884A1 (en) * 2010-09-22 2012-03-22 Sap Ag Converting business process models to component models in a service oriented architecture domain
CN103309648A (en) * 2012-03-12 2013-09-18 苏州工业园区进一科技有限公司 System and method for making software in patterned way
CN104216691A (en) * 2013-05-31 2014-12-17 华为技术有限公司 Application creating method and device
CN111142933A (en) * 2019-05-29 2020-05-12 浙江大搜车软件技术有限公司 Workflow generation method and device, computer equipment and storage medium
CN110515615A (en) * 2019-07-08 2019-11-29 深圳壹账通智能科技有限公司 Business logic codes automatic generation method, device and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李广森: "基于工作流和内容管理的个贷审批系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 2013, 30 April 2013 (2013-04-30), pages 138 - 201 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114840291A (en) * 2022-04-14 2022-08-02 上海川源信息科技有限公司 System for distributed storage of business process and use method thereof
CN114819906A (en) * 2022-05-06 2022-07-29 广州有信科技有限公司 BPMN business process conversion method and device
CN115147096A (en) * 2022-09-06 2022-10-04 京华信息科技股份有限公司 OCR-based flow rapid modeling method and system
CN116382672A (en) * 2023-06-06 2023-07-04 钱塘科技创新中心 System design method, intelligent terminal and storage medium for travel industry flow
CN117311675A (en) * 2023-11-29 2023-12-29 武汉海昌信息技术有限公司 Service configuration method and device related to distributed system and electronic equipment
CN117311675B (en) * 2023-11-29 2024-02-09 武汉海昌信息技术有限公司 Service configuration method and device related to distributed system and electronic equipment

Also Published As

Publication number Publication date
WO2022007919A1 (en) 2022-01-13

Similar Documents

Publication Publication Date Title
CN113918138A (en) Flow processing method and device and computer system
CN112561386A (en) Method, device and equipment for acquiring business process
US10331765B2 (en) Methods and apparatus for translating forms to native mobile applications
CN110717320A (en) Form/report designer and method suitable for multiple platforms and information management system
US10296859B1 (en) Workflow discovery through user action monitoring
CN101710274A (en) Method and system for generating help information of application software
CN115857920A (en) Application page development method, device and system, computing equipment and storage medium
US7512451B2 (en) System and method for interactive process management
CN104572068A (en) Catalog driven order management for rule definition
CN112199373A (en) Form development method and system
CN110968294A (en) Business domain model establishing system and method
CN116382672A (en) System design method, intelligent terminal and storage medium for travel industry flow
CN115170048A (en) Workflow implementation method, system, and medium based on model and rule
CN112667209A (en) Flow component system for realizing full-connection rapid development framework based on computer software
CN116245052A (en) Drawing migration method, device, equipment and storage medium
JP2002063323A (en) Operation process designing support system, activity support system, and operation process total support system
Kitzmann et al. A simple algorithm for automatic layout of bpmn processes
US20200379786A1 (en) Keyboard interaction model for software builder canvas nodes
CN114138797A (en) System, method and device for realizing flow visualization configuration and operation based on mobile terminal, processor and computer storage medium thereof
CN112508535A (en) Jbpm-based method and device for improving approval workflow
CN108228688B (en) Template generation method, system and server based on XBRL
US20210209138A1 (en) Dynamically Generating Strategic Planning Datasets Based on Collecting, Aggregating, and Filtering Distributed Data Collections
JPH08180110A (en) Operation process defining method
CN113256161B (en) Method and device for modeling flow model, electronic equipment and storage medium
CN116088817B (en) Panorama service view designer and device based on mesh topological structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40066037

Country of ref document: HK