CN114004553B - System, server and client for generating plans in visual mode - Google Patents

System, server and client for generating plans in visual mode Download PDF

Info

Publication number
CN114004553B
CN114004553B CN202111289373.1A CN202111289373A CN114004553B CN 114004553 B CN114004553 B CN 114004553B CN 202111289373 A CN202111289373 A CN 202111289373A CN 114004553 B CN114004553 B CN 114004553B
Authority
CN
China
Prior art keywords
flow
module
plan
interface
information
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.)
Active
Application number
CN202111289373.1A
Other languages
Chinese (zh)
Other versions
CN114004553A (en
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.)
Guangdong Huazhiyuan Information Engineering Co ltd
Guangzhou Huajia Software Co ltd
Guangzhou Jiadu Urban Rail Intelligent Operation And Maintenance Service Co ltd
PCI Technology Group Co Ltd
PCI Technology and Service Co Ltd
Original Assignee
Guangdong Huazhiyuan Information Engineering Co ltd
Guangzhou Huajia Software Co ltd
Guangzhou Jiadu Urban Rail Intelligent Operation And Maintenance Service Co ltd
PCI Technology Group Co Ltd
PCI Technology and Service Co 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 Guangdong Huazhiyuan Information Engineering Co ltd, Guangzhou Huajia Software Co ltd, Guangzhou Jiadu Urban Rail Intelligent Operation And Maintenance Service Co ltd, PCI Technology Group Co Ltd, PCI Technology and Service Co Ltd filed Critical Guangdong Huazhiyuan Information Engineering Co ltd
Priority to CN202111289373.1A priority Critical patent/CN114004553B/en
Publication of CN114004553A publication Critical patent/CN114004553A/en
Application granted granted Critical
Publication of CN114004553B publication Critical patent/CN114004553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a plan visual generation system, a server side and a client side. The user designs and generates a flow definition file through a flow design module, creates a plan in a plan management module, associates the plan with the flow definition file, sets identification information of the plan, and sets flow interface information of the flow definition file in the plan management module. When executing the plan, a user inputs identification information of the plan in the client, the client acquires corresponding flow definition files and flow interface information from the plan management module according to the identification information, executes the flow definition files according to instruction information sent by the workflow module, and generates a flow display interface according to the flow interface information to display execution conditions of the flow definition files in real time, so that the technical problem of low development efficiency of the current plan flow is solved.

Description

