Low-code platform implementation method and device based on instruction set generation, and medium
Through the low-code platform method based on instruction set generation, components and business logic are decoupled, flexibility and scalability are improved, the shortcomings of existing low-code platforms in innovative applications are solved, and real-time interaction and result feedback are supported.
Patent Information
- Application Number
- CN202411800894.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-12-09
AI Technical Summary
The existing low-code platforms are not flexible and scalable in innovative applications, making it difficult for users to adjust analysis tools and reports based on personalized needs, resulting in increased communication costs and real-time interaction and result feedback cannot be achieved.
Through the low-code platform implementation method based on instruction set generation, the user's control drag results are obtained using the visual editing area, the drag results are identified to determine the component's logical operation information, a multi-dimensional array is generated and converted into JSON strings to save them to the database, and the JSON string is parsed at runtime to pass to the operation component for processing.
It realizes complete decoupling of low-code platform components from specific business logic, improves application flexibility and scalability, reduces communication and development costs, and supports real-time interaction and result feedback.
Smart Images

Figure CN119739376A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of low-code platforms, and specifically to a method, device and medium for implementing a low-code platform based on instruction set generation. Background Art
[0002] In recent years, the current low-code technology can be basically divided into three categories: "code generation type", "non-code generation type" and "codeless development type". The main features are as follows:
[0003] 1. Code-generating low-code platform: It can generate code or multiple framework codes, and can independently export and deploy a single application to other platforms or servers. This type of platform provides a higher-dimensional and easy-to-use visual IDE for developers to use, which can better meet the needs of developers. However, the application threshold is high and must be used by professional developers.
[0004] 2. Non-code-generating low-code platforms: These platforms require developers to develop within a specified framework, but cannot generate separate application code and deploy it independently. They help developers develop applications quickly, but the disadvantage is that the application threshold is still high and must be used and debugged by developers.
[0005] 3. No-code development platform: A type of low-code platform that does not provide or only supports limited programming expansion capabilities. It is suitable for "non-programming development" without the assistance of professional developers, such as developing internal management or marketing forms. It has a low technical threshold and limited application scenarios, and is designed specifically for non-programmers. It has poor flexibility and scalability; it cannot meet the needs of complex programming and complex calculations.
[0006] Through the above analysis of low-code technology, we can see that low-code development platforms still have the following problems:
[0007] The essence of code-generating low-code platforms and non-code-generating low-code platforms is to fragment the business logic and encapsulate it in components or controls, and generate a set of code source codes or executable programs that reflect the business logic through visual component and control drag-and-drop construction. Since the business logic is closely linked to platform components and controls, its flexibility and scalability in innovative applications are limited, and users may not be able to flexibly adjust analysis tools and reports according to personalized needs. When the internal and external business environment changes, the current group controls may not be able to accurately describe the current business environment, and business personnel and technical personnel need to communicate again to modify the code logic and component parameters. The resulting problem is that the cost of communication increases, real-time interaction and result feedback cannot be achieved, and the application threshold is high, and it must be developed by professional R&D personnel. Summary of the invention
[0008] In order to solve the above problems, the present application proposes a low-code platform implementation method, device and medium based on instruction set generation, wherein the method includes: obtaining the dragging result after the user drags the control through the visual editing area; the control types of the control include constant controls, variable controls, operation controls and logic controls, and the control elements in the control include a hierarchy controller, a control name, a search button and a search box; the dragging result is identified to determine the component logic operation information corresponding to all the controls in the visual editing area, and the component logic operation information includes operation hierarchy, operation logic, operation constant value and operation variable value; according to the component logic operation information, a multidimensional array corresponding to the visual editing area is generated, and the multidimensional array is converted into a JSON string and saved to the database; during operation, the JSON string is parsed to obtain the multidimensional array, and the multidimensional array is passed to the operation component for processing.
[0009] In one example, before obtaining the dragging result of the user dragging the control through the visual editing area, the method also includes: obtaining the variable name input by the user through the visual configuration interface; creating a variable according to the variable name, and generating a control unique identifier for the variable, wherein the control unique identifier corresponds to the variable name; jumping to the control parameter configuration interface, obtaining the control parameters selected by the user through the control parameter configuration interface, and configuring the variable control according to the control parameters; the control parameters include: indicator type, application scenario, mapping database field, and data acquisition rules; after the configuration is completed, the variable control is placed in the visual editing area for the user to select.
[0010] In one example, before obtaining the dragging result of the user dragging the control in the visual editing area, the method also includes: monitoring the dragging action of the user, and determining the control type of each control in the visual editing area based on the dragging action; receiving a retrieval operation from the user, and determining the variables corresponding to each variable control in the visual editing area according to the retrieval operation; receiving a layer sequence controller modification operation from the user, and determining the layer sequence controller of each control in the visual editing area according to the layer sequence controller modification operation.
[0011] In one example, the dragging result is identified to determine the component logic operation information corresponding to all the controls in the visual editing area, specifically including: determining the control types corresponding to all the controls in the visual editing area; determining the operation order corresponding to all the controls based on the control hierarchy controller; determining the operation logic corresponding to all the controls based on the operation controls and logic controls in all the controls; determining the operation constant value based on the constant controls in all the controls; and determining the operation variable value based on the variable controls in all the controls.
[0012] In one example, generating a multidimensional array corresponding to the visual editing area according to the component logical operation information specifically includes: determining the index order corresponding to different controls according to the operation level order corresponding to all controls; determining each two-dimensional array in the multidimensional array according to the index order; determining the three-dimensional array under each two-dimensional array according to the control type and the control unique identifier; and generating the multidimensional array based on the two-dimensional array and the corresponding three-dimensional array.
[0013] In one example, during the runtime, the JSON string is parsed to obtain the multidimensional array, specifically including: determining the index order and control type of the multidimensional array according to the NAME characters of the JSON string; determining the control unique identifier of the multidimensional array according to the VALUE characters of the JSON string; and obtaining the multidimensional array according to the index order, the control type and the control unique identifier.
[0014] In one example, passing the multidimensional array to a computing component for processing specifically includes:
[0015] According to the size of the two-dimensional array index, determine the order of traversing array elements; according to the three-dimensional array index, determine the corresponding control type, and call the corresponding running component for processing.
[0016] In one example, the corresponding control type is determined according to the three-dimensional array index, and the corresponding running component is called for processing, specifically including: if the corresponding control is a variable component, the value of the three-dimensional array is obtained as the control unique identifier, and the number is retrieved from the database as the control VALUE value according to the control unique identifier; if the corresponding control is a constant control, the value of the three-dimensional array is obtained as the control VALUE value; if the corresponding control is an operation component, the value of the three-dimensional array is obtained as the operator to calculate the VALUE value of each control and obtain the final calculation result.
[0017] The present application also provides a low-code platform implementation device based on instruction set generation, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any one of the above examples.
[0018] The present application also provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute the method described in any one of the above examples.
[0019] The method proposed in this application can bring the following beneficial effects:
[0020] (1) By implementing low-code platform components, controls are completely decoupled from specific business logic, and "instruction set generation" low-code technology is realized. This solves the problems of the original low-code technology's limited application scenarios, insufficient component library types, and inflexible and inaccessible interactive configuration.
[0021] (2) To meet the needs of building diversified applications in multiple scenarios, multiple numbers, multiple dimensions, and multiple logics of orchestration actions are implemented in the visual designer. A reasonable and effective orchestration engine and corresponding hierarchical model are designed to convert complex orchestration actions into model operations, and the generation of JSON descriptions is realized in the low-code development platform.
[0022] (3) While meeting the requirements of multiple business scenarios and generating JSON descriptions, the platform has the core capability to convert JSON into real applications. It can not only build applications in real time, but also preview them in real time. Therefore, a low-code rendering engine is designed and implemented. Through the above functional innovations, the low-code platform currently takes into account the complex calculations, customization capabilities, user-friendliness, real-time and interactivity requirements of commercial banks for business analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0024] Figure 1 A flowchart of a low-code platform implementation method based on instruction set generation in an embodiment of the present application;
[0025] Figure 2 This is a schematic diagram of four elements of a variable control in an embodiment of the present application;
[0026] Figure 3A schematic diagram of a visual configuration interface for naming a new control in an embodiment of the present application;
[0027] Figure 4 This is a schematic diagram of a control parameter configuration interface in an embodiment of the present application;
[0028] Figure 5 This is a schematic diagram of an integrated control model at the bottom of a visual editing area in an embodiment of the present application;
[0029] Figure 6 This is a schematic diagram of a control in a visual editing area in an embodiment of the present application;
[0030] Figure 7 A schematic diagram of the corresponding loop logic, execution tree and layer sequence controller in an embodiment of the present application;
[0031] Figure 8 A schematic diagram of a visual editing area including conditional logic in an embodiment of the present application;
[0032] Fig. 9 A schematic diagram showing a visualization of a calculation result in an embodiment of the present application;
[0033] Fig.10 This is another schematic diagram of visual display and real-time preview of a calculation result in an embodiment of the present application;
[0034] Fig.11 This is a schematic diagram of the visual editing area interface in scenario 1 in an embodiment of the present application;
[0035] Fig.12 This is a schematic diagram showing the visualization of the calculation results of scenario 1 in the embodiment of the present application;
[0036] Fig.13 This is a schematic diagram of the visual editing area interface in scenario 2 in the embodiment of the present application;
[0037] Fig.14 This is a schematic diagram for visualizing the calculation results of scenario 2 in the embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0039] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0040] Figure 1 A flowchart of a low-code platform implementation method based on instruction set generation provided for one or more embodiments of this specification. The method can be applied to different business fields, such as Internet financial business field, e-commerce business field, instant messaging business field, game business field, official business field, etc. The process can be executed by a computing device in the corresponding field (for example, a risk control server or smart mobile terminal corresponding to the payment business, etc.), and some input parameters or intermediate results in the process allow manual intervention and adjustment to help improve accuracy.
[0041] The analysis method involved in the embodiments of the present application can be implemented by a terminal device or a server, and the present application does not impose any special restrictions on this. For the convenience of understanding and description, the following embodiments are described in detail by taking a server as an example.
[0042] It should be noted that the server can be a single device or a system composed of multiple devices, that is, a distributed server, and this application does not make any specific limitations on this.
[0043] like Figure 1 As shown, the embodiment of the present application provides a low-code platform implementation method based on instruction set generation, including:
[0044] S101: Obtaining the dragging result of the user dragging the control through the visual editing area.
[0045] First, the server obtains the dragging result of the user on the control through the visual editing area. The visual editing area here is the area provided by the server for the user to drag the control. The dragging result includes the position of each control in the visual editing area. The control types here include constant controls, variable controls, operation controls, and logic controls, such as Figure 2 As shown in the figure, each variable control consists of four elements: layer order controller, variable name, search button and search box. Among them, the layer order controller is used to represent the operation priority and operation order of the variable control, and the layer order controller is set by the user during the process of dragging the control; the variable name is used to map the unique control identifier; the search button is used to control the pop-up and hide of the search box; the search box is used to search for the corresponding variable by keyword. When other variables are selected in the search box, the original variable control will be transformed into the variable control corresponding to the newly selected variable.
[0046] In one embodiment, before obtaining the drag result after the user drags the control, it is necessary to create variables, or create controls, that is, to design and create visual controls that can carry data, calculations, and programming logic, define interface data structures, configure data mapping and conversion relationships, define data interface logic, and configure data interface calls; take the creation of the most important and widely used variable controls in the platform as an example:
[0047] First you need to name the new control, which can be done by Figure 3 In the visual configuration interface shown, name a new control. For example, if you want to describe deposits, you can name it as corporate deposit balance or corporate deposit daily average. If you want to describe customers, you can name it as corporate valid accounts or physical credit users. After successfully creating a control, the system assigns a unique control identifier to the control and automatically jumps to the following example: Figure 4 The control parameter configuration interface shown is used to set the usage scenario (report type, workflow, visualization style, etc.) for the control, map database fields, and set data retrieval rules (sort, distribution, maximum, minimum, total, average, etc.). After the configuration is completed, the variable control is placed in the visualization editing area for the user to select.
[0048] In one embodiment, in addition to obtaining the drag result, the server also needs to monitor the user's drag action and determine the control type of each control in the visual editing area based on the drag action. It also needs to receive a search operation from the user and determine the variables corresponding to each variable control in the visual editing area according to the search operation. It also needs to receive a layer sequence controller modification operation from the user and determine the layer sequence controller of each control in the visual editing area according to the layer sequence controller modification operation.
[0049] like Figure 5 As shown in the figure, in the visual editing area, various types of control models are integrated at the bottom of the editing area, and the system calls the corresponding processing component according to the type identifier of the control. Including operator (logical and operator), variable (variable identifier), constant (constant identifier), etc. For example, if the user wants to drag the variable control "New corporate deposit-schedule target" to the visual editing area, he must first drag the variable control to the visual editing area, and then change the variable name of the variable control to realize the process of dragging the variable control "New corporate deposit-schedule target" to the visual editing area.
[0050] In the visual editing area, the variable name controls the VALUE value of the control. Specifically, for constant controls (constant), the system obtains the VALUE value of the constant component as the constant unit in the instruction set calculation process. For variable controls (variable), the system obtains the control API data stored in JSON format from the database according to the variable name, converts these JSON format data into parsed data structures, and obtains specific field value parameters. Then the system obtains the source data through the API interface parameters. The source data is also transmitted in JSON format and stored in the database in field value format. Parsing JSON data is to convert these JSON format data into a more readable data structure for program processing and use. For calculation controls, the system obtains the calculation component API to determine the calculation type implemented by the component, including simple addition, subtraction, multiplication and division, as well as complex calculations implemented by encapsulated mathematical functions (such as MAX, MIN, AVERAGE, MOD, FORCAST, RANK, SMALL, LARGE, etc.). Different from variable controls, constant controls, calculation controls, and logic controls exist as common controls of the platform, do not need to be created, and can be used across scenarios.
[0051] S102: Identify the dragging result to determine component logic operation information corresponding to all controls in the visual editing area.
[0052] In the editing area, the control itself does not contain any specific business logic or code snippets. Instead, it generates a set of reusable "instruction sets" that reflect the business logic through the construction method of dragging and dropping the control, and stores them in the instance library in JSON format.
[0053] During the dragging process of the control, the Name+Value property of the control can be changed by setting the parameters of the control's layer controller, control type, control ID and other control elements, so as to carry and express the instruction information. The Name+Value property is expressed as:
[0054] Name = "[formula][index1][index2]......[indexN][control type]"
[0055] Value = "Control ID"
[0056] Among them, in the visual editing area, the layer order controller is on the leftmost side of each control, controlling the index layer and order of the name attribute of the control to realize a multi-level operation model and hierarchical operation. The operation layer is equivalent to brackets. The higher the layer, the higher the operation priority is in positive order (from small to large). The number represents the operation order of the same operation layer.
[0057] Therefore, the server can identify the drag result to obtain the business logic corresponding to all controls in the visual editing area, that is, component logic operation information. The component logic operation information here includes operation hierarchy, operation logic, operation constant value and operation variable value.
[0058] Specifically, when identifying the drag result, it is necessary to first determine the control types corresponding to all controls in the visual editing area, and then determine the operation order corresponding to all controls based on the control order controller, and determine the operation logic corresponding to all controls based on the operation controls and logic controls in all controls. The operation constant value can be determined based on the constant control in all controls; the operation variable value can be determined based on the variable control in all controls.
[0059] S103: Generate a multidimensional array corresponding to the visual editing area according to the component logic operation information, convert the multidimensional array into a JSON string and save it in a database.
[0060] In one embodiment, when generating a multidimensional array, it is necessary to determine the index order corresponding to different controls according to the operation level order corresponding to all controls; determine each two-dimensional array in the multidimensional array according to the index order; and determine the three-dimensional array under each two-dimensional array according to the control type and the control unique identifier; finally, generate a multidimensional array based on the two-dimensional array and the corresponding three-dimensional array.
[0061] by Figure 6 Take the controls in the visual editing area as an example: There are 7 controls in the visual editing area, including variable controls: daily average corporate deposits - current completion, daily average corporate deposits - assessment base, corporate deposit date - schedule target; including constant controls: 100; including operation controls: "-", "*", "÷". When converting the above controls into multidimensional arrays, they can be converted into:
[0062]
[0063]
[0064] Among them, 'phxz-ckrj-dqwc', 'subtract', 'phxz-ckrj-khjs', 'divide', 'phxz-ckrj-dqzb', and 'multiply' are the unique identifiers of the control corresponding to daily average corporate deposits-current completion, "-", daily average corporate deposits-assessment base, "÷", corporate deposit date-schedule target, and "*". When the above array is converted to JSON characters, the string is as follows Figure 6 The characters below are shown.
[0065] S104: During operation, the JSON string is parsed to obtain the multidimensional array, and the multidimensional array is passed to a computing component for processing.
[0066] When parsing a JSON string, the index order and control type of the multidimensional array are determined according to the NAME character of the JSON string; the control unique identifier of the multidimensional array is determined according to the VALUE character of the JSON string; and the multidimensional array is obtained according to the index order, control type and control unique identifier.
[0067] In one embodiment, when the computing component processes a multidimensional array, the control API information processing includes two steps:
[0068] First, the calculation component obtains the control API interface parameters stored in JSON format, converts these JSON format data into a parsed data structure, and obtains specific field value parameters; then the calculation component obtains the source data through the API interface parameters. The source data is also transmitted in JSON format and stored in field value format. Parsing JSON data is to convert these JSON format data into a more readable data structure for easy processing and use by the program.
[0069] Specifically, the operation component will determine the order of traversing array elements according to the size of the two-dimensional array key, determine the corresponding control type according to the three-dimensional array key, and call the corresponding operation component for processing. Specifically, if the corresponding control is a variable component, the value of the three-dimensional array is obtained as the control unique identifier, and the number is obtained from the database according to the control unique identifier as the control VALUE value; if the corresponding control is a constant control, the value of the three-dimensional array is obtained as the control VALUE value; if the corresponding control is an operation component, the value of the three-dimensional array is obtained as the operator to calculate the VALUE values of each control and obtain the final calculation result.
[0070] It should be noted that the low-code platform provided by this application has the core ability to convert JSON into real applications. By parsing each component, according to the running logic (sequential logic, judgment logic, loop logic) defined in the component and the API interface parameters of each control, it calls the encapsulated function and obtains data to complete the business logic execution and complex calculations; the running logic is as follows: Figure 6 The explanation has been given, now let's explain the loop logic and conditional logic:
[0071] like Figure 7As shown in the figure, loop logic (each, for each) is a logical grouping established by multiple data flow components (sequential logic) based on synchronization relationships. Each grouping is the beginning and end of a sequential logic. Each sequential logic can be executed by a separate process and can be executed concurrently with other sequential logics. Each sequential logic corresponds to a data buffer. The asynchronous conversion component will end the input buffer and create a new output buffer. An asynchronous conversion component means the end of the upstream sequential logic and the beginning of the downstream sequential logic. When the data flow passes through the asynchronous conversion component and enters a new sequential logic, the buffer and the same data of the previous sequential logic are no longer needed because the data has been passed to a new sequential logic and a new set of buffers. During the operation of the loop logic, the data source component reads the data, stores the data in the buffer area, and then processes the data in the buffer one by one. Child nodes will be created for loops and branches, and the child nodes can be nested infinitely, which is equivalent to the curly braces in the code. Figure 7 In the , the complete operation logic is divided into upstream execution tree, midstream execution tree and downstream execution tree according to the length and size of the layer sequence controller. During execution, the operation logic corresponding to the upstream execution tree is executed first, then the operation of the midstream execution tree is executed, and finally the operation of the downstream execution tree is executed.
[0072] like Figure 8 As shown in the figure, conditional logic (if, if true, if false, if else) is a logical grouping established by multiple data flow components (sequential logic) based on logical judgment relationships. Each grouping is the beginning and end of a sequential logic. Each sequential logic can be executed by a separate process and can be executed concurrently with other sequential logics. Each sequential logic corresponds to a data buffer. When the sequential logic calculation result after if is true, the component returns the calculated value of the sequential expression after if true. When the sequential logic calculation result after if is false, the component returns the calculated value of the sequential expression after if false, or executes the conditional logic after if else to enter the next conditional logic for calculation.
[0073] like Fig. 9 As shown, finally, the low-code rendering engine realizes the visualization and real-time preview of the calculation results.
[0074] The advantages of the low-code platform based on instruction set generation provided by this application are as follows:
[0075] 1. The implementation method realizes the complete decoupling of low-code platform group controls and business logic: the essence of code-generating low-code platforms and non-code-generating low-code platforms is to fragment the business logic and encapsulate it in components or controls, and generate a set of code source codes or executable programs that reflect the business logic through the construction method of visual components and control dragging. Since the business logic is closely connected with platform components and controls, its flexibility and scalability in innovative applications are limited, and users may not be able to flexibly adjust analysis tools and reports according to personalized needs. When the internal and external business environment changes, the current group control may not be able to accurately describe the current business environment. Business personnel and technical personnel need to communicate again to modify the code logic and component parameters, resulting in the problem that the communication cost increases, real-time interaction and result feedback cannot be achieved, and the application threshold is high, and it must be developed by professional R&D personnel. The present invention realizes the "instruction set generation" low-code technology by realizing the complete decoupling of low-code platform components and controls from specific business logic.
[0076] 2. Build a reusable "instruction set" that reflects business logic: The components on the low-code platform do not contain any specific business logic or code snippets. Instead, they generate a reusable "instruction set" that reflects business logic through the construction method of visual components and control drag and drop, and store it in the model library in JSON format.
[0077] 3. Parse the instruction set and convert the JSON format data into a more readable data structure for easy processing and use by the program. This process includes two steps: (1) The system obtains the control API data stored in JSON format, converts the JSON format data into a parsed data structure, and obtains the specific field value parameters; (2) The system obtains metadata through API interface parameters. The metadata is also transmitted and stored in JSON format, and parsing JSON data is to convert the JSON format data into a more readable data structure for easy processing and use by the program.
[0078] 4. "Instruction set" for the implementation of complex programming logic: When the system is running, the instruction set is parsed to obtain the IDs of various components and controls, and their corresponding APIs are obtained from the database.
[0079] 5. If Fig.10As shown, the low-code rendering engine realizes visual display and real-time preview: the platform has the core ability to convert JSON into real applications. It can not only build applications in real time, but also preview in real time. By parsing each component, the interaction between controls and users is realized. For example, clicking a button or entering text will trigger specific events, and these operations will be responded to through preset event handlers, executing corresponding functions, and completing the corresponding program operation, logical calculation and visual display.
[0080] Taking the analysis of commercial bank operations as an example, this application is explained: Assuming that the deposit market is developing well overall and all its subordinate operating institutions can complete their budget targets, commercial banks only need to calculate and analyze the budget completion rate of each institution to basically analyze and grasp their deposit market operations. However, if the deposit market is generally sluggish and the completion of the budget targets of its subordinate operating institutions varies, then commercial banks need to analyze deposit operations from multiple dimensions, such as budget completion rate, contribution within the system, and comparison of growth rates among peers.
[0081] Scenario 1: As the macroeconomic development is improving and the deposit market is growing rapidly, commercial banks only need to analyze the deposit management of each operating institution through the budget completion of each institution. Fig.11 If the indicators and calculation configurations shown are used, the system directly runs the program and calculates the results according to the instruction set, and the platform's low-code rendering engine performs real-time calculations on the calculation process and results. Fig.12 Visual representation shown.
[0082] Scenario 2: Assuming that due to the sluggish growth in the deposit market in the recent period, the budget completion of various institutions is generally unsatisfactory. Commercial banks decide to analyze the deposit development of subordinate operating institutions from two dimensions: budget comparison (budget target comparison) and contribution comparison (growth contribution comparison). If the original low-code technology is used, business personnel and developers need to communicate, propose business requirements, and explain the calculation rules. The developer rewrites the code in the deposit-related components, including data retrieval logic, calculation rules, visual display, etc. After development is completed and tested, it can be put online. The "instruction set generation" low-code technology of the present invention better solves the above problems, and business personnel can directly perform such as through the visual editing interface. Fig.13 The indicators and calculation configurations shown completely eliminate the need for communication, development, testing, and other steps.
[0083] Since the complex development and launch process is omitted, the system can directly run the program and calculate the results according to the new instruction set. The platform's low-code rendering engine can monitor the calculation process and results in real time. Fig.14 Visual representation shown.
[0084] An embodiment of the present application also provides a low-code platform implementation device based on instruction set generation, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in any one of the above embodiments.
[0085] An embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to execute the method described in any one of the above embodiments.
[0086] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0087] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0088] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0089] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0090] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0092] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0093] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0094] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory media such as modulated data signals and carrier waves.
[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0096] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A low-code platform implementation method based on instruction set generation, characterized in that: include: Obtain the dragging result of the user after dragging the control through the visual editing area; the control types of the control include constant controls, variable controls, operation controls and logic controls, and the control elements in the control include a layer sequence controller, a control name, a search button and a search box; Identify the drag result to determine component logic operation information corresponding to all controls in the visual editing area, wherein the component logic operation information includes operation sequence, operation logic, operation constant value and operation variable value; Generate a multidimensional array corresponding to the visual editing area according to the component logic operation information, convert the multidimensional array into a JSON string and save it to the database; During operation, the JSON string is parsed to obtain the multidimensional array, and the multidimensional array is passed to the computing component for processing.
2. The method according to claim 1, characterized in that Before obtaining the dragging result of the user dragging the control in the visual editing area, the method further includes: Obtain the variable name entered by the user through the visual configuration interface; Creating a variable according to the variable name, and generating a control unique identifier of the variable, wherein the control unique identifier corresponds to the variable name; Jump to the control parameter configuration interface, obtain the control parameters selected by the user through the control parameter configuration interface, and configure the variable control according to the control parameters; The control parameters include: indicator type, application scenario, mapping database field, and data retrieval rules; After the configuration is completed, the variable control is placed in the visual editing area for the user to select.
3. The method according to claim 2, characterized in that Before obtaining the dragging result of the user dragging the control in the visual editing area, the method further includes: Monitoring the dragging action of the user, and determining the control type of each control in the visual editing area based on the dragging action; Receiving a search operation from a user, and determining the variables corresponding to each variable control in the visual editing area according to the search operation; A layer sequence controller modification operation is received from a user, and a layer sequence controller of each control in the visual editing area is determined according to the layer sequence controller modification operation.
4. The method according to claim 3, characterized in that The identifying of the dragging result to determine the component logic operation information corresponding to all the controls in the visual editing area specifically includes: Determine the control types corresponding to all controls in the visual editing area; Based on the control layer sequence controller, determine the operation layer sequence corresponding to all controls; Based on the operation controls and logic controls in all the controls, determining the operation logic corresponding to all the controls; Determine the operation constant value based on the constant control in all the controls; Based on the variable controls in all the controls, the operation variable values are determined.
5. The method according to claim 4, characterized in that Generating a multidimensional array corresponding to the visual editing area according to the component logic operation information specifically includes: According to the operation level sequence corresponding to all controls, determine the index sequence corresponding to different controls; Determine each two-dimensional array in the multidimensional array according to the index order; Determine the three-dimensional array under each two-dimensional array according to the control type and the unique identifier of the control; The multidimensional array is generated based on the two-dimensional array and the corresponding three-dimensional array.
6. The method according to claim 5, characterized in that During the runtime, the JSON string is parsed to obtain the multidimensional array, specifically including: Determine the index order and control type of the multidimensional array according to the NAME character of the JSON string; Determine the unique identifier of the control of the multidimensional array according to the VALUE character of the JSON string; The multidimensional array is obtained according to the index order, the control type and the control unique identifier.
7. The method according to claim 6, characterized in that The step of passing the multidimensional array to a computing component for processing specifically includes: Determine the order of traversing array elements according to the size of the two-dimensional array index; Determine the corresponding control type according to the three-dimensional array index, and call the corresponding running component for processing.
8. The method according to claim 7, characterized in that Determining the corresponding control type according to the three-dimensional array index and calling the corresponding running component for processing specifically includes: If the corresponding control is a variable component, the value of the three-dimensional array is obtained as the unique identifier of the control, and a number is obtained from the database according to the unique identifier of the control as the VALUE value of the control; If the corresponding control is a constant control, the value of the three-dimensional array is obtained as the control VALUE value; If the corresponding control is a calculation component, the value of the three-dimensional array is obtained as an operator to calculate the VALUE value of each control and obtain the final calculation result.
9. Low-code platform implementation device based on instruction set generation, characterized in that: include: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.
10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to perform the method as claimed in any one of claims 1 to 8.
Citation Information
Patent Citations
Low-code page building system and method and computer readable storage medium
CN115617327A
Method for generating Web intelligent form based on natural language
CN116149631A
Generating a platform-agnostic data pipeline via a low code transformation layer systems and methods
US11733984B1