CN116107561B - Low-code-based action node rapid construction method, system and storage medium - Google Patents
Low-code-based action node rapid construction method, system and storage medium Download PDFInfo
- Publication number
- CN116107561B CN116107561B CN202310398810.6A CN202310398810A CN116107561B CN 116107561 B CN116107561 B CN 116107561B CN 202310398810 A CN202310398810 A CN 202310398810A CN 116107561 B CN116107561 B CN 116107561B
- Authority
- CN
- China
- Prior art keywords
- action
- action node
- node
- value
- nodes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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/34—Graphical or visual programming
-
- 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)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method, a system and a storage medium for quickly constructing action nodes based on low codes, wherein the method comprises the following steps: acquiring target action node information; dividing the target action node according to the basic attribute to obtain the type of the target action node; obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node; comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node; and sending the parameters of the target action node to the parameter configuration object of the target action node, and running the corresponding action factory function to obtain the registration action. According to the invention, the configuration information of the node is saved through the action node configuration file, and the action parameter configuration panel and the node data are quickly constructed, so that the construction speed of the action node is improved.
Description
Technical Field
The invention relates to the technical field of low codes, in particular to a method, a system and a storage medium for quickly constructing action nodes based on low codes.
Background
The low code is a visual application program development method, can accelerate and simplify application program development from a small department to a large complex task, can be deployed across platforms after one development, and simultaneously accelerates and simplifies integration of application programs, cloud, local databases and recording systems. The low-code development platform can realize enterprise digital application demand analysis, interface design, development, delivery and management, and has the characteristics of rapidness, agility and continuity. At present, a great deal of time is often spent on configuring a parameter panel of a node when the action node is developed, and development progress is delayed.
Accordingly, there is a need for improvement in the art.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method, a system and a storage medium for quickly constructing an action node based on a low code, which can construct the action node more accurately and quickly.
The first aspect of the invention provides a method for quickly constructing an action node based on a low code, which comprises the following steps:
acquiring target action node information;
dividing the target action node according to the basic attribute to obtain the type of the target action node;
obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node;
comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node;
and sending the parameters of the target action node to the parameter configuration object of the target action node, and running the corresponding action factory function to obtain the registration action.
In this scheme, the step of comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node specifically includes:
comparing and analyzing the target action node with the nodes in the preset action node library to obtain a similarity value;
extracting the action node with the maximum similarity value and the parameters of the corresponding action node;
judging whether the number of the action nodes with the maximum similarity value is larger than 1, if not, setting the parameters of the action nodes with the maximum similarity value as the parameters of the target action nodes; if yes, numbering the action nodes corresponding to the maximum similarity value and forming a similar action node set;
acquiring memory information, execution time information and error rate information of action nodes in a similar action node set;
acquiring cost performance value information of the similar action nodes according to the memory information, execution time information and error rate information of the similar action nodes;
and setting the parameter of the similar action node with the highest cost performance value as the parameter of the target action node.
In this solution, the step of obtaining the cost performance value information of the similar action node according to the memory information, the execution time information and the error rate information of the similar action node in the centralized action node specifically includes:
setting the memory value of the similar action node asExecution time is set to->Error rate is set to->Wherein->A number representing a corresponding node parameter;
memory value of similar action nodeRespectively normalizing the execution time and the error rate to obtain normalized values of corresponding memory values +.>Normalized value of execution time->And normalized value of error rate->;
And obtaining the value ratio of the performance of the similar action node according to the normalized value of the memory value, the normalized value of the execution time and the normalized value of the error rate.
In this scheme, still include:
judging whether the memory value of the similar action node is larger than a preset memory value threshold value, if so, deleting the corresponding node; if not, storing;
judging whether the execution time of the similar action node is greater than a preset time threshold, if so, deleting the corresponding node; if not, storing;
judging whether the error rate of the similar action node is larger than a preset error rate threshold value, if so, deleting the corresponding node; if not, the storage is carried out.
In this scheme, still include:
extracting the maximum value in the similarity value;
judging whether the maximum similarity value is larger than a preset similarity value threshold value, if so, enabling the action node corresponding to the maximum similarity value to be effective; if not, the action node corresponding to the maximum similarity value is invalid.
In this solution, after the registration, the method further includes:
acquiring parameter information of a registered action node;
judging whether an action node which is the same as a registration action node exists in a preset action node library, if not, sending the corresponding registration action node and the parameters of the corresponding registration action node to the preset action node library for storage; if yes, the storage is not carried out.
The second aspect of the present invention provides a low-code-based rapid action node construction system, including a memory and a processor, where the memory stores a low-code-based rapid action node construction method program, and when the low-code-based rapid action node construction method program is executed by the processor, the following steps are implemented:
acquiring target action node information;
dividing the target action node according to the basic attribute to obtain the type of the target action node;
obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node;
comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node;
and sending the parameters of the target action node to the parameter configuration object of the target action node, and running the corresponding action factory function to obtain the registration action.
In this scheme, the step of comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node specifically includes:
comparing and analyzing the target action node with the nodes in the preset action node library to obtain a similarity value;
extracting the action node with the maximum similarity value and the parameters of the corresponding action node;
judging whether the number of the action nodes with the maximum similarity value is larger than 1, if not, setting the parameters of the action nodes with the maximum similarity value as the parameters of the target action nodes; if yes, numbering the action nodes corresponding to the maximum similarity value and forming a similar action node set;
acquiring memory information, execution time information and error rate information of action nodes in a similar action node set;
acquiring cost performance value information of the similar action nodes according to the memory information, execution time information and error rate information of the similar action nodes;
and setting the parameter of the similar action node with the highest cost performance value as the parameter of the target action node.
In this solution, the step of obtaining the cost performance value information of the similar action node according to the memory information, the execution time information and the error rate information of the similar action node in the centralized action node specifically includes:
setting the memory value of the similar action node asExecution time is set to->Error rate is set to->Wherein->A number representing a corresponding node parameter;
memory value of similar action nodeRespectively normalizing the execution time and the error rate to obtain normalized values of corresponding memory values +.>Normalized value of execution time->And normalized value of error rate->;
And obtaining the value ratio of the performance of the similar action node according to the normalized value of the memory value, the normalized value of the execution time and the normalized value of the error rate.
In this scheme, still include:
judging whether the memory value of the similar action node is larger than a preset memory value threshold value, if so, deleting the corresponding node; if not, storing;
judging whether the execution time of the similar action node is greater than a preset time threshold, if so, deleting the corresponding node; if not, storing;
judging whether the error rate of the similar action node is larger than a preset error rate threshold value, if so, deleting the corresponding node; if not, the storage is carried out.
In this scheme, still include:
extracting the maximum value in the similarity value;
judging whether the maximum similarity value is larger than a preset similarity value threshold value, if so, enabling the action node corresponding to the maximum similarity value to be effective; if not, the action node corresponding to the maximum similarity value is invalid.
In this solution, after the registration, the method further includes:
acquiring parameter information of a registered action node;
judging whether an action node which is the same as a registration action node exists in a preset action node library, if not, sending the corresponding registration action node and the parameters of the corresponding registration action node to the preset action node library for storage; if yes, the storage is not carried out.
A third aspect of the present invention provides a computer storage medium in which a low-code-based action node rapid construction method program is stored, which when executed by a processor, implements the steps of a low-code-based action node rapid construction method as described in any one of the above.
According to the low-code-based rapid construction method, system and storage medium for the action nodes, configuration information of the nodes is stored through the action node configuration file, and the action parameter configuration panel and the node data are rapidly constructed, so that the construction speed of the action nodes is improved.
Drawings
FIG. 1 is a flow chart of a low code based fast construction method for action nodes of the present invention;
FIG. 2 shows a block diagram of a low code based action node rapid build system of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
FIG. 1 shows a flow chart of a low code based fast construction method for action nodes of the present invention.
As shown in fig. 1, the invention discloses a fast construction method of action nodes based on low codes, which comprises the following steps:
s102, acquiring target action node information;
s104, dividing the target action node according to the basic attribute to obtain the type of the target action node;
s106, obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node;
s108, comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node;
s110, sending the parameters of the target action node to the parameter configuration object of the target action node, and running the corresponding action factory function to obtain the registration action.
It should be noted that, the action nodes in the preset action node library are derived from action nodes that do not violate copyright problems, such as action nodes that open copyright, custom action nodes, and the like, and the preset action node library also includes basic attributes and input parameters of the corresponding action nodes. Dividing target action nodes into different types according to basic attributes of the target action nodes during design, and determining parameter configuration objects and action factory functions of the target action nodes according to the types of the target action nodes, wherein the basic attributes comprise: the position, the size, the transparency and the like are customized according to the actual action node. Transmitting the parameters of the target action node to a parameter configuration object of the target action node, such as: the transparency parameter value corresponds to a transparency parameter configuration object, that is, the input transparency value is adjusted and stored in the corresponding transparency parameter configuration object.
According to an embodiment of the present invention, the step of comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node specifically includes:
comparing and analyzing the target action node with the nodes in the preset action node library to obtain a similarity value;
extracting the action node with the maximum similarity value and the parameters of the corresponding action node;
judging whether the number of the action nodes with the maximum similarity value is larger than 1, if not, setting the parameters of the action nodes with the maximum similarity value as the parameters of the target action nodes; if yes, numbering the action nodes corresponding to the maximum similarity value and forming a similar action node set;
acquiring memory information, execution time information and error rate information of action nodes in a similar action node set;
acquiring cost performance value information of the similar action nodes according to the memory information, execution time information and error rate information of the similar action nodes;
and setting the parameter of the similar action node with the highest cost performance value as the parameter of the target action node.
When the similarity value is 100%, the action node which is the same as the target action node exists in the preset action node library; when the similarity value is smaller than 100%, the fact that the action node which is the same as the target action node does not exist in the preset action node library is indicated. The same action node can have multiple implementation processes, and parameters in different implementation processes can be different, so that the same action node can have different parameter settings, and the action nodes corresponding to the different parameter settings are set as different action nodes and are stored respectively. The parameters of different action nodes are different, so that the memory value, execution time and error rate of the corresponding action node are different, and the execution time and error rate of the action node are determined by the data of the corresponding action node in the history use process, for example: the action node a is used 100 times in total in the history data, and when 2 errors occur, the error rate of the corresponding action node a is 2%. When the number of action nodes with the maximum similarity value is not less than 2, setting the parameter of the similar action node with the highest cost performance value as the parameter of the corresponding target action node. And if the maximum similarity value is smaller than 100%, extracting the parameter of the similar action node with the highest cost performance value, sending the parameter to the user side for revising, and setting the revised parameter of the similar action node as the parameter of the target action node.
In this solution, the step of obtaining the cost performance value information of the similar action node according to the memory information, the execution time information and the error rate information of the similar action node in the centralized action node specifically includes:
setting the memory value of the similar action node asExecution time is set to->Error rate is set to->Wherein->A number representing a corresponding node parameter;
memory value of similar action nodeRespectively normalizing the execution time and the error rate to obtain normalized values of corresponding memory values +.>Normalized value of execution time->And normalized value of error rate->;
And obtaining the value ratio of the performance of the similar action node according to the normalized value of the memory value, the normalized value of the execution time and the normalized value of the error rate.
It should be noted that, according to a preset normalization algorithm, wherein,/>,/>Wherein->Memory minimum expressed as action nodes in a set of similar action nodes,/>Memory maximum value expressed as action nodes in the similar action node set>Execution time minimum expressed as action nodes in a set of similar action nodes, +.>Maximum execution time expressed as action nodes in a set of similar action nodes; ->Error rate minimum value expressed as action nodes in similar action node set, +.>Expressed as the maximum value of error rate of action nodes in the similar action node set, the ratio of the values of the similar action nodes is set as +.>The formula is thatWherein->The ratio coefficient of the internal memory value in the ratio of the performance price, the ratio coefficient of the execution time in the ratio of the performance price and the ratio coefficient of the error rate in the ratio of the performance price are respectively represented, and the ratio coefficient is set by a person skilled in the art according to actual requirements.
According to an embodiment of the present invention, further comprising:
judging whether the memory value of the similar action node is larger than a preset memory value threshold value, if so, deleting the corresponding node; if not, storing;
judging whether the execution time of the similar action node is greater than a preset time threshold, if so, deleting the corresponding node; if not, storing;
judging whether the error rate of the similar action node is larger than a preset error rate threshold value, if so, deleting the corresponding node; if not, the storage is carried out.
It should be noted that, the execution time of the similar action node is an average value of each execution time of the corresponding action node in the history use process; the error rate of the similar action nodes is the ratio of the number of errors of the corresponding action nodes in the history use process to the total number of times of use. If the preset time threshold is 20 seconds, when the execution time of the similar action node is longer than 20 seconds, the corresponding similar action node is unqualified, and the corresponding action node is deleted; if the node is qualified, storing the corresponding similar action node. The preset memory value threshold, the preset time threshold and the preset error rate threshold are set by corresponding technicians according to actual requirements.
According to an embodiment of the present invention, further comprising:
extracting the maximum value in the similarity value;
judging whether the maximum similarity value is larger than a preset similarity value threshold value, if so, enabling the action node corresponding to the maximum similarity value to be effective; if not, the action node corresponding to the maximum similarity value is invalid.
It should be noted that, for example, if the preset similarity value threshold is 70%, it is useful to indicate that the parameters corresponding to the similar action nodes only when the maximum value in the similarity values is greater than 70%; otherwise, the parameters corresponding to the similar action nodes are useless. More specifically, when the similarity value is 100%, the corresponding similar action node is the same as the target action node, and the corresponding parameter can be directly used without modification; when the similarity value is smaller than 100% and larger than a preset similarity value threshold, the parameters corresponding to the similar action nodes can be used partially, and modification is convenient; when the similarity value is smaller than a preset similarity value threshold, the parameters corresponding to the similar action nodes are not usable, and the parameters cannot provide assistance for constructing the action nodes.
According to an embodiment of the present invention, after the registration, the method further includes:
acquiring parameter information of a registered action node;
judging whether an action node which is the same as a registration action node exists in a preset action node library, if not, sending the corresponding registration action node and the parameters of the corresponding registration action node to the preset action node library for storage; if yes, the storage is not carried out.
The registration action is a target action to be constructed, and parameters of nodes corresponding to the registration action are obtained, wherein if the parameters do not exist in a preset action node library, the corresponding registration action nodes and the corresponding parameters are sent to the corresponding action node library for storage; if so, it is stated that the same action node already exists.
According to an embodiment of the present invention, further comprising:
and updating the preset action node library based on the preset time period.
It should be noted that, the time of each update of the preset action node library is recorded, when the update time is up to the preset time period from the current time, an update prompt is triggered, and the update prompt information is sent to the preset user terminal for display, for example, the preset time period is one month, the preset action node library is updated once every month, if the update is advanced, the update prompt is performed after a time period is calculated by taking the time corresponding to the update in advance as a reference point.
According to an embodiment of the present invention, further comprising:
sending other similar action nodes to a preset similar action node alternative list for display;
and displaying the similar action nodes in the preset similar action node alternative list according to a preset ordering mode.
When other similar action nodes exist, the corresponding similar action nodes are sent to a preset similar action node alternative list for display, for example, the memory value is used for sorting, and the priority with smaller memory value is sorted; if execution time ordering is performed, priority ordering with smaller execution time is performed, and the like. When the registration action is unsatisfactory or the operation is wrong, the user can directly select the proper similar action node and the corresponding parameter from the preset similar action alternative list so as to reconstruct the action node.
According to an embodiment of the present invention, further comprising:
acquiring parameter information of action nodes in a preset action node library;
judging whether the parameters of the action nodes are in the range of the parameter configuration object of the corresponding action node, if so, the parameters of the corresponding action node are reasonable; otherwise, the method is unreasonable;
and marking the parameters of the unreasonable action nodes and sending the parameters to the user side for display.
It should be noted that, there is a standard range for each parameter in the parameter configuration object of the action node, for example, the parameter range of the color isIf the color parameter of the action node in the preset action node library is 300, the corresponding color parameter is obviously unreasonable, so that the corresponding parameter is marked and sent to the user side for revision.
FIG. 2 shows a block diagram of a low code based action node rapid build system of the present invention.
As shown in fig. 2, a second aspect of the present invention provides a low-code-based fast acting node construction system 2, including a memory 21 and a processor 22, where the memory stores a low-code-based fast acting node construction method program, and when the low-code-based fast acting node construction method program is executed by the processor, the steps of:
acquiring target action node information;
dividing the target action node according to the basic attribute to obtain the type of the target action node;
obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node;
comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node;
and sending the parameters of the target action node to the parameter configuration object of the target action node, and running the corresponding action factory function to obtain the registration action.
It should be noted that, the action nodes in the preset action node library are derived from action nodes that do not violate copyright problems, such as action nodes that open copyright, custom action nodes, and the like, and the preset action node library also includes basic attributes and input parameters of the corresponding action nodes. Dividing target action nodes into different types according to basic attributes of the target action nodes during design, and determining parameter configuration objects and action factory functions of the target action nodes according to the types of the target action nodes, wherein the basic attributes comprise: the position, the size, the transparency and the like are customized according to the actual action node. Transmitting the parameters of the target action node to a parameter configuration object of the target action node, such as: the transparency parameter value corresponds to a transparency parameter configuration object, that is, the input transparency value is adjusted and stored in the corresponding transparency parameter configuration object.
According to an embodiment of the present invention, the step of comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node specifically includes:
comparing and analyzing the target action node with the nodes in the preset action node library to obtain a similarity value;
extracting the action node with the maximum similarity value and the parameters of the corresponding action node;
judging whether the number of the action nodes with the maximum similarity value is larger than 1, if not, setting the parameters of the action nodes with the maximum similarity value as the parameters of the target action nodes; if yes, numbering the action nodes corresponding to the maximum similarity value and forming a similar action node set;
acquiring memory information, execution time information and error rate information of action nodes in a similar action node set;
acquiring cost performance value information of the similar action nodes according to the memory information, execution time information and error rate information of the similar action nodes;
and setting the parameter of the similar action node with the highest cost performance value as the parameter of the target action node.
When the similarity value is 100%, the action node which is the same as the target action node exists in the preset action node library; when the similarity value is smaller than 100%, the fact that the action node which is the same as the target action node does not exist in the preset action node library is indicated. The same action node can have multiple implementation processes, and parameters in different implementation processes can be different, so that the same action node can have different parameter settings, and the action nodes corresponding to the different parameter settings are set as different action nodes and are stored respectively. The parameters of different action nodes are different, so that the memory value, execution time and error rate of the corresponding action node are different, and the execution time and error rate of the action node are determined by the data of the corresponding action node in the history use process, for example: the action node a is used 100 times in total in the history data, and when 2 errors occur, the error rate of the corresponding action node a is 2%. When the number of action nodes with the maximum similarity value is not less than 2, setting the parameter of the similar action node with the highest cost performance value as the parameter of the corresponding target action node. And if the maximum similarity value is smaller than 100%, extracting the parameter of the similar action node with the highest cost performance value, sending the parameter to the user side for revising, and setting the revised parameter of the similar action node as the parameter of the target action node.
In this solution, the step of obtaining the cost performance value information of the similar action node according to the memory information, the execution time information and the error rate information of the similar action node in the centralized action node specifically includes:
setting the memory value of the similar action node asExecution time is set to->Error rate is set to->Wherein->Representing the number of the corresponding node parameter, memory value of the similar action node>Respectively normalizing the execution time and the error rate to obtain normalized values of corresponding memory values +.>Normalized value of execution time->And normalized value of error rate->;
And obtaining the value ratio of the performance of the similar action node according to the normalized value of the memory value, the normalized value of the execution time and the normalized value of the error rate.
It should be noted that, according to a preset normalization algorithm, wherein,/>,/>Wherein->Memory minimum expressed as action nodes in a set of similar action nodes,/>Represented as a set of action nodes of similar action nodesMaximum value of memory;>execution time minimum expressed as action nodes in a set of similar action nodes, +.>Maximum execution time expressed as action nodes in a set of similar action nodes; ->Error rate minimum value expressed as action nodes in similar action node set, +.>Expressed as the maximum value of error rate of action nodes in the similar action node set, the ratio of the values of the similar action nodes is set as +.>The formula is thatWherein->The ratio coefficient of the internal memory value in the ratio of the performance price, the ratio coefficient of the execution time in the ratio of the performance price and the ratio coefficient of the error rate in the ratio of the performance price are respectively represented, and the ratio coefficient is set by a person skilled in the art according to actual requirements.
According to an embodiment of the present invention, further comprising:
judging whether the memory value of the similar action node is larger than a preset memory value threshold value, if so, deleting the corresponding node; if not, storing;
judging whether the execution time of the similar action node is greater than a preset time threshold, if so, deleting the corresponding node; if not, storing;
judging whether the error rate of the similar action node is larger than a preset error rate threshold value, if so, deleting the corresponding node; if not, the storage is carried out.
It should be noted that, the execution time of the similar action node is an average value of each execution time of the corresponding action node in the history use process; the error rate of the similar action nodes is the ratio of the number of errors of the corresponding action nodes in the history use process to the total number of times of use. If the preset time threshold is 20 seconds, when the execution time of the similar action node is longer than 20 seconds, the corresponding similar action node is unqualified, and the corresponding action node is deleted; if the node is qualified, storing the corresponding similar action node. The preset memory value threshold, the preset time threshold and the preset error rate threshold are set by corresponding technicians according to actual requirements.
According to an embodiment of the present invention, further comprising:
extracting the maximum value in the similarity value;
judging whether the maximum similarity value is larger than a preset similarity value threshold value, if so, enabling the action node corresponding to the maximum similarity value to be effective; if not, the action node corresponding to the maximum similarity value is invalid.
It should be noted that, for example, if the preset similarity value threshold is 70%, it is useful to indicate that the parameters corresponding to the similar action nodes only when the maximum value in the similarity values is greater than 70%; otherwise, the parameters corresponding to the similar action nodes are useless. More specifically, when the similarity value is 100%, the corresponding similar action node is the same as the target action node, and the corresponding parameter can be directly used without modification; when the similarity value is smaller than 100% and larger than a preset similarity value threshold, the parameters corresponding to the similar action nodes can be used partially, and modification is convenient; when the similarity value is smaller than a preset similarity value threshold, the parameters corresponding to the similar action nodes are not usable, and the parameters cannot provide assistance for constructing the action nodes.
According to an embodiment of the present invention, after the registration, the method further includes:
acquiring parameter information of a registered action node;
judging whether an action node which is the same as a registration action node exists in a preset action node library, if not, sending the corresponding registration action node and the parameters of the corresponding registration action node to the preset action node library for storage; if yes, the storage is not carried out.
The registration action is a target action to be constructed, and parameters of nodes corresponding to the registration action are obtained, wherein if the parameters do not exist in a preset action node library, the corresponding registration action nodes and the corresponding parameters are sent to the corresponding action node library for storage; if so, it is stated that the same action node already exists.
According to an embodiment of the present invention, further comprising:
and updating the preset action node library based on the preset time period.
It should be noted that, the time of each update of the preset action node library is recorded, when the update time is up to the preset time period from the current time, an update prompt is triggered, and the update prompt information is sent to the preset user terminal for display, for example, the preset time period is one month, the preset action node library is updated once every month, if the update is advanced, the update prompt is performed after a time period is calculated by taking the time corresponding to the update in advance as a reference point.
According to an embodiment of the present invention, further comprising:
sending other similar action nodes to a preset similar action node alternative list for display;
and displaying the similar action nodes in the preset similar action node alternative list according to a preset ordering mode.
When other similar action nodes exist, the corresponding similar action nodes are sent to a preset similar action node alternative list for display, for example, the memory value is used for sorting, and the priority with smaller memory value is sorted; if execution time ordering is performed, priority ordering with smaller execution time is performed, and the like. When the registration action is unsatisfactory or the operation is wrong, the user can directly select the proper similar action node and the corresponding parameter from the preset similar action alternative list so as to reconstruct the action node.
According to an embodiment of the present invention, further comprising:
acquiring parameter information of action nodes in a preset action node library;
judging whether the parameters of the action nodes are in the range of the parameter configuration object of the corresponding action node, if so, the parameters of the corresponding action node are reasonable; otherwise, the method is unreasonable;
and marking the parameters of the unreasonable action nodes and sending the parameters to the user side for display.
It should be noted that, there is a standard range for each parameter in the parameter configuration object of the action node, for example, the parameter range of the color isIf the color parameter of the action node in the preset action node library is 300, the corresponding color parameter is obviously unreasonable, so that the corresponding parameter is marked and sent to the user side for revision.
A third aspect of the present invention provides a computer storage medium in which a low-code-based action node rapid construction method program is stored, which when executed by a processor, implements the steps of a low-code-based action node rapid construction method as described in any one of the above.
The invention discloses a method, a system and a storage medium for quickly constructing action nodes based on low codes, wherein the method comprises the following steps: acquiring target action node information; dividing the target action node according to the basic attribute to obtain the type of the target action node; obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node; comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node; and sending the parameters of the target action node to the parameter configuration object of the target action node, and running the corresponding action factory function to obtain the registration action. According to the invention, the configuration information of the node is saved through the action node configuration file, and the action parameter configuration panel and the node data are quickly constructed, so that the construction speed of the action node is improved.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
Claims (6)
1. The quick construction method of the action node based on the low codes is characterized by further comprising the following steps:
acquiring target action node information;
dividing the target action node according to the basic attribute to obtain the type of the target action node;
obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node;
comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node;
the parameters of the target action node are sent to a parameter configuration object of the target action node, and a corresponding action factory function is operated to obtain a registration action;
the step of comparing and analyzing the target action node with action nodes in a preset action node library to obtain the parameter information of the target action node specifically comprises the following steps:
comparing and analyzing the target action node with the nodes in the preset action node library to obtain a similarity value;
extracting the action node with the maximum similarity value and the parameters of the corresponding action node;
judging whether the number of the action nodes with the maximum similarity value is larger than 1, if not, setting the parameters of the action nodes with the maximum similarity value as the parameters of the target action nodes; if yes, numbering the action nodes corresponding to the maximum similarity value and forming a similar action node set;
acquiring memory information, execution time information and error rate information of action nodes in a similar action node set;
acquiring cost performance value information of the similar action nodes according to the memory information, execution time information and error rate information of the similar action nodes;
setting the parameter of the similar action node with the highest cost performance value as the parameter of the target action node;
the step of obtaining cost performance value information of the similar action nodes according to the memory information, the execution time information and the error rate information of the similar action nodes in the concentrated action nodes specifically comprises the following steps:
the memory value of the similar action node is set as A i The execution time is set to T i The error rate is set as B i Wherein i represents the number of the corresponding node parameter;
respectively carrying out normalization processing on the memory value, the execution time and the error rate of the similar action node to obtain a normalized value A of the corresponding memory value ′ i Normalized value T of execution time ′ i And normalized value of error rate B ′ i ;
Obtaining the value ratio of the performance of the similar action node according to the normalized value of the memory value, the normalized value of the execution time and the normalized value of the error rate;
2. The low-code based action node rapid construction method according to claim 1, further comprising:
judging whether the memory value of the similar action node is larger than a preset memory value threshold value, if so, deleting the corresponding node; if not, storing;
judging whether the execution time of the similar action node is greater than a preset time threshold, if so, deleting the corresponding node; if not, storing;
judging whether the error rate of the similar action node is larger than a preset error rate threshold value, if so, deleting the corresponding node; if not, the storage is carried out.
3. The low-code based action node rapid construction method according to claim 1, further comprising:
extracting the maximum value in the similarity value;
judging whether the maximum similarity value is larger than a preset similarity value threshold value, if so, enabling the action node corresponding to the maximum similarity value to be effective; if not, the action node corresponding to the maximum similarity value is invalid.
4. The method for quickly constructing an action node based on low codes according to claim 1, wherein after said obtaining the registration action, further comprising:
acquiring parameter information of a registered action node;
judging whether an action node which is the same as a registration action node exists in a preset action node library, if not, sending the corresponding registration action node and the parameters of the corresponding registration action node to the preset action node library for storage; if yes, the storage is not carried out.
5. The low-code-based action node rapid construction system is characterized by comprising a memory and a processor, wherein the memory stores a low-code-based action node rapid construction method program, and the low-code-based action node rapid construction method program realizes the following steps when being executed by the processor:
acquiring target action node information;
dividing the target action node according to the basic attribute to obtain the type of the target action node;
obtaining a parameter configuration object and an action factory function of the target action node according to the type of the target action node;
comparing and analyzing the target action node with action nodes in a preset action node library to obtain parameter information of the target action node;
the parameters of the target action node are sent to a parameter configuration object of the target action node, and a corresponding action factory function is operated to obtain a registration action;
the step of comparing and analyzing the target action node with action nodes in a preset action node library to obtain the parameter information of the target action node specifically comprises the following steps:
comparing and analyzing the target action node with the nodes in the preset action node library to obtain a similarity value;
extracting the action node with the maximum similarity value and the parameters of the corresponding action node;
judging whether the number of the action nodes with the maximum similarity value is larger than 1, if not, setting the parameters of the action nodes with the maximum similarity value as the parameters of the target action nodes; if yes, numbering the action nodes corresponding to the maximum similarity value and forming a similar action node set;
acquiring memory information, execution time information and error rate information of action nodes in a similar action node set;
acquiring cost performance value information of the similar action nodes according to the memory information, execution time information and error rate information of the similar action nodes;
setting the parameter of the similar action node with the highest cost performance value as the parameter of the target action node;
the step of obtaining cost performance value information of the similar action nodes according to the memory information, the execution time information and the error rate information of the similar action nodes in the concentrated action nodes specifically comprises the following steps:
the memory value of the similar action node is set as A i The execution time is set to T i The error rate is set as B i Wherein i represents the number of the corresponding node parameter;
respectively carrying out normalization processing on the memory value, the execution time and the error rate of the similar action node to obtain a normalized value A of the corresponding memory value ′ i Normalized value T of execution time ′ i And normalized value of error rate B ′ i ;
Obtaining the value ratio of the performance of the similar action node according to the normalized value of the memory value, the normalized value of the execution time and the normalized value of the error rate;
setting the value ratio of similar action nodes to P i The formula is that Wherein k is A 、k T 、k B The ratio coefficient of the memory value in the value ratio, the ratio coefficient of the execution time in the value ratio and the ratio coefficient of the error rate in the value ratio are respectively represented.
6. A computer storage medium, wherein a low-code based action node rapid construction method program is stored in the computer storage medium, and when the low-code based action node rapid construction method program is executed by a processor, the steps of a low-code based action node rapid construction method according to any one of claims 1 to 4 are implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310398810.6A CN116107561B (en) | 2023-04-14 | 2023-04-14 | Low-code-based action node rapid construction method, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310398810.6A CN116107561B (en) | 2023-04-14 | 2023-04-14 | Low-code-based action node rapid construction method, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116107561A CN116107561A (en) | 2023-05-12 |
CN116107561B true CN116107561B (en) | 2023-06-23 |
Family
ID=86264168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310398810.6A Active CN116107561B (en) | 2023-04-14 | 2023-04-14 | Low-code-based action node rapid construction method, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116107561B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111359210A (en) * | 2020-03-05 | 2020-07-03 | 深圳市腾讯计算机系统有限公司 | Data processing method and device, electronic equipment and storage medium |
CN115357269A (en) * | 2022-08-23 | 2022-11-18 | 抖音视界有限公司 | Configuration information updating method and device, computer equipment and storage medium |
CN115617331A (en) * | 2022-10-08 | 2023-01-17 | 杭州网易云音乐科技有限公司 | Service arranging method, service arranging device, storage medium and electronic equipment |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464922B (en) * | 2009-01-22 | 2010-08-18 | 中国人民解放军国防科学技术大学 | Computer architecture scheme parallel simulation optimization method based on cluster system |
US11520606B2 (en) * | 2017-09-22 | 2022-12-06 | Vmware, Inc. | Dynamic generation of user interface components based on hierarchical component factories |
CN109614100B (en) * | 2018-10-26 | 2022-02-01 | 创新先进技术有限公司 | Page display method, device, server, front end and storage medium |
CN109474639B (en) * | 2018-12-29 | 2020-09-15 | 北京诺亦腾科技有限公司 | Data distribution method, system and computer readable storage medium |
CN110543327B (en) * | 2019-09-06 | 2023-08-01 | 深圳前海环融联易信息科技服务有限公司 | Service component multiplexing method, device, computer equipment and storage medium |
CN111158651A (en) * | 2019-12-26 | 2020-05-15 | 第四范式(北京)技术有限公司 | Method, device and system for constructing artificial intelligence application |
CN111475162A (en) * | 2020-03-27 | 2020-07-31 | 平安银行股份有限公司 | Page generation method, device, server and storage medium |
CN111694923A (en) * | 2020-04-27 | 2020-09-22 | 平安科技(深圳)有限公司 | Name mapping-based parameter assignment method and device, and computer equipment |
EP4179761A1 (en) * | 2020-07-09 | 2023-05-17 | Telefonaktiebolaget LM ERICSSON (PUBL) | First node, third node, fourth node and methods performed thereby, for handling parameters to configure a node in a communications network |
CN111831191A (en) * | 2020-07-22 | 2020-10-27 | 平安证券股份有限公司 | Workflow configuration method and device, computer equipment and storage medium |
CN112181402B (en) * | 2020-09-14 | 2022-03-18 | 珠海格力电器股份有限公司 | Business processing method and device of business system, storage medium and electronic equipment |
CN112286572A (en) * | 2020-10-23 | 2021-01-29 | 北京三快在线科技有限公司 | Configuration method and device of business process |
US11182221B1 (en) * | 2020-12-18 | 2021-11-23 | SambaNova Systems, Inc. | Inter-node buffer-based streaming for reconfigurable processor-as-a-service (RPaaS) |
CN114691187A (en) * | 2020-12-29 | 2022-07-01 | 北京嘀嘀无限科技发展有限公司 | Node registration method and device, computer equipment and storage medium |
CN112685678B (en) * | 2021-01-07 | 2023-11-07 | 腾讯科技(深圳)有限公司 | Page configuration method, page configuration device, computer equipment and storage medium |
CN114968032B (en) * | 2021-04-27 | 2024-02-02 | 广州地铁集团有限公司 | Policy arrangement processing method, device, equipment, system and storage medium |
CN115660245A (en) * | 2021-07-09 | 2023-01-31 | 中国电信股份有限公司 | Service arrangement method and device, electronic equipment and storage medium |
CN115129307A (en) * | 2022-08-26 | 2022-09-30 | 湖南云畅网络科技有限公司 | Action flow arrangement method and system based on low code visualization |
CN115534255A (en) * | 2022-09-21 | 2022-12-30 | 广东拓斯达科技股份有限公司 | Injection molding machine action flow configuration method and device, electronic equipment and storage medium |
-
2023
- 2023-04-14 CN CN202310398810.6A patent/CN116107561B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111359210A (en) * | 2020-03-05 | 2020-07-03 | 深圳市腾讯计算机系统有限公司 | Data processing method and device, electronic equipment and storage medium |
CN115357269A (en) * | 2022-08-23 | 2022-11-18 | 抖音视界有限公司 | Configuration information updating method and device, computer equipment and storage medium |
CN115617331A (en) * | 2022-10-08 | 2023-01-17 | 杭州网易云音乐科技有限公司 | Service arranging method, service arranging device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN116107561A (en) | 2023-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108038546B (en) | Method and apparatus for compressing neural networks | |
CN110659318B (en) | Big data-based policy pushing method, system and computer equipment | |
CN110503565B (en) | Behavior risk identification method, system, equipment and readable storage medium | |
CN106649681B (en) | Data processing method, device and equipment | |
CN110782291A (en) | Advertisement delivery user determination method and device, storage medium and electronic device | |
US11727082B2 (en) | Machine-learning based personalization | |
CN108365989A (en) | Event-handling method and device | |
CN112256318B (en) | Construction method and equipment for dependent product | |
CN114462582A (en) | Data processing method, device and equipment based on convolutional neural network model | |
CN108874876B (en) | Message pushing method, computer readable storage medium and terminal equipment | |
CN116107561B (en) | Low-code-based action node rapid construction method, system and storage medium | |
CN114064445A (en) | Test method, device, equipment and computer readable storage medium | |
CN111401465A (en) | Training sample optimization method, device, equipment and storage medium | |
CN111046747A (en) | Crowd counting model training method, crowd counting method, device and server | |
CN112950167A (en) | Design service matching method, device, equipment and storage medium | |
CN114611022A (en) | Method, device, equipment and storage medium for pushing display information | |
CN109947803B (en) | Data processing method, system and storage medium | |
CN110087230B (en) | Data processing method, data processing device, storage medium and electronic equipment | |
CN113641678A (en) | Dynamic service configuration method and system based on multi-dimensional form | |
CN113343577A (en) | Parameter optimization method and device, computer equipment and readable storage medium | |
CN110765303A (en) | Method and system for updating database | |
CN112948720B (en) | Interaction optimization method and device based on user behaviors and computer equipment | |
CN113986602B (en) | Software identification method and device, storage medium and electronic equipment | |
CN113051128A (en) | Power consumption detection method and device, electronic equipment and storage medium | |
CN114049217A (en) | Method and device for supervising annuity data and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |