CN114003220A - Workflow model implementation method, system, readable storage medium and computer equipment - Google Patents

Workflow model implementation method, system, readable storage medium and computer equipment Download PDF

Info

Publication number
CN114003220A
CN114003220A CN202111636231.8A CN202111636231A CN114003220A CN 114003220 A CN114003220 A CN 114003220A CN 202111636231 A CN202111636231 A CN 202111636231A CN 114003220 A CN114003220 A CN 114003220A
Authority
CN
China
Prior art keywords
workflow model
attribute
interface
server
workflow
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.)
Granted
Application number
CN202111636231.8A
Other languages
Chinese (zh)
Other versions
CN114003220B (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.)
Thinvent Digital Technology Co Ltd
Original Assignee
Thinvent Digital Technology 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 Thinvent Digital Technology Co Ltd filed Critical Thinvent Digital Technology Co Ltd
Priority to CN202111636231.8A priority Critical patent/CN114003220B/en
Publication of CN114003220A publication Critical patent/CN114003220A/en
Application granted granted Critical
Publication of CN114003220B publication Critical patent/CN114003220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a workflow model realization method, a workflow model realization system, a readable storage medium and computer equipment, wherein the method comprises the following steps: creating a plurality of workflow model attributes, and rendering the plurality of workflow model attributes to a server; when an operation request of a user side is obtained, calling an interface of a server side, and constructing connection between the user side and the server side through the interface; and acquiring the workflow model attribute corresponding to the operation request in the server through the interface so that the user executes corresponding operation according to the corresponding workflow model attribute. The invention dynamically renders the attribute of the workflow model to the server by creating the attribute of the workflow model, achieves the effect of dynamically expanding the workflow model by the client, enables the server to be adapted to different clients, expands the attribute of the workflow model according to the requirements of the clients, does not need any code modification by the server, and simply configures the workflow model in the system, thereby not only saving the workload of a developer at the server, but also reducing the maintenance difficulty of the workflow model.

Description

Workflow model implementation method, system, readable storage medium and computer equipment
Technical Field
The invention relates to the technical field of data processing, in particular to a workflow model implementation method, a workflow model implementation system, a readable storage medium and computer equipment.
Background
At present, the workflow model attributes of workflow system software are all fixed, and the design and development of the attributes are completed according to the requirements of the served application system software.
The traditional workflow system software carries out customized development of workflow model attributes on a plurality of served application system software respectively, and the mode needs to analyze specific services of the application system software again and then carries out customized modification on related codes of the workflow model attributes by a developer. Multiple workflow system software versions need to be correspondingly developed for multiple sets of application system software, the stability, robustness, expansibility and the like of the workflow system software are affected, and the workload and maintenance difficulty of developers are greatly increased.
Disclosure of Invention
Based on this, the present invention provides a workflow model implementation method, system, readable storage medium and computer device to solve at least the above technical deficiencies.
The invention provides a workflow model implementation method, which comprises the following steps:
creating a plurality of workflow model attributes, and rendering the workflow model attributes to a server;
when an operation request of a user side is obtained, calling an interface of the server side, and establishing connection between the user side and the server side through the interface;
and acquiring the workflow model attribute corresponding to the operation request in the server through the interface so as to enable a user to execute corresponding operation according to the corresponding workflow model attribute.
Further, the workflow model attributes at least include attribute identification, attribute name and attribute configuration.
Further, the step of rendering the plurality of workflow model attributes to a server includes:
rendering the attributes of the workflow models in sequence through the attribute names to obtain a plurality of form items;
and adding the form item and the attribute value and the attribute identification corresponding to the form item to the server.
Further, the step of calling an interface of the server and establishing the connection between the user side and the server through the interface includes:
calling an interface of the server through an HTTP service request, and acquiring interface information of the interface;
generating a corresponding interface connection file according to the interface information, and judging whether the interface connection file meets a preset standard or not;
and if the interface connection file meets the preset standard, introducing the interface connection file into the user side so as to construct the connection between the user side and the server side.
Further, the step of obtaining the workflow model attribute corresponding to the operation request in the server through the interface to enable the user to execute the corresponding operation according to the corresponding workflow model attribute includes:
obtaining workflow model data corresponding to the operation request and the server through the interface, and analyzing workflow model attributes in the workflow model data;
and calling an attribute processing implementation code corresponding to the operation request in the workflow model attribute so that a user executes corresponding operation according to the attribute processing implementation code.
The invention also provides a workflow model implementation system, which comprises:
the system comprises a creating module, a service end and a service end, wherein the creating module is used for creating a plurality of workflow model attributes and rendering the workflow model attributes to the service end;
the calling module is used for calling an interface of the server when an operation request of a user side is obtained, and establishing connection between the user side and the server side through the interface;
and the execution module is used for acquiring the workflow model attribute corresponding to the operation request in the server through the interface so as to enable a user to execute corresponding operation according to the corresponding workflow model attribute.
Further, the workflow model attributes at least include an attribute identifier, an attribute name, and an attribute configuration, and the creating module includes:
the rendering unit is used for rendering the attributes of the workflow models in sequence through the attribute names to obtain a plurality of form items;
and the adding unit is used for adding the form item, and the attribute value and the attribute identification corresponding to the form item to the server.
Further, the calling module includes:
the acquisition unit is used for calling an interface of the server through an HTTP service request and acquiring interface information of the interface;
the judging unit is used for generating a corresponding interface connection file according to the interface information and judging whether the interface connection file meets a preset standard or not;
the construction unit is used for introducing the interface connection file into the user side if the interface connection file meets a preset standard so as to construct the connection between the user side and the server side.
Further, the execution module includes:
the analysis unit is used for acquiring the workflow model data corresponding to the operation request from the server through the interface and analyzing the workflow model attribute in the workflow model data;
and the execution unit is used for calling the attribute processing implementation code corresponding to the operation request in the workflow model attribute so as to enable a user to execute the corresponding operation according to the attribute processing implementation code.
The present invention also proposes a readable storage medium, on which a computer program is stored, which when executed by a processor implements the workflow model implementation method described above.
The invention also provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor implements the workflow model implementation method when executing the computer program.
The workflow model realizing method, the system, the readable storage medium and the computer equipment of the invention can dynamically render the workflow model attribute to the server by establishing the workflow model attribute, obtain the information of the workflow model attribute by the user side and specifically realize the workflow model attribute, thereby achieving the effect that the workflow model can be dynamically expanded, leading the server side to realize code zero modification so as to be convenient for adapting to different user sides, leading the server side to expand the workflow model attribute according to the requirements of the user side at any time, leading the server side to be free from any code modification, only needing to carry out simple configuration in the system, further realizing the dynamic expansion of the workflow model attribute and keeping the stability, the robustness, the expansibility and the like of the server side. The workload of a server developer is saved, and the maintenance difficulty of the server developer is reduced.
Drawings
FIG. 1 is a flow chart of a workflow model implementation method in a first embodiment of the invention;
FIG. 2 is a flow chart of a workflow model implementation method in a second embodiment of the invention;
FIG. 3 is a block diagram of a workflow model implementation system according to a third embodiment of the present invention;
fig. 4 is a block diagram showing a computer device according to a fourth embodiment of the present invention.
Description of the main element symbols:
memory device 10 Creation module 11
Processor with a memory having a plurality of memory cells 20 Calling module 12
Computer program 30 Execution module 13
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Example one
Referring to fig. 1, a method for implementing a workflow model in a first embodiment of the present invention is shown, where the method specifically includes steps S101 to S103:
s101, creating a plurality of workflow model attributes, and rendering the workflow model attributes to a server;
it should be noted that the workflow model attributes refer to some attributes contained on the process nodes.
In specific implementation, the workflow model attribute is a flow model designed by a visual flow designer, and the workflow model attribute is some attributes of flow nodes contained in the workflow model; and through visual configuration, defining the attributes of the workflow model on the interface and storing the attributes in a persistent mode.
A set of rules needs to be defined, and the attribute configuration of the workflow model needs to include three configurations, namely attribute identification, attribute name, attribute configuration and the like.
And attribute identification: the unique identifier of the workflow model attribute can acquire the information corresponding to the workflow model attribute through the identifier.
Attribute name: and rendering the name of the attribute of the workflow model into a form item name corresponding to the attribute of the workflow model.
Attribute configuration: the form items for defining the attribute of the workflow model comprise various types such as input boxes, radio boxes, check boxes, drop-down selection boxes, counters, switch buttons and the like, and are defined as the attribute configuration of the workflow model in the form of json character strings. The rules are defined as follows:
formType: form item type (must fill);
key: unique identification (must fill);
label: name (must fill);
defaultValue: a default value;
and (3) rules: checking rules;
where the key needs to be consistent with the attribute identification. label needs to be consistent with the attribute names.
For example: an attribute of the form title authority is added.
Firstly, configuring an attribute identifier as formSet, wherein the attribute name is a form title authority, and the attribute is configured as follows:
{ "fortmType": checkbox "," key ": formSet", "label": form title authority "," options "[ { label: ' read only ', value: ' readOnly ' }, { label: ' hide ', value: ' display ' }, ' defaultValue": rule: { };
and the workflow model attribute configuration obtained by the configuration is rendered on a form of a workflow model visual design interface, so that the added workflow model attribute is provided during design. And realizing dynamic rendering of the attributes of the workflow model through the dynamic form, and filling the attribute values when designing the workflow model, wherein the attribute identification and the attribute values are stored in the flow model together.
In specific implementation, a latest front-end technology is adopted to realize the dynamic form, the attributes of the workflow model are rendered into form items, and all the attributes of the workflow model are rendered by traversing the form items.
The dynamic form code can render the workflow model property configuration example described above as a check box named form title authority, the option of which includes hidden, read-only.
S102, when an operation request of a user side is obtained, calling an interface of the server side, and constructing connection between the user side and the server side through the interface;
in specific implementation, when a user side needs to execute operation, a server side interface is called through a service request such as http, and the connection between the user side and the server side is established through the interface.
S103, obtaining the workflow model attribute corresponding to the operation request in the server through the interface, so that the user executes corresponding operation according to the corresponding workflow model attribute.
In specific implementation, a user side obtains workflow model data corresponding to an operation request in a server side, stores all workflow model attributes in the workflow model data, analyzes the workflow model data, obtains the workflow model attributes in the workflow model data according to the transmitted parameters, and returns the workflow model attributes to the user side.
After the workflow model attribute is obtained, the attribute processing realization code of the workflow model attribute teammate is called according to the actual requirement of the user side, and the actual application effect of the workflow model attribute is achieved.
For example: and if the attribute set by the obtained form title is read-only, setting the attribute of the label where the corresponding form title is located in the front-end form page code as readOnly, so that the effect of read-only of the form title is achieved.
In summary, in the method for implementing a workflow model in the above embodiment of the present invention, by creating the workflow model attribute, dynamically rendering the workflow model attribute to the server, and obtaining information of the workflow model attribute by the client and specifically implementing the workflow model attribute, an effect that the workflow model can be dynamically extended is achieved, so that the server can implement zero code modification to adapt to different clients, the server can extend the workflow model attribute according to the requirements of the client at any time, and the server does not need to modify any code, but only needs to perform simple configuration in the system, thereby implementing dynamic extension of the workflow model attribute and maintaining the stability, robustness, extensibility, and the like of the server itself. The workload of a server developer is saved, and the maintenance difficulty of the server developer is reduced.
Example two
Referring to fig. 2, a method for implementing a workflow model in a second embodiment of the present invention is shown, where the method specifically includes steps S201 to S208:
s201, creating a plurality of workflow model attributes, wherein the workflow model attributes at least comprise attribute identifications, attribute names and attribute configuration;
it should be noted that the workflow model attributes refer to some attributes contained on the process nodes.
In specific implementation, the workflow model attribute is a flow model designed by a visual flow designer, and the workflow model attribute is some attributes of flow nodes contained in the workflow model; and through visual configuration, defining the attributes of the workflow model on the interface and storing the attributes in a persistent mode.
A set of rules needs to be defined, and the attribute configuration of the workflow model needs to include three configurations, namely attribute identification, attribute name, attribute configuration and the like.
And attribute identification: the unique identifier of the workflow model attribute can acquire the information corresponding to the workflow model attribute through the identifier.
Attribute name: and rendering the name of the attribute of the workflow model into a form item name corresponding to the attribute of the workflow model.
Attribute configuration: the form items for defining the attribute of the workflow model comprise various types such as input boxes, radio boxes, check boxes, drop-down selection boxes, counters, switch buttons and the like, and are defined as the attribute configuration of the workflow model in the form of json character strings. The rules are defined as follows:
formType: form item type (must fill);
key: unique identification (must fill);
label: name (must fill);
defaultValue: a default value;
and (3) rules: checking rules;
where the key needs to be consistent with the attribute identification. label needs to be consistent with the attribute names.
For example: an attribute of the form title authority is added.
Firstly, configuring an attribute identifier as formSet, wherein the attribute name is a form title authority, and the attribute is configured as follows:
{ "fortmType": checkbox "," key ": formSet", "label": form title Authority "," options "[ { label: ' read only ', value: ' readOnly ' }, { label: ' hide ', value: ' display ' }, ' defaultValue": rule: { }.
S202, rendering the attributes of the workflow models in sequence through the attribute names to obtain a plurality of form items;
during specific implementation, the workflow model attribute configuration obtained by the configuration is rendered on a form of a workflow model visual design interface, and the added workflow model attribute is provided during design. And realizing dynamic rendering of the attributes of the workflow model through the dynamic form, and filling the attribute values when designing the workflow model, wherein the attribute identification and the attribute values are stored in the flow model together.
S203, adding the form item, and the attribute value and the attribute identification corresponding to the form item to the server;
in specific implementation, a latest front-end technology is adopted to realize the dynamic form, the attributes of the workflow model are rendered into form items, and all the attributes of the workflow model are rendered by traversing the form items.
The dynamic form code can render the workflow model property configuration example described above as a check box named form title authority, the option of which includes hidden, read-only.
S204, when an operation request of a user side is obtained, calling an interface of the server side through an HTTP service request, and obtaining interface information of the interface;
in specific implementation, when a user needs to execute an operation, a server interface is called through a service request such as http and interface information of the interface is acquired, wherein an interface address and an interface parameter are recorded in the interface information.
S205, generating a corresponding interface connection file according to the interface information, and judging whether the interface connection file meets a preset standard;
s206, if the interface connection file meets a preset standard, introducing the interface connection file into the user side to construct the connection between the user side and the server side;
during specific implementation, the interface address and the interface parameter are decomposed and spliced to obtain corresponding interface connection files, standard files corresponding to the interface connection files pre-stored in the memory are called, and if the interface connection files meet the standards recorded in the standard files, the interface connection files are introduced into the user side to establish connection between the user side and the server side.
In the application, if the interface connection file does not meet the standard recorded in the standard file, a file error alarm is sent out, so that the user side can re-dispatch the operation request or re-search the server interface according to the error alarm.
S207, obtaining workflow model data corresponding to the operation request and the service end through the interface, and analyzing workflow model attributes in the workflow model data;
in specific implementation, a user side obtains workflow model data corresponding to an operation request in a server side, stores all workflow model attributes in the workflow model data, analyzes the workflow model data, obtains the workflow model attributes in the workflow model data according to the transmitted parameters, and returns the workflow model attributes to the user side.
S208, calling an attribute processing implementation code corresponding to the operation request in the workflow model attribute so that the user executes corresponding operation according to the attribute processing implementation code.
In specific implementation, after the workflow model attribute is obtained, the attribute processing realization code of the workflow model attribute teammate is called according to the actual requirement of the user side, so that the actual application effect of the workflow model attribute is achieved.
For example: and if the attribute set by the obtained form title is read-only, setting the attribute of the label where the corresponding form title is located in the front-end form page code as readOnly, so that the effect of read-only of the form title is achieved.
In summary, compared with the first embodiment, in the method for implementing a workflow model in the foregoing embodiment of the present invention, when a connection between a user side and a server side is created, a corresponding interface connection file is generated through interface information of the interface, and whether the interface connection file meets a standard or not is determined.
EXAMPLE III
Referring to fig. 3, a workflow model implementation system according to a third embodiment of the present invention is shown, and the workflow model implementation system includes:
the creating module 11 is configured to create a plurality of workflow model attributes, and render the plurality of workflow model attributes to a server;
further, the workflow model attributes at least include an attribute identifier, an attribute name, and an attribute configuration, and the creating module 11 includes:
the rendering unit is used for rendering the attributes of the workflow models in sequence through the attribute names to obtain a plurality of form items;
and the adding unit is used for adding the form item, and the attribute value and the attribute identification corresponding to the form item to the server.
The calling module 12 is configured to call an interface of the server when an operation request of a user side is obtained, and establish a connection between the user side and the server side through the interface;
further, the calling module 12 includes:
the acquisition unit is used for calling an interface of the server through an HTTP service request and acquiring interface information of the interface;
the judging unit is used for generating a corresponding interface connection file according to the interface information and judging whether the interface connection file meets a preset standard or not;
the construction unit is used for introducing the interface connection file into the user side if the interface connection file meets a preset standard so as to construct the connection between the user side and the server side.
And the execution module 13 is configured to obtain, through the interface, a workflow model attribute corresponding to the operation request in the server, so that a user executes a corresponding operation according to the corresponding workflow model attribute.
Further, the executing module 13 includes:
the analysis unit is used for acquiring the workflow model data corresponding to the operation request from the server through the interface and analyzing the workflow model attribute in the workflow model data;
and the execution unit is used for calling the attribute processing implementation code corresponding to the operation request in the workflow model attribute so as to enable a user to execute the corresponding operation according to the attribute processing implementation code.
The functions or operation steps of the modules and units when executed are substantially the same as those of the method embodiments, and are not described herein again.
The workflow model implementation system provided by the embodiment of the invention has the same implementation principle and technical effect as the method embodiment, and for brief description, no part of the system embodiment is mentioned, and reference may be made to the corresponding content in the method embodiment.
Example four
Referring to fig. 4, a computer device according to a fourth embodiment of the present invention is shown, which includes a memory 10, a processor 20, and a computer program 30 stored in the memory 10 and executable on the processor 20, where the processor 20 implements the workflow model implementation method when executing the computer program 30.
The memory 10 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 10 may in some embodiments be an internal storage unit of the computer device, for example a hard disk of the computer device. The memory 10 may also be an external storage device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 10 may also include both an internal storage unit and an external storage device of the computer apparatus. The memory 10 may be used not only to store application software installed in the computer device and various kinds of data, but also to temporarily store data that has been output or will be output.
In some embodiments, the processor 20 may be an Electronic Control Unit (ECU), a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip, and is configured to run program codes stored in the memory 10 or process data, such as executing an access restriction program.
It should be noted that the configuration shown in fig. 4 does not constitute a limitation of the computer device, and in other embodiments, the computer device may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components may be used.
An embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the workflow model implementing method as described above.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A workflow model implementation method is characterized by comprising the following steps:
creating a plurality of workflow model attributes, and rendering the workflow model attributes to a server;
when an operation request of a user side is obtained, calling an interface of the server side, and establishing connection between the user side and the server side through the interface;
and acquiring the workflow model attribute corresponding to the operation request in the server through the interface so as to enable a user to execute corresponding operation according to the corresponding workflow model attribute.
2. The workflow model implementation method of claim 1 wherein the workflow model attributes comprise at least an attribute identification, an attribute name, and an attribute configuration.
3. The workflow model implementation method of claim 2, wherein the step of rendering the plurality of workflow model attributes to a server comprises:
rendering the attributes of the workflow models in sequence through the attribute names to obtain a plurality of form items;
and adding the form item and the attribute value and the attribute identification corresponding to the form item to the server.
4. The workflow model implementation method of claim 1, wherein the step of invoking an interface of the server and establishing the connection between the client and the server through the interface comprises:
calling an interface of the server through an HTTP service request, and acquiring interface information of the interface;
generating a corresponding interface connection file according to the interface information, and judging whether the interface connection file meets a preset standard or not;
and if the interface connection file meets the preset standard, introducing the interface connection file into the user side so as to construct the connection between the user side and the server side.
5. The method for implementing the workflow model according to claim 1, wherein the step of obtaining the workflow model attribute corresponding to the operation request in the server through the interface so that the user executes the corresponding operation according to the corresponding workflow model attribute comprises:
obtaining workflow model data corresponding to the operation request and the server through the interface, and analyzing workflow model attributes in the workflow model data;
and calling an attribute processing implementation code corresponding to the operation request in the workflow model attribute so that a user executes corresponding operation according to the attribute processing implementation code.
6. A workflow model implementation system, comprising:
the system comprises a creating module, a service end and a service end, wherein the creating module is used for creating a plurality of workflow model attributes and rendering the workflow model attributes to the service end;
the calling module is used for calling an interface of the server when an operation request of a user side is obtained, and establishing connection between the user side and the server side through the interface;
and the execution module is used for acquiring the workflow model attribute corresponding to the operation request in the server through the interface so as to enable a user to execute corresponding operation according to the corresponding workflow model attribute.
7. The workflow model implementation system of claim 6 wherein the workflow model attributes comprise at least an attribute identification, an attribute name and an attribute configuration, the creation module comprising:
the rendering unit is used for rendering the attributes of the workflow models in sequence through the attribute names to obtain a plurality of form items;
and the adding unit is used for adding the form item, and the attribute value and the attribute identification corresponding to the form item to the server.
8. The workflow model implementation system of claim 6, wherein the invocation module comprises:
the acquisition unit is used for calling an interface of the server through an HTTP service request and acquiring interface information of the interface;
the judging unit is used for generating a corresponding interface connection file according to the interface information and judging whether the interface connection file meets a preset standard or not;
the construction unit is used for introducing the interface connection file into the user side if the interface connection file meets a preset standard so as to construct the connection between the user side and the server side.
9. A readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a workflow model implementation method according to any one of claims 1 to 5.
10. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the workflow model implementation method as recited in any one of claims 1 to 5 when executing the computer program.
CN202111636231.8A 2021-12-30 2021-12-30 Workflow model implementation method, system, readable storage medium and computer equipment Active CN114003220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111636231.8A CN114003220B (en) 2021-12-30 2021-12-30 Workflow model implementation method, system, readable storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111636231.8A CN114003220B (en) 2021-12-30 2021-12-30 Workflow model implementation method, system, readable storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN114003220A true CN114003220A (en) 2022-02-01
CN114003220B CN114003220B (en) 2022-05-03

Family

ID=79932215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111636231.8A Active CN114003220B (en) 2021-12-30 2021-12-30 Workflow model implementation method, system, readable storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN114003220B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115617819A (en) * 2022-12-19 2023-01-17 思创数码科技股份有限公司 Data storage method, system, computer device and storage medium

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000014618A2 (en) * 1998-08-24 2000-03-16 Fujitsu Limited Workflow system and method
CN101937463A (en) * 2010-09-10 2011-01-05 西安交通大学 Method for automatically generating form for workflow model
CN102135990A (en) * 2011-03-11 2011-07-27 北京神舟航天软件技术有限公司 Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
CN103514159A (en) * 2012-06-14 2014-01-15 阿里巴巴集团控股有限公司 Method, system and device for processing form template
CN105607907A (en) * 2015-12-21 2016-05-25 用友网络科技股份有限公司 Model-driven control system with workflow engine dynamically switched
CN106033471A (en) * 2015-03-20 2016-10-19 阿里巴巴集团控股有限公司 Method and device for processing form
US20170242667A1 (en) * 2016-02-24 2017-08-24 Helix Data Solutions LLC Software development tool using a workflow pattern that describes software applications
CN107943455A (en) * 2017-08-11 2018-04-20 成都萌想科技有限责任公司 A kind of list rendering system based on JSON data formats
CN108037920A (en) * 2017-11-03 2018-05-15 福建省华渔教育科技有限公司 Client customizing form generation method, storage medium
CN109491646A (en) * 2018-10-18 2019-03-19 北京字节跳动网络技术有限公司 A kind of message input method, device, electronic equipment and readable medium
CN110472207A (en) * 2018-05-10 2019-11-19 北京京东尚科信息技术有限公司 List generation method and device
CN110795084A (en) * 2019-11-01 2020-02-14 腾讯科技(深圳)有限公司 Method, device and equipment for generating interface description file and readable storage medium
CN111796945A (en) * 2020-06-12 2020-10-20 中国建设银行股份有限公司 Workflow construction method and device, electronic equipment and readable storage medium
CN112099964A (en) * 2019-06-18 2020-12-18 北京思源政通科技集团有限公司 Interface calling method and device, storage medium and electronic device
CN112653671A (en) * 2020-12-10 2021-04-13 杭州安恒信息技术股份有限公司 Network communication method, device, equipment and medium for client and server
CN112749358A (en) * 2021-01-13 2021-05-04 中国工商银行股份有限公司 Page rendering method and device, electronic equipment and storage medium
CN113094037A (en) * 2021-04-20 2021-07-09 上海携宁计算机科技股份有限公司 Interaction method, development platform, equipment and storage medium for forms and workflows
CN113126986A (en) * 2021-04-12 2021-07-16 北京明略昭辉科技有限公司 Dynamic data-based form item rendering method, system, equipment and storage medium
CN113297825A (en) * 2021-07-23 2021-08-24 苏州恒力智能科技有限公司 Dynamically visualized form application design system and computer readable storage medium
CN113568693A (en) * 2021-07-13 2021-10-29 杭州每刻科技有限公司 Form rendering method and form rendering system
CN113741898A (en) * 2021-11-08 2021-12-03 深圳市明源云采购科技有限公司 Form generation method, device and equipment
CN113760251A (en) * 2020-11-09 2021-12-07 北京沃东天骏信息技术有限公司 Form development method and device based on Vue

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000014618A2 (en) * 1998-08-24 2000-03-16 Fujitsu Limited Workflow system and method
CN101937463A (en) * 2010-09-10 2011-01-05 西安交通大学 Method for automatically generating form for workflow model
CN102135990A (en) * 2011-03-11 2011-07-27 北京神舟航天软件技术有限公司 Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
CN103514159A (en) * 2012-06-14 2014-01-15 阿里巴巴集团控股有限公司 Method, system and device for processing form template
CN106033471A (en) * 2015-03-20 2016-10-19 阿里巴巴集团控股有限公司 Method and device for processing form
CN105607907A (en) * 2015-12-21 2016-05-25 用友网络科技股份有限公司 Model-driven control system with workflow engine dynamically switched
US20170242667A1 (en) * 2016-02-24 2017-08-24 Helix Data Solutions LLC Software development tool using a workflow pattern that describes software applications
CN107943455A (en) * 2017-08-11 2018-04-20 成都萌想科技有限责任公司 A kind of list rendering system based on JSON data formats
CN108037920A (en) * 2017-11-03 2018-05-15 福建省华渔教育科技有限公司 Client customizing form generation method, storage medium
CN110472207A (en) * 2018-05-10 2019-11-19 北京京东尚科信息技术有限公司 List generation method and device
CN109491646A (en) * 2018-10-18 2019-03-19 北京字节跳动网络技术有限公司 A kind of message input method, device, electronic equipment and readable medium
CN112099964A (en) * 2019-06-18 2020-12-18 北京思源政通科技集团有限公司 Interface calling method and device, storage medium and electronic device
CN110795084A (en) * 2019-11-01 2020-02-14 腾讯科技(深圳)有限公司 Method, device and equipment for generating interface description file and readable storage medium
CN111796945A (en) * 2020-06-12 2020-10-20 中国建设银行股份有限公司 Workflow construction method and device, electronic equipment and readable storage medium
CN113760251A (en) * 2020-11-09 2021-12-07 北京沃东天骏信息技术有限公司 Form development method and device based on Vue
CN112653671A (en) * 2020-12-10 2021-04-13 杭州安恒信息技术股份有限公司 Network communication method, device, equipment and medium for client and server
CN112749358A (en) * 2021-01-13 2021-05-04 中国工商银行股份有限公司 Page rendering method and device, electronic equipment and storage medium
CN113126986A (en) * 2021-04-12 2021-07-16 北京明略昭辉科技有限公司 Dynamic data-based form item rendering method, system, equipment and storage medium
CN113094037A (en) * 2021-04-20 2021-07-09 上海携宁计算机科技股份有限公司 Interaction method, development platform, equipment and storage medium for forms and workflows
CN113568693A (en) * 2021-07-13 2021-10-29 杭州每刻科技有限公司 Form rendering method and form rendering system
CN113297825A (en) * 2021-07-23 2021-08-24 苏州恒力智能科技有限公司 Dynamically visualized form application design system and computer readable storage medium
CN113741898A (en) * 2021-11-08 2021-12-03 深圳市明源云采购科技有限公司 Form generation method, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115617819A (en) * 2022-12-19 2023-01-17 思创数码科技股份有限公司 Data storage method, system, computer device and storage medium

Also Published As

Publication number Publication date
CN114003220B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
US8869111B2 (en) Method and system for generating test cases for a software application
CN112068817B (en) Code generation method, system, device and medium for terminal side of Internet of things
CN113065656A (en) Rule engine configuration method and device, server and readable storage medium
WO2018210096A1 (en) Rule engine-based rule configuration method, terminal and device, and storage medium
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN110673847A (en) Configuration page generation method and device, electronic equipment and readable storage medium
CN104238881A (en) Terminal information display method and device and terminal
CN109684008A (en) Card rendering method, device, terminal and computer readable storage medium
CN114003220B (en) Workflow model implementation method, system, readable storage medium and computer equipment
CN111399941A (en) Batch configuration method, device and equipment for BMC (baseboard management controller) functions
CN113986241A (en) Configuration method and device of business rules based on knowledge graph
CN113504918A (en) Equipment tree configuration optimization method and device, computer equipment and storage medium
CN111752560A (en) Component generation method and device, computer equipment and computer-readable storage medium
CN113434582B (en) Service data processing method and device, computer equipment and storage medium
CN114363293A (en) Device management method, system, readable storage medium and computer device
CN113918627A (en) Data conversion method, device and readable storage medium
CN112883088B (en) Data processing method, device, equipment and storage medium
CN110908767B (en) Automatic parameter deployment method and device
CN110704041A (en) Software development method and device
CN116166245A (en) Domain modeling method and device, computer equipment and storage medium
CN110166530A (en) Processing method, electronic device and computer equipment based on micro services return value
CN113434938B (en) BIM model checking method, BIM model checking device, computer equipment and storage medium
CN114239529A (en) Document generation method, device, equipment and medium based on template engine
CN111221560B (en) Resource management method and device and electronic equipment
CN110333870B (en) Simulink model variable distribution processing method, device and equipment

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Workflow model implementation method, system, readable storage medium, and computer equipment

Effective date of registration: 20230724

Granted publication date: 20220503

Pledgee: Bank of China Limited Nanchang Qinghu sub branch

Pledgor: SICHUANG DIGITAL TECHNOLOGY CO.,LTD.

Registration number: Y2023980049692

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231121

Granted publication date: 20220503

Pledgee: Bank of China Limited Nanchang Qinghu sub branch

Pledgor: SICHUANG DIGITAL TECHNOLOGY CO.,LTD.

Registration number: Y2023980049692

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Implementation methods, systems, readable storage media, and computer devices for workflow models

Effective date of registration: 20231124

Granted publication date: 20220503

Pledgee: Bank of China Limited Nanchang Qinghu sub branch

Pledgor: SICHUANG DIGITAL TECHNOLOGY CO.,LTD.

Registration number: Y2023980067620