Implementation Method, Device and Medium of a Low-Code Platform Based on Instruction Set Generation

Through the low-code platform implementation method based on instruction set generation, the problem of insufficient flexibility and scalability of the existing low-code platform is solved, the components and business logic are decoupled, the flexibility and scalability of the application are improved, and the threshold for application is lowered.

CN119739376BActive Publication Date: 2025-07-01HENGFENG BANK CO LTD SUZHOU BRANCH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411800894.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-07-01
Estimated Expiration
2044-12-09

AI Technical Summary

Technical Problem

The existing low-code platforms are not flexible and scalable in innovative applications, making it difficult for users to adjust analysis tools and reports according to personalized needs, and the application threshold is high, requiring the participation of professional R&D personnel.

Method used

The low-code platform implementation method based on instruction set generation is adopted. The user's drag and drop results are obtained through the visual editing area, the control type and logical operation information are identified, the multi-dimensional array is generated and converted into JSON strings, saved to the database, and the JSON string is parsed at runtime and passed to the operation component for processing.

Benefits of technology

It realizes complete decoupling of low-code platform components and specific business logic, improves application flexibility and scalability, lowers the application threshold, and enables users to adjust analysis tools and reports according to personalized needs, supporting real-time interaction and result feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739376B_ABST
    Figure CN119739376B_ABST
Patent Text Reader

Abstract

This application relates to the field of low-code platforms, and specifically discloses a method, device, and medium for implementing a low-code platform based on instruction set generation. The method includes: obtaining the dragging result after the user drags a control through a visual editing area; identifying the dragging result to determine the component logic operation information corresponding to all the controls in the visual editing area, generating a multi-dimensional array corresponding to the visual editing area according to the component logic operation information, converting the multi-dimensional array into a JSON string, and saving it to a database; at runtime, parsing the JSON string to obtain the multi-dimensional array, and passing the multi-dimensional array to an operation component for processing. By implementing the components of the low-code platform, the complete decoupling of the controls and specific business logics is achieved, and the "instruction set generation type" low-code technology is realized; the problems of the limited application scenarios of the original low-code technology, the lack of richness in the component library types, and the inflexibility and inusability of the interactive configuration are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of low-code platforms, and specifically relates to a method, device, and medium for implementing a low-code platform based on instruction set generation. Background Art

[0002] In recent years, current low-code technologies can basically be divided into three categories: "code generation type", "non-code generation type", and "no-code development type". The main characteristics are as follows:

[0003] 1. Code generation type 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 user-friendly visual IDE for R & D personnel to use, and can better meet the needs of developers. However, the application threshold is relatively high, and it must be used by professional R & D personnel.

[0004] 2. Non-code generation type low-code platform: This type of platform requires R & D personnel to develop within a specified framework, but cannot generate separate application code and deploy it independently. They help R & D personnel develop applications quickly. The disadvantage is still that the application threshold is relatively high, and it must be used and debugged by R & D personnel.

[0005] 3. No-code development platform: It belongs to a type of low-code platform that does not provide or only supports limited programming extension capabilities. It is suitable for "non-programming development" without the assistance of professional developers, such as developing internal management or marketing forms. The technical threshold is low, the application scenarios are limited, and it is specially designed for non-programming personnel. The flexibility and scalability are poor; it cannot meet the needs of complex programming and complex calculations.

[0006] From the above analysis of low-code technologies, it can be seen that the following problems still exist in low-code development platforms:

[0007] For code generation type low-code platforms and non-code generation type low-code platforms, their essence is to fragment business logic and encapsulate it in components or controls. Through the construction method of visual component and control dragging, a set of code source or executable program reflecting business logic is generated. Since the business logic is closely connected with platform components and controls, it limits its flexibility and scalability in innovative applications. Users may not be able to flexibly adjust analysis tools and reports according to personalized needs. When the internal and external business environments change, it may occur that the current group of controls cannot accurately describe the current business environment, and it is necessary for business personnel and technical personnel to communicate again and modify the code logic and component parameters, resulting in increased communication costs, inability to achieve real-time interaction and result feedback, and a relatively high application threshold, which must be developed by professional R & D personnel. Summary of the Invention