System, server and client for generating plans in visual mode
Technical Field
The embodiment of the application relates to the field of visual development, in particular to a plan visual generation system, a server side and a client side.
Background
Along with the continuous development of track traffic construction in China, the track traffic has become an important travel mode. However, due to the large passenger capacity of the rail transit, various emergencies occur at some time, and how to effectively cope with the various emergencies of the rail transit has become a problem to be solved by rail transit operators.
At present, various emergency plans are usually required to be formulated for various emergencies, so that rescue command is carried out on various emergencies timely and effectively. In the emergency plan, the design of the plan plays a vital role, generally, a designer performs the flow design of the plan according to experience, and after the flow design of the plan is completed, an interface developer designs a corresponding interaction interface for each flow step according to the scheme of the plan flow, and the interaction interface and the business flow are bound through programming work. When the flow of the plan changes, each flow and each interface need to be modified, and in the process, a programming personnel and an interface developer need to participate together, so that the complexity and maintenance amount of modification work are increased, and the development efficiency of the flow of the plan is low.
In summary, how to improve the development efficiency of the plan flow is a technical problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a system for generating a plan visualization, a server side and a client side, which solve the technical problem of low development efficiency of a plan flow in the prior art.
In a first aspect, the system for generating a plan visualization provided by the embodiment of the invention comprises a server and a client, wherein the server comprises a flow design module, a plan management module and a workflow module;
the flow design module is used for designing and generating a flow definition file according to a flow arrangement instruction sent by a user, and sending the flow definition file to the plan management module, wherein the flow definition file comprises file information;
the plan management module is used for storing the flow definition files and creating or managing plans according to plan management instructions sent by a user, wherein the plans are provided with identification information and are at least associated with one flow definition file; the flow interface information of each flow definition file is generated according to a flow interface creation instruction sent by a user; and sending the associated flow definition file to the workflow module; the workflow module is used for sending the related first file information to the workflow module according to the first identification information sent by the client;
The workflow module is used for generating a flow model corresponding to the associated flow definition file according to the associated flow definition file; and executing a corresponding first flow model according to the first file information sent by the plan management module, so that the first flow model sends instruction information to the client when executing;
the client is used for receiving first identification information of a first plan sent by a user, sending the first identification information to the plan management module, acquiring a first program definition file associated with the first plan and first program interface information of the first program definition file from the plan management module, executing the first program definition file according to instruction information sent by the workflow module, and generating a first program display interface according to the first program interface information so as to display the execution condition of the first program definition file in real time.
Preferably, the flow design module comprises a definition file generation sub-module, a node attribute management sub-module, a flow component sub-module and a flow module sub-module, and the flow programming instruction comprises a flow design instruction and a definition file generation instruction;
The flow design module is used for acquiring a flow component from the flow component sub-module according to a flow design instruction sent by a user, and arranging the flow component to generate a flow; or the method is used for selecting a pre-created flow from the flow template submodule according to a flow design instruction sent by a user; the process includes at least one process node; the node attribute management sub-module is used for setting attribute information and logic information of each flow node in the flow, wherein the attribute information comprises instruction information corresponding to the flow node; and the flow definition file is generated through the definition file generation submodule according to a definition file generation instruction sent by the user, and the flow definition file is sent to the plan management module.
Preferably, the flow component includes a node component and a connection component.
Preferably, at least one flow node in the flow is correspondingly provided with a service interface, attribute information of the flow node provided with the service interface comprises corresponding service interface file information, and the plan visual development system further comprises an interface design module;
The interface design module is used for designing and generating a service interface corresponding to the flow node according to an interface arrangement instruction sent by a user, receiving a configuration file generation instruction sent by the user, generating a service interface file, and sending the service interface file to the plan management module for storage and management, wherein the service interface file comprises service interface file information.
Preferably, the interface design module comprises an interface file generation sub-module, a component attribute configuration sub-module, an interface component service sub-module and an interface template sub-module, and the interface arrangement instruction comprises an interface design instruction and an attribute setting instruction;
the interface design module is used for selecting an interface component from the interface component service submodule according to an interface design instruction sent by a user, arranging the interface component to generate a service interface corresponding to the flow node, or selecting a pre-established service interface from the interface template submodule according to the interface design instruction sent by the user as the service interface corresponding to the flow node; the attribute configuration sub-module is used for configuring the attribute of the interface component in the service interface according to the attribute setting instruction sent by the user; and the interface file generation submodule is used for generating a service interface file according to a configuration file generation instruction sent by a user, and sending the service interface file to the plan management module for storage and management.
Preferably, the plan management module comprises a plan management sub-module, an interface template management sub-module, a flow template management sub-module and a database sub-module; the plan management instruction comprises a plan creation instruction and a plan modification instruction;
the plan management module is used for storing the flow definition file and the business interface file into the database sub-module, creating a plan through the plan management sub-module according to a plan creation instruction sent by a user, associating the plan with at least one flow definition file, setting plan information of the plan, storing the plan information into the database sub-module, and sending an associated flow definition file to the workflow module, wherein the plan information comprises file information of the associated flow definition file, identification information of the plan and sequence information of the associated flow definition file; the program management sub-module is used for modifying the created program according to the program modification instruction sent by the user; the flow interface information comprises file information of the corresponding flow definition file; the interface template management sub-module is used for carrying out configuration management on the business interface file according to an interface management instruction sent by a user; and the workflow module is used for determining the first plan according to the first identification information sent by the client, and sending the first file information of the first flow definition file associated with the first plan and the first sequence information of the first flow definition file to the workflow module.
Preferably, the workflow module comprises a workflow deployment sub-module, a workflow engine sub-module and a workflow database sub-module;
the workflow module is used for receiving the associated flow definition file, analyzing attribute information and logic information of each flow node in the associated flow definition file through the workflow deployment sub-module, generating a flow model corresponding to the associated flow definition file, and storing the flow model into the workflow database sub-module, wherein the flow model comprises file information of the associated flow definition file; and determining a first flow model corresponding to the first file information according to the first file information, and executing the first flow model according to the first sequence information through the workflow engine submodule so that the first flow model sends instruction information to the client when executing.
Preferably, the client comprises a flow analysis sub-module, a message response sub-module, an interface rendering sub-module and an interface component service sub-module;
the client is used for receiving first identification information of a first plan sent by a user, and sending the first identification information to the plan management module so as to acquire a corresponding first flow definition file and first flow interface information corresponding to the first flow definition file from the plan management module; determining first service interface file information corresponding to a first flow node in the first flow definition file and instruction information corresponding to the first flow node through the flow analysis sub-module, and sending the first service interface file information to the plan management module so as to acquire the first service interface file from the plan management module; the interface rendering sub-module is used for rendering and generating a first flow display interface on the basis of corresponding first flow interface information, and the interface component service sub-module is used for displaying the first flow display interface so as to display the circulation condition of the first flow node in the first flow definition file in real time; and the interface rendering sub-module is used for rendering and generating a first business interface on the basis of the first business file, and the interface component service sub-module is used for displaying the first business interface in the first flow display interface.
Preferably, the plan management module further comprises a rights management sub-module, and the client is further configured to receive account information of a user and send the account information to the rights management sub-module;
the permission management submodule is used for setting the permission of each account information in each plan according to a permission setting instruction sent by a user; and the flow node is used for determining corresponding user rights according to the account information sent by the client, and returning the corresponding user rights to the client so that the client executes the flow node in the first plan according to the corresponding user rights.
Preferably, the plan management module further comprises a log management sub-module, and the log management sub-module is used for collecting management logs of the plan visual development system.
In a second aspect, the embodiment of the invention also provides a server, which comprises a flow design module, a plan management module and a workflow module;
the flow design module is used for designing and generating a flow definition file according to a flow arrangement instruction sent by a user, and sending the flow definition file to the plan management module, wherein the flow definition file comprises file information;
The plan management module is used for storing the flow definition files and creating or managing plans according to plan management instructions sent by a user, wherein the plans are provided with identification information and are at least associated with one flow definition file; the flow interface information of each flow definition file is generated according to a flow interface creation instruction sent by a user; and sending the associated flow definition file to the workflow module; and the workflow module is used for sending the associated first file information to the workflow module according to the first identification information sent by the client, and sending the associated first flow definition file and the first flow interface information of the first flow definition file to the client;
the workflow module is used for generating a flow model corresponding to the associated flow definition file according to the associated flow definition file; and the first flow model is used for executing a corresponding first flow model according to the first file information sent by the plan management module, so that the first flow model sends instruction information to the client when executing.
In a third aspect, an embodiment of the present invention further provides a client, where the client is configured to receive first identification information of a first protocol sent by a user, send the first identification information to a protocol management module of a server, so as to obtain a first flow definition file associated with the first protocol and first flow interface information of the first flow definition file from the protocol management module, and execute the first flow definition file according to instruction information sent by a workflow module of the server, and generate a first flow display interface according to the first flow interface information, so as to display an execution condition of the first flow definition file in real time.
In the above, the system for generating the plan visualization, the server side and the client side provided by the embodiment of the invention, the system for generating the plan visualization includes the server side and the client side, and the server side includes a flow design module, a plan management module and a workflow module; the flow design module is used for designing and generating a flow definition file according to a flow arrangement instruction sent by a user, and sending the flow definition file to the plan management module, wherein the flow definition file comprises file information; the plan management module is used for storing a flow definition file, creating or managing a plan according to a plan management instruction sent by a user, wherein the plan is provided with identification information and is at least associated with one flow definition file; the method comprises the steps of receiving a flow interface creation instruction sent by a user, and generating flow interface information of each flow definition file according to the flow interface creation instruction sent by the user; and the workflow module is used for sending the related flow definition file to the workflow module; the workflow module is used for sending the related first file information to the workflow module according to the first identification information sent by the client; the workflow module is used for generating a flow model corresponding to the associated flow definition file according to the associated flow definition file; the first flow model is used for executing the corresponding first flow model according to the first file information sent by the plan management module, so that the first flow model sends instruction information to the client when executing; the client is used for receiving first identification information of a first plan sent by a user, sending the first identification information to the plan management module so as to acquire a first program definition file associated with the first plan and first program interface information of the first program definition file from the plan management module, executing the first program definition file according to instruction information sent by the workflow module, and generating a first program display interface according to the first program interface information so as to display the execution condition of the first program definition file in real time.
According to the embodiment of the invention, a user can design and generate the flow definition file through the flow design module, create the plan in the plan management module, correlate the plan with the flow definition file and set the identification information of the plan, so that the creation of the plan is completed, and the flow interface information of the flow definition file can be set in the plan management module. When executing the plan subsequently, the user inputs the identification information of the plan to be executed in the client, the client can acquire the corresponding flow definition file and flow interface information from the plan management module according to the identification information, execute the flow definition file according to the instruction information sent by the workflow module, and generate a flow display interface according to the flow interface information to display the execution condition of the flow definition file in real time. According to the embodiment of the invention, a user can quickly and conveniently construct the plan, the design of the flow definition file and the flow display interface can be directly carried out when the plan is constructed, and the execution condition of the plan can be displayed in the flow display interface in real time, so that the development efficiency of the plan is greatly improved, and the technical problem that the development efficiency of the plan flow is low because a constructor and an interface developer are needed to participate together in the development process of the plan in the prior art is solved.
Drawings
Fig. 1 is a schematic structural diagram of a plan visualization generating system according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of another visualization generating system for a plan according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of another visualization generating system for a plan according to an embodiment of the present application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the application to enable those skilled in the art to practice them. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. The scope of embodiments of the application encompasses the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to herein, individually or collectively, by the term "application" merely for convenience and without intending to voluntarily limit the scope of this application to any single application or inventive concept if more than one is in fact disclosed. Relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. Various embodiments are described herein in a progressive manner, each embodiment focusing on differences from other embodiments, and identical and similar parts between the various embodiments are sufficient to be seen with each other. The structures, products and the like disclosed in the embodiments correspond to the parts disclosed in the embodiments, so that the description is relatively simple, and the relevant parts refer to the description of the method parts.
Example 1
Fig. 1 is a schematic structural diagram of a plan visualization development system provided by an embodiment of the present invention, where as shown in fig. 1, the system includes a server and a client, and the server includes a flow design module, a plan management module and a workflow module. It should be further noted that, in this embodiment, the server may be disposed in a cloud platform or a server, and the client may be disposed in a user terminal, for example, a computer, a tablet, a mobile phone, and other devices.
The flow design module is used for designing and generating a flow definition file according to a flow arrangement instruction sent by a user, and sending the flow definition file to the plan management module, wherein the flow definition file comprises file information.
In this implementation, a user may design a flow through the flow design module and generate a flow definition file. Specifically, after a user sends a flow programming instruction to the flow design module, the flow design module can program the flow nodes of the flow and the association relation between the flow nodes according to actual needs, the flow is designed, and after the flow design is completed, a flow definition file can be generated according to the designed flow. In an embodiment, the process design module has a visual and graphical operation interface, and a user can create different process nodes in a dragging mode and associate the different process nodes by using connecting wires, so that the process design is completed, and then click and save are performed to generate the process definition file.
It should be further noted that the flow definition file includes file information. In one embodiment, the file information is file ID information, and the corresponding flow definition file can be found according to the file ID information, where the file ID information is randomly generated by the flow design module. After the flow definition file is generated, the flow design module sends the flow definition file to the plan management module for storage.
The plan management module is used for storing a flow definition file, creating or managing a plan according to a plan management instruction sent by a user, wherein the plan is provided with identification information and is at least associated with one flow definition file; the method comprises the steps of receiving a flow interface creation instruction sent by a user, and generating flow interface information of each flow definition file according to the flow interface creation instruction sent by the user; and the workflow module is used for sending the related flow definition file to the workflow module; the workflow module is used for sending the related first file information to the workflow module according to the first identification information sent by the client;
the flow design module sends the flow definition file to the plan management module, and the plan management module stores the flow definition file. When a user needs to create or manage a plan, the user can create or manage the plan by sending a plan management instruction to the plan management module. In one embodiment, when a user creates a plan, selecting a flow definition file according to needs from the flow definition files stored in the plan management module, associating the selected flow definition file with the plan, setting plan information of the plan and identification information of the plan, completing creation of the plan, and storing the plan information and the identification information of the plan. It can be appreciated that in this embodiment, each of the plans corresponds to different identification information, and the identification information is a unique credential for distinguishing between the different plans, so that the corresponding plan can be determined according to the identification information when executing the plan later. After the user creates the plan, the user can manage the created plan through the plan management module, for example, modify plan information of the plan. After the plan is created, the plan management module sends a flow definition file associated with the plan to the workflow module.
Meanwhile, in the plan management module, the user can also set the style of the display interface of each flow definition file. In one embodiment, a user may send a flow interface creation instruction to the plan management module, and arrange a flow display interface of the design flow definition file in the plan management module, and after the design is completed, the user may generate flow interface information according to the flow display interface designed by the user, where the plan management module stores the flow interface information corresponding to each flow definition file.
When executing the plan, after the plan management module receives the first identification information of the first plan sent by the client, determining the first plan according to the first identification information, and sending the first file information of the first flow definition file associated with the first plan to the workflow module.
The workflow module is used for generating a flow model corresponding to the associated flow definition file according to the associated flow definition file; and the first flow model is used for executing the corresponding first flow model according to the first file information sent by the plan management module, so that the first flow model sends instruction information to the client when executing.
In one embodiment, after receiving the flow definition file associated with the plan, the workflow module parses the flow definition file, determines the flow nodes in the flow definition file associated with the plan and the association relationship between the flow nodes, deploys and builds a flow model corresponding to the associated flow definition file, and can execute the flow in the corresponding associated flow definition file through the flow model.
When executing the plan, the workflow module can determine the corresponding first flow definition file according to the first file information after receiving the first file information sent by the plan management module, then further determine the first flow model corresponding to the first flow definition file, and execute the first flow model, so that the first flow model executes the flow in the first flow definition file, and the first flow model sends instruction information to the client when executing.
The client is used for receiving first identification information of a first plan sent by a user, sending the first identification information to the plan management module so as to acquire a first program definition file associated with the first plan and first program interface information of the first program definition file from the plan management module, executing the first program definition file according to instruction information sent by the workflow module, and generating a first program display interface according to the first program interface information so as to display the execution condition of the first program definition file in real time.
In one embodiment, when a user needs to execute a first plan, first identification information of the first plan is sent to a client, the client sends the first identification information to a plan management module after receiving the first identification information, the plan management module determines a corresponding first plan according to the first identification information after receiving the first identification information, obtains a first flow definition file associated with the first plan and obtains first flow interface information of the first flow definition file, and sends the first flow definition file and the first flow interface information to the client. After receiving the instruction information sent by the workflow module, the client executes the corresponding first procedure definition file according to the instruction information. In one embodiment, when the first flow model in the workflow module is executing the a-flow node in the first flow definition file, the a-node instruction information is sent to the client, so that the client synchronously executes the corresponding a-flow node in the first flow definition file after receiving the a-node instruction information. In the process of executing the first flow definition file, the client side also generates a first flow display interface according to the first flow interface information of the first flow definition file, and a user can observe the currently executed flow node and the execution condition of the currently executed flow node in the first flow definition file in real time in the first flow display interface.
On the basis of the above embodiment, the flow design module includes a definition file generation sub-module, a node attribute management sub-module, a flow component sub-module, and a flow module sub-module, and the flow layout instruction includes a flow design instruction and a definition file generation instruction.
It should be further noted that the flow component sub-module includes a flow component required for creating a flow, and the flow module sub-module includes a pre-created flow, that is, a flow module. In one embodiment, the flow components include a node component for creating a flow node and a connection component for associating the flow node.
The flow design module is used for acquiring a flow component from the flow component sub-module according to a flow design instruction sent by a user, and arranging the flow component to generate a flow; or the method is used for selecting a pre-created flow from the flow template submodule according to the flow design instruction sent by the user; the process includes at least one process node; the node attribute management sub-module is used for setting attribute information and logic information of each flow node in the flow, wherein the attribute information comprises instruction information corresponding to the flow node; and the flow definition file is generated through a definition file generation submodule according to a definition file generation instruction sent by a user, and is sent to the plan management module.
In this embodiment, when the user designs the flow through the flow design module, there are two design modes, one is that the user designs a new flow by himself, and the other is that the pre-created flow is selected as the flow of the current design. In an embodiment, the flow design module has a visual and graphical operation interface, the flow design instruction sent by the user is a drag instruction of the mouse, the user selects the node component and the connection component from the flow component submodule in a drag mode, the node component creates a flow node, and the connection component is used for connecting the flow node, so that the flow node is associated, and the design of the flow is completed. Or, the flow design instruction sent by the user is a double-click instruction of the mouse, the user selects a pre-created flow from the flow template submodule through double-click of the mouse, namely, the flow template is used as the flow of the design, and the design of the flow is completed. It is understood that each flow includes at least one flow node.
When designing the flow, the user can also set the attribute information and logic information of each flow node in the flow through the node attribute management sub-module. For example, when the user clicks the flow node in the operation interface of the flow design module, the attribute information and the logic information of the flow node may be set, where in this embodiment, the attribute information includes ID information, name information, description information, configuration information, and instruction information corresponding to the flow node, where the instruction information is used to start the flow node. The logic information includes a flow expression, so that the flow node can determine the flow direction of the flow when executing through the parameters input to the flow node.
After the process is designed and the attribute information and logic information of each process node in the process are configured, a process definition file can be generated through a definition file generation submodule. In an exemplary embodiment, after the user finishes designing the flow and configuring the attribute information and the logic information of each flow node in the flow in the operation interface of the flow design module, clicking a save key (i.e., a definition file generation instruction) on the operation interface, and the definition file generation sub-module may generate a flow definition file according to the flow designed by the user and send the flow definition file to the plan management module.
The embodiment of the invention provides visual and convenient visual editing flow components for users through the flow design module, and is provided with the flow template, so that the users can quickly design the flow and complete the creation of the flow.
On the basis of the embodiment, at least one flow node in the flow is correspondingly provided with a service interface, the attribute information of the flow node provided with the service interface comprises corresponding service interface file information, and the plan visual development system further comprises an interface design module.
The interface design module is used for designing and generating a service interface corresponding to the flow node according to the interface arrangement instruction sent by the user, receiving the configuration file generation instruction sent by the user, generating a service interface file, sending the service interface file to the plan management module for storage and management, wherein the service interface file comprises service interface file information.
In one embodiment, as shown in fig. 2, the system for visualizing and developing a plan in fig. 2 further includes an interface design module, and a user may set a service interface of a flow node in the interface design module during a design process. After a user selects a certain flow node, an interface arrangement instruction is sent to an interface design module, the interface design module pops up a service interface design window, the user can set a service interface of the flow node in the service interface design window, after the user finishes designing, the user sends a configuration file generation instruction to the interface design module, the interface design module can generate a service interface file according to the service interface designed by the user, the service interface file comprises configuration data of the service interface and service interface file information, and the service interface file information comprises ID information of the service interface file. After a user sets a service interface for a certain flow node, the service interface file information of the service interface is also required to be written into the attribute information of the corresponding flow node, so that the association between the flow node and the corresponding service interface file is realized, and the corresponding service interface file can be determined according to the attribute information of the flow node when the certain flow node is executed later. After the interface design module generates the service interface file, the service interface file needs to be sent to the plan management module for storage.
On the basis of the embodiment, the interface design module comprises an interface file generation sub-module, a component attribute configuration sub-module, an interface component service sub-module and an interface template sub-module, and the interface arrangement instruction comprises an interface design instruction and an attribute setting instruction.
As shown in fig. 3, fig. 3 is a schematic structural diagram of another visualization generating system for a plan provided by an embodiment of the present invention, and in fig. 3, an interface design module includes an interface file generating sub-module, a component attribute configuration sub-module, an interface component service sub-module, and an interface module sub-module. It should be noted that, the interface component service sub-module includes an interface component required for designing a service interface, the interface component includes a basic component and a service component, the basic component includes a text component, a button component, a Combox component, and the like, and the service component includes a component customized in the track traffic field, such as a passenger flow chart component, a plan flow component, a video component, an energy consumption statistics component, and the like. The interface module sub-module comprises a pre-established service interface, namely a service interface template. According to the embodiment of the invention, the interface design module is provided with the interface component specially customized in the track traffic field, so that a worker can conveniently and rapidly establish a service interface in the track traffic field.
The interface design module is used for selecting an interface component from the interface component service submodule according to an interface design instruction sent by a user, arranging the interface component to generate a service interface corresponding to the flow node, or selecting a pre-established service interface from the interface template submodule as the service interface corresponding to the flow node according to the interface design instruction sent by the user; the module attribute configuration sub-module is used for configuring the attribute of the interface module in the service interface according to the attribute setting instruction sent by the user; and the interface file generation submodule is used for generating a service interface file according to a configuration file generation instruction sent by a user, and sending the service interface file to the plan management module for storage and management.
In this embodiment, when the user designs the service interface of the flow node through the interface design module, there are two design modes as well, one is that the user designs a new service interface by himself, and the other is that the user selects a pre-created service interface as the service interface corresponding to the flow node. In an embodiment, a user clicks a flow node in an operation interface of a flow design module, at this time, the interface design module is awakened, a service interface design window pops up, in the service interface design window, an interface design instruction sent by the user is a dragging instruction of a mouse, the user selects a base component and a service component from an interface component service submodule in a dragging mode, the base component and the service component are arranged in the service interface design window, the design of a service interface is completed, and a service interface corresponding to the flow node is generated. Or, the interface design instruction sent by the user is a double-click instruction of the mouse, and the user selects a pre-created service interface from the interface template submodule through double-click of the mouse as the service interface corresponding to the flow node to finish the design of the service interface.
After the user designs the service interface, the user can generate the service interface file through the interface file generating submodule. In an exemplary embodiment, after the user completes the design of the service interface, clicking a save button (i.e. a configuration file generation instruction) in the service interface design window, and the interface file generation sub-module may generate a service interface file according to the service interface set by the user, and send the service interface file to the plan management module for saving, where the user may manage the service interface file through the plan management module.
On the basis of the embodiment, the plan management module comprises a plan management sub-module, an interface template management sub-module, a flow template management sub-module and a database sub-module; the plan management instructions include plan creation instructions and plan modification instructions.
As shown in fig. 3, the plan management module in fig. 3 includes a plan management sub-module, an interface template management sub-module, a flow template management sub-module, and a database sub-module. It should be noted that, the flow template management sub-module includes a pre-created flow display interface, i.e. a flow display interface template.
The system comprises a database sub-module, a plan management module, a workflow module and a business interface module, wherein the database sub-module is used for storing a flow definition file and a business interface file, the plan management module is used for creating a plan according to a plan creation instruction sent by a user, associating the plan with at least one flow definition file, setting plan information of the plan and storing the plan information into the database sub-module, and sending the associated flow definition file to the workflow module, wherein the plan information comprises file information of the associated flow definition file, identification information of the plan and sequence information of the associated flow definition file; the system comprises a protocol management sub-module, a protocol modification sub-module and a protocol management sub-module, wherein the protocol management sub-module is used for managing a protocol according to a protocol modification instruction sent by a user; the flow interface information comprises file information corresponding to the flow definition file; the interface template management sub-module is used for carrying out configuration management on the business interface file according to the interface management instruction sent by the user; and the workflow module is used for determining a first plan according to the first identification information sent by the client, and sending the first file information of the first flow definition file and the first sequence information of the first flow definition file associated with the first plan to the workflow module.
And after receiving the flow definition file and the business interface file, the plan management module stores the flow definition file and the business interface file into the database sub-module. It should be noted that, in this embodiment, the plan management module performs data interaction with other modules through the external service interface, and performs data interaction with the database submodule through the expansion interface. In this embodiment, when a user needs to create a new plan, a plan creation instruction is sent to the plan management module, so that creation of a plan can be performed. The method comprises the following steps: after a user sends a plan creation instruction to the plan management module, creating a plan in the plan management sub-module, selecting a flow definition file which needs to be associated with the plan created at this time from the database sub-module, obtaining file information of the associated flow definition file, writing the file information of the associated flow definition file into the plan information of the plan, thereby completing association of the flow definition file and the plan, and then, further setting the plan information of the plan created at this time by the user, thereby completing creation of the plan and saving the created plan in the database sub-module. In one embodiment, the protocol information includes protocol name information, protocol description information, file information of a flow definition file associated with the protocol, identification information of the protocol, and sequence information of the associated flow definition file. By writing the file information of the associated flow definition file associated with the plan in the plan information, the associated flow definition file can be searched according to the plan information of a certain plan when the plan is executed later. It should be noted that the sequence information includes an execution sequence of the flow definition file associated with the plan, so that the subsequent workflow module can execute the corresponding flow model according to the execution sequence of the flow definition file associated with the plan, thereby completing the execution process of the plan. After the plan is created, the plan management module also sends a flow definition file associated with the plan to the workflow module.
In this embodiment, the user may also modify the created plan through the plan management module. Specifically, after receiving the plan modification instruction sent by the user, the plan management module may modify the plan information of the created plan, for example, modify name information and description information of the plan, etc., where it is understood that the specific modification content of the plan information may be set by the user according to actual needs, and in this embodiment, the specific modification content of the plan information is not limited.
In this embodiment, the user can also set the style of the flow display interface of each flow definition file. Specifically, after a user selects a certain flow definition file, a flow interface creation instruction is sent to the plan management module, the flow template management sub-module is started, the flow template management sub-module pops up a template selection window, the template selection window comprises a pre-created flow display interface, the user selects a pre-created flow display interface from the template selection window as a flow display interface of a corresponding flow definition file, the flow template management sub-module can store the flow display interface and generate flow interface information of the flow display interface, and the flow interface information is stored in the database sub-module. The flow interface information is configuration information of the flow display interface, and the flow interface information further includes file information of a corresponding flow definition file, so that when executing the plan, the corresponding flow interface information can be found according to the file information of the flow definition file.
In the plan management module, the user can also perform configuration management on the business interface file. Specifically, when a user needs to manage the service interface file, an interface management instruction is sent to the plan management module, the plan management module starts the interface template management sub-module, and the user manages the service interface file through the interface template management sub-module and modifies the service interface file information of the service interface file. Illustratively, in one embodiment, the service interface file information includes ID information of the service interface file, name information of the service interface file, description information of the service interface file, and the like, and the user may modify the name and description of the service interface file, modify configuration data in the service interface file, and the like through the interface template management sub-module.
When executing the plan, after receiving the first identification information sent by the client, the plan management module searches the plan with the same identification information from the database sub-module according to the first identification information, determines the plan as the first plan, obtains first file information of a first flow definition file associated with the first plan and first sequence information of the first flow definition file according to the plan information of the first plan, and then sends the first file information and the first sequence information to the workflow module, so that the workflow module executes a first flow model corresponding to the first file information according to the first sequence information.
On the basis of the above embodiment, the workflow module includes a workflow deployment sub-module, a workflow engine sub-module, and a workflow database sub-module.
The workflow module is used for receiving a flow definition file associated with a plan, analyzing attribute information and logic information of each flow node in the associated flow definition file through the workflow deployment sub-module, generating a flow model corresponding to the associated flow definition file, and storing the flow model into the workflow database sub-module, wherein the flow model comprises file information of the associated flow definition file; and the workflow engine sub-module is used for executing the first flow model according to the first sequence information so that the first flow model sends instruction information to the client when executing.
As shown in fig. 3, the workflow module includes a workflow deployment sub-module, a workflow engine sub-module, and a workflow database sub-module. In this embodiment, the workflow module receives, through the definition file parsing interface, the flow definition file associated with the plan sent by the plan management module, and then sends the flow definition file to the workflow deployment submodule, where the workflow deployment submodule parses the flow definition file, extracts attribute information and logic information of each flow node in the flow definition file, deploys and builds a flow model corresponding to the flow definition file according to the attribute information and logic information of each flow node, and writes file information of the flow definition file in the flow model. Specifically, the workflow deployment submodule builds a flow node according to the attribute information of each flow node, determines the flow direction of the flow node in the flow model according to the logic information of each flow node, namely determines the next flow node to be executed after executing a certain flow node, thereby completing the deployment of the flow model, and writes the file information of the flow definition file in the flow model so as to find the corresponding flow model according to the file information of the flow definition file. And the workflow deployment sub-module sends the flow model to the workflow engine sub-module, and the workflow engine sub-module stores the flow model into the workflow database sub-module for storage through the expansion interface.
In the process of executing the plan, the workflow module determines a first flow model comprising the same first file information after receiving the first file information and the first sequence information sent by the plan management module, acquires the first flow model from the workflow database sub-module, and the workflow engine sub-module executes the first flow model according to the first sequence information. The workflow engine sub-module obtains corresponding instruction information (corresponding instruction information is instruction information included in attribute information of a certain flow node) from the flow node model when executing the certain flow node according to the flow node in the process of executing the certain first flow model, and sends the instruction information to the client through the workflow service interface.
On the basis of the above embodiment, the client includes a flow parsing sub-module, a message response sub-module, an interface rendering sub-module, and an interface component service sub-module.
The client is used for receiving first identification information of a first plan sent by a user, and sending the first identification information to the plan management module so as to acquire a corresponding first flow definition file and first flow interface information corresponding to the first flow definition file from the plan management module; determining first service interface file information corresponding to a first flow node in a first flow definition file and instruction information corresponding to the first flow node through a flow analysis submodule, and sending the first service interface file information to a plan management module so as to acquire a first service interface file from the plan management module; the interface rendering sub-module is used for rendering and generating a first flow display interface on the basis of the corresponding first flow interface information, and the interface component service sub-module is used for displaying the first flow display interface so as to display the circulation condition of the first flow node in the first flow definition file in real time; and the interface rendering sub-module is used for rendering and generating the first business interface on the basis of the first business file and displaying the first business interface in the first flow display interface through the interface component service sub-module.
As shown in fig. 3, the client includes a flow parsing sub-module, a message response sub-module, an interface rendering sub-module, and an interface component service sub-module. In this embodiment, when a user wants to execute a certain plan, the user inputs identification information of the corresponding plan in the client, and the client can execute the corresponding plan after receiving the identification information. The specific process is as follows: the method comprises the steps that a user determines a first plan to be executed, first identification information of the first plan is input into a client, after the client receives the first identification information, the first identification information is sent to a plan management module, the plan management module determines corresponding first plan according to the first identification information, obtains plan information of the first plan, obtains a first flow definition file associated with the first plan and obtains first flow interface information of the first flow definition file according to first file information included in the plan information of the first plan, the plan management module sends the first flow definition file and the first flow interface information into the client, the client analyzes the first flow definition file through a flow analysis sub-module, obtains first attribute information of first flow nodes in the first flow definition file, and determines first service interface file information corresponding to the first flow nodes and instruction information corresponding to the first flow nodes according to the first attribute information. And then, the first service interface file information is sent to a plan management module, and after the plan management module receives the first service interface file information, the corresponding first service interface file is obtained and sent to the client.
When the workflow module sends instruction information to the client, the client receives the instruction information through the message response submodule, determines a first flow definition file to be executed and a first flow node to be executed in the corresponding first flow definition file according to the instruction information, analyzes first flow interface information corresponding to the first flow definition file to be executed currently through the interface rendering submodule in the process of executing the first flow node to obtain configuration information of the corresponding first flow interface, renders according to the configuration information, generates a first flow display interface corresponding to the first flow definition file to be executed currently, displays the generated first flow interface through the interface component service submodule, and displays file information of the first flow definition file to be executed currently and circulation conditions of the first flow node in the first flow definition file to be executed currently in real time in the first flow interface. If the client side judges that the attribute information of the currently executed first flow node also comprises first service interface file information, a first service interface file corresponding to the first service interface file information is acquired, the interface rendering sub-module analyzes the corresponding first service file, renders and generates a first service interface, and the first service interface is displayed in a first flow display interface through the interface component service sub-module, so that the execution process of the first plan is realized.
On the basis of the embodiment, the plan management module further comprises a permission management sub-module, and the client is further used for receiving account information of the user and sending the account information to the permission management sub-module.
As shown in fig. 3, the plan management module further includes a rights management sub-module. The permission management submodule is used for setting the permission of each account information in each plan according to the permission setting instruction sent by the user; and the method is used for determining corresponding user rights according to account information sent by the client, and returning the corresponding user rights to the client so that the client executes the first plan according to the corresponding user rights.
In one embodiment, each user corresponds to one piece of user information, and the user can also set the authority of each user in the plan management module, which comprises the following specific processes: the user sends a permission setting instruction to the permission management sub-module, sets the permission of each account information in each plan, wherein the permission comprises an operation permission and an information display permission, the operation permission is used for limiting the plans which can be executed by the user and flow nodes which can be executed by the user in each plan, the information display permission is used for limiting a service interface which can be displayed by the user when the user executes the plans and the information of the plans which can be displayed, and the specific content of the permission can be set according to the actual needs of the user and is not limited in the embodiment.
When a subsequent user uses the client, the user needs to input own account information in the client, the client sends the account information to the authority management sub-module after receiving the account information of the user, and the authority management sub-module determines the user authority corresponding to the account information and returns the corresponding user authority to the client, so that the client executes the first plan according to the corresponding user authority, and determines whether the user can execute the first plan, the flow node which can be executed in the first plan by the user, and the first service interface and plan information which can be displayed in the execution process of the first plan according to the corresponding user authority.
On the basis of the embodiment, the plan management module further comprises a log management module, and the log management module is used for collecting management logs of the plan visual development system.
As shown in fig. 3, the plan management module further includes a log management sub-module. The log management submodule is used for collecting management logs of the plan visual development system, so that data support is provided for subsequent business such as audit, fault elimination and performance monitoring, and a user can conveniently know the running condition of the visual development system.
According to the embodiment of the invention, a user can design and generate the flow definition file through the flow design module, create the plan in the plan management module, correlate the plan with the flow definition file and set the identification information of the plan, so that the creation of the plan is completed, and the flow interface information of the flow definition file can be set in the plan management module. When executing the plan subsequently, the user inputs the identification information of the plan to be executed in the client, the client can acquire the corresponding flow definition file and flow interface information from the plan management module according to the identification information, execute the flow definition file according to the instruction information sent by the workflow module, and generate a flow display interface according to the flow interface information to display the execution condition of the flow definition file in real time. According to the embodiment of the invention, a user can quickly and conveniently construct the plan, the design of the flow definition file and the flow display interface can be directly carried out when the plan is constructed, and the execution condition of the plan can be displayed in the flow display interface in real time, so that the development efficiency of the plan is greatly improved, and the technical problem that the development efficiency of the plan flow is low because a constructor and an interface developer are needed to participate together in the development process of the plan in the prior art is solved.
Example two
The embodiment provides a server, which comprises a flow design module, a plan management module and a workflow module;
the flow design module is used for designing and generating a flow definition file according to a flow arrangement instruction sent by a user, and sending the flow definition file to the plan management module, wherein the flow definition file comprises file information;
the plan management module is used for storing a flow definition file, creating or managing a plan according to a plan management instruction sent by a user, wherein the plan is provided with identification information and is at least associated with one flow definition file; the method comprises the steps of receiving a flow interface creation instruction sent by a user, and generating flow interface information of each flow definition file according to the flow interface creation instruction sent by the user; and the workflow module is used for sending the related flow definition file to the workflow module; and the first process interface information is used for sending the associated first file information to the workflow module according to the first identification information sent by the client, and sending the associated first process definition file and the first process interface information of the first process definition file to the client;
the workflow module is used for generating a flow model corresponding to the associated flow definition file according to the associated flow definition file; and the first flow model is used for executing the corresponding first flow model according to the first file information sent by the plan management module, so that the first flow model sends instruction information to the client when executing.
The embodiment of the invention also provides a client, which is used for receiving the first identification information of the first plan sent by the user, sending the first identification information to the plan management module of the server so as to acquire the first program definition file associated with the first plan and the first program interface information of the first program definition file from the plan management module, executing the first program definition file according to the instruction information sent by the workflow module of the server, and generating a first program display interface according to the first program interface information so as to display the execution condition of the first program definition file in real time.
In this embodiment, when a user needs to design a flow, after sending a flow editing instruction to the flow design module, the flow design module may arrange flow nodes of the flow and association relationships between the flow nodes according to actual needs, design the flow, after the flow design is completed, a flow definition file may be generated according to the designed flow, where the flow definition file includes file information, and then the flow design module sends the flow definition file to the plan management module.
The flow design module sends the flow definition file to the plan management module, and the plan management module stores the flow definition file. When creating a plan, a user selects a flow definition file according to the need from the flow definition files stored in the plan management module, associates the selected flow definition file with the plan, sets plan information of the plan and identification information of the plan, completes creation of the plan, and stores the plan information and the identification information of the plan; in the process of creating the plan, the user can also create a display interface of each flow definition file, set a style of the display interface, and generate flow interface information of each flow definition file. After the plan is created, the plan management module sends a flow definition file associated with the plan to the workflow module.
After receiving the flow definition file associated with the plan, the workflow module analyzes the flow definition file, determines the association relation between the flow nodes in the flow definition file associated with the plan and the flow nodes, deploys and builds a flow model corresponding to the associated flow definition file, and can execute the flow in the corresponding associated flow definition file through the flow model.
When a user needs to execute a first plan, first identification information of the first plan is sent to the client, the client sends the first identification information to the plan management module after receiving the first identification information, the plan management module determines a corresponding first plan according to the first identification information after receiving the first identification information, acquires a first flow definition file associated with the first plan and first flow interface information of the first flow definition file, sends the first flow definition file and the first flow interface information to the client, determines first file information of the first flow definition file, sends the first file information to the workflow module, and after receiving the first file information, determines a corresponding first flow definition file according to the first file information, then further determines a first flow model corresponding to the first flow definition file, and executes the first flow model, so that the first flow model executes a flow in the first flow definition file and sends instruction information to the client when executing.
After receiving the instruction information sent by the workflow module, the client executes the corresponding first flow definition file according to the instruction information, and in the process of executing the first flow definition file, the client generates a first flow display interface according to the first flow interface information of the first flow definition file, and a user can observe the currently executed flow node and the execution condition of the currently executed flow node in the first flow definition file in real time in the first flow display interface.
According to the embodiment of the invention, a user can design and generate the flow definition file through the flow design module, create the plan in the plan management module, correlate the plan with the flow definition file and set the identification information of the plan, so that the creation of the plan is completed, and the flow interface information of the flow definition file can be set in the plan management module. When executing the plan subsequently, the user inputs the identification information of the plan to be executed in the client, the client can acquire the corresponding flow definition file and flow interface information from the plan management module according to the identification information, execute the flow definition file according to the instruction information sent by the workflow module, and generate a flow display interface according to the flow interface information to display the execution condition of the flow definition file in real time. According to the embodiment of the invention, a user can quickly and conveniently construct the plan, the design of the flow definition file and the flow display interface can be directly carried out when the plan is constructed, and the execution condition of the plan can be displayed in the flow display interface in real time, so that the development efficiency of the plan is greatly improved, and the technical problem that the development efficiency of the plan flow is low because a constructor and an interface developer are needed to participate together in the development process of the plan in the prior art is solved.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the embodiments of the present invention are not limited to the particular embodiments described herein, but are capable of numerous obvious changes, rearrangements and substitutions without departing from the scope of the embodiments of the present invention. Therefore, while the embodiments of the present invention have been described in connection with the above embodiments, the embodiments of the present invention are not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims (11)

1. The system is characterized by comprising a server and a client, wherein the server comprises a flow design module, a plan management module and a workflow module, the flow design module comprises a node attribute management sub-module and a flow component sub-module, the flow design module is used for acquiring a flow component from the flow component sub-module according to a flow design instruction sent by a user, the flow component comprises a node component and a connection component, and the node attribute management sub-module is used for setting attribute information and logic information of each flow node in a flow;
The flow design module is used for designing and generating a flow definition file according to a flow arrangement instruction sent by a user, and sending the flow definition file to the plan management module, wherein the flow definition file comprises file information;
the plan management module is used for storing the flow definition files and creating or managing plans according to plan management instructions sent by a user, wherein the plans are provided with identification information and are at least associated with one flow definition file; the flow interface information of each flow definition file is generated according to a flow interface creation instruction sent by a user; and sending the associated flow definition file to the workflow module; the workflow module is used for sending the related first file information to the workflow module according to the first identification information sent by the client;
the workflow module is used for generating a flow model corresponding to the associated flow definition file according to the associated flow definition file; and executing a corresponding first flow model according to the first file information sent by the plan management module, so that the first flow model sends instruction information to the client when executing;
The client is used for receiving first identification information of a first plan sent by a user, sending the first identification information to the plan management module, acquiring a first program definition file associated with the first plan and first program interface information of the first program definition file from the plan management module, executing the first program definition file according to instruction information sent by the workflow module, and generating a first program display interface according to the first program interface information so as to display the execution condition of the first program definition file in real time;
the plan management module comprises a plan management sub-module, an interface template management sub-module, a flow template management sub-module and a database sub-module; the plan management instruction comprises a plan creation instruction and a plan modification instruction, wherein the plan management submodule is used for creating a plan, the interface template management submodule is used for carrying out configuration management on service interface files, the corresponding service interface files are determined according to the attributes of service nodes, the service interface files comprise configuration data of service interfaces and service interface file information, the flow template management submodule comprises a flow display interface template, and the database submodule is used for storing the plan information of the plan.
2. The system of claim 1, wherein the flow design module comprises a definition file generation sub-module and a flow module sub-module, and the flow orchestration instructions comprise flow design instructions and definition file generation instructions;
the flow design module is also used for arranging the flow components to generate a flow; or the method is used for selecting a pre-created flow from the flow template submodule according to a flow design instruction sent by a user; the process includes at least one process node; the attribute information comprises instruction information corresponding to the flow node; and the flow definition file is generated through the definition file generation submodule according to a definition file generation instruction sent by the user, and the flow definition file is sent to the plan management module.
3. The system for generating a plan visualization according to claim 2, wherein at least one flow node in the flow is correspondingly provided with a service interface, attribute information of the flow node provided with the service interface includes corresponding service interface file information, and the plan visualization development system further includes an interface design module;
The interface design module is used for designing and generating a service interface corresponding to the flow node according to an interface arrangement instruction sent by a user, receiving a configuration file generation instruction sent by the user, generating a service interface file, and sending the service interface file to the plan management module for storage and management, wherein the service interface file comprises service interface file information.
4. The system of claim 3, wherein the interface design module comprises an interface file generation sub-module, a component attribute configuration sub-module, an interface component service sub-module, and an interface template sub-module, and the interface programming instructions comprise interface design instructions and attribute setting instructions;
the interface design module is used for selecting an interface component from the interface component service submodule according to an interface design instruction sent by a user, arranging the interface component to generate a service interface corresponding to the flow node, or selecting a pre-established service interface from the interface template submodule according to the interface design instruction sent by the user as the service interface corresponding to the flow node; the attribute configuration sub-module is used for configuring the attribute of the interface component in the service interface according to the attribute setting instruction sent by the user; and the interface file generation submodule is used for generating a service interface file according to a configuration file generation instruction sent by a user, and sending the service interface file to the plan management module for storage and management.
5. The system according to claim 4, wherein the plan management module is configured to save the flow definition file and the service interface file to the database sub-module, and configured to create a plan by the plan management sub-module according to a plan creation instruction sent by a user, associate the plan with at least one of the flow definition files, set plan information of the plan and save the plan information to the database sub-module, send an associated flow definition file to the workflow module, and the plan information includes file information of the associated flow definition file, identification information of the plan, and sequence information of the associated flow definition file; the program management sub-module is used for modifying the created program according to the program modification instruction sent by the user; the flow interface information comprises file information of the corresponding flow definition file; the interface template management sub-module is used for carrying out configuration management on the business interface file according to an interface management instruction sent by a user; and the workflow module is used for determining the first plan according to the first identification information sent by the client, and sending the first file information of the first flow definition file associated with the first plan and the first sequence information of the first flow definition file to the workflow module.
6. The system of claim 5, wherein the workflow module comprises a workflow deployment sub-module, a workflow engine sub-module, and a workflow database sub-module;
the workflow module is used for receiving the associated flow definition file, analyzing attribute information and logic information of each flow node in the associated flow definition file through the workflow deployment sub-module, generating a flow model corresponding to the associated flow definition file, and storing the flow model into the workflow database sub-module, wherein the flow model comprises file information of the associated flow definition file; and determining a first flow model corresponding to the first file information according to the first file information, and executing the first flow model according to the first sequence information through the workflow engine submodule so that the first flow model sends instruction information to the client when executing.
7. The system of claim 6, wherein the client comprises a flow parsing sub-module, a message response sub-module, an interface rendering sub-module, and an interface component service sub-module;
The client is used for receiving first identification information of a first plan sent by a user, and sending the first identification information to the plan management module so as to acquire a corresponding first flow definition file and first flow interface information corresponding to the first flow definition file from the plan management module; determining first service interface file information corresponding to a first flow node in the first flow definition file and instruction information corresponding to the first flow node through the flow analysis sub-module, and sending the first service interface file information to the plan management module so as to acquire the first service interface file from the plan management module; the interface rendering sub-module is used for rendering and generating a first flow display interface on the basis of corresponding first flow interface information, and the interface component service sub-module is used for displaying the first flow display interface so as to display the circulation condition of the first flow node in the first flow definition file in real time; and the interface rendering sub-module is used for rendering and generating a first business interface on the basis of the first business file, and the interface component service sub-module is used for displaying the first business interface in the first flow display interface.
8. The system of claim 1, wherein the plan management module further comprises a rights management sub-module, and the client is further configured to receive account information of a user, and send the account information to the rights management sub-module;
the permission management submodule is used for setting the permission of each account information in each plan according to a permission setting instruction sent by a user; and the flow node is used for determining corresponding user rights according to the account information sent by the client, and returning the corresponding user rights to the client so that the client executes the flow node in the first plan according to the corresponding user rights.
9. The system of claim 1, wherein the plan management module further comprises a log management sub-module, the log management sub-module configured to collect management logs of the plan visualization development system.
10. The server side is characterized by comprising a flow design module, a plan management module and a workflow module, wherein the flow design module comprises a node attribute management sub-module and a flow component sub-module, the flow design module is used for acquiring a flow component from the flow component sub-module according to a flow design instruction sent by a user, and the flow component comprises a node component and a connection component, and is used for setting attribute information and logic information of each flow node in a flow through the node attribute management sub-module;
The flow design module is used for designing and generating a flow definition file according to a flow arrangement instruction sent by a user, and sending the flow definition file to the plan management module, wherein the flow definition file comprises file information;
the plan management module is used for storing the flow definition files and creating or managing plans according to plan management instructions sent by a user, wherein the plans are provided with identification information and are at least associated with one flow definition file; the flow interface information of each flow definition file is generated according to a flow interface creation instruction sent by a user; and sending the associated flow definition file to the workflow module; and the workflow module is used for sending the associated first file information to the workflow module according to the first identification information sent by the client, and sending the associated first flow definition file and the first flow interface information of the first flow definition file to the client;
the workflow module is used for generating a flow model corresponding to the associated flow definition file according to the associated flow definition file; and executing a corresponding first flow model according to the first file information sent by the plan management module, so that the first flow model sends instruction information to the client when executing;
The plan management module comprises a plan management sub-module, an interface template management sub-module, a flow template management sub-module and a database sub-module; the plan management instruction comprises a plan creation instruction and a plan modification instruction, wherein the plan management submodule is used for creating a plan, the interface template management submodule is used for carrying out configuration management on service interface files, the corresponding service interface files are determined according to the attributes of service nodes, the service interface files comprise configuration data of service interfaces and service interface file information, the flow template management submodule comprises a flow display interface template, and the database submodule is used for storing the plan information of the plan.
11. A client, wherein the client is configured to receive first identification information of a first plan sent by a user, send the first identification information to a plan management module of the server according to claim 10, so as to obtain a first program definition file associated with the first plan and first program interface information of the first program definition file from the plan management module, and execute the first program definition file according to instruction information sent by a workflow module of the server, and generate a first program display interface according to the first program interface information, so as to display an execution condition of the first program definition file in real time.
CN202111289373.1A 2021-11-02 2021-11-02 System, server and client for generating plans in visual mode Active CN114004553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111289373.1A CN114004553B (en) 2021-11-02 2021-11-02 System, server and client for generating plans in visual mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111289373.1A CN114004553B (en) 2021-11-02 2021-11-02 System, server and client for generating plans in visual mode

Publications (2)

Publication Number Publication Date
CN114004553A CN114004553A (en) 2022-02-01
CN114004553B true CN114004553B (en) 2023-11-24

Family

ID=79926578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111289373.1A Active CN114004553B (en) 2021-11-02 2021-11-02 System, server and client for generating plans in visual mode

Country Status (1)

Country Link
CN (1) CN114004553B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008204178A (en) * 2007-02-20 2008-09-04 Ricoh Co Ltd Workflow processing system and workflow processing method
CN102184217A (en) * 2011-05-04 2011-09-14 西安电子科技大学 Emergency plan generating system and method
CN103700054A (en) * 2013-12-10 2014-04-02 中国地质大学武汉 Sudden-onset geological disaster emergency plan digitization system
CN104077666A (en) * 2014-07-17 2014-10-01 北京中电拓方科技发展有限公司 Production scheduling management system making production procedure be executable and executing plan automatically
CN105700888A (en) * 2016-01-14 2016-06-22 国网山东省电力公司物资公司 Visualization rapid developing platform based on jbpm workflow engine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7464366B2 (en) * 2004-10-01 2008-12-09 Microsoft Corporation Programming interface for a componentized and extensible workflow model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008204178A (en) * 2007-02-20 2008-09-04 Ricoh Co Ltd Workflow processing system and workflow processing method
CN102184217A (en) * 2011-05-04 2011-09-14 西安电子科技大学 Emergency plan generating system and method
CN103700054A (en) * 2013-12-10 2014-04-02 中国地质大学武汉 Sudden-onset geological disaster emergency plan digitization system
CN104077666A (en) * 2014-07-17 2014-10-01 北京中电拓方科技发展有限公司 Production scheduling management system making production procedure be executable and executing plan automatically
CN105700888A (en) * 2016-01-14 2016-06-22 国网山东省电力公司物资公司 Visualization rapid developing platform based on jbpm workflow engine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
应急预案信息化方法研究;李军;;铁路计算机应用(第05期);全文 *
李军 ; .应急预案信息化方法研究.铁路计算机应用.2012,(第05期),全文. *

