Zero-code platform operation method, device, electronic device and storage medium

By detecting and executing preset extension points in the zero-code platform, the problem of poor expansion capabilities of the zero-code platform is solved, and higher custom expansion capabilities and applicability are achieved.

CN115080003BActive Publication Date: 2025-04-08BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210655170.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-10
Publication Date
2025-04-08
Estimated Expiration
2042-06-10

AI Technical Summary

Technical Problem

Due to poor expansion capabilities, zero-code platforms cannot meet the differentiated functional needs of many businesses, resulting in poor applicability.

Method used

By receiving operation instructions, detecting whether there is a preset extension point, and executing preset code units and operation instructions when they exist, realizing functional expansion.

Benefits of technology

It improves the custom expansion capabilities of the zero code platform, assists users in realizing customized differentiated functions, and improves the applicability of the zero code platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115080003B_ABST
    Figure CN115080003B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an operation method, device, electronic device and storage medium of a zero-code platform. The operation method of the zero-code platform includes: receiving an operation instruction for the zero-code platform; in response to the operation instruction, detecting whether there is a preset extension point corresponding to a first operation; wherein the preset extension point corresponds to a preset code unit, and the first operation is the corresponding operation of the operation instruction; in the case where there is a preset extension point corresponding to the first operation of the operation instruction, executing the preset code unit corresponding to the preset extension point and the first operation. The operation method of the zero-code platform provided by the embodiment of the present disclosure can improve the custom expansion capability of the zero-code platform by adding a preset extension point corresponding to the first operation and a preset code unit corresponding to the preset extension point, assist users in realizing customized differentiated functions, and improve the applicability of the zero-code platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an operation method, device, electronic device and storage medium of a zero-code platform. Background Art

[0002] In the related technologies, the zero-code platform provides general form capabilities based on most scenario functions, which can meet the general business needs of users. However, many businesses often have differentiated functional requirements while having general business needs. The zero-code platform can only provide general functions due to its poor expansion capabilities, and lacks support for differentiated functions. Therefore, the zero-code platform cannot meet the differentiated needs of many businesses, which leads to the poor applicability of the zero-code platform. Summary of the invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for operating a zero-code platform, so as to at least solve the problem of poor applicability of the zero-code platform in the related art. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, a method for operating a zero-code platform is provided, including:

[0005] Receive operation instructions for the zero-code platform;

[0006] In response to the operation instruction, detecting whether there is a preset extension point corresponding to the first operation; wherein the preset extension point corresponds to a preset code unit, and the first operation is the operation corresponding to the operation instruction;

[0007] In a case where the preset extension point corresponding to the first operation of the operation instruction exists, a preset code unit corresponding to the preset extension point and the first operation are executed.

[0008] In a possible implementation manner, the preset extension point includes at least one of a preceding preset extension point and a following preset extension point corresponding to the first operation.

[0009] In a possible implementation manner, when the preset extension point includes a preceding preset extension point corresponding to the first operation, detecting whether there is a preset extension point corresponding to the first operation includes:

[0010] Detecting whether there is a pre-set extension point corresponding to the first operation;

[0011] In the case where the preset extension point corresponding to the first operation exists, executing the preset code unit corresponding to the preset extension point and the first operation includes:

[0012] If there is a pre-set extension point corresponding to the first operation, obtaining a pre-set code unit corresponding to the pre-set extension point;

[0013] Running the preset code unit to obtain a second operation result;

[0014] The first operation corresponding to the operation instruction is performed according to the second operation result.

[0015] In a possible implementation manner, the preset code unit corresponding to the front preset extension point is used to determine whether the user identifier corresponding to the operation instruction belongs to a preset whitelist set;

[0016] The running of the preset code unit to obtain a second operation result includes:

[0017] Obtaining a user identifier corresponding to the operation instruction;

[0018] Determine whether the user identification belongs to a preset whitelist set;

[0019] The performing the first operation corresponding to the operation instruction according to the second operation result includes:

[0020] When the user identifier belongs to a preset whitelist set, a first operation corresponding to the operation instruction is executed.

[0021] In a possible implementation manner, when the preset extension point includes a post-preset extension point corresponding to the first operation, detecting whether there is a preset extension point corresponding to the first operation includes:

[0022] Detecting whether there is a post-preset extension point corresponding to the first operation;

[0023] In the case where the preset extension point corresponding to the first operation exists, executing the preset code unit corresponding to the preset extension point and the first operation includes:

[0024] Execute the first operation to obtain a first operation result;

[0025] In a case where there is a post-preset extension point corresponding to the first operation, obtaining a preset code unit corresponding to the post-preset extension point;

[0026] The preset code unit is executed according to the first operation result to obtain a third operation result.

[0027] In a possible implementation manner, the preset code unit corresponding to the post-preset extension point is used to output a notification message;

[0028] The step of running the preset code unit according to the first operation result to obtain a third operation result includes:

[0029] generating a notification message according to the first operation result;

[0030] The notification message is output.

[0031] According to a second aspect of an embodiment of the present disclosure, there is provided a running device of a zero-code platform, including:

[0032] A receiving module, used for receiving operation instructions for the zero-code platform;

[0033] A response module, configured to detect, in response to the operation instruction, whether there is a preset extension point corresponding to the first operation; wherein the preset extension point corresponds to a preset code unit, and the first operation is the operation corresponding to the operation instruction;

[0034] The execution module is used to execute the preset code unit corresponding to the preset extension point and the first operation when the preset extension point corresponding to the first operation of the operation instruction exists.

[0035] In a possible implementation manner, the preset extension point includes at least one of a preceding preset extension point and a following preset extension point corresponding to the first operation.

[0036] In a possible implementation manner, when the preset extension point includes a pre-set extension point corresponding to the first operation, the response module includes:

[0037] A first detection unit, used to detect whether there is a pre-set extension point corresponding to the first operation;

[0038] The execution module comprises:

[0039] A first acquisition unit, configured to acquire a preset code unit corresponding to a preceding preset extension point when there is a preceding preset extension point corresponding to the first operation;

[0040] A first operation unit, used for running the preset code unit to obtain a second operation result;

[0041] The first execution unit is used to execute a first operation corresponding to the operation instruction according to the second operation result.

[0042] In a possible implementation manner, the preset code unit corresponding to the front preset extension point is used to determine whether the user identifier corresponding to the operation instruction belongs to a preset whitelist set;

[0043] The first operating unit includes:

[0044] An acquisition subunit, used to acquire a user identifier corresponding to the operation instruction;

[0045] A determination subunit, used to determine whether the user identification belongs to a preset whitelist set;

[0046] The first execution unit includes:

[0047] The execution subunit is used to execute the first operation corresponding to the operation instruction when the user identifier belongs to a preset white list set.

[0048] In a possible implementation manner, when the preset extension point includes a post-preset extension point corresponding to the first operation, the response module includes:

[0049] A second detection unit, used to detect whether there is a post-preset extension point corresponding to the first operation;

[0050] The execution module comprises:

[0051] A second execution unit, configured to execute the first operation to obtain a first operation result;

[0052] A second acquisition unit is used to acquire a preset code unit corresponding to the post-preset extension point when there is a post-preset extension point corresponding to the first operation;

[0053] The second operation unit is used to execute the preset code unit according to the first operation result to obtain a third operation result.

[0054] In a possible implementation manner, the preset code unit corresponding to the post-preset extension point is used to output a notification message;

[0055] The second operating unit includes:

[0056] A generating subunit, configured to generate a notification message according to the first operation result;

[0057] The output subunit is used to output the notification message.

[0058] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0059] processor;

[0060] a memory for storing instructions executable by the processor;

[0061] The processor is configured to execute the instructions to implement the operating method of the zero-code platform as described in any one of the first aspects.

[0062] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the operating method of the zero-code platform as described in any one of the first aspects.

[0063] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the operating method of the zero-code platform as described in any one of the first aspects.

[0064] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0065] In an embodiment of the present disclosure, an operation instruction for a zero-code platform is received; in response to the operation instruction, it is detected whether there is a preset extension point corresponding to a first operation; wherein the preset extension point corresponds to a preset code unit, and the first operation is the operation corresponding to the operation instruction; in the case where there is a preset extension point corresponding to the first operation of the operation instruction, the preset code unit corresponding to the preset extension point and the first operation are executed. In this way, in the case where there is a preset extension point corresponding to the first operation, the preset code unit corresponding to the preset extension point can be executed. In this way, by adding the preset extension point corresponding to the first operation and the preset code unit corresponding to the preset extension point, the function of the zero-code platform can be expanded, thereby improving the custom expansion capability of the zero-code platform, assisting users in realizing custom differentiated functions, and improving the applicability of the zero-code platform.

