CN117785150A - Policy canvas construction method and system based on shell script - Google Patents

Policy canvas construction method and system based on shell script Download PDF

Info

Publication number
CN117785150A
CN117785150A CN202311796010.6A CN202311796010A CN117785150A CN 117785150 A CN117785150 A CN 117785150A CN 202311796010 A CN202311796010 A CN 202311796010A CN 117785150 A CN117785150 A CN 117785150A
Authority
CN
China
Prior art keywords
event
variable
node
script
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.)
Granted
Application number
CN202311796010.6A
Other languages
Chinese (zh)
Other versions
CN117785150B (en
Inventor
文学超
闫银涛
李高伟
万振荣
陈国健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Lingyan Technology Co ltd
Original Assignee
Beijing Lingyan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Lingyan Technology Co ltd filed Critical Beijing Lingyan Technology Co ltd
Priority to CN202311796010.6A priority Critical patent/CN117785150B/en
Publication of CN117785150A publication Critical patent/CN117785150A/en
Application granted granted Critical
Publication of CN117785150B publication Critical patent/CN117785150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of strategy canvas, in particular to a strategy canvas construction method and system based on shell script; editing scripts by using shell programming language, forming a comprehensive event node model through the scripts, selecting a required comprehensive event node model in an event node page, setting script variables of the comprehensive event node model according to required event rules to determine rendering patterns of the script variables to form event nodes corresponding to the required event rules, selecting nodes in a node pool, adding the nodes into canvas in a dragging mode, connecting with upper and/or lower nodes, and configuring node attributes to form strategy canvas; the invention realizes flexible construction and demonstration of the activity rules through the strategy canvas, constructs the comprehensive event node model through Shell script, and can form a series of event nodes by setting the script variable of the comprehensive event node model, thereby reducing the coding work.

Description

Policy canvas construction method and system based on shell script
Technical Field
The invention relates to the technical field of strategy canvas, in particular to a strategy canvas construction method and system based on shell script.
Background
The rule configuration of the marketing campaign is a process of defining and restricting various aspects and links of the marketing campaign by a series of specific rules and conditions, the complete marketing strategy rule comprising: group definitions, conditional branching, triggering events, specified actions.
There are a number of different conditional branch flow configurations for marketing campaign rules, which are flexibly adjusted based primarily on different marketing strategies, goals and conditions. An intuitive and convenient configuration mode is needed so that marketers can easily perform rule configuration and management, meanwhile, the rules are convenient to modify and maintain, and the specific situation of the rules can be checked and known at any time.
Different logic is involved for different fields in the event implementation, and the Java program needs to perform special processing on the corresponding fields in the theme table to facilitate the concatenation of the SQL. And the corresponding logic implementations such as continuous accumulation can be used for selecting before.
The existing marketing campaign rules are configured by using a form, and because the diversity of the marketing campaign rules and the association interaction between rule nodes are complex, the rule flow cannot be intuitively displayed by editing the marketing campaign rules by using the form, and the logic and the association between the rule nodes, so that a marketing team needs to put more workload and cost when understanding, editing and examining the rules.
Moreover, due to the complexity of marketing campaign rules, particularly in the presence of overlay conditions and rules, the editing using form forms is more prone to error, resulting in unnecessary losses due to the fact that the configured campaign rules do not match the actual requirements.
Since the form format often only supports fixed forms and rules, flexible configuration and expansion is difficult to achieve according to different marketing campaign requirements. This makes it necessary for marketing teams to develop more customized systems in the face of diverse marketing needs, increasing costs and maintenance difficulties.
And because the event is embedded in a part of decision service configuration, and belongs to customization processing, when a new event exists, the front end and the rear end are needed, even a large data platform is required to be synchronously developed, and the event effect can be obtained after the production process is re-walked, so that the whole process of the event is tedious and tedious, considerable workload is needed, and the cost is high.
Moreover, because the event implementation logic is complex, particularly when the scenes such as continuous accumulation are involved, large-section SQL is spliced by Java, so that the code readability is very poor, and in the debugging and testing stage, a painful process can cause great trouble to staff pick up.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a strategy canvas construction method and a strategy canvas construction system based on shell script, so as to solve the problems that when an activity rule is configured in a form, the association interaction is complex, the intuitiveness is low, the adjustment is inflexible, the event logic is complex, and different codes are required to be written according to different event logics, so that the work is complex.
In order to solve the problems, the invention adopts the following technical scheme:
because Java language belongs to compiling class language, the Shell scripting language is adopted to carry out quick construction mode for logic processing. Aiming at different bottom data, the logic can be edited and constructed through scripting processing, so that complex logic judgment such as accumulated transaction, continuous login, first transaction, first consumption and the like is met, and compiling is avoided for use. And providing visual event definition, displaying to a canvas page according to designed logic content, rapidly filling a required threshold value according to a design mode by a service operator, performing logic judgment processing according to the service filling content by a system, and outputting corresponding required data.
In a first aspect, the present invention provides a policy canvas construction method based on shell script, including:
editing a script by adopting a shell programming language, wherein the script comprises a rule definition area for declaring service attributes and rendering styles and a logic implementation area for carrying out logic judgment, and forming a comprehensive event node model by the script;
selecting a required comprehensive event node model in an event node page, setting script variables of the comprehensive event node model according to a required event rule, and determining a rendering style of the script variables to form an event node corresponding to the required event rule;
and selecting nodes in the node pool, adding the nodes into the canvas in a dragging mode, connecting with upper and/or lower nodes, and configuring node attributes to form a strategy canvas.
Further, the rule definition area comprises a start identifier, a script variable and an end identifier, the script variable is JSON format data, and each piece of JSON format data comprises a variable type, a variable parameter entering sequence, a variable English name, a variable Chinese name, a variable data type, a variable description, a variable enumeration value list and a variable filling identifier or not; and defining a drop-down box, a pop-up box or a component type of the tiled display for enumeration; the variable data types comprise numerical values, character strings, custom enumeration, parameter binding enumeration values, dates, data cycle types or continuous accumulation types; providing different operators for variable data types, wherein the operators comprise rendering forms which are larger than, smaller than, equal to, larger than or equal to, smaller than or equal to or different from each other;
the script comprises a logic implementation area used for making judgment conditions.
Further, the selecting a required comprehensive event node model in the event node page, and setting script variables of the comprehensive event node model according to a required event rule to form an event node corresponding to the required event rule, including:
uploading a script of the comprehensive event node model to an event node page, saving a script storage path, selecting the comprehensive event node model, designating an event result storage position, setting a script variable according to a required event rule, and determining a rendering style; setting script variables to determine rendering patterns according to a required event rule comprises determining one or more groups of script variables and variable types, variable parameter entering sequences, variable English names, variable Chinese names, variable data types, variable descriptions, variable enumeration value lists and whether the variables need to be filled with marks according to the required event rule, and/or determining the sequences of the groups of script variables to form event nodes corresponding to the required event rule; when an event node is added to the canvas, a threshold for a variable involved in the judgment condition is determined when the node attribute is configured.
Further, the node pool stores condition nodes, event nodes, action nodes and page nodes;
the condition node is used for realizing flow branching according to a condition rule;
the event node is used for executing a flow according to the event rule;
the action node is used for executing specific operations;
the page node is used for acquiring page data in the strategy canvas configuration.
Further, the nodes of the same type are combined through touching in a dragging mode, and the sequence and/or the relation among the nodes are configured in the node attribute.
Further, based on the formed policy canvas, the guest group is imported and the policy canvas is tested.
The invention provides a policy canvas construction system based on shell script, comprising a comprehensive event node model construction module, an event node page, a node pool, a node attribute frame and a canvas;
the comprehensive event node model construction module is used for a user to edit a script by adopting a shell programming language, wherein the script comprises a rule definition area for declaring service attributes and rendering styles and a logic implementation area for logic judgment, and the script is used for forming a comprehensive event node model;
the event node page is used for storing comprehensive event node models, a user selects a required comprehensive event node model from the event node page, and sets script variables of the comprehensive event node model according to a required event rule to determine rendering patterns of the script variables to form event nodes corresponding to the required event rule;
the node pool is used for storing event nodes;
the canvas is used for a user to add the nodes in the node pool into the canvas in a dragging mode and is connected with the upper and/or lower nodes to form a strategy canvas;
the node attribute frame is used for a user to select a node to configure the node attribute of the node.
Further, the rule definition area comprises a start identifier, a script variable and an end identifier, the script variable is JSON format data, and each piece of JSON format data comprises a variable type, a variable parameter entering sequence, a variable English name, a variable Chinese name, a variable data type, a variable description, a variable enumeration value list and a variable filling identifier or not; and defining a drop-down box, a pop-up box or a component type of the tiled display for enumeration; the variable data types comprise numerical values, character strings, custom enumeration, parameter binding enumeration values, dates, data cycle types or continuous accumulation types; providing different operators for variable data types, wherein the operators comprise rendering forms which are larger than, smaller than, equal to, larger than or equal to, smaller than or equal to or different from each other;
the logic implementation area is used for making judgment conditions.
Further, the forming the event node corresponding to the required event rule includes: uploading a script of the comprehensive event node model to an event node page, saving a script storage path, selecting the comprehensive event node model, designating an event result storage position, setting a script variable according to a required event rule, and determining a rendering style; setting script variables to determine rendering patterns according to a required event rule comprises determining one or more groups of script variables and variable types, variable parameter entering sequences, variable English names, variable Chinese names, variable data types, variable descriptions, variable enumeration value lists and whether variables need to be filled with marks according to the required event rule to form event nodes corresponding to the required event rule; when an event node is added to the canvas, a threshold for a variable involved in the judgment condition is determined when the node attribute is configured.
Further, the node pool stores condition nodes, event nodes, action nodes and page nodes;
the condition node is used for realizing flow branching according to a condition rule;
the event node is used for executing a flow according to the event rule;
the action node is used for executing specific operations;
the page node is used for acquiring page data in the strategy canvas configuration.
The invention has the beneficial effects that: the user can clearly see the flow of the whole active marketing rule system and the relation, logic and flow between each node through the configuration canvas, so that the user can understand and operate more easily; the user can operate according to the flow of the DAG graph, each node has definite input and output, and the function and effect of each node can be clearly known; in the canvas, the test run can be realized, the real-time verification function is provided, and a user can timely find and correct errors when configuring rules, so that the error rate is reduced; the integrated event node model is formed through event logic Shell scripting, script variables are set and determined, flexible configuration of different event nodes is achieved, and development work of the event nodes is reduced.
Drawings
Fig. 1 is a schematic flow diagram of a policy canvas construction method based on shell script in an embodiment of the present invention.
FIG. 2 is a diagram of a script rule definition area according to an embodiment of the present invention.
FIG. 3 is a schematic diagram of a rendering style of a synthetic event node model in an embodiment of the invention.
FIG. 4 is a schematic diagram of a rendering style of a synthetic event node model according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific examples.
It should be noted that these examples are only for illustrating the present invention, and not for limiting the present invention, and simple modifications of the method under the premise of the inventive concept are all within the scope of the claimed invention.
Referring to fig. 1, a policy canvas construction method based on shell script includes:
s100, editing a script by adopting a shell programming language, wherein the script comprises a rule definition area for declaring service attributes and rendering styles and a logic implementation area for carrying out logic judgment, and forming a comprehensive event node model through the script;
in the selection of script development language, shell programming language is selected, shell programming belongs to command type language, and is directly executed without editing, so that release version work can be reduced.
Referring to fig. 2, the rule definition area includes a start identifier, a script variable, and an end identifier, the script variable is JSON format data, and each JSON format data includes a variable type, a variable parameter entering sequence, a variable english name, a variable chinese name, a variable data type, a variable description, a variable enumeration value list, and an identifier whether the variable is necessary to be filled; and defining a drop-down box, a pop-up box or a component type of the tiled display for enumeration; different operators are provided for the value types, including greater than, less than, equal to, greater than or equal to, less than or equal to, or different rendered forms. The variable types distinguish whether the field belongs to a basic value or a service value; variable data types refer to their data types, such as numeric values, strings, enumerated values, and the like.
The rule definition zone takes the # # # # # START INPUT EIELDS # # # # as a start mark, the # # # END INPUT EIELDS # # # is an END mark, a script variable is defined in the mark middle zone, the script variable is a dynamic condition in the script execution process, a variable value is transmitted when the script is called up, each variable takes # as a prefix, the content is JSON format data, each JSON comprises type, number, name _eg, name_ch, field_ type, comment, code _value and is_needed 8 groups of information, wherein type is a variable type, value sub-base and busi respectively represent a basic variable and a service condition variable, number is a variable entry sequence, name_eg is a variable English name, field_type is a variable data type, value sub-numerical value, R-character string, UENUM-custom enumeration, PEM-parameter binding value, DATE-type, YC_U_value, and the like, and the value is a necessary value list of a necessary value, the necessary value is a variable, the necessary value is a value of a non-fill-1, and the necessary value is a variable value, and the necessary value is a variable 1.
For the enumeration types in the custom enumeration or enumeration value list, completing the definition of the component types such as a drop-down frame, a popup frame, a tiling display and the like; providing different operator support for variable data types, including greater than, less than, equal to, greater than or equal to, less than or equal to, and not equal to related page rendering presentation forms; for data input types, relevant text input may be performed. If the field selection is defined as the necessary input, the non-input verification is automatically performed, so that the page rendering is easier to automatically process.
The script includes a logic implementation area for making judgment conditions.
And judging rule conditions through formulated judging conditions, and endowing corresponding application logic processing units. Such as cumulative transactions involving aggregation determination processing, continuous transactions involving connection determination processing, such as conditional determinations of continuous transaction count, cumulative transaction amount, etc., in a transaction event. And a corresponding processing unit is formed through corresponding condition processing, so that the screening rule condition is rapidly met.
Through the design of the rule definition area and the logic implementation area in the script, a comprehensive event node model can be formed.
S200, referring to fig. 3-4, selecting a required comprehensive event node model in an event node page, setting script variables of the comprehensive event node model according to a required event rule, and determining a rendering style of the script variables to form an event node corresponding to the required event rule.
Uploading a script of the comprehensive event node model to an event node page, saving a script storage path, selecting the comprehensive event node model, designating an event result storage position, setting a script variable according to a required event rule, and determining a rendering style; setting script variables according to a required event rule to determine a rendering style comprises determining one or more groups of script variables and variable types, variable entering sequences, variable Chinese names, variable data types, variable descriptions, variable enumeration value lists and whether the variables need to be filled with marks according to the required event rule, selecting whether the variables are operable variables if the variable types are busi, and combining base variables which are provided by default so as to form event nodes corresponding to the required event rule; when an event node is added to the canvas, the threshold for the variable/actionable variable involved in the decision condition is determined when the node attribute is configured.
The script has related data processing flow, so that different data sources can be supported to perform business operations, including but not limited to a credit database, a distributed database, big data and the like, so that dependence on data service is reduced, and processing of different data sources is completed.
The data processing flow may refer to performing corresponding data processing according to a logic rule after the setting, for example, the transaction amount is required to be accumulated in the transaction event judgment, the front page selects the accumulated transaction amount, the accumulated amount is greater than 5000 yuan, the data processing logic performs corresponding data processing according to the setting, converts the content of the service setting into the data processing process, and performs calculation and output for meeting the condition.
And S300, selecting nodes in the node pool, adding the nodes into the canvas in a dragging mode, connecting with upper and/or lower nodes, and configuring node attributes to form a strategy canvas.
When executing the event in the service configuration, the script is called up according to the storage position of the shell script in the corresponding model, the script execution result is stored in the appointed position appointed when the event is newly added, and an event step temporary table is generated for use when executing the next step.
The node pool stores condition nodes, event nodes, action nodes and page nodes;
the condition node is used for realizing flow branching according to the condition rule;
the event node is used for executing the flow according to the event rule;
the action node is used for executing specific operations;
the page nodes are used for acquiring page data in the strategy canvas configuration.
As an implementation manner, the nodes of the same type are combined by touching in a dragging mode, and the sequence and/or the relation among the nodes are configured in the node attribute. For example, the condition node A and the condition node B are combined, one is contacted with the other by dragging, then the sequence of the condition node A and the condition node B is configured in the node attribute, and then the relation of the condition node A and the condition node B is determined.
As one embodiment, the guest group is imported and the policy canvas is tested based on the policy canvas formed as described above. A real-time verification function is provided to ensure smooth execution of the marketing campaign and to achieve the desired effect. Logic and connection conditions among all nodes are better known when marketing campaign rules are specified, and strategies can be adjusted in time. The user can find errors and correct the errors in time when configuring rules, so that the error rate is reduced.
Complete the full-mode definition and construction of the standard event from script definition development, model construction, event definition based on the model, event as a component in use, page rendering and displaying and the bottom data logic processing integrated process. Mode construction of scripts, namely dividing rule configuration domains and logic processing domains: the rule configuration domain declares the relevant business attribute and rendering mode of the script, and completes a complete set of subsequent modes in a matched way; the logic processing domain carries out corresponding logic judgment and processing according to the service input threshold value, thereby achieving service appeal. And constructing in the design mode to complete the standard reaching treatment of the complex rule event.
A policy canvas construction system based on shell script comprises a comprehensive event node model construction module, an event node page, a node pool, a node attribute frame and a canvas.
The comprehensive event node model construction module is used for a user to edit a script by adopting a shell programming language, wherein the script comprises a rule definition area for declaring service attributes and rendering styles and a logic implementation area for logic judgment, and the comprehensive event node model is formed by the script.
The event node page is used for storing comprehensive event node models, a user selects a required comprehensive event node model from the event node page, and sets script variables of the comprehensive event node model according to a required event rule to determine rendering patterns of the script variables so as to form event nodes corresponding to the required event rule.
The forming the event node corresponding to the required event rule comprises the following steps: uploading a script of the comprehensive event node model to an event node page, saving a script storage path, selecting the comprehensive event node model, designating an event result storage position, setting a script variable according to a required event rule, and determining a rendering style; setting script variables to determine rendering patterns according to a required event rule comprises determining one or more groups of script variables and variable types, variable parameter entering sequences, variable Chinese names, variable data types, variable descriptions, variable enumeration value lists and whether the variables need to be filled with marks according to the required event rule to form event nodes corresponding to the required event rule; when an event node is added to the canvas, a threshold for a variable involved in the judgment condition is determined when the node attribute is configured.
The node pool is used for storing event nodes.
The node pool stores condition nodes, event nodes, action nodes and page nodes;
the condition node is used for realizing flow branching according to the condition rule;
the event node is used for executing the flow according to the event rule;
the action node is used for executing specific operations;
the page nodes are used for acquiring page data in the strategy canvas configuration.
The canvas is used for a user to add the nodes in the node pool into the canvas in a dragging mode and is connected with the upper and/or lower nodes to form a strategy canvas.
The node attribute frame is used for the user to select the node to configure the node attribute.
The rule definition area comprises a start identifier, a script variable and an end identifier, wherein the script variable is JSON format data, and each piece of JSON format data comprises a variable type, a variable parameter entering sequence, a variable English name, a variable Chinese name, a variable data type, a variable description, a variable enumeration value list and a mark whether the variable is necessary to fill; and defining a drop-down box, a pop-up box or a component type of the tiled display for enumeration; the variable data types comprise numerical values, character strings, custom enumeration, parameter binding enumeration values, dates, data cycle types or continuous accumulation types; providing different operators for variable data types, wherein the operators comprise rendering forms which are larger than, smaller than, equal to, larger than or equal to, smaller than or equal to or different from each other;
and the logic implementation area is used for making judgment conditions.
The node classification in the node pool and the nodes in the classification are obtained through the configuration of the inner pipe background, and can be imported in batches through excel, so that different client requirements and scenes can be conveniently met.
The strategy canvas can be stored as a picture or directly output and printed, and the output content is consistent with the canvas content, so that marketing team can better understand, analyze and implement marketing strategies.
The user is provided to cancel or undo the operation and return to the previous state or version. The undo/redo function can ensure that the user can more flexibly manage and control the content in the marketing strategy configuration canvas, avoid errors and unnecessary losses, and simultaneously can also improve the working efficiency and the use experience of the user.
The canvas is arranged, and all nodes in the marketing strategy canvas are arranged and aligned, so that the whole canvas is tidier, clearer and more attractive, and a user can better understand and analyze the marketing strategy conveniently.
Finally, it is noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. The policy canvas construction method based on the shell script is characterized by comprising the following steps:
editing a script by adopting a shell programming language, wherein the script comprises a rule definition area for declaring service attributes and rendering styles and a logic implementation area for carrying out logic judgment, and forming a comprehensive event node model by the script;
selecting a required comprehensive event node model in an event node page, setting script variables of the comprehensive event node model according to a required event rule, and determining a rendering style of the script variables to form an event node corresponding to the required event rule;
and selecting nodes in the node pool, adding the nodes into the canvas in a dragging mode, connecting with upper and/or lower nodes, and configuring node attributes to form a strategy canvas.
2. The policy canvas construction method based on shell script according to claim 1, wherein the rule definition area comprises a start identifier, a script variable and an end identifier, the script variable is JSON format data, and each JSON format data comprises a variable type, a variable parameter entering sequence, a variable english name, a variable chinese name, a variable data type, a variable description, a variable enumeration value list and a variable filling identifier; and defining a drop-down box, a pop-up box or a component type of the tiled display for enumeration; the variable data types comprise numerical values, character strings, custom enumeration, parameter binding enumeration values, dates, data cycle types or continuous accumulation types; providing different operators for variable data types, wherein the operators comprise rendering forms which are larger than, smaller than, equal to, larger than or equal to, smaller than or equal to or different from each other;
the logic implementation area is used for making judgment conditions.
3. The method for constructing a policy canvas based on shell script according to claim 2, wherein selecting a required comprehensive event node model in an event node page, setting script variables of the comprehensive event node model according to a required event rule, and determining rendering patterns of the script variables to form event nodes corresponding to the required event rule comprises:
uploading a script of the comprehensive event node model to an event node page, saving a script storage path, selecting the comprehensive event node model, designating an event result storage position, setting a script variable according to a required event rule, and determining a rendering style; setting script variables to determine rendering patterns according to a required event rule comprises determining one or more groups of script variables and variable types, variable parameter entering sequences, variable English names, variable Chinese names, variable data types, variable descriptions, variable enumeration value lists and whether variables need to be filled with marks according to the required event rule to form event nodes corresponding to the required event rule; when an event node is added to the canvas, a threshold for a variable involved in the judgment condition is determined when the node attribute is configured.
4. The method for constructing a policy canvas based on shell script according to claim 1, wherein the node pool stores condition nodes, event nodes, action nodes and page nodes;
the condition node is used for realizing flow branching according to a condition rule;
the event node is used for executing a flow according to the event rule;
the action node is used for executing specific operations;
the page node is used for acquiring page data in the strategy canvas configuration.
5. The policy canvas construction method based on shell script according to claim 4, wherein the nodes of the same type are combined by touching in a dragging mode, and the sequence and/or the relation among the nodes are configured in the node attribute.
6. The policy canvas construction method based on shell scripts according to claim 5, wherein the guest group is imported based on the formed policy canvas and the policy canvas is tested.
7. The policy canvas construction system based on the shell script is characterized by comprising a comprehensive event node model construction module, an event node page, a node pool, a node attribute frame and a canvas;
the comprehensive event node model construction module is used for a user to edit a script by adopting a shell programming language, wherein the script comprises a rule definition area for declaring service attributes and rendering styles and a logic implementation area for logic judgment, and the script is used for forming a comprehensive event node model;
the event node page is used for storing comprehensive event node models, a user selects a required comprehensive event node model from the event node page, and sets script variables of the comprehensive event node model according to a required event rule to determine rendering patterns of the script variables to form event nodes corresponding to the required event rule;
the node pool is used for storing event nodes;
the canvas is used for a user to add the nodes in the node pool into the canvas in a dragging mode and is connected with the upper and/or lower nodes to form a strategy canvas;
the node attribute frame is used for a user to select a node to configure the node attribute of the node.
8. The policy canvas construction system based on shell script according to claim 7, wherein the rule definition area comprises a start identifier, a script variable and an end identifier, the script variable is JSON format data, and each JSON format data comprises a variable type, a variable parameter entering sequence, a variable english name, a variable chinese name, a variable data type, a variable description, a variable enumeration value list and a variable filling identifier; and defining a drop-down box, a pop-up box or a component type of the tiled display for enumeration; the variable data types comprise numerical values, character strings, custom enumeration, parameter binding enumeration values, dates, data cycle types or continuous accumulation types; providing different operators for variable data types, wherein the operators comprise rendering forms which are larger than, smaller than, equal to, larger than or equal to, smaller than or equal to or different from each other;
the logic implementation area is used for making judgment conditions.
9. The shell script-based policy canvas construction system according to claim 8, wherein the forming the event node corresponding to the required event rule comprises: uploading a script of the comprehensive event node model to an event node page, saving a script storage path, selecting the comprehensive event node model, designating an event result storage position, setting a script variable according to a required event rule, and determining a rendering style; setting script variables to determine rendering patterns according to a required event rule comprises determining one or more groups of script variables and variable types, variable parameter entering sequences, variable English names, variable Chinese names, variable data types, variable descriptions, variable enumeration value lists and whether variables need to be filled with marks according to the required event rule to form event nodes corresponding to the required event rule; when an event node is added to the canvas, a threshold for a variable involved in the judgment condition is determined when the node attribute is configured.
10. The shell script-based policy canvas construction system according to claim 7, wherein the node pool stores condition nodes, event nodes, action nodes and page nodes;
the condition node is used for realizing flow branching according to a condition rule;
the event node is used for executing a flow according to the event rule;
the action node is used for executing specific operations;
the page node is used for acquiring page data in the strategy canvas configuration.
CN202311796010.6A 2023-12-25 2023-12-25 Policy canvas construction method and system based on shell script Active CN117785150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311796010.6A CN117785150B (en) 2023-12-25 2023-12-25 Policy canvas construction method and system based on shell script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311796010.6A CN117785150B (en) 2023-12-25 2023-12-25 Policy canvas construction method and system based on shell script

Publications (2)

Publication Number Publication Date
CN117785150A true CN117785150A (en) 2024-03-29
CN117785150B CN117785150B (en) 2024-08-02

Family

ID=90381057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311796010.6A Active CN117785150B (en) 2023-12-25 2023-12-25 Policy canvas construction method and system based on shell script

Country Status (1)

Country Link
CN (1) CN117785150B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1857930A2 (en) * 2006-05-17 2007-11-21 Ipreo Holdings LLC System, method, and apparatus to allow for a design, administration, and presentation of computer software applications
CN102662646A (en) * 2012-03-01 2012-09-12 华为技术有限公司 Sensing data processing method and compute node
CN110609675A (en) * 2018-06-14 2019-12-24 中兴通讯股份有限公司 Workflow modeling method and device and computer readable storage medium
CN112181960A (en) * 2020-09-18 2021-01-05 杭州优云软件有限公司 Intelligent operation and maintenance framework system based on AIOps
CN112257008A (en) * 2020-12-22 2021-01-22 北京宇信科技集团股份有限公司 Online custom flow operation system, method, medium and server
CN116631522A (en) * 2022-02-11 2023-08-22 南京大学 High-flux calculation method and screening system for catalytic material

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1857930A2 (en) * 2006-05-17 2007-11-21 Ipreo Holdings LLC System, method, and apparatus to allow for a design, administration, and presentation of computer software applications
CN102662646A (en) * 2012-03-01 2012-09-12 华为技术有限公司 Sensing data processing method and compute node
CN110609675A (en) * 2018-06-14 2019-12-24 中兴通讯股份有限公司 Workflow modeling method and device and computer readable storage medium
CN112181960A (en) * 2020-09-18 2021-01-05 杭州优云软件有限公司 Intelligent operation and maintenance framework system based on AIOps
CN112257008A (en) * 2020-12-22 2021-01-22 北京宇信科技集团股份有限公司 Online custom flow operation system, method, medium and server
CN116631522A (en) * 2022-02-11 2023-08-22 南京大学 High-flux calculation method and screening system for catalytic material

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨哲睿;高娜;刘梁;: "大规模天文数据分析及多维信息可视化平台的建设和管理", 科研信息化技术与应用, no. 05, 20 September 2015 (2015-09-20) *

Also Published As

Publication number Publication date
CN117785150B (en) 2024-08-02

Similar Documents

Publication Publication Date Title
CN104732306B (en) Rapid development system and method for business application system
US8806429B2 (en) Dynamic generation of formatted user interfaces in software environments
US7904821B1 (en) Graphical user interface that is convertible at runtime
JP5651121B2 (en) Data object management and automatic linking
US8291374B2 (en) System and method for generating modified source code based on change-models
CN105739983B (en) Shell script editing device and its implementation
CN109597954A (en) Data item methods of exhibiting, calculates equipment and medium at device
CN113703749A (en) Information system based on visual programming technology and construction method thereof
CN104679488A (en) Flow path customized development platform and method
US20060195817A1 (en) Visual workflow modeling tools for user interface automation
CN105843630A (en) Method for graphical programming development based on robot
WO2015196784A1 (en) Visual software modeling method based on software meta-view for constructing software view
CN114089958A (en) Form visual configuration method and device
CN111796815A (en) Application of full-automatic visual software building platform
Busoniu et al. SeaLion: An eclipse-based IDE for answer-set programming with advanced debugging support
CN104391731A (en) Editing method based on C# and irrelevant to data types
CN110554863A (en) Graphical programming method of quasi-integrated circuit
CN104063231B (en) Test resource rapid access method based on HIT-TENA
KR20130053714A (en) Method of program development using visual programming language and computer readable medium thereof
CN114610280A (en) Visual form design method and system realized in low-code mode
CN113010168B (en) User interface generation method based on scene tree
CN117785150B (en) Policy canvas construction method and system based on shell script
CN114153442A (en) Large-screen visualization page configuration method and system based on visualization component
CN116909553A (en) Page online development and local compiling operation system
Pederiva et al. The beautification process in model-driven engineering of user interfaces

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