Also Published As

Publication number Publication date
CN114004553A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN102193781B (en) Integrated design application
CN105700888B (en) A kind of visualization quick development platform based on jbpm workflow engine
CN110928772B (en) Test method and device
CN109101373B (en) General test platform based on subscription/release mode
CN107341643B (en) Visual process display method and system
US20120116834A1 (en) Hybrid task board and critical path method based project application
JP2000200300A (en) System and method for project management integration
US20100138268A1 (en) Progress management platform
WO2020204144A1 (en) Job analysis method
US7885943B1 (en) IT compliance rules
CN103984818A (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
CN106600226A (en) Method and device used for optimizing flow management system
CN106982140B (en) Information flow simulation method and system
JP2010170551A (en) Apparatus and method for managing task information of plant
CN114912255A (en) On-line simulation experiment system and method
CN112686580B (en) Workflow definition method and system capable of customizing flow
CN114004553B (en) System, server and client for generating plans in visual mode
Sangwan et al. Integrating a software architecture-centric method into object-oriented analysis and design
KR101381231B1 (en) System and method for developing web-based enterprise applications under agile process
JP2007524886A (en) System and method for managing a distributed design network
Lin et al. Discovery of semantic relations between web services
JP2008065580A (en) Workflow cooperation program and workflow management system
CN114185987A (en) Data development visualization method, device, equipment and storage medium
JP2001100999A (en) Rule base system
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant