CN114116674A - Service modeling method, device, medium and equipment based on integrated service platform - Google Patents

Service modeling method, device, medium and equipment based on integrated service platform Download PDF

Info

Publication number
CN114116674A
CN114116674A CN202111454633.6A CN202111454633A CN114116674A CN 114116674 A CN114116674 A CN 114116674A CN 202111454633 A CN202111454633 A CN 202111454633A CN 114116674 A CN114116674 A CN 114116674A
Authority
CN
China
Prior art keywords
node
service
engine
function code
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111454633.6A
Other languages
Chinese (zh)
Inventor
赵向雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haoyun Technologies Co Ltd
Original Assignee
Haoyun Technologies 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 Haoyun Technologies Co Ltd filed Critical Haoyun Technologies Co Ltd
Priority to CN202111454633.6A priority Critical patent/CN114116674A/en
Publication of CN114116674A publication Critical patent/CN114116674A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • G06F16/212Schema design and management with details for data modelling support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

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

Abstract

The application relates to a service modeling method based on an integrated service platform, which comprises the following steps: judging whether the current node is bound with a corresponding function code; when the current node is not bound with the corresponding function code, directly executing script contents in the node circulation condition through a service engine; and when the current node is bound with the corresponding function code, the service engine entrusts the function engine to execute the function code and obtains a return result. Compared with the prior art, the method and the device can solve the problems that the existing business modeling is seriously coupled with the database table and cannot configure complex business and non-database table operation business, greatly shorten the project development period, improve the project quality and meet the actual application requirement.

Description

Service modeling method, device, medium and equipment based on integrated service platform
Technical Field
The present application relates to the technical field of software engineering, and in particular, to a service modeling method, apparatus, storage medium, and terminal device based on an integrated service platform.
Background
As is well known, business modeling plays a very important role in the software development process, and can help developers to know the current situation, inspire vision and requirements and provide accurate and effective reference for subsequent analysis and design through business modeling.
Business Modeling (Business Modeling) is a software model that describes the objects and elements involved in enterprise management and Business, as well as their attributes, behaviors, and relationships to each other, and emphasizes the systematic understanding, design, and construction of enterprise information systems. However, the existing business modeling is seriously coupled with a database table, and complex business and non-database table operation business cannot be configured, so that the period of project development and configuration is greatly increased.
Disclosure of Invention
Based on this, it is necessary to provide a service modeling method, device, storage medium and terminal device based on an integrated service platform, which can solve the problems that the existing service modeling is seriously coupled with a database table, and cannot configure complex services and non-database table operation services, thereby greatly increasing the project development and configuration period.
The embodiment of the invention provides a service modeling method based on an integrated service platform, which comprises the following steps:
judging whether the current node is bound with a corresponding function code;
when the current node is not bound with the corresponding function code, directly executing script contents in the node circulation condition through a service engine;
and when the current node is bound with the corresponding function code, the service engine entrusts the function engine to execute the function code and obtains a return result.
Further, the types of the current node include: common nodes, sink nodes, start nodes, end nodes, rule chains, conditions, branches, and dynamic languages.
Further, the method for directly executing the script content in the node flow condition through the service engine comprises the following steps:
starting a service engine, and executing a first script expression in a node circulation condition through the service engine;
and when the execution result of the script content in the first script expression is true, the flow is transferred to the node with the unique node identifier as the first node.
Further, the method for the business engine to delegate the function engine to execute the function code and obtain the return result includes:
when the unique node identifier is that a first function code is bound to a node of a first node, a service engine entrusts a function engine to execute the first function code;
the function engine feeds back an execution result of the first function code to the service engine;
the service engine executes a second script expression in the node circulation condition according to the execution result of the first function code;
and when the execution result of the script content in the second script expression is true, the flow is transferred to the node with the unique node identifier as the second node.
Further, the method further comprises:
when the unique node identifier is that a second function code is bound to a node of a second node, the service engine entrusts the function engine to execute the second function code;
the execution result of the function engine is fed back to the business engine; wherein the execution result is a calculation result of a node which is the first node.
Further, the business engine comprises a linear pool, a plurality of nodes located in the linear pool, and a functional unit for performing functional binding on each point.
Further, the types of the function codes comprise downloading, exporting, importing, inquiring, modifying, uploading files, adding, processing output results, downloading files, downloading packaging files, generating global unique ID, deleting, batch mixing operation, copying table data, updating or inserting, executing dynamic sql, acquiring all application menus, all activation menus, acquiring all function permission item modules under a specified terminal type, saving function permission strategies, system time, acquiring current login user information, inquiring function permission strategies, acquiring all page element IDs of a current user in a context, a service gateway, a sleep test, an IF condition node, a SWITCH selection node, a GROOVY script execution node, DICTIONARIES, inquiring function permission items, saving data permission strategies, inquiring data permission items, processing output results, downloading files, downloading packaging files, generating global unique ID, deleting, batch mixing operation, copying table data, updating or inserting, executing dynamic sql, acquiring all application menus, acquiring all activation menus, acquiring all function permission item modules under a specified terminal type, saving function permission strategies, selecting nodes, GROOVY script execution nodes, DICTIONARIES, inquiring function permission items, inquiring function items, and the like, The method comprises the steps of returning query table data through specific redundancy, querying statistics, a service timer, service exception reminding, data processing, obtaining application information, restarting kafkarranner, updating a service integration address and pushing a websocket message.
Another embodiment of the present invention provides a service modeling apparatus based on an integrated service platform, the apparatus including:
the node judgment module is used for judging whether the current node is bound with the corresponding function code;
the first execution module is used for directly executing script contents in the node circulation condition through a service engine when the current node is not bound with the corresponding function code;
and the second execution module is used for entrusting the function engine to execute the function code by the service engine when the corresponding function code is bound to the current node, and obtaining a return result.
Another embodiment of the present invention is also directed to a computer readable storage medium including a stored computer program; wherein the computer program controls, when running, the device on which the computer readable storage medium is located to execute the service modeling method based on the integrated service platform as described above.
Another embodiment of the present invention also provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the integrated service platform based service modeling method as described above when executing the computer program.
The service modeling method based on the integrated service platform judges whether the current node is bound with the corresponding function code; when the current node is not bound with the corresponding function code, directly executing script contents in the node circulation condition through a service engine; and when the current node is bound with the corresponding function code, the service engine entrusts the function engine to execute the function code and obtains a return result. Compared with the prior art, the method and the device can solve the problems that the existing business modeling is seriously coupled with the database table, and complex business and non-database table operation business cannot be configured, so that the period of project development and configuration is greatly increased, and the actual application requirements are met.
Drawings
Fig. 1 is a schematic flow chart of a service modeling method based on an integrated service platform according to an embodiment of the present invention;
FIG. 2 is a model of a complete business logic according to an embodiment of the present invention;
fig. 3 is an execution architecture of a service modeling method based on an integrated service platform according to an embodiment of the present invention;
fig. 4 is a block diagram of a service modeling apparatus based on an integrated service platform according to an embodiment of the present invention;
fig. 5 is a structural diagram of a device terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
It should be noted that, the step numbers in the text are only for convenience of explanation of the specific embodiments, and do not serve to limit the execution sequence of the steps. The method provided by the embodiment can be executed by the relevant server, and the server is taken as an example for explanation below.
As shown in fig. 1, the service modeling method based on the integrated service platform provided in the embodiment of the present invention includes steps S11 to S13:
step S11, determine whether the current node is bound with the corresponding function code.
Wherein the type of the current node comprises: a generic node, a sink node, a start node, an end node, a rule chain, a condition, a branch, a dynamic language (GROOVY). It is understood that in other embodiments, the type of the current node may also be adjusted according to actual requirements.
Further, please refer to fig. 2, to start the node: starting execution entries of the function chains; and (3) common nodes: the service engine executes the function code bound by the node, then outputs the result, and then executes the flow according to the arrow condition; the sink node: waiting for all the arrow reference nodes to finish execution and then executing; condition nodes: according to the condition matching condition, executing one arrow flow; and (4) ending the node: the function chain is finished, and the final result is output to form a basic business logic model. The complete service DSL modeling is composed of a starting node, an ending node and N service nodes, and the engine executes the node logic according to the direction of the arrow connecting line. The ApbDSL is fully called Application Platform Business DSL, and an Application Platform service field language is used for realizing service modeling and describing logic of a complete service.
And step S12, when the current node does not bind the corresponding function code, directly executing the script content in the node circulation condition through the service engine.
Specifically, a service engine is started, and a first script expression in a node circulation condition is executed through the service engine; and when the execution result of the script content in the first script expression is true, the flow is transferred to the node with the unique node identifier as the first node. Referring to fig. 3, the service engine includes a linear pool, a plurality of nodes located in the linear pool, and a functional unit for functionally binding each of the nodes. The service engine is responsible for executing circulation, condition judgment, branching, aggregation, starting, ending and the like of the nodes. The function engine is responsible for executing specific functions of node binding, such as adding, deleting, modifying, checking, external service calling, data processing and the like of the database.
In this embodiment, the start node and the end node are usually nodes without any function code bound thereto. Taking the start node as an example, the Type (node Type) as the start node is executed first, because the node is not bound with any function code, the service engine directly executes the expression (script expression) of conditions (node flow conditions), and when the execution result of the groovy script is true, the flow is to the node whose id (node unique identifier) is node _ 1.
Step S13, when the current node is bound with the corresponding function code, the service engine asks the function engine to execute the function code, and obtains a return result.
Specifically, when the node unique identifier is that a first function code is bound to a node of a first node, a service engine delegates a function engine to execute the first function code; the function engine feeds back an execution result of the first function code to the service engine; the service engine executes a second script expression in the node circulation condition according to the execution result of the first function code; and when the execution result of the script content in the second script expression is true, the flow is transferred to the node with the unique node identifier as the second node.
For example, id (node unique identifier) binds a TABLE _ SELECT function code for node _1 node, and the service engine delegates the function engine to execute the function code and obtain a return result. Then, the service engine executes the expression (script expression) of conditions (node flow conditions), and when the execution result of the groovy script is true, the flow is transferred to the node with id (node unique identifier) being node _ 2.
Further, when the unique node identifier is that a second function code is bound to a node of a second node, the service engine delegates the function engine to execute the second function code; the execution result of the function engine is fed back to the business engine; wherein the execution result is a calculation result of a node which is the first node.
For example, id (node unique identifier) binds a RESULT _ restore function code for the node _2 node, and the service engine delegates the function engine to execute the function code and obtain a calculation RESULT of the node _1 node for output. Because the node type is end, the service engine ends the whole functional chain and outputs the final result.
Further, it is encoded as:
Figure BDA0003385008280000071
Figure BDA0003385008280000081
the businesscode is a service code and is a unique service identifier. function _ chain is the description of the node rule chain; the function _ node is a node; conditions are node flow conditions; id is a unique identifier of the node; type is a node type, including: normal, aggregate, start, end, rule chain, condition, branch, GROOVY (dynamic language); bound is used for binding specific functions, such as adding, deleting, modifying and checking data operation, external service operation and the like.
It should be further noted that the function is the minimum output unit of the platform capability, such as common database addition, deletion, modification, and check, and the nodes of each service model are bound with specific functions, and data flows between the nodes to form a complete service.
Functional DSL syntax:
Figure BDA0003385008280000091
wherein, code is a function code and a unique identification of the function; params is a parameter required for this function.
Please refer to the table below, which shows the types of function codes and their definitions in the present invention.
Figure BDA0003385008280000092
Figure BDA0003385008280000101
The invention does not need to write codes, but writes the business model, and the business model is analyzed by the engine. Because business modeling decouples specific languages, business capability enhancement does not depend on specific languages, but rather is platform-dependent. The platform capability is continuously enhanced, and the service processing capability is continuously enhanced. A set of special service modeling DSL is established, specific languages are not bound, the underlying analysis engine can be switched at will, good expansibility and portability are achieved, and the service modeling can use any tool instead of a development tool, so that the difficulty of service development is reduced. In a service model, a service execution closed loop can be completely described, and extra customization development is not needed, so that the service development efficiency and reliability are greatly improved. The service nodes are rich in types and have very flexible logic arrangement capacity. The service node is decoupled from the function node, and the platform can continuously iterate and increase the function nodes, so that the service modeling capability is continuously enhanced, and the service modeling method has very good expansibility.
The service modeling method based on the integrated service platform judges whether the current node is bound with the corresponding function code; when the current node is not bound with the corresponding function code, directly executing script contents in the node circulation condition through a service engine; and when the current node is bound with the corresponding function code, the service engine entrusts the function engine to execute the function code and obtains a return result. Compared with the prior art, the method and the device can solve the problems that the existing business modeling is seriously coupled with the database table, and complex business and non-database table operation business cannot be configured, so that the period of project development and configuration is greatly increased, and the actual application requirements are met.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
Referring to fig. 4, the present invention further provides a service modeling apparatus based on an integrated service platform, where the apparatus includes:
the node determining module 21 is configured to determine whether a corresponding function code is bound to the current node.
Wherein the type of the current node comprises: a generic node, a sink node, a start node, an end node, a rule chain, a condition, a branch, a dynamic language (GROOVY). It is understood that in other embodiments, the type of the current node may also be adjusted according to actual requirements.
Further, please refer to fig. 2, to start the node: starting execution entries of the function chains; and (3) common nodes: the service engine executes the function code bound by the node, then outputs the result, and then executes the flow according to the arrow condition; the sink node: waiting for all the arrow reference nodes to finish execution and then executing; condition nodes: according to the condition matching condition, executing one arrow flow; and (4) ending the node: the function chain is finished, and the final result is output to form a basic business logic model. The complete service DSL modeling is composed of a starting node, an ending node and N service nodes, and the engine executes the node logic according to the direction of the arrow connecting line. The ApbDSL is fully called Application Platform Business DSL, and an Application Platform service field language is used for realizing service modeling and describing logic of a complete service.
The first executing module 22 is configured to directly execute the script content in the node flow condition through the service engine when the current node does not bind the corresponding function code.
Specifically, a service engine is started, and a first script expression in a node circulation condition is executed through the service engine; and when the execution result of the script content in the first script expression is true, the flow is transferred to the node with the unique node identifier as the first node. Referring to fig. 3, the service engine includes a linear pool, a plurality of nodes located in the linear pool, and a functional unit for functionally binding each of the nodes. The service engine is responsible for executing circulation, condition judgment, branching, aggregation, starting, ending and the like of the nodes. The function engine is responsible for executing specific functions of node binding, such as adding, deleting, modifying, checking, external service calling, data processing and the like of the database.
In this embodiment, the start node and the end node are usually nodes without any function code bound thereto. Taking the start node as an example, the Type (node Type) as the start node is executed first, because the node is not bound with any function code, the service engine directly executes the expression (script expression) of conditions (node flow conditions), and when the execution result of the groovy script is true, the flow is to the node whose id (node unique identifier) is node _ 1.
A second executing module 23, configured to, when the current node is bound with the corresponding function code, delegate the function engine to execute the function code by the service engine, and obtain a return result.
Specifically, when the node unique identifier is that a first function code is bound to a node of a first node, a service engine delegates a function engine to execute the first function code; the function engine feeds back an execution result of the first function code to the service engine; the service engine executes a second script expression in the node circulation condition according to the execution result of the first function code; and when the execution result of the script content in the second script expression is true, the flow is transferred to the node with the unique node identifier as the second node.
For example, id (node unique identifier) binds a TABLE _ SELECT function code for node _1 node, and the service engine delegates the function engine to execute the function code and obtain a return result. Then the business engine executes the expression of conditions, and when the execution result of the groovy script is true, the flow is transferred to the node with id (node unique identifier) as node _ 2.
Further, when the unique node identifier is that a second function code is bound to a node of a second node, the service engine delegates the function engine to execute the second function code; the execution result of the function engine is fed back to the business engine; wherein the execution result is a calculation result of a node which is the first node.
For example, id (node unique identifier) binds a RESULT _ restore function code for the node _2 node, and the service engine delegates the function engine to execute the function code and obtain a calculation RESULT of the node _1 node for output. Because the node type is end, the service engine ends the whole functional chain and outputs the final result.
Further, it is encoded as:
Figure BDA0003385008280000131
Figure BDA0003385008280000141
Figure BDA0003385008280000151
the businesscode is a service code and is a unique service identifier. function _ chain is the description of the node rule chain; the function _ node is a node; conditions are node flow conditions; id is a unique identifier of the node; type is a node type, including: normal, aggregate, start, end, rule chain, condition, branch, GROOVY (dynamic language); bound is used for binding specific functions, such as adding, deleting, modifying and checking data operation, external service operation and the like.
It should be further noted that the function is the minimum output unit of the platform capability, such as common database addition, deletion, modification, and check, and the nodes of each service model are bound with specific functions, and data flows between the nodes to form a complete service.
Functional DSL syntax:
Figure BDA0003385008280000152
Figure BDA0003385008280000161
wherein, code is a function code and a unique identification of the function; params is a parameter required for this function.
Please refer to the table below, which shows the types of function codes and their definitions in the present invention.
Figure BDA0003385008280000162
Figure BDA0003385008280000171
The invention does not need to write codes, but writes the business model, and the business model is analyzed by the engine. Because business modeling decouples specific languages, business capability enhancement does not depend on specific languages, but rather is platform-dependent. The platform capability is continuously enhanced, and the service processing capability is continuously enhanced. A set of special service modeling DSL is established, specific languages are not bound, the underlying analysis engine can be switched at will, good expansibility and portability are achieved, and the service modeling can use any tool instead of a development tool, so that the difficulty of service development is reduced. In a service model, a service execution closed loop can be completely described, and extra customization development is not needed, so that the service development efficiency and reliability are greatly improved. The service nodes are rich in types and have very flexible logic arrangement capacity. The service node is decoupled from the function node, and the platform can continuously iterate and increase the function nodes, so that the service modeling capability is continuously enhanced, and the service modeling method has very good expansibility.
The service modeling device based on the integrated service platform provided by the embodiment of the invention judges whether the current node is bound with the corresponding function code; when the current node is not bound with the corresponding function code, directly executing script contents in the node circulation condition through a service engine; and when the current node is bound with the corresponding function code, the service engine entrusts the function engine to execute the function code and obtains a return result. Compared with the prior art, the method and the device can solve the problems that the existing business modeling is seriously coupled with the database table, and complex business and non-database table operation business cannot be configured, so that the period of project development and configuration is greatly increased, and the actual application requirements are met.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program controls, when running, the device on which the computer readable storage medium is located to execute the service modeling method based on the integrated service platform as described above.
An embodiment of the present invention further provides a terminal device, as shown in fig. 5, which is a block diagram of a preferred embodiment of the terminal device provided in the present invention, the terminal device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and when the computer program is executed, the processor 10 implements the service modeling method based on the integrated service platform as described above.
Preferably, the computer program can be divided into one or more modules/units (e.g. computer program 1, computer program 2,) which are stored in the memory 20 and executed by the processor 10 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor 10 may be any conventional Processor, the Processor 10 is a control center of the terminal device, and various interfaces and lines are used to connect various parts of the terminal device.
The memory 20 mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory 20 may be a high speed random access memory, may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may also be other volatile solid state memory devices.
It should be noted that the terminal device may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram of fig. 5 is only an example of the terminal device, and does not constitute a limitation to the terminal device, and may include more or less components than those shown, or combine some components, or different components.
In summary, the method, the apparatus, the storage medium and the terminal device for service modeling based on the integrated service platform provided by the present invention first determine whether the current node is bound with the corresponding function code; when the current node is not bound with the corresponding function code, directly executing script contents in the node circulation condition through a service engine; and when the current node is bound with the corresponding function code, the service engine entrusts the function engine to execute the function code and obtains a return result. Compared with the prior art, the method and the device can solve the problems that the existing business modeling is seriously coupled with the database table, and complex business and non-database table operation business cannot be configured, so that the period of project development and configuration is greatly increased, and the actual application requirements are met.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A service modeling method based on an integrated service platform is characterized by comprising the following steps:
judging whether the current node is bound with a corresponding function code;
when the current node is not bound with the corresponding function code, directly executing script contents in the node circulation condition through a service engine;
and when the current node is bound with the corresponding function code, the service engine entrusts the function engine to execute the function code and obtains a return result.
2. The integrated services platform-based business modeling method of claim 1, wherein the type of the current node comprises: common nodes, sink nodes, start nodes, end nodes, rule chains, conditions, branches, and dynamic languages.
3. The integrated services platform-based business modeling method according to claim 2, wherein the method for directly executing the script content in the node flow condition through the business engine comprises:
starting a service engine, and executing a first script expression in a node circulation condition through the service engine;
and when the execution result of the script content in the first script expression is true, the flow is transferred to the node with the unique node identifier as the first node.
4. The integrated services platform-based business modeling method of claim 3, wherein the method for the business engine to delegate the function engine to execute the function code and obtain the returned result comprises:
when the unique node identifier is that a first function code is bound to a node of a first node, a service engine entrusts a function engine to execute the first function code;
the function engine feeds back an execution result of the first function code to the service engine;
the service engine executes a second script expression in the node circulation condition according to the execution result of the first function code;
and when the execution result of the script content in the second script expression is true, the flow is transferred to the node with the unique node identifier as the second node.
5. The integrated services platform-based business modeling method of claim 4, further comprising:
when the unique node identifier is that a second function code is bound to a node of a second node, the service engine entrusts the function engine to execute the second function code;
the execution result of the function engine is fed back to the business engine; wherein the execution result is a calculation result of a node which is the first node.
6. The integrated services platform-based business modeling method of claim 1, wherein said business engine comprises a linear pool, a plurality of nodes located in said linear pool, and a functional unit for functionally binding each point.
7. The integrated services platform-based service modeling method of claim 1, wherein the types of the function code include downloading, exporting, importing, querying, modifying, uploading files, adding, processing output results, downloading files, downloading packed files, generating globally unique ID, deleting, batch mixing, copying table data, updating or inserting, executing dynamic sql, obtaining all application menus, all active menus, obtaining all function permission modules under a specified terminal type, saving function permission policy, system time, obtaining current login user information, querying function permission policy, obtaining all page element IDs that a current user in context has permission under a specified page, service gateway, sleep test, IF condition node, SWITCH selection node, GROOVY script execution node, dicitoneas, querying function permission item, The method comprises the steps of data authority saving strategy, data authority inquiring strategy, data authority item inquiring, specific redundancy return inquiry table data, inquiry statistics, service timer, service abnormity reminding, data processing, application information obtaining, kafkarranner restarting, service integrated address updating and websocket push information pushing.
8. A service modeling apparatus based on an integrated service platform, the apparatus comprising:
the node judgment module is used for judging whether the current node is bound with the corresponding function code;
the first execution module is used for directly executing script contents in the node circulation condition through a service engine when the current node is not bound with the corresponding function code;
and the second execution module is used for entrusting the function engine to execute the function code by the service engine when the corresponding function code is bound to the current node, and obtaining a return result.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus on which the computer-readable storage medium is located to perform the integrated services platform-based business modeling method of any one of claims 1 to 7.
10. A terminal device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the integrated services platform based service modeling method of any of claims 1 to 7 when executing the computer program.
CN202111454633.6A 2021-11-30 2021-11-30 Service modeling method, device, medium and equipment based on integrated service platform Pending CN114116674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111454633.6A CN114116674A (en) 2021-11-30 2021-11-30 Service modeling method, device, medium and equipment based on integrated service platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111454633.6A CN114116674A (en) 2021-11-30 2021-11-30 Service modeling method, device, medium and equipment based on integrated service platform

Publications (1)

Publication Number Publication Date
CN114116674A true CN114116674A (en) 2022-03-01

Family

ID=80369632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111454633.6A Pending CN114116674A (en) 2021-11-30 2021-11-30 Service modeling method, device, medium and equipment based on integrated service platform

Country Status (1)

Country Link
CN (1) CN114116674A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482633A (en) * 2022-09-13 2022-12-16 珠海市新德汇信息技术有限公司 Method, system, storage medium and device compatible with communication interaction of different devices

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140012963A1 (en) * 2012-07-03 2014-01-09 Skyfire Labs, Inc. Linked List Scripting Engine
US20140372365A1 (en) * 2013-06-13 2014-12-18 Christoph Weyerhaeuser Optimization of Business Warehouse Queries by Calculation Engines
CN106844693A (en) * 2017-01-24 2017-06-13 浙江大学 A kind of conversion methods of openEHR Template to relational database
CN109597825A (en) * 2018-11-30 2019-04-09 深圳前海微众银行股份有限公司 Regulation engine call method, device, equipment and computer readable storage medium
CN110175027A (en) * 2019-05-14 2019-08-27 广州衡昊数据科技有限公司 A kind of method and apparatus for developing business function
WO2019179056A1 (en) * 2018-03-18 2019-09-26 平安科技(深圳)有限公司 Configurable system and method based on rule engine, device, and storage medium
US20200364150A1 (en) * 2019-05-16 2020-11-19 Advanced Micro Devices, Inc. Replacing pointers with hashing in tree-based page table designs
CN112181402A (en) * 2020-09-14 2021-01-05 珠海格力电器股份有限公司 Business processing method and device of business system, storage medium and electronic equipment
CN113434190A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Data processing method and device, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140012963A1 (en) * 2012-07-03 2014-01-09 Skyfire Labs, Inc. Linked List Scripting Engine
US20140372365A1 (en) * 2013-06-13 2014-12-18 Christoph Weyerhaeuser Optimization of Business Warehouse Queries by Calculation Engines
CN106844693A (en) * 2017-01-24 2017-06-13 浙江大学 A kind of conversion methods of openEHR Template to relational database
WO2019179056A1 (en) * 2018-03-18 2019-09-26 平安科技(深圳)有限公司 Configurable system and method based on rule engine, device, and storage medium
CN109597825A (en) * 2018-11-30 2019-04-09 深圳前海微众银行股份有限公司 Regulation engine call method, device, equipment and computer readable storage medium
CN110175027A (en) * 2019-05-14 2019-08-27 广州衡昊数据科技有限公司 A kind of method and apparatus for developing business function
US20200364150A1 (en) * 2019-05-16 2020-11-19 Advanced Micro Devices, Inc. Replacing pointers with hashing in tree-based page table designs
CN112181402A (en) * 2020-09-14 2021-01-05 珠海格力电器股份有限公司 Business processing method and device of business system, storage medium and electronic equipment
CN113434190A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Data processing method and device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115482633A (en) * 2022-09-13 2022-12-16 珠海市新德汇信息技术有限公司 Method, system, storage medium and device compatible with communication interaction of different devices

Similar Documents

Publication Publication Date Title
CN108459962B (en) Code normalization detection method and device, terminal equipment and storage medium
CA3131079A1 (en) Test case generation method and device, computer equipment and storage medium
CN110955432B (en) Continuously integrated publishing method, device and system
US20100125558A1 (en) Framework for Open Dynamic Reflective Applications
CN110928802A (en) Test method, device, equipment and storage medium based on automatic generation of case
CN109815141B (en) Test method and device
US9582270B2 (en) Effective feature location in large legacy systems
CN112035230B (en) Task scheduling file generation method, device and storage medium
CN1976320B (en) Data access control method and system
CN111427578B (en) Data conversion method, device and equipment
CA3142770A1 (en) Component linkage configuration method, device, computer equipment and storage medium
CN114116674A (en) Service modeling method, device, medium and equipment based on integrated service platform
CN110569315A (en) Data processing method and device based on data warehouse
CN112711405B (en) Method, equipment and storage medium for generating add-delete-modify-check application program interface
CN111464429B (en) WeChat applet multi-item compatible sharing method, system, storage medium and equipment
CN112445461A (en) Business rule generation method and device, electronic equipment and readable storage medium
CN111324434B (en) Configuration method, device and execution system of computing task
CN107220031B (en) Operation method and device of service system
CN116185425B (en) Event flow arrangement method, device, equipment and medium based on node combination
CN111414162B (en) Data processing method, device and equipment thereof
CN114692538A (en) Parallel form verification method and device, computer equipment and medium
CN117539946A (en) Service implementation method, device, computer equipment and storage medium
CN114880144A (en) Page data processing method and device, computer equipment and storage medium
CN116301758A (en) Rule editing method, device, equipment and medium based on event time points
CN116048981A (en) Method, device, medium and equipment for designing rear-end interface test case

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