CN116661756A - Object analysis method and device based on low-code DSL - Google Patents
Object analysis method and device based on low-code DSL Download PDFInfo
- Publication number
- CN116661756A CN116661756A CN202310907292.6A CN202310907292A CN116661756A CN 116661756 A CN116661756 A CN 116661756A CN 202310907292 A CN202310907292 A CN 202310907292A CN 116661756 A CN116661756 A CN 116661756A
- Authority
- CN
- China
- Prior art keywords
- service
- management
- data
- code
- dsl
- 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
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 25
- 238000012360 testing method Methods 0.000 claims abstract description 57
- 238000011161 development Methods 0.000 claims abstract description 23
- 238000012423 maintenance Methods 0.000 claims abstract description 20
- 230000003068 static effect Effects 0.000 claims abstract description 19
- 230000008676 import Effects 0.000 claims abstract description 13
- 238000007726 management method Methods 0.000 claims description 73
- 238000000034 method Methods 0.000 claims description 23
- 238000012217 deletion Methods 0.000 claims description 18
- 230000037430 deletion Effects 0.000 claims description 18
- 238000007792 addition Methods 0.000 claims description 16
- 238000012986 modification Methods 0.000 claims description 14
- 230000004048 modification Effects 0.000 claims description 14
- 238000013461 design Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 7
- 238000013523 data management Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 claims description 2
- 238000010801 machine learning Methods 0.000 claims description 2
- 238000012549 training Methods 0.000 claims 1
- 230000008859 change Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000006978 adaptation Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000013507 mapping Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000005538 encapsulation Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides an object analysis method and device based on low-code DSL, comprising the steps of creating, modifying, deleting, inquiring and exporting objects, models, static data, sequences, indexes, test cases and object versions through a configuration management module; configuring basic information, attribute assignment rules and object relations of objects by using an object designer, and generating default services; analyzing and executing a default service or an expanded service data packet of the object by using an object analysis and execution engine; through the object operation and maintenance management module, operation and maintenance management in operation is realized, wherein the operation and maintenance management comprises object import, object service dial testing, service execution log query and automatic test of test cases. The invention enables the existing system to obtain the capability of online development and expansion by integrally embedding the business application. The flexibility and expansibility of the system are greatly improved, so that the system can better adapt to the change of service requirements.
Description
Technical Field
The invention relates to the technical field of software development, in particular to an object analysis method and device based on low-code DSL.
Background
With the advancement of informatization and digitization wave, enterprise information technology systems face unprecedented challenges. The rapidly changing market environment places a demand for rapid response to IT systems. However, in the conventional development manner, the development manner depends on the coding capability of professional developers, and the development efficiency of the development manner cannot meet the requirements of enterprise IT.
In this environment, low code technology has evolved. The low-code technology can reduce the development threshold, improve the development efficiency, and has important value for quick response to market change and improvement of service efficiency. However, current low code technology has some problems.
Firstly, the default service generated by the object modeling of the low code is relatively simple, and most of the default service only realizes the data adding, deleting and modifying service, cannot be expanded on line, and cannot meet the actual business production requirement. Secondly, after object modeling, if service logic needs to be expanded after service is online, the default service codes generated by the code generation tool often need to be manually written, and demand research and development and version upgrading are carried out, so that the service demand realization period is longer. Again, current object generation services often cannot adapt to various mainstream databases.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides an object analysis method and device based on low-code DSL, which enable the existing system to obtain the capability of on-line development and expansion by integrally embedding service application. The flexibility and expansibility of the system are greatly improved, so that the system can better adapt to the change of service requirements.
In order to achieve the above object, the present invention provides an object parsing method based on low code DSL, including:
step S1: through configuration management module, creating, modifying, deleting, inquiring and exporting object, model, static data, sequence, index, test case and object version;
step S2: configuring basic information, attribute assignment rules, object relationships and the like of an object by using an object designer, and generating default services;
step S3: the object parsing and executing engine is used for parsing and executing the default service or the expanded service data package of the object, and the object parsing and executing engine also supports the operation of the object service on different databases. The method comprises the steps of carrying out a first treatment on the surface of the
Step S4: through the object operation and maintenance management module, operation and maintenance management in operation is realized, wherein the operation and maintenance management comprises object import, object service dial testing, service execution log query and automatic test of test cases.
Further, the step S1 specifically includes:
step S11: performing list query of the objects, and managing the new addition, modification, deletion, duplication and export of the objects;
step S12: the management model is used for inquiring a list of the model, modifying and checking the model;
step S13: static data management, including list inquiry of static data, new addition, modification, deletion and view management of static data, and supporting manual and EXCEL import modes to create static data;
step S14: providing list management of sequences, and managing new addition, deletion and modification of the sequences;
step S15: index management, which provides list management of indexes under the current application, and new and deletion management of indexes;
step S16: inquiring a test case list of each object service, and performing new addition, modification, deletion and export management of the test cases;
step S17: and inquiring the operation log of each version, and comparing and backing different versions.
Further, the step S2 specifically includes:
step S21: configuring object basic information;
step S22: object attribute configuration and setting object assignment rules;
step S23: configuring an object relationship;
step S24: in the object configuration process, the objects, attributes and relationships to be built are automatically recommended according to the industry objects preset by the platform, the objects in the current application, the object relationships and the current operation of configuration personnel.
Step S26: and (5) automatically generating default services by the configured objects.
Further, the step S3 specifically includes:
step S31: analyzing the request data packet and the response data packet;
step S32: executing the data packet;
step S33: and analyzing SQL or NoSQL according to the service of the object configuration, and then executing on a corresponding database.
Further, step S4 specifically includes:
step S41: importing XML description of the object, and migrating object configuration among different environments by the object importing;
step S42: the dial testing of the service is timed, the availability of the service is obtained in real time, and an alarm is sent out in time when the service is abnormal;
step S43: inquiring a log of service execution;
step S44: and automatically testing the test cases of the service, and supporting the automatic testing of the interface level and the transaction level.
Further, the method further comprises the following steps:
AI aided design specifically is:
step S51: collecting historical object design data;
step S52: and cleaning and formatting the collected data to ensure the quality of the data. These data are then converted into a format that can be understood by the machine learning model.
Step S53: a predictive model is trained using the processed data. The model should be able to predict the object properties and associations that may be needed based on the data that the user has entered.
Step S54: the predictive effect of this model is tested and if the effect is not satisfactory, optimization of the model, such as improving algorithms, adding data, etc., is required.
Step S55: the trained model is integrated into the flow of the object design. When a user designs a new object, the model predicts according to the data which the user has input and gives suggestions of possible object attributes and association relations.
Step S56: in actual use, feedback of a user and prediction effect data of the model are collected, and prediction performance of the model is continuously optimized.
Further, the object design data in step S51 includes the attribute, association relationship, and performance data in use of the object that has been designed.
The object analysis device based on the low-code DSL is suitable for the object analysis method based on the low-code DSL, and comprises a configuration management module, an object designer module, an object analysis execution engine module and an object operation and maintenance management module.
Further, the object designer module is used for providing configuration development capability of the object, including basic information of the object, attribute assignment rules, configuration of object relationships, and generating default services and extension services.
Further, the object operation and maintenance management module is used for providing operation and maintenance management when the object service runs, and comprises importing of the object, dial testing of the object service, inquiry of a service execution log and automatic testing of test cases.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention provides an object analysis method and device based on low-code DSL, which enables the existing system to obtain the capability of online development and expansion by integrally embedding business application. The flexibility and expansibility of the system are greatly improved, so that the system can better adapt to the change of service requirements.
2. The invention provides an object analysis method and device based on low-code DSL, which can generate service with analysis execution capability by independently deploying an object designer and development service, thereby simplifying the development process and improving the development efficiency.
3. The invention provides an object analysis method and device based on low-code DSL, which can integrate the developed object service, service analysis engine and service operation and maintenance as a module into service application, strengthen the service integration capability and improve the service processing efficiency.
4. The invention provides an object analysis method and device based on low-code DSL, and the completely independent deployment application mode provides the possibility of externally developing services, further expands the service coverage range and improves the service utilization rate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will briefly explain the drawings needed in the embodiments or the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a functional block diagram of the present invention;
FIG. 3 is a diagram of an object configuration sample of the present invention;
FIG. 4 is a flow chart of object importation of the present invention;
FIG. 5 is a flow chart of the design of the object of the present invention;
FIG. 6 is a flow chart of an object generation service of the present invention;
FIG. 7 is a flowchart of an object service extension of the present invention;
FIG. 8 is a diagram of an object service invocation scheme in accordance with the present invention;
FIG. 9 is a flowchart of the object service operation analysis.
Detailed Description
The technical solution of the present invention will be more clearly and completely explained by the description of the preferred embodiments of the present invention with reference to the accompanying drawings.
SQL and NoSQL represent two very common database types, respectively. SQL stands for structured query language, mainly used in relational database management systems.
NoSQL refers to "no SQL" (no SQL is used for queries) or just SQL (both SQL and non-SQL query is used), the distinction between two including creation, structure, data type stored and data storage and query modes
As shown in fig. 1, the present invention specifically comprises:
step S1: through configuration management module, creating, modifying, deleting, inquiring and exporting object, model, static data, sequence, index, test case and object version;
step S2: configuring basic information, attribute assignment rules, object relationships and the like of an object by using an object designer, and generating default services;
step S3: the object parsing and executing engine is used for parsing and executing the default service or the expanded service data package of the object, and the object parsing and executing engine also supports the operation of the object service on different databases. The method comprises the steps of carrying out a first treatment on the surface of the
Step S4: through the object operation and maintenance management module, operation and maintenance management in operation is realized, wherein the operation and maintenance management comprises object import, object service dial testing, service execution log query and automatic test of test cases.
The functional blocks are as shown in figure 2,
the configuration management module provides the capabilities of object management, model management, static data management, sequence management, index management, test case management, object version management, and the like.
The method comprises the following steps:
configuration management provides the capabilities of object management, model management, static data management, sequence management, index management, test case management, object version management, and the like.
Object management provides list querying of objects, and new addition, modification, deletion, duplication and export management of objects.
Model management provides list querying of models, modification and view management of models.
Static data management provides list query of static data, and new addition, modification, deletion and view management of the static data. When the static data is newly added, a manual and EXCEL import mode is supported to create the static data.
Sequence management provides list management of sequences, and new addition, deletion and modification management of sequences.
Index management provides list management of indexes under current application, and new and deleted management of indexes.
Test case management provides test case list query for each object service, and test case addition, modification, deletion and export management. When the test cases are newly added, corresponding application case values can be generated by default according to the type of service, the input parameters and the output parameters, and configuration personnel can adjust the application case values on the basis.
The object version management provides a version list query of the object, so that an operation log of each version can be queried, and different versions can be compared and rolled back.
The object designer module provides configuration development capability of the object, basic information, attributes, assignment rules, object relations and the like of the configuration object, default generates default service after the configuration of the object is completed, and supports expansion of the generated default service. After development, the service debugging function is provided, so that whether the service logic development is correct or not can be conveniently positioned.
The method specifically comprises the following steps of;
the object designer provides configuration development capability of the object, basic information, attribute assignment rules, object relationships and the like of the configuration object, default generates default service after the object is configured, and supports expansion of the generated default service. After development, the service debugging function is provided, so that whether the service logic development is correct or not can be conveniently positioned.
The object basic information provides configuration of information such as object name, code, type, grouping, tag, remark, etc.
The object attributes provide configuration of information such as names, codes, service types, data lengths, component types, unique, default values, data dictionaries, check rules, prompts, and the like of the object attributes.
The object assignment rule provides that the object attribute can be assigned and set according to the rule under different scenes. The assignment rules include sequences, random numbers, current time, business functions, business codes, etc.
The object relation provides relation setting between objects, and the object management comprises master-slave, association relation and other types.
In the automatic recommendation process, in the object configuration process, according to an industry object preset by a platform, an object in the current application, an object relation, the current operation of a configurator and the like, the object, the attribute, the relation and the like to be built are automatically recommended, and the filling operation of the configurator is reduced.
The object generation service provides the ability to automatically generate default services after the object is configured. The default generated services include new addition, batch addition, deletion of data according to a primary key, batch deletion, updating of data according to a primary key, acquisition of data according to a primary key set, query of a list, and query of a paging list.
The service expansion orchestrator provides visual development of expansion services, provides rich primitive components, and rapidly expands service logic through assembly of the primitive components and primitive access parameter mapping.
The service extension orchestrator provides service canvas, service debugging, and primitive components.
The service canvas provides a visual mode to display the service logic, the service logic can be modified on the canvas, and parameter mapping of the primitive nodes of the service logic can be performed through the canvas.
The service debugging provides debugging after the service development is finished, and whether the whole service is executed correctly or not and whether the arrangement setting of each service node is correct or not can be debugged.
The graphic element assembly encapsulates a series of visual assemblies, simplifies the capabilities of logic processing, data access and the like which are frequently used in service development into one graphic element assembly, and is convenient for assembling the graphic element assembly in a service canvas to form service logic processing requirements. Primitive components encapsulate primitive components of different types, such as logical classes, SQL classes, object classes, script classes, etc.
The logic class provides a loop primitive, a jump primitive, a judgment primitive, a branch primitive, a variable primitive and a parameter-outputting primitive. The loop graphic element corresponds to the programmed loop control, and the jump graphic element is matched with the loop graphic element, so that the loop is ended. And judging that the primitive corresponds to if judgment. The branch primitive corresponds to if … else condition control. The variable primitives are used to define variables of the service, and variable values can be referenced in the respective service nodes. The out-reference primitive is used to define a service branch processing end scenario.
The SQL class provides SQL primitives, the SQL primitives provide data for querying and updating related data sources in an SQL mode, and the storage process can be called through the SQL primitives.
Script classes provide Python script primitives and Groovy script primitives. The Python script primitive may call a Python written function or code block. The Groovy script primitives may call a function or code block written by Groovy.
The object class is the service generated by the object and is provided with three service nodes, namely object initialization, object verification and object execution, the three nodes are not allowed to be deleted, the nodes can be inserted according to the service logic requirement, the types of expansion components are required to be bound when the nodes are inserted, and the component attributes and the node parameter entering information are set.
The object analysis execution engine module is used for analyzing and executing default service or service data packets after expansion arrangement of the object, and the database adaptation capability of the execution engine supports that the object service can be adapted and executed in different databases.
The method comprises the following steps:
the object analysis engine provides data package analysis, execution engine and graphic element execution component, and meanwhile, the multi-database adaptation capability enables the engine to operate in different databases in an adaptation mode.
The data packet analysis is to analyze the DSL data packet of the object service to form the context information needed by the execution engine.
The execution engine is parsed and executed according to the object data packet. The object data package defines the object service access parameters, service nodes and service node relations. The object parsing execution engine parses the object service node relation, and executes node logic according to the defined node sequence and the component type of the node, for example, the initialization primitive component of the node is an internal API for calling the object encapsulation.
The primitive execution component provides the execution interfaces for object classes, SQL classes, script classes, and part of the logical classes.
The object class primitive execution interface provides internal API execution capability for calling object encapsulation, and comprises three API capabilities of object service initialization, object service verification and object service execution.
The SQL primitive execution interface provides an SQL execution interface and invokes the JDBC driver to execute SQL according to the data source.
The Python & Groovy primitive script execution interface provides for the parsed execution of script functions or code blocks.
The logical primitive components are processed in the execution engine.
The multi-database adaptation provides the SQL sentence which can be assembled and converted into the final operation according to the current database type when the execution engine operates the object class service.
The object operation and maintenance management module provides operation and maintenance management capability when the object service runs, management capability such as object import and import, object service dial test and object service execution log query, and the like, and can configure the execution strategy of each object test case, trigger each test case through a timing task, and realize automatic test of the object service.
The object operation and maintenance is used for importing an object, dialing and testing an object service, inquiring a service execution log and automatically testing a test case after the object is released to an actual running environment.
Object importation provides importation processing of object data packets, importation of object data packets exported from an object designer into a runtime environment.
The object service dial test is to provide object service list management, and can dial test the object service to confirm whether the service can be executed correctly.
A log query is a log view that provides object service execution for object service runtime failure and performance analysis.
The automatic test is to import test cases in the operation platform, configure the execution strategy of each object test case, trigger each test case by timing task or manual operation, and realize the automatic test of the object service. After each test case is executed, the test case execution log and the result can be checked.
Example 1: an object is configured, a default service is generated, the default service is expanded, and service call is performed. As shown in FIG. 3
Step 1, newly creating an object: an object is newly built in the object management of configuration management, and the name, code, attribute and the like of the object need to be set when the object is newly built.
Step 2, object importing: when an object is newly built in the object management of configuration management, the object is created by supporting importing an object file through EXCEL import, an external data source, an SQL mode and the like. This step may be skipped if the object is created manually.
Step 3, object design: setting basic information, attributes, assignment rules, object-to-object relationship and other information of the object in the object designer, and storing the object after the setting is completed.
Step 4, object generation service: when the object is stored, automatically generating default service based on the object, wherein the default service comprises new addition, batch addition, data deletion according to a main key, batch deletion, data updating according to the main key, data acquisition according to a main key set, a query list and a query paging list.
Step 5, object service expansion: based on the object generation services, the default services can be expanded, the services to be expanded are selected, and the services enter an expansion editor, wherein three default nodes of the default display services in the expansion editor: the method comprises the steps of initializing an object, checking the object and executing the object, wherein the three nodes are not allowed to be deleted, the nodes can be inserted according to the service logic requirement, the types of expansion components are required to be bound when the nodes are inserted, and the component attributes and the node parameter entering information are set. The service may be saved after the service extension orchestration is completed. This step may be skipped if the object generated service does not require extension.
Step 6, service debugging: after the object generates the service or the service expansion is arranged, the service is debugged, and the parameter entering information of the service is input. The debugging can return access information of each service node, so that whether the logic arrangement of the positioning service is correct or not can be conveniently positioned.
Step 7, object release: after the object service is confirmed to be debugged without errors, the object service can be released, and the released service can provide capability for the outside.
Wherein the step 2 object is imported with multiple steps as shown in fig. 4.
Step 2.1, uploading an object file: when an object is newly added in object management, selecting an uploaded object file, wherein the type of the uploaded file supports EXCEL and SQL files; and simultaneously supporting connection with a corresponding database, inquiring a table of the database, and checking the table which needs to be created as an object.
Step 2.2, checking the object file: when the object file is imported, checking whether the format in the object file is accurate or not, and checking whether the object code in the file exists in the application or not at the same time, if the format is not right or the object code exists, prompting that the object file is not checked, and ending the object import.
Step 2.3 object file parsing: and analyzing the object file, and calling an object creation API after analyzing.
Step 2.4 object generation: the service creation object is invoked into the database.
Wherein the step 3 object is designed with multiple steps as in fig. 5.
Step 3.1, setting basic information of an object: information such as object names, codes, object types, groups, labels and the like is set in the object basic information page.
Step 3.2, setting object properties: and setting object attributes, wherein the object attributes comprise information such as names, codes, service types, data lengths, component types, uniqueness, default values, data dictionaries, check rules, prompt and the like of the attributes.
Step 3.3, setting an object assignment rule: the object attribute can be assigned according to a rule under the condition of setting the object to be newly added and modified, wherein the assignment rule comprises a sequence, a random number, the current time, a business function, a business code and the like.
Step 3.4, object relation setting: the relationship between the objects is set, including master-slave, association relationship and the like.
Wherein step 4 the object generation service has a number of steps, as in fig. 6.
Step 4.1, object preservation: and clicking for saving in the object creation page, and calling an object creation API service.
Step 4.2, object attribute acquisition: the object attributes delivered by the object creation API service are obtained.
Step 4.3, object service node generation: and assembling service nodes which are required to be generated by each service according to the object attribute and four service types, namely inquiring, adding, modifying and deleting, wherein the inquiring class has only one executing node, and the service generation of the adding, modifying and deleting class is initialized, checked and executed to form three service nodes, and the object service creation API is called after the generation is completed.
Step 4.4 object service generation: the calling service writes the services of the object into the database.
Step 5 also has a plurality of steps, as shown in fig. 7:
step 5.1 selection of service: selecting an object to generate good service, the service of the query class is not allowed to be expanded, and only the service of the new added, modified and deleted class supports expansion.
Step 5.2, newly adding an extension service: clicking the newly added expansion service and entering an expansion editor.
Step 5.3 generating an object service default node: after entering the expansion editor, three nodes of object initialization, object verification and object execution are generated by default, the three nodes are not allowed to be deleted, and expansion nodes can be inserted between the three nodes.
Step 5.4, newly adding a node: clicking the newly added node on the extended editor.
Step 5.5 selecting node component type: and binding the corresponding node component type when the node is newly added. In the editing area, selecting a node component type, and inserting the node component type into the editing area, wherein the node component type comprises a logic type, an SQL type and a script type.
Step 5.6, configuring node component attributes: for example, SQL nodes need to be written in SQL, and access parameters of the nodes are automatically analyzed.
Step 5.7 mapping node parameters: after the node component type is selected, parameters of the node need to be configured, and the parameters can be mapped according to service input parameters or upstream node output parameters.
Step 5.8 save service: all logic is configured to save the orchestrated extension services.
Step 6 also has a plurality of steps, as shown in fig. 8:
step 6.1, inputting service parameters: after click debugging, service entry information needs to be input.
Step 6.2, calling a service analysis engine: click execution will call the service resolution engine for debugging.
Step 6.3 execution returns: the front end obtains the returned data of the service analysis engine.
And 6.4, displaying an execution result on the interface: the debug interface will expose access details for each node of the service and execution time and time consuming for each node.
Wherein step 6.2 has a plurality of execution steps as shown in fig. 9:
step A.1, calling an object service execution engine: triggering and calling a one-time analysis execution engine.
Step a.2 queries DSL: and querying DSL data to the cache according to the called object code and ID obtained by the entry.
Step a.3 parses DSL into context: and analyzing the DSL content into an execution engine context structure to form information such as node information, node relation, node parameters, node parameter mapping and the like.
Step A.4, obtaining a parameter entering node: and acquiring the node information of the root node.
Step A.5, setting the parameters: the engine entry is set into the entry information.
Step a.6 set context: the parameter entering node information is set to the context of the current execution.
Step A.7, obtaining the next node: the following-in node acquires the next node.
Step a.8 analyzing node assembly type: and acquiring the component type according to the node binding component type.
Step A.9, calling a component execution interface: and acquiring the parameter entering information of the node from the upper file and the lower file, and calling the component executing interface to execute the current node.
Step a.10 set context: saving the current node component execution result to the context.
Step a.11 execution ends: repeating the steps A.7-A.10 according to the current node until the execution reaches the out-of-reference node.
The above detailed description is merely illustrative of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Various modifications, substitutions and improvements of the technical scheme of the present invention will be apparent to those skilled in the art from the description and drawings provided herein without departing from the spirit and scope of the invention. The scope of the invention is defined by the claims.
Claims (10)
1. An object parsing method based on low-code DSL, comprising:
step S1: through configuration management module, creating, modifying, deleting, inquiring and exporting object, model, static data, sequence, index, test case and object version;
step S2: configuring basic information, attribute assignment rules and object relations of an object by using an object designer, and generating default services;
step S3: analyzing and executing a default service or an expanded service data packet of the object by using an object analysis and execution engine;
step S4: through the object operation and maintenance management module, operation and maintenance management in operation is realized, wherein the operation and maintenance management comprises object import, object service dial testing, service execution log query and automatic test of test cases.
2. The method for object resolution based on low-code DSL according to claim 1, wherein step S1 is specifically:
step S11: performing list query of the objects, and managing the new addition, modification, deletion, duplication and export of the objects;
step S12: the management model is used for inquiring a list of the model, modifying and checking the model;
step S13: static data management, including list inquiry of static data, new addition, modification, deletion and view management of static data, and supporting manual and EXCEL import modes to create static data;
step S14: providing list management of sequences, and managing new addition, deletion and modification of the sequences;
step S15: index management, which provides list management of indexes under the current application, and new and deletion management of indexes;
step S16: inquiring a test case list of the object service, and performing new addition, modification, deletion and export management on the test case;
step S17: and inquiring the operation log of each version, and comparing and backing different versions.
3. The method of object parsing based on low-code DSL according to claim 1, wherein step S2 is specifically:
step S21: configuring object basic information;
step S22: object attribute configuration and setting object assignment rules;
step S23: configuring an object relationship;
step S24: in the object configuration process, automatically recommending objects, attributes and relations to be built according to industry objects preset by a platform, objects in current application, object relations and current operation of configuration personnel;
step S26: and (5) automatically generating default services by the configured objects.
4. The method of object parsing based on low-code DSL according to claim 1, wherein step S3 is specifically:
step S31: analyzing the request data packet and the response data packet;
step S32: executing the data packet;
step S33: and analyzing SQL or NoSQL according to the service of the object configuration, and then executing on a corresponding database.
5. The method of object parsing based on low-code DSL according to claim 1, wherein step S4 is specifically:
step S41: importing XML description of the object, and migrating object configuration among different environments by the object importing;
step S42: the dial testing of the service is timed, the availability of the service is obtained in real time, and an alarm is sent out in time when the service is abnormal;
step S43: inquiring a log of service execution;
step S44: and automatically testing the test cases of the service, and supporting the automatic testing of the interface level and the transaction level.
6. The low code DSL-based object parsing method of claim 1 further comprising: AI aided design specifically is:
step S51: collecting historical object design data;
step S52: the collected data are cleaned and formatted, the quality of the data is guaranteed, and the data are converted into a format which can be understood by a machine learning model;
step S53: training a predictive model using the processed data;
step S54: testing the prediction effect of the model, and optimizing the model;
step S55: integrating the trained model into a process of object design, and when a user designs a new object, predicting the model according to data input by the user, and giving advice;
step S56: and collecting feedback of the user and prediction effect data of the model, and continuously optimizing the prediction performance of the model.
7. The method of claim 6, wherein the object design data in step S51 includes the properties, association relation, and performance data of the designed object in use.
8. An object parsing apparatus based on low-code DSL, adapted to the method for low-code DSL according to any one of claims 1 to 7, comprising a configuration management module, an object designer module, an object parsing execution engine module, and an object operation and maintenance management module.
9. The low code DSL-based object parsing apparatus of claim 8, wherein the object designer module is configured to provide configuration development capabilities of the object, including basic information of the object, attribute assignment rules, configuration of object relationships, and generation of default services and extended services.
10. The low code DSL-based object parsing apparatus of claim 8, wherein the object operation management module is configured to provide operation management of an object service in operation, including import of an object, dial testing of an object service, log query of service execution, and automatic testing of test cases.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310907292.6A CN116661756B (en) | 2023-07-24 | 2023-07-24 | Object analysis method and device based on low-code DSL |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310907292.6A CN116661756B (en) | 2023-07-24 | 2023-07-24 | Object analysis method and device based on low-code DSL |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116661756A true CN116661756A (en) | 2023-08-29 |
CN116661756B CN116661756B (en) | 2023-10-27 |
Family
ID=87724398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310907292.6A Active CN116661756B (en) | 2023-07-24 | 2023-07-24 | Object analysis method and device based on low-code DSL |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116661756B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117421448A (en) * | 2023-12-12 | 2024-01-19 | 南京群顶科技股份有限公司 | Object reference relation maintenance method based on mode management in automatic control system |
CN117687681A (en) * | 2024-02-02 | 2024-03-12 | 浩鲸云计算科技股份有限公司 | Version management method and system for low-code application |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681718A (en) * | 2016-12-16 | 2017-05-17 | 武汉中地数码科技有限公司 | Toolkit-based desktop side plugin frame and implementation method thereof |
CN107368578A (en) * | 2017-07-20 | 2017-11-21 | 山东合天智汇信息技术有限公司 | A kind of method and system for quickly generating ES query statements |
CN113885892A (en) * | 2021-12-08 | 2022-01-04 | 浩鲸云计算科技股份有限公司 | Low code configuration access method based on multi-cloud platform |
US20220206762A1 (en) * | 2020-12-31 | 2022-06-30 | Nb Ventures, Inc. Dba Gep | Codeless development of enterprise application |
CN115640045A (en) * | 2022-12-26 | 2023-01-24 | 卓望数码技术(深圳)有限公司 | Low-code development platform based on domain-driven design and business system creation method |
CN115639980A (en) * | 2022-10-08 | 2023-01-24 | 浙江中控技术股份有限公司 | Draggable front-end logic arrangement method and device for low-code platform |
CN116360739A (en) * | 2023-04-03 | 2023-06-30 | 成都四象联创科技有限公司 | Visual business logic development system |
-
2023
- 2023-07-24 CN CN202310907292.6A patent/CN116661756B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681718A (en) * | 2016-12-16 | 2017-05-17 | 武汉中地数码科技有限公司 | Toolkit-based desktop side plugin frame and implementation method thereof |
CN107368578A (en) * | 2017-07-20 | 2017-11-21 | 山东合天智汇信息技术有限公司 | A kind of method and system for quickly generating ES query statements |
US20220206762A1 (en) * | 2020-12-31 | 2022-06-30 | Nb Ventures, Inc. Dba Gep | Codeless development of enterprise application |
CN113885892A (en) * | 2021-12-08 | 2022-01-04 | 浩鲸云计算科技股份有限公司 | Low code configuration access method based on multi-cloud platform |
CN115639980A (en) * | 2022-10-08 | 2023-01-24 | 浙江中控技术股份有限公司 | Draggable front-end logic arrangement method and device for low-code platform |
CN115640045A (en) * | 2022-12-26 | 2023-01-24 | 卓望数码技术(深圳)有限公司 | Low-code development platform based on domain-driven design and business system creation method |
CN116360739A (en) * | 2023-04-03 | 2023-06-30 | 成都四象联创科技有限公司 | Visual business logic development system |
Non-Patent Citations (3)
Title |
---|
THOMAS NÄGELE等: "Rapid Construction of Co-Simulations of Cyber-Physical Systems in HLA Using a DSL", 《2017 43RD EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA)》, pages 247 - 251 * |
张明: "一种SAP低代码开发平台的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 83 * |
方志宁 等: "基于微服务架构的统一应用开发平台", 《仪器仪表用户》, vol. 30, no. 3, pages 93 - 97 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117421448A (en) * | 2023-12-12 | 2024-01-19 | 南京群顶科技股份有限公司 | Object reference relation maintenance method based on mode management in automatic control system |
CN117421448B (en) * | 2023-12-12 | 2024-02-23 | 南京群顶科技股份有限公司 | Object reference relation maintenance method based on mode management in automatic control system |
CN117687681A (en) * | 2024-02-02 | 2024-03-12 | 浩鲸云计算科技股份有限公司 | Version management method and system for low-code application |
CN117687681B (en) * | 2024-02-02 | 2024-05-14 | 浩鲸云计算科技股份有限公司 | Version management method and system for low-code application |
Also Published As
Publication number | Publication date |
---|---|
CN116661756B (en) | 2023-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11675691B2 (en) | System and method for performing automated API tests | |
CN116661756B (en) | Object analysis method and device based on low-code DSL | |
US6385765B1 (en) | Specification and verification for concurrent systems with graphical and textual editors | |
CN111722839B (en) | Code generation method and device, electronic equipment and storage medium | |
US20040143819A1 (en) | Generic software testing system and mechanism | |
US20030159089A1 (en) | System for creating, storing, and using customizable software test procedures | |
CN112882974A (en) | JSON data conversion method and device, computer equipment and storage medium | |
CN106293891B (en) | Multidimensional investment index monitoring method | |
CN108984393A (en) | A kind of unit testing code automatic generation method and device | |
CN111026670B (en) | Test case generation method, test case generation device and storage medium | |
CN110209389A (en) | A kind of data generating tool development system based on XML | |
CN112433701A (en) | Industrial software development project implementation flow, content and code generation method and device | |
CN113986241A (en) | Configuration method and device of business rules based on knowledge graph | |
Jeusfeld | SemCheck: checking constraints for multi-perspective modeling languages | |
Rahman et al. | A DSL for importing models in a requirements management system | |
CN115469860B (en) | Method and system for automatically generating demand-to-software field model based on instruction set | |
CN111008011A (en) | System builder for power platform application development | |
KR20090099977A (en) | A reserved component container based software development method and apparatus | |
CN114328965A (en) | Knowledge graph updating method and device and computer equipment | |
Zündorf | A heuristic for the subgraph isomorphism problem in executing PROGRES | |
Zepeda et al. | A model driven approach for data warehouse conceptual design | |
KR100656559B1 (en) | Program Automatic Generating Tools | |
US20240086163A1 (en) | Iterative and interactive method for code conversion | |
CN114138425B (en) | Method and device for generating form based on formula | |
CN117055895B (en) | Method, system and readable medium for converting SQL sentence into HTTP interface |
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 |