[0008] To solve the above problems, the present application proposes a method, device, and medium for implementing a low-code platform based on instruction set generation. The method includes: obtaining, through a visual editing area, the dragging result after the user drags a control; the control types of the controls include constant controls, variable controls, arithmetic controls, and logical controls, and the control elements within the controls include a sequence controller, a control name, a search button, and a search box; identifying the dragging result to determine the component logic operation information corresponding to all the controls in the visual editing area, where the component logic operation information includes operation sequence, operation logic, operation constant value, and operation variable value; generating a multi-dimensional array corresponding to the visual editing area according to the component logic operation information, converting the multi-dimensional array into a JSON string, and saving it to a database; during runtime, parsing the JSON string to obtain the multi-dimensional array, and passing the multi-dimensional array to an arithmetic component for processing.

[0009] In one example, before obtaining, through the visual editing area, the dragging result after the user drags a control, the method further includes: obtaining, through a visual configuration interface, the variable name input by the user; creating a variable according to the variable name, and generating a unique control identifier for the variable, where the unique control identifier corresponds to the variable name; jumping to a control parameter configuration interface, obtaining, through the control parameter configuration interface, the control parameters selected by the user, and configuring the variable control according to the control parameters; the control parameters include: index type, application scenario, mapped database field, data fetching rule; after the configuration is completed, placing the variable control in the visual editing area for the user to select.

[0010] In one example, before obtaining, through the visual editing area, the dragging result after the user drags a control, the method further includes: listening for the dragging action of the user, and determining, based on the dragging action, the control types of the controls in the visual editing area; receiving a search operation from the user, and determining the variables corresponding to the variable controls in the visual editing area according to the search operation; receiving a modification operation of the sequence controller from the user, and determining the sequence controllers of the controls in the visual editing area according to the modification operation of the sequence controller.

[0011] In one example, identifying the drag-and-drop result to determine the component logic operation information corresponding to all controls in the visual editing area specifically includes: determining the control types respectively corresponding to all controls in the visual editing area; determining the operation sequence levels corresponding to all controls based on the layer sequence controller of the controls; determining the operation logics corresponding to all controls based on the operation controls and logic controls among all the controls; determining the operation constant values based on the constant controls among all the controls; and determining the operation variable values based on the variable controls among all the controls.

[0012] In one example, generating the multi-dimensional array corresponding to the visual editing area according to the component logic operation information specifically includes: determining the index orders respectively corresponding to different controls according to the operation sequence levels corresponding to all controls; determining each two-dimensional array in the multi-dimensional array according to the index order; determining the three-dimensional arrays under each two-dimensional array according to the control type and the unique control identifier; and generating the multi-dimensional array based on the two-dimensional arrays and the corresponding three-dimensional arrays.

[0013] In one example, when running, parsing the JSON string to obtain the multi-dimensional array specifically includes: determining the index order and the control type of the multi-dimensional array according to the NAME character of the JSON string; determining the unique control identifier of the multi-dimensional array according to the VALUE character of the JSON string; and obtaining the multi-dimensional array according to the index order, the control type and the unique control identifier.

[0014] In one example, passing the multi-dimensional array to an operation component for processing specifically includes:

[0015] Determining the order of traversing array elements according to the size of the two-dimensional array index; determining the corresponding control type according to the three-dimensional array index, and calling the corresponding running component for processing.

[0016] In one example, 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, obtaining the value of the three-dimensional array as the unique control identifier, and fetching data from the database according to the unique control identifier as the control VALUE value; if the corresponding control is a constant control, obtaining the value of the three-dimensional array as the control VALUE value; if the corresponding control is an operation component, obtaining the value of the three-dimensional array as the operator to calculate the VALUE values of each control and obtaining the final calculation result.

[0017] The present application also provides a device for implementing a low-code platform based on instruction set generation, including: 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 to enable the at least one processor to 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, characterized in that the computer-executable instructions are configured to execute the method described in any one of the above examples.

[0019] The method proposed by the present application can bring the following beneficial effects:

[0020] (1) By implementing the components of the low-code platform, the complete decoupling of the controls and specific business logics is realized, and the "instruction set generation type" low-code technology is achieved; the problems of the limited application scenarios of the original low-code technology, the insufficient richness of the component library types, and the inflexible and difficult-to-use interactive configuration are solved.

[0021] (2) The requirements for building applications with multiple scenarios and diversification are met. Multiple numbers, multiple dimensions, and various logical choreography actions are implemented in the visual designer. A reasonable and effective choreography engine and corresponding hierarchical models are designed, and complex choreography actions are transformed into model operations to realize the generation of JSON descriptions in the low-code development platform.

[0022] (3) While meeting the requirements for multiple business scenarios and generating JSON descriptions, the platform has the core ability 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 already takes into account the requirements of commercial banks for complex calculations, customization capabilities, user-friendliness, real-time performance, and interactivity in 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 schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:

[0024] Figure 1 is a schematic flowchart of a method for implementing a low-code platform based on instruction set generation in an embodiment of the present application;

[0025] Figure 2 is a schematic diagram of four elements of a variable control in an embodiment of the present application;

[0026] Figure 3Schematic diagram of a visual configuration interface for naming a new control in an embodiment of the present application;

[0027] Figure 4 Schematic diagram of a control parameter configuration interface in an embodiment of the present application;

[0028] Figure 5 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 Schematic diagram of a control in a visual editing area in an embodiment of the present application;

[0030] Figure 7 Schematic diagram of the correspondence between a loop logic, an execution tree, and a hierarchical controller in an embodiment of the present application;

[0031] Figure 8 Schematic diagram of a visual editing area containing conditional logic in an embodiment of the present application;

[0032] Figure 9 Schematic diagram of a visual display of an operation result in an embodiment of the present application;

[0033] Figure 10 Schematic diagram of another visual display and real-time preview of an operation result in an embodiment of the present application;

[0034] Figure 11 Schematic diagram of a visual editing area interface in case of scenario one in an embodiment of the present application;

[0035] Figure 12 Schematic diagram of a visual display of an operation result in case of scenario one in an embodiment of the present application;

[0036] Figure 13 Schematic diagram of a visual editing area interface in case of scenario two in an embodiment of the present application;

[0037] Figure 14 Schematic diagram of a visual display of an operation result in case of scenario two in an embodiment of the present application. Detailed implementation manners

[0038] To make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0039] The following will describe in detail the technical solutions provided by each embodiment of the present application with reference to the drawings.

[0040] Figure 1 A flowchart of a method for implementing a low-code platform based on instruction set generation provided for one or more embodiments of this specification. This method can be applied to different business fields, such as the Internet finance business field, the e-commerce business field, the instant messaging business field, the game business field, the official business field, etc. This process can be executed by a computing device in the corresponding field (such as a risk control server or an intelligent mobile terminal corresponding to the payment business), and some input parameters or intermediate results in the process allow manual intervention and adjustment to help improve accuracy.

[0041] The implementation of the analysis method involved in the embodiments of this application can be a terminal device or a server, and this application does not make special restrictions on this. For the convenience of understanding and description, the following embodiments will be described in detail taking the server as an example.

[0042] It should be noted that this server can be a single device or a system composed of multiple devices, that is, a distributed server, and this application does not make specific limitations on this.

[0043] As Figure 1 shown, the embodiments of this application provide a method for implementing a low-code platform based on instruction set generation, including:

[0044] S101: Obtain the dragging result after the user drags the control through the visual editing area.

[0045] First, the server obtains the dragging result of the user's control through the visual editing area. Here, the visual editing area is the area provided by the server for the user to drag the control. The dragging result includes the positions of each control in the visual editing area. The control types of the controls here include constant controls, variable controls, arithmetic controls, and logical controls. As Figure 2 shown, each variable control consists of four elements, namely: a sequence controller, a variable name, a retrieval button, and a retrieval box. Among them, the sequence controller is used to represent the operation priority and operation order of the variable control, and the sequence 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 retrieval button is used to control the pop-up and hiding of the retrieval box; the retrieval box is used to retrieve and find the corresponding variable by keywords. When another variable is selected in the retrieval 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 a control, variables need to be created, or rather, controls need to be created, that is, visual controls that can carry data, calculations, and programming logic are designed and created, the interface data structure is defined, the data mapping and conversion relationship is configured, the data interface logic is defined, and the data interface call is configured. Taking the creation of the most important and widely used variable control in the platform as an example:

[0047] First, the new control needs to be named. Through the visual configuration interface as shown in Figure 3 , a new control can be named. For example, for those describing deposits, it can be the corporate deposit balance, the average daily corporate deposit; for those describing customers, it can be the corporate valid account, the entity credit user, etc. After successfully creating the control, the system assigns a unique control identifier to the control and automatically jumps to the control parameter configuration interface as shown in Figure 4 to set the usage scenario (report type, belonging workflow, visual style, etc.) for the control, map the database fields, and set the data fetching rules (sorting, distribution, maximum, minimum, sum, average, etc.). After the configuration is completed, the variable control is placed in the visual 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 types of the controls in the visual editing area based on the drag action. It also needs to receive the retrieval operation from the user and determine the variables corresponding to the variable controls in the visual editing area according to the retrieval operation. It also needs to receive the layer sequence controller modification operation from the user and determine the layer sequence controllers of the controls in the visual editing area according to the layer sequence controller modification operation.

[0049] As shown in Figure 5 , 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 components according to the type identifier of the control. These include operator (logic and operators), variable (variable identifier), constant (constant identifier), etc. For example, if the user wants to drag the variable control "New Corporate Deposit - Period Target" to the visual editing area, first, the variable control needs to be dragged to the visual editing area, and then by changing the variable name of the variable control, the process of dragging the "New Corporate Deposit - Period Target" variable control to the visual editing area can be achieved.

[0050] In the visual editing area, the variable name controls the VALUE of the control. Specifically, for a constant control (constant), the system obtains the VALUE of the constant component as the constant unit in the instruction set calculation process. For a variable control (variable), the system obtains the control API data stored in JSON format from the database according to the variable name, converts this JSON format data into a parsed data structure, and can obtain the 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 the form of field values. Parsing JSON data is to convert this JSON format data into a more readable data structure for the program to process and use. For an operation control, the system obtains the operation component API and determines the type of operation implemented by this component, including simple operations such as addition, subtraction, multiplication, and division, as well as complex operations implemented by encapsulated mathematical functions (such as MAX, MIN, AVERAGE, MOD, FORCAST, RANK, SMALL, LARGE, etc.). Different from variable controls, constant controls, operation controls, and logic controls all exist as general controls on the platform, do not need to be created, and can be used across scenarios.

[0051] S102: Identify the dragging result to determine the 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 and code snippets. Instead, through the construction method of dragging the control, a set of "instruction sets" that reflect the business logic and can be reused are generated and stored in the instance library in JSON format.

[0053] During the control dragging process, by setting the parameters of control elements such as the layer sequence controller, control type, and control ID of the control, the change of the control Name+Value attribute can be realized to carry and express the instruction information. The Name+Value attribute 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 sequence controller is at the leftmost of each control, controlling the index layer number and order of the name attribute of this control to implement a multi-level operation model and hierarchical operation. The number of operation layers is equivalent to parentheses. The higher the layer number, the higher the operation priority is executed in ascending order (from small to large), and the number represents the operation order of the same operation level.

[0057] Therefore, the server can identify the drag-and-drop result to obtain the business logic corresponding to all the controls in the visual editing area, that is, the component logic operation information. The component logic operation information here includes the operation sequence, operation logic, operation constant value, and operation variable value.

[0058] Specifically, when identifying the drag-and-drop result, it is first necessary to determine the control types corresponding to all the controls in the visual editing area, then determine the operation sequence corresponding to all the controls based on the layer sequence controller of the controls, and determine the operation logic corresponding to all the controls based on the operation controls and logic controls among all the controls. The operation constant value can be determined based on the constant controls among all the controls; the operation variable value can be determined based on the variable controls among all the controls.

[0059] S103: Generate a multi-dimensional array corresponding to the visual editing area according to the component logic operation information, and convert the multi-dimensional array into a JSON string and save it to the database.

[0060] In one embodiment, when generating a multi-dimensional array, it is necessary to determine the index order corresponding to different controls according to the operation sequence corresponding to all the controls; determine each two-dimensional array in the multi-dimensional array according to the index order; and determine the three-dimensional array under each two-dimensional array according to the control type and the unique control identifier; finally, generate a multi-dimensional array based on the two-dimensional array and the corresponding three-dimensional array.

[0061] Take Figure 6 the controls in the visual editing area shown as an example for illustration: There are 7 controls in this visual editing area, including variable controls: average daily corporate deposits - current period completed, average daily corporate deposits - assessment base, corporate deposit date - target for the period; including a constant control: 100; including operation controls: "-", "*", "÷". When converting the above controls into a multi-dimensional array, it can be converted in the above manner as:

[0062]

[0063]

[0064] Among them, 'phxz-ckrj-dqwc','subtract', 'phxz-ckrj-khjs', 'divide', 'phxz-ckrj-dqzb','multiply' are the unique control identifiers corresponding to average daily corporate deposits - current period completed, "-", average daily corporate deposits - assessment base, "÷", corporate deposit date - target for the period, "*" respectively. When the above array is converted into a JSON character, the string is as Figure 6 shown in the following characters.

[0065] S104: During runtime, parse the JSON string to obtain the multi-dimensional array, and pass the multi-dimensional array to the operation component for processing.

[0066] When parsing the JSON string, the index order and control type of the multi-dimensional array are determined according to the NAME character of the JSON string; the unique control identifier of the multi-dimensional array is determined according to the VALUE character of the JSON string; and then the multi-dimensional array is obtained based on the index order, control type, and unique control identifier.

[0067] In one embodiment, when the operation component processes the multi-dimensional array, the control API information processing includes two steps:

[0068] First, the operation component obtains the control API interface parameters stored in JSON format, converts this JSON-formatted data into a parsed data structure, and specific field value parameters can be obtained; then the operation 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, and parsing the JSON data is to convert this JSON-formatted data into a more readable data structure for the program to process and use.

[0069] Specifically, the operation component determines the order of traversing the array elements according to the size of the keys in the two-dimensional array, determines the corresponding control type according to the keys in the three-dimensional array, and calls the corresponding running component for processing. Specifically, if the corresponding control is a variable component, the value of the three-dimensional array is obtained as the unique control identifier, and the data is retrieved from the database based on the unique control 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 in this application has the core ability to convert JSON into a real application. Through the parsing of 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, encapsulated functions are called and data is obtained to complete the execution of business logic and complex calculation; the running logic is as Figure 6 already described. Now, the loop logic and conditional logic are described:

[0071] Such as Figure 7As shown, the loop logic (each, for each) is a logical grouping established by multiple data flow components (sequential logic) based on a synchronization relationship. Each grouping is the start 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 ends the input buffer and creates a new output buffer. An asynchronous conversion component means the end of the upstream sequential logic and the start of the downstream sequential logic. When the data flow passes through the asynchronous conversion component and enters a new sequential logic, the buffer of the previous sequential logic and the same data are no longer needed because the data has been transferred 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 it in the buffer, and then processes the data in the buffer one by one. For loops and branches, child nodes are created, and the child nodes can be nested infinitely, similar to the curly braces in code. Figure 7 In it, the complete operation logic is divided into an upstream execution tree, a midstream execution tree, and a downstream execution tree according to the length and size of the layer sequence controller. During execution, first execute the operation logic corresponding to the upstream execution tree, then execute the midstream execution tree operation, and finally execute the downstream execution tree operation.

[0072] As Figure 8 shown, the conditional logic (if, if true, if false, if else) is a logical grouping established by multiple data flow components (sequential logic) based on a logical judgment relationship. Each grouping is the start 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 calculation result of the sequential logic after if is true, the component returns the calculated value of the sequential expression after if true. When the calculation result of the sequential logic 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] As Figure 9 shown, finally, the low-code rendering engine is used to achieve the visual display 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 achieves complete decoupling of group controls and business logic in the low-code platform: For code-generation low-code platforms and non-code-generation low-code platforms, their essence is to fragment business logic and encapsulate it within components or controls. Through the construction method of visual component and control dragging, a set of code source or runnable programs reflecting business logic is generated. Since business logic is closely connected to platform components and controls, it restricts its flexibility and scalability in innovative applications. Users may not be able to flexibly adjust analysis tools and reports according to personalized needs. When the internal and external business environments change, it may occur that the current group controls cannot accurately describe the current business environment, requiring business personnel and technical personnel to communicate again to modify code logic and component parameters. The resulting problems are increased communication costs, inability to achieve real-time interaction and result feedback, and relatively high application thresholds, which must be developed by professional R & D personnel. The present invention achieves "instruction set generation type" low-code technology by realizing complete decoupling of low-code platform components, controls and specific business logic.

[0076] 2. Construct an "instruction set" that reflects business logic and can be reused: Components and controls on the low-code platform do not contain any specific business logic and code snippets. Instead, through the construction method of visual component and control dragging (drag&drop), a set of "instruction sets" that reflect business logic and can be reused are generated and stored in the model library in JSON format.

[0077] 3. Parse the instruction set and convert this JSON-formatted data into a more readable data structure for the program to process and use. This process includes two steps: (1) The system obtains the control API data stored in JSON format and converts this JSON-formatted data into a parsed data structure to obtain 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 this JSON-formatted data into a more readable data structure for the program to process and use.

[0078] 4. Implementation of complex programming logic by the "instruction set": During system operation, by parsing the instruction set, the IDs of various components and controls are obtained, and their corresponding APIs are obtained from the database.

[0079] 5. Such as Figure 10As shown in the figure, the low-code rendering engine realizes visual display and real-time preview: The platform has the core ability to convert JSON into a real application. It can not only build applications in real time but also preview them in real time. By parsing each component, it realizes the interaction behavior between controls and users. For example, clicking a button or entering text will trigger specific events, and these operations will be responded to through preset event handlers, performing corresponding functions, completing corresponding program operations, logical calculations, and visual displays.

[0080] Taking the business analysis of commercial banks as an example, this application will be described: Suppose when the overall development of the deposit market is relatively good and each affiliated business institution can complete the budget target tasks, commercial banks only need to calculate and analyze the budget completion rate of each institution to basically analyze and master their business conditions in the deposit market. However, if the overall deposit market is relatively sluggish and the budget target completion situations of its affiliated business institutions vary widely, then commercial banks need to analyze the deposit business conditions from multiple dimensions, such as the budget completion rate, contribution within the system, comparison of the growth rate with peers, etc.

[0081] Scenario 1: Due to the good development of the macro economy and the rapid growth of the deposit market, commercial banks only need to analyze the deposit business conditions of each business institution through the budget completion situation of each institution. At this time, through the visual editing area interface, perform the index and calculation configurations as shown in Figure 11 the figure, then the system directly performs program operations and result calculations according to the instruction set, and the low-code rendering engine of the platform performs visual displays of the calculation process and results in real time as shown in Figure 12 the figure.

[0082] Scenario 2: Suppose that recently, due to the lack of growth in the deposit market and the generally unsatisfactory budget completion situations of each institution, commercial banks decide to analyze the deposit development situations of their affiliated business institutions from two dimensions: comparing with the budget (budget target comparison) and comparing the contributions (comparing the growth contribution degrees). If using the original low-code technology, business personnel need to communicate with developers, put forward business requirements, and explain the calculation rules. Developers rewrite the code in the deposit-related components, including data extraction logic, calculation rules, visual displays, etc. After development, it can only be launched after testing. The "instruction set generation type" low-code technology of the present invention solves the above problems well. Business personnel can directly perform the index and calculation configurations as shown in Figure 13 the figure through the visual editing interface, completely eliminating links such as communication, development, and testing.

[0083] Since the complex development and launch links are eliminated, the system can directly perform program operations and result calculations according to the new instruction set, and the low-code rendering engine of the platform performs visual displays of the calculation process and results in real time as shown in Figure 14 the figure.

[0084] The embodiments of the present application also provide a device for implementing a low-code platform based on instruction set generation, including: 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 to enable the at least one processor to execute the method described in any one of the above embodiments.

[0085] The embodiments of the present application also provide a non-volatile computer storage medium storing computer-executable instructions, and the computer-executable instructions are configured to execute the method described in any one of the above embodiments.

[0086] The various embodiments in the present application are all described in a progressive manner. For the same or similar parts among the various embodiments, reference can be made to each other. 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 for the relevant parts, reference can be made to the partial description of the method embodiments.

[0087] The device and medium provided by the embodiments of the present application correspond one by one to the method. Therefore, the device and medium also have beneficial technical effects similar to those of the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the device and medium will not be elaborated here.

[0088] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.

[0089] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for realizing the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0090] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction device that implements the functions specified in one or more processes and / or blocks Figure 1 in one or more processes and / or blocks Figure 1 specified in the block or blocks.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are performed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes and / or blocks Figure 1 in one or more processes and / or blocks Figure 1 specified in the block or blocks.

[0092] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0093] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0094] Computer-readable media includes both permanent and non-permanent, removable and non-removable media implemented by any method or technology for storing information. The 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 technologies, compact disc read-only memory (CD-ROM), digital versatile discs (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 accessible by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media such as modulated data signals and carrier waves.

[0095] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

[0096] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within 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; 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; Receiving a layer sequence controller modification operation from a user, and determining a layer sequence controller of each control in the visual editing area according to the layer sequence controller modification operation; 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 control unique identifier; Based on the two-dimensional array and the corresponding three-dimensional array, generate the multidimensional array; 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; Obtaining the multidimensional array according to the index order, the control type and the control unique identifier; 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.

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 1, 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.

4. The method according to claim 1, 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.

5. Low-code platform implementation device based on instruction set generation, characterized by: 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 4.

6. 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 4.

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