[0066] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0068] Figure 1 It is a flowchart of a method for operating a zero-code platform according to an exemplary embodiment.

[0069] Figure 2 The figure is a schematic diagram showing a method for adding a preset extension point according to an exemplary embodiment.

[0070] Figure 3 The figure is a schematic diagram showing a code unit for adding an extension point according to an exemplary embodiment.

[0071] Figure 4 The diagram is a schematic diagram of material metadata according to an exemplary embodiment.

[0072] Figure 5 It is a block diagram of a running device of a zero-code platform according to an exemplary embodiment.

[0073] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0074] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0075] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0076] As can be seen from the background technology, in the related technology, the zero-code platform has poor expansion capabilities and can only provide general functions, lacking support for differentiated functions, resulting in the inability of the zero-code platform to meet the differentiated needs of many businesses, which in turn leads to the poor applicability of the zero-code platform. Based on this, the embodiments of the present disclosure provide an operation method, device, electronic device and storage medium of a zero-code platform, wherein the operation method of the zero-code platform can achieve functional expansion of the zero-code platform by setting a preset extension point corresponding to a first operation, obtaining and executing a preset code unit corresponding to the preset extension point, thereby improving the custom expansion capability of the zero-code platform, assisting users in achieving custom differentiated functions, and improving the applicability of the zero-code platform.

[0077] The operating method, device, electronic device and storage medium of the zero-code platform provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0078] Figure 1 FIG. 1 is a flowchart of a method for operating a zero-code platform according to an exemplary embodiment. The method for operating the zero-code platform can be applied to a server, for example, a server or a server cluster. Figure 1 As shown, the operation method of the zero-code platform may include the following steps:

[0079] In step S110, an operation instruction for the zero-code platform is received.

[0080] In the embodiment of the present disclosure, the user can operate the operation interface of the server so that the server can receive the user's operation instructions for the zero-code platform. Exemplarily, the operation instruction can be, for example, an editing instruction in the data modification process, and the editing instruction can be, for example, a new instruction, a modification instruction, a deletion instruction, etc. for the data.

[0081] In step S120, in response to the operation instruction, it is detected whether there is a preset extension point corresponding to the first operation.

[0082] Among them, the first operation may be an operation corresponding to the operation instruction, the preset extension point may be a pre-set extension point corresponding to the first operation, the preset extension point may be used to perform functional expansion of the zero-code platform, the preset extension point corresponds to a preset code unit, the preset code unit may be a logical code implementation of the extended function, and the preset code unit and the preset extension point may be in a many-to-many relationship, that is, each preset extension point may correspond to multiple preset code units, and each preset code unit may correspond to multiple preset extension points. It can be understood that the preset code unit and the preset extension point can be associated, and when the presence of the preset extension point is detected, the preset code unit corresponding to the preset extension point can be obtained according to the association relationship between the preset code unit and the preset extension point, so as to run the aforementioned preset code unit to realize the functional expansion of the zero-code platform.

[0083] In the disclosed embodiment, after receiving the operation instruction for the zero-code platform, the server can detect whether there is a preset extension point corresponding to the first operation in response to the operation instruction. That is, there may be a preset extension point corresponding to the first operation, or there may not be a preset extension point corresponding to the first operation. The preset extension point can be set according to the actual needs of the user. When the user needs to perform a customized function expansion on the zero-code platform, the preset extension point corresponding to the first operation is set, and the preset code unit corresponding to the preset extension point can be set according to the actual needs of the user.

[0084] In step S130, when there is a preset extension point corresponding to the first operation of the operation instruction, a preset code unit corresponding to the preset extension point and the first operation are executed.

[0085] In the embodiment of the present disclosure, when the server detects that there is a preset extension point corresponding to the first operation of the operation instruction, it can obtain the preset code unit corresponding to the preset extension point, run the preset code unit corresponding to the preset extension point, and execute the first operation corresponding to the received operation instruction for the zero-code platform. That is, when there is a preset extension point corresponding to the first operation of the operation instruction, the server not only executes the first operation, but also executes the preset code unit corresponding to the preset extension point.

[0086] In the disclosed embodiment, an operation instruction for a zero-code platform is received; in response to the operation instruction, it is detected whether there is a preset extension point corresponding to a first operation; wherein the preset extension point corresponds to a preset code unit, and the first operation is the operation corresponding to the operation instruction; in the case where there is a preset extension point corresponding to the first operation of the operation instruction, the preset code unit corresponding to the preset extension point and the first operation are executed. In this way, in the case where there is a preset extension point corresponding to the first operation, the preset code unit corresponding to the preset extension point can be executed. In this way, by adding the preset extension point corresponding to the first operation and the preset code unit corresponding to the preset extension point, the function of the zero-code platform can be expanded, thereby improving the custom expansion capability of the zero-code platform, assisting users in realizing custom differentiated functions, and improving the applicability of the zero-code platform.

[0087] In a possible embodiment, the preset extension point may include at least one of a preceding preset extension point and a following preset extension point corresponding to the first operation.

[0088] In the embodiments of the present disclosure, considering that the user may have functional requirements before and after the execution of the first operation, the preset extension point corresponding to the first operation can be set before and after the execution of the first operation. Accordingly, the preset extension point can include at least one of the pre-set extension point and the post-set extension corresponding to the first operation. Among them, the pre-set extension point can be set before the execution of the first operation, or before the execution result of the first operation takes effect, and the post-set extension point can be set after the execution result of the first operation takes effect. The pre-set extension point and the post-set extension point corresponding to the first operation can be set at the same time or only one of them can be set. In other words, the preset extension point corresponding to the first operation can be a pre-set extension point or a post-set extension point, or a pre-set extension point and a post-set extension point. Exemplary, such as Figure 2As shown, taking the first operation as adding operation, editing operation and deleting operation as an example, for adding operation, the server-side front extension point can be set before the server-side data operation, and the server-side rear extension point can be set after the server-side data operation, and the server-side operation is completed to form a complete adding operation process; for editing operation, the server-side front extension point can be set before the server-side data operation, and the server-side rear extension point can be set after the server-side data operation, and the server-side operation is completed to form a complete editing operation process; similarly, for deleting operation, the server-side front extension point can be set before the server-side data operation, and the server-side rear extension point can be set after the server-side data operation, and the server-side operation is completed to form a complete deleting operation process; wherein, the server can be the server side, the server-side front extension point corresponds to the aforementioned front preset extension point, and the server-side rear extension point corresponds to the aforementioned rear preset extension point. In this way, the preset extension point corresponding to the first operation can be flexibly selected, the custom extension capability of the zero-code platform can be improved, users can be assisted in realizing custom differentiated functions, and the applicability of the zero-code platform can be improved.

[0089] In a possible embodiment, when the preset extension point includes a pre-set preset extension point corresponding to the first operation, the specific implementation manner of detecting whether there is a preset extension point corresponding to the first operation in step S120 may be:

[0090] Detecting whether there is a pre-set extension point corresponding to the first operation;

[0091] Accordingly, in step S130, when there is a preset extension point corresponding to the first operation, the preset code unit corresponding to the preset extension point is executed, and the specific implementation of the first operation may be:

[0092] If there is a preceding preset extension point corresponding to the first operation, obtaining a preset code unit corresponding to the preceding preset extension point;

[0093] Running the preset code unit to obtain a second operation result;

[0094] The first operation corresponding to the operation instruction is executed according to the second operation result.

[0095] In an embodiment of the present disclosure, when the preset extension point includes a pre-set extension point corresponding to the first operation, it is possible to first detect whether there is a pre-set extension point corresponding to the first operation. If there is a pre-set extension point corresponding to the first operation, the preset code unit corresponding to the pre-set extension point can be obtained, and the preset code unit can be run to obtain the running result of the preset code unit, that is, the second operation result. Then, the first operation corresponding to the operation instruction can be executed according to the second operation result of the preset code unit corresponding to the pre-set extension point. That is to say, in the case where the preset extension point includes a pre-set extension point corresponding to the first operation, the server can obtain and run the preset code unit corresponding to the pre-set extension point, and then execute the first operation according to the second operation result. In this way, the custom expansion capability of the zero-code platform can be further improved, and the applicability of the zero-code platform can be improved.

[0096] In a possible embodiment, the preset code unit corresponding to the front preset extension point can be used to determine whether the user identifier corresponding to the operation instruction belongs to the preset whitelist set;

[0097] Accordingly, the specific implementation method of running the preset code unit in the above step to obtain the second operation result may be:

[0098] Obtain the user ID corresponding to the operation instruction;

[0099] Determine whether the user ID belongs to a preset whitelist set;

[0100] Accordingly, the specific implementation method of executing the first operation corresponding to the operation instruction according to the second operation result in the above steps may be:

[0101] When the user identifier belongs to the preset whitelist set, a first operation corresponding to the operation instruction is executed.

[0102] The preset whitelist set may be a pre-set set of user identifiers that have the authority to operate the first operation corresponding to the operation instruction. If the user identifier corresponding to the operation instruction exists in the preset whitelist set, it can be considered that the user corresponding to the user identifier has the authority to operate the first operation corresponding to the operation instruction, and the server can execute the first operation corresponding to the operation instruction. On the contrary, if the user identifier does not exist in the preset whitelist set, it can be considered that the user corresponding to the user identifier does not have the authority to operate the first operation corresponding to the operation instruction, and the server will not execute the first operation corresponding to the operation instruction, and may output a warning message. The user identifier may be a user name or a user number, etc.

[0103] In the disclosed embodiment, considering the security issues of the zero-code platform, the function of the preset code unit corresponding to the pre-set extension point can be set to determine whether the user identifier corresponding to the operation instruction belongs to the preset whitelist set. At this time, when the preset code unit is run and the second operation result is obtained, the user identifier corresponding to the operation instruction can be obtained first to determine whether the user identifier belongs to the preset whitelist set. In the case where the user identifier corresponding to the operation instruction belongs to the preset whitelist set, the first operation corresponding to the operation instruction can be executed. Conversely, in the case where the user identifier corresponding to the operation instruction does not belong to the preset whitelist set, the first operation corresponding to the operation instruction is not executed. In other words, the function of the preset code unit corresponding to the pre-set extension point can be to determine whether the user identifier corresponding to the operation instruction belongs to the preset whitelist set, thereby determining whether the user identifier corresponding to the operation instruction has the operation authority for the first operation corresponding to the operation instruction. In this way, not only the custom expansion capability of the zero-code platform can be improved, the applicability of the zero-code platform can be improved, but also the data security of the zero-code platform can be improved.

[0104] In a possible embodiment, when the preset extension point includes a post-preset extension point corresponding to the first operation, the specific implementation manner of detecting whether there is a preset extension point corresponding to the first operation in step S120 may be:

[0105] Detecting whether there is a post-preset extension point corresponding to the first operation;

[0106] Accordingly, in step S130, when there is a preset extension point corresponding to the first operation, the preset code unit corresponding to the preset extension point is executed, and the specific implementation of the first operation may be:

[0107] Execute a first operation and obtain a first operation result;

[0108] If there is a post-preset extension point corresponding to the first operation, obtaining a preset code unit corresponding to the post-preset extension point;

[0109] The preset code unit is executed according to the first operation result to obtain a third operation result.

[0110] In the embodiment of the present disclosure, when the preset extension point includes a post-preset extension point corresponding to the first operation, it is possible to first detect whether there is a post-preset extension point corresponding to the first operation, and then execute the first operation to obtain the first operation result. In the case where there is a post-preset extension point corresponding to the first operation, the preset code unit corresponding to the post-preset extension point can be obtained, and finally the preset code unit is run according to the first operation result to obtain the operation result, that is, the third operation result. In other words, in the case where the preset extension point includes a post-preset extension point corresponding to the first operation, the server can first execute the first operation to obtain the first operation result, and then obtain and run the preset code unit corresponding to the post-preset extension point to obtain the third operation result. It can be understood that in implementation, the first operation can also be performed first to obtain the first operation result, and then detect whether there is a post-preset extension point corresponding to the first operation, and in the case where there is a post-preset extension point corresponding to the first operation, obtain and execute the preset code unit corresponding to the post-preset extension point. In this way, the custom expansion capability of the zero-code platform can be further improved, and the applicability of the zero-code platform can be improved.

[0111] In a possible embodiment, the preset code unit corresponding to the post-preset extension point may be used to output a notification message;

[0112] Accordingly, in the above steps, the specific implementation method of running the preset code unit according to the first operation result to obtain the third operation result may be:

[0113] generating a notification message according to the first operation result;

[0114] Outputs a notification message.

[0115] In an embodiment of the present disclosure, a preset code unit corresponding to a post-set preset extension point can be used to output a notification message. Exemplarily, a notification message can be first generated according to a first operation result of a first operation, and then the notification message can be output. It can be understood that the notification message can usually be output to relevant users of the business corresponding to the operation instruction, or it can also be a designated user, so that the relevant users of the business or the designated users can promptly understand the relevant operations and operation results of the business. For example, the notification message can be used to notify the user that the first operation is successfully executed or failed; the notification message can be output to the relevant users of the business or the designated users by SMS, phone, email, etc. In this way, not only can the user be informed of the execution status of the operation instruction in a timely manner, but also the custom expansion capability of the zero-code platform can be further improved, and the applicability and interactivity of the zero-code platform can be improved.

[0116] In a further possible embodiment, when the preset extension points include both the preceding preset extension point and the following preset extension point corresponding to the first operation, the specific implementation manner of detecting whether there is a preset extension point corresponding to the first operation in step S120 may be:

[0117] Detecting whether there is a pre-set extension point and a post-set extension point corresponding to the first operation;

[0118] Accordingly, in step S130, when there is a preset extension point corresponding to the first operation, the preset code unit corresponding to the preset extension point is executed, and the specific implementation of the first operation may be:

[0119] If there is a preceding preset extension point corresponding to the first operation, obtaining a preset code unit corresponding to the preceding preset extension point;

[0120] Running the preset code unit to obtain a second operation result;

[0121] Execute the first operation corresponding to the operation instruction according to the second operation result to obtain the first operation result;

[0122] If there is a post-preset extension point corresponding to the first operation, obtaining a preset code unit corresponding to the post-preset extension point;

[0123] The preset code unit is executed according to the first operation result to obtain a third operation result.

[0124] In the embodiment of the present disclosure, when the preset extension point includes both the pre-set extension point and the post-set extension point corresponding to the first operation, the server may first detect whether there are the pre-set extension point and the post-set extension point corresponding to the first operation. In the case where there is a pre-set extension point corresponding to the first operation, the preset code unit corresponding to the pre-set extension point may be obtained, the preset code unit may be run, the second operation result may be obtained, and then the first operation corresponding to the operation instruction may be executed according to the second operation result to obtain the first operation result. Then, if there is a post-set extension point corresponding to the first operation, the preset code unit corresponding to the post-set extension point may be obtained, and then the preset code unit may be run according to the first operation result to obtain the third operation result. That is, when the preset extension point includes both the pre-set extension point and the post-set extension point corresponding to the first operation, the preset code units corresponding to the preset extension point may be obtained and executed respectively according to the execution order of the pre-set extension point, the first operation and the post-set extension point. In this way, the expansion capability of the zero-code platform may be further improved, and the applicability of the zero-code platform may be improved.

[0125] In a further possible embodiment, when the preset extension point includes both a front preset extension point and a rear preset extension point corresponding to the first operation, the preset code unit corresponding to the front preset extension point can be used to determine whether the user identifier corresponding to the operation instruction belongs to a preset whitelist set, and the preset code unit corresponding to the rear preset extension point can be used to output a notification message;

[0126] Accordingly, in the above steps, the specific implementation method of running the preset code unit to obtain the second operation result may be:

[0127] Obtain the user ID corresponding to the operation instruction;

[0128] Determine whether the user ID belongs to a preset whitelist set;

[0129] Accordingly, in the above steps, the specific implementation method of executing the first operation corresponding to the operation instruction according to the second operation result may be:

[0130] When the user identifier belongs to the preset whitelist set, a first operation corresponding to the operation instruction is executed to obtain a first operation result.

[0131] Accordingly, in the above steps, the specific implementation method of running the preset code unit according to the first operation result to obtain the third operation result may be:

[0132] generating a notification message according to the first operation result;

[0133] Outputs a notification message.

[0134] In an embodiment of the present disclosure, when the preset extension point includes both a pre-set extension point and a post-set extension point corresponding to the first operation, exemplarily, the preset code unit corresponding to the pre-set extension point can be used to determine whether the user identifier corresponding to the operation instruction belongs to a preset whitelist set, and the preset code unit corresponding to the post-set extension point can be used to output a notification message. The server can determine whether the user identifier corresponding to the operation instruction belongs to the preset whitelist set, thereby determining whether the user corresponding to the operation instruction has the operation authority for the first operation corresponding to the operation instruction, and then, if it is determined that the user corresponding to the operation instruction has the operation authority for the first operation corresponding to the operation instruction, the first operation corresponding to the operation instruction can be executed to obtain the first operation result, and finally a notification message is generated and output according to the first operation result. The specific implementation method of this embodiment has been described in detail in the above method embodiment and will not be repeated here. In this way, not only the extensibility and applicability of the zero-code platform can be improved, but also the security and interactivity of the zero-code platform can be improved.

[0135] It should be noted that if Figure 3 As shown, Figure 3Taking the operation types including add, delete, edit, execution timing as pre-set and post-set, and the name of the code unit corresponding to the extension point as pre-set data check as an example, a schematic diagram of a code unit for adding an extension point (i.e., adding an extension code unit) is shown. Among them, the unit name can be the function name of the preset code unit, the execution timing can indicate whether the preset extension point is a pre-set extension point or a post-set extension point, and the operation type is used to indicate the function type of the first operation. In addition, you can also enter the code input area (i.e. Figure 3 Enter the code of the preset code unit in the blank area below the operation type in the dialog box. After editing, click the Save button to save the code. This will add the extension point code unit.

[0136] It should be noted that if Figure 4 As shown, the zero-code platform may also include material metadata for storing preset extension points, preset code units, and configuration information of the first operation, preset extension points, and preset code units in the zero-code platform. The configuration information may be used to indicate the correspondence between the first operation, the preset extension points, and the preset code units. The server may determine whether the preset extension point corresponding to the first operation exists by querying the material metadata of the zero-code platform, and obtain the preset code unit corresponding to the preset extension point. It should be noted that the preset code unit may be implemented in computer programming languages ​​such as Groovy, Java, Python, and Javascript, and a Context parameter may be provided for the preset code unit as a function entry. The specific description of the Context parameter may be shown in Table 1:

[0137] Table 1 Context parameter list

[0138]

[0139] Figure 5 is a block diagram of a running device of a zero-code platform according to an exemplary embodiment. Figure 5 , the operating device 500 of the zero-code platform may include:

[0140] A receiving module 510 is used to receive an operation instruction for the zero-code platform;

[0141] A response module 520 is used to detect whether there is a preset extension point corresponding to the first operation in response to the operation instruction; wherein the preset extension point corresponds to a preset code unit, and the first operation is the operation corresponding to the operation instruction;

[0142] The execution module 530 is configured to execute a preset code unit corresponding to the preset extension point and the first operation when there is a preset extension point corresponding to the first operation of the operation instruction.

[0143] In a possible implementation manner, the preset extension point includes at least one of a preceding preset extension point and a following preset extension point corresponding to the first operation.

[0144] In a possible implementation manner, when the preset extension point includes a pre-set extension point corresponding to the first operation, the response module 520 includes:

[0145] A first detection unit, used to detect whether there is a pre-set extension point corresponding to the first operation;

[0146] Accordingly, the execution module 530 includes:

[0147] A first acquisition unit, configured to acquire a preset code unit corresponding to the preceding preset extension point when there is a preceding preset extension point corresponding to the first operation;

[0148] A first operation unit is used to execute a preset code unit to obtain a second operation result;

[0149] The first execution unit is used to execute a first operation corresponding to the operation instruction according to the second operation result.

[0150] In a possible implementation manner, the preset code unit corresponding to the front preset extension point is used to determine whether the user identifier corresponding to the operation instruction belongs to a preset whitelist set;

[0151] Accordingly, the first operating unit includes:

[0152] An acquisition subunit, used to acquire a user ID corresponding to the operation instruction;

[0153] A determination subunit, used to determine whether the user identification belongs to a preset whitelist set;

[0154] The first execution unit includes:

[0155] The execution subunit is used to execute the first operation corresponding to the operation instruction when the user identification belongs to a preset white list set.

[0156] In a possible implementation manner, when the preset extension point includes a post-preset extension point corresponding to the first operation, the response module 520 includes:

[0157] A second detection unit, used to detect whether there is a post-preset extension point corresponding to the first operation;

[0158] Accordingly, the execution module 530 includes:

[0159] A second execution unit, configured to execute the first operation and obtain a first operation result;

[0160] A second acquisition unit, configured to acquire a preset code unit corresponding to the post-preset extension point when there is a post-preset extension point corresponding to the first operation;

[0161] The second operation unit is used to execute a preset code unit according to the first operation result to obtain a third operation result.

[0162] In a possible implementation manner, the preset code unit corresponding to the post-preset extension point is used to output the notification message;

[0163] Accordingly, the second operating unit includes:

[0164] A generating subunit, configured to generate a notification message according to the first operation result;

[0165] The output subunit is used to output notification messages.

[0166] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0167] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a computer-readable storage medium, and a computer program product.

[0168] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 600 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0169] like Figure 6 As shown, the electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0170] Multiple components in the electronic device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0171] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the operation method of the zero-code platform. For example, in some embodiments, the operation method of the zero-code platform may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the operation method of the zero-code platform described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to execute the operation method of the zero-code platform by any other appropriate means (e.g., by means of firmware).

[0172] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0173] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0174] In the context of the present disclosure, a computer-readable storage medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0175] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0176] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0177] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0178] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0179] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for operating a zero-code platform, characterized in that: include: Receive operation instructions for the zero-code platform; In response to the operation instruction, detecting whether there is a preset extension point corresponding to the first operation; wherein the preset extension point corresponds to a preset code unit, and the first operation is the operation corresponding to the operation instruction; In a case where the preset extension point corresponding to the first operation of the operation instruction exists, executing a preset code unit corresponding to the preset extension point and the first operation; The preset extension point includes at least one of a front preset extension point and a rear preset extension point corresponding to the first operation; When the preset extension point includes a preceding preset extension point corresponding to the first operation, detecting whether there is a preset extension point corresponding to the first operation includes: Detecting whether there is a pre-set extension point corresponding to the first operation; In the case where the preset extension point corresponding to the first operation exists, executing the preset code unit corresponding to the preset extension point and the first operation includes: If there is a pre-set extension point corresponding to the first operation, obtaining a pre-set code unit corresponding to the pre-set extension point; Running the preset code unit to obtain a second operation result; The first operation corresponding to the operation instruction is performed according to the second operation result.

2. The method for operating the zero-code platform according to claim 1, characterized in that: The preset code unit corresponding to the front preset extension point is used to determine whether the user identifier corresponding to the operation instruction belongs to a preset whitelist set; The running of the preset code unit to obtain a second operation result includes: Obtaining a user identifier corresponding to the operation instruction; Determine whether the user identification belongs to a preset whitelist set; The performing the first operation corresponding to the operation instruction according to the second operation result includes: When the user identifier belongs to a preset whitelist set, a first operation corresponding to the operation instruction is executed.

3. The method for operating the zero-code platform according to claim 1, characterized in that: When the preset extension point includes a post-preset extension point corresponding to the first operation, detecting whether there is a preset extension point corresponding to the first operation includes: Detecting whether there is a post-preset extension point corresponding to the first operation; In the case where the preset extension point corresponding to the first operation exists, executing the preset code unit corresponding to the preset extension point and the first operation includes: Execute the first operation to obtain a first operation result; In a case where there is a post-preset extension point corresponding to the first operation, obtaining a preset code unit corresponding to the post-preset extension point; The preset code unit is executed according to the first operation result to obtain a third operation result.

4. The method for operating the zero-code platform according to claim 3, characterized in that: The preset code unit corresponding to the post-preset extension point is used to output a notification message; The step of running the preset code unit according to the first operation result to obtain a third operation result includes: generating a notification message according to the first operation result; The notification message is output.

5. A zero-code platform operating device, characterized in that: include: A receiving module, used for receiving operation instructions for the zero-code platform; A response module, configured to detect, in response to the operation instruction, whether there is a preset extension point corresponding to the first operation; wherein the preset extension point corresponds to a preset code unit, and the first operation is the operation corresponding to the operation instruction; an execution module, configured to execute a preset code unit corresponding to the preset extension point and the first operation when the preset extension point corresponding to the first operation of the operation instruction exists; The preset extension point includes at least one of a front preset extension point and a rear preset extension point corresponding to the first operation; When the preset extension point includes a pre-set extension point corresponding to the first operation, the response module includes: A first detection unit, used to detect whether there is a pre-set extension point corresponding to the first operation; The execution module comprises: A first acquisition unit, configured to acquire a preset code unit corresponding to a preceding preset extension point when there is a preceding preset extension point corresponding to the first operation; A first operation unit, used for running the preset code unit to obtain a second operation result; The first execution unit is used to execute a first operation corresponding to the operation instruction according to the second operation result.

6. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the operating method of the zero-code platform as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the operating method of the zero-code platform as described in any one of claims 1 to 4.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the operating method of the zero-code platform as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Process engine implementation method and process engine system

    CN106155718A

  • Database extension method and equipment for low-code development platform

    CN112